KeyRecord Constructor

Creates of new instance of the KeyRecord class

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public KeyRecord(
	DomainName name,
	RecordClass recordClass,
	int timeToLive,
	ushort flags,
	KeyRecordBaseProtocolType protocol,
	DnsSecAlgorithm algorithm,
	byte[] publicKey
)

Parameters

name  DomainName
Name of the record
recordClass  RecordClass
Class of the record
timeToLive  Int32
Seconds the record should be cached at most
flags  UInt16
Flags of the key
protocol  KeyRecordBaseProtocolType
Protocol for which the key is used
algorithm  DnsSecAlgorithm
Algorithm of the key
publicKey  Byte
Binary data of the public key

See Also