Show / Hide Table of Contents

Class NSEC3Record

Authenticated denial of existence for DNS Resource Record Sets.

Inheritance
Object
DnsObject
ResourceRecord
NSEC3Record
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 NSEC3Record : ResourceRecord, IWireSerialiser, ICloneable, IPresentationSerialiser
Remarks

Defined by RFC 5155 - DNS Security (DNSSEC) Hashed Authenticated Denial of Existence.

Constructors

| Improve this Doc View Source

NSEC3Record()

Creates a new instance of the NSEC3Record class.

Declaration
public NSEC3Record()

Properties

| Improve this Doc View Source

Flags

Indicates different processing.

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

HashAlgorithm

The cryptographic hash algorithm used to create the NextHashedOwnerName.

Declaration
public DigestType HashAlgorithm { get; set; }
Property Value
Type Description
DigestType

One of the DigestType value.

| Improve this Doc View Source

Iterations

Number of times to perform the HashAlgorithm.

Declaration
public ushort Iterations { get; set; }
Property Value
Type Description
UInt16
| Improve this Doc View Source

NextHashedOwnerName

The next hashed owner name that has authoritative data.

Declaration
public byte[] NextHashedOwnerName { get; set; }
Property Value
Type Description
Byte[]
| Improve this Doc View Source

Salt

Appended to the original owner name before hashing.

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

Used to defend against pre-calculated dictionary attacks.

| Improve this Doc View Source

Types

The sequence of RR types present at the NSEC3 RR's owner name.

Declaration
public List<DnsType> Types { get; set; }
Property Value
Type Description
List<DnsType>

Defaults to the empty list.

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