SigRecord Constructor
Creates a new instance of the SigRecord class
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public SigRecord(
DomainName name,
RecordClass recordClass,
int timeToLive,
RecordType typeCovered,
DnsSecAlgorithm algorithm,
byte labels,
int originalTimeToLive,
DateTime signatureExpiration,
DateTime signatureInception,
ushort keyTag,
DomainName signersName,
byte[] signature
)
Public Sub New (
name As DomainName,
recordClass As RecordClass,
timeToLive As Integer,
typeCovered As RecordType,
algorithm As DnsSecAlgorithm,
labels As Byte,
originalTimeToLive As Integer,
signatureExpiration As DateTime,
signatureInception As DateTime,
keyTag As UShort,
signersName As DomainName,
signature As Byte()
)
public:
SigRecord(
DomainName^ name,
RecordClass recordClass,
int timeToLive,
RecordType typeCovered,
DnsSecAlgorithm algorithm,
unsigned char labels,
int originalTimeToLive,
DateTime signatureExpiration,
DateTime signatureInception,
unsigned short keyTag,
DomainName^ signersName,
array<unsigned char>^ signature
)
new :
name : DomainName *
recordClass : RecordClass *
timeToLive : int *
typeCovered : RecordType *
algorithm : DnsSecAlgorithm *
labels : byte *
originalTimeToLive : int *
signatureExpiration : DateTime *
signatureInception : DateTime *
keyTag : uint16 *
signersName : DomainName *
signature : byte[] -> SigRecord
Parameters
- name DomainName
- Name of the record
- recordClass RecordClass
- Class of the record
- timeToLive Int32
- Seconds the record should be cached at most
- typeCovered RecordType
- Record type that is covered by this record
- algorithm DnsSecAlgorithm
- Algorithm that is used for signature
- labels Byte
- Label count of original record that is covered by this record
- originalTimeToLive Int32
- Original time to live value of original record that is covered by this record
- signatureExpiration DateTime
- Signature is valid until this date
- signatureInception DateTime
- Signature is valid from this date
- keyTag UInt16
- Key tag
- signersName DomainName
- Domain name of generator of the signature
- signature Byte
- Binary data of the signature