Show / Hide Table of Contents

Class RRSIGRecord

Signature for a RRSET with a particular name, class, and type.

Inheritance
Object
DnsObject
ResourceRecord
RRSIGRecord
Implements
IWireSerialiser
ICloneable
IPresentationSerialiser
Inherited Members
ResourceRecord.DefaultTTL
ResourceRecord.DefaultHostTTL
ResourceRecord.Name
ResourceRecord.CanonicalName
ResourceRecord.Type
ResourceRecord.Class
ResourceRecord.TTL
ResourceRecord.IsExpired(Nullable<DateTime>)
ResourceRecord.GetDataLength()
ResourceRecord.GetData()
ResourceRecord.Read(WireReader)
ResourceRecord.Write(WireWriter)
ResourceRecord.Equals(Object)
ResourceRecord.GetHashCode()
ResourceRecord.ToString()
ResourceRecord.Write(PresentationWriter)
ResourceRecord.Read(String)
ResourceRecord.Read(PresentationReader)
DnsObject.CreationTime
DnsObject.Length()
DnsObject.Clone()
DnsObject.Clone<T>()
DnsObject.Read(Byte[])
DnsObject.Read(Byte[], Int32, Int32)
DnsObject.Read(Stream)
DnsObject.ToByteArray()
DnsObject.Write(Stream)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.dll
Syntax
public class RRSIGRecord : ResourceRecord, IWireSerialiser, ICloneable, IPresentationSerialiser
Remarks

Defined in RFC 4034 section 3.

Constructors

| Improve this Doc View Source

RRSIGRecord()

Creates a new instance of the RRSIGRecord class.

Declaration
public RRSIGRecord()

Properties

| Improve this Doc View Source

Algorithm

Identifies the cryptographic algorithm to create the Signature.

Declaration
public SecurityAlgorithm Algorithm { get; set; }
Property Value
Type Description
SecurityAlgorithm

Identifies the type of key (RSA, ECDSA, ...) and the hashing algorithm.

| Improve this Doc View Source

KeyTag

The key tag of the DNSKEYRecord that validates the Signature.

Declaration
public ushort KeyTag { get; set; }
Property Value
Type Description
UInt16

The KeyTag() method produces this value.

| Improve this Doc View Source

Labels

The number of labels in the original RRSIG RR owner name.

Declaration
public byte Labels { get; set; }
Property Value
Type Description
Byte
Remarks

The significance of this field is that a validator uses it to determine whether the answer was synthesized from a wildcard.

| Improve this Doc View Source

OriginalTTL

The TTL of the covered RRset as it appears in the authoritative zone.

Declaration
public TimeSpan OriginalTTL { get; set; }
Property Value
Type Description
TimeSpan

The resolution is 1 second.

| Improve this Doc View Source

Signature

The cryptographic signature.

Declaration
public byte[] Signature { get; set; }
Property Value
Type Description
Byte[]

The format depends upon the Algorithm.

| Improve this Doc View Source

SignatureExpiration

The end date for the Signature.

Declaration
public DateTime SignatureExpiration { get; set; }
Property Value
Type Description
DateTime

The resolution is 1 second.

| Improve this Doc View Source

SignatureInception

The start date for the Signature.

Declaration
public DateTime SignatureInception { get; set; }
Property Value
Type Description
DateTime

The resolution is 1 second.

| Improve this Doc View Source

SignerName

The owner name of the DNSKEYRecord that validates the Signature.

Declaration
public DomainName SignerName { get; set; }
Property Value
Type Description
DomainName
| Improve this Doc View Source

TypeCovered

The type of the RRset that is covered by this signature.

Declaration
public DnsType TypeCovered { get; set; }
Property Value
Type Description
DnsType

One of the DnsType values.

Methods

| Improve this Doc View Source

ReadData(PresentationReader)

Read the textual representation of the data that is specific to the resource record Type.

Declaration
public override void ReadData(PresentationReader reader)
Parameters
Type Name Description
PresentationReader reader

The source of the resource record's data.

Overrides
ResourceRecord.ReadData(PresentationReader)
Remarks

Derived classes must implement this method.

| Improve this Doc View Source

ReadData(WireReader, Int32)

Read the data that is specific to the resource record Type.

Declaration
public override void ReadData(WireReader reader, int length)
Parameters
Type Name Description
WireReader reader

The source of the resource record's data.

Int32 length

The length, in bytes, of the data.

Overrides
ResourceRecord.ReadData(WireReader, Int32)
Remarks

Derived classes must implement this method.

| Improve this Doc View Source

WriteData(PresentationWriter)

Write the textual representation of the data that is specific to the resource record.

Declaration
public override void WriteData(PresentationWriter writer)
Parameters
Type Name Description
PresentationWriter writer

The destination for the resource record's data.

Overrides
ResourceRecord.WriteData(PresentationWriter)
Remarks

Derived classes should implement this method.

By default, this will write the hex encoding of the GetData() preceeded by "#" and the number integer bytes.

| Improve this Doc View Source

WriteData(WireWriter)

Write the data that is specific to the resource record Type.

Declaration
public override void WriteData(WireWriter writer)
Parameters
Type Name Description
WireWriter writer

The destination for the DNS object's data.

Overrides
ResourceRecord.WriteData(WireWriter)
Remarks

Derived classes must implement this method.

Implements

IWireSerialiser
System.ICloneable
IPresentationSerialiser
  • Improve this Doc
  • View Source
Back to top Generated by DocFX