DiffieHellmanKeyRecord Constructor
Creates a new instance of the DiffieHellmanKeyRecord class
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public DiffieHellmanKeyRecord(
DomainName name,
RecordClass recordClass,
int timeToLive,
ushort flags,
KeyRecordBaseProtocolType protocol,
byte[] prime,
byte[] generator,
byte[] publicValue
)
Public Sub New (
name As DomainName,
recordClass As RecordClass,
timeToLive As Integer,
flags As UShort,
protocol As KeyRecordBaseProtocolType,
prime As Byte(),
generator As Byte(),
publicValue As Byte()
)
public:
DiffieHellmanKeyRecord(
DomainName^ name,
RecordClass recordClass,
int timeToLive,
unsigned short flags,
KeyRecordBaseProtocolType protocol,
array<unsigned char>^ prime,
array<unsigned char>^ generator,
array<unsigned char>^ publicValue
)
new :
name : DomainName *
recordClass : RecordClass *
timeToLive : int *
flags : uint16 *
protocol : KeyRecordBaseProtocolType *
prime : byte[] *
generator : byte[] *
publicValue : byte[] -> DiffieHellmanKeyRecord
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
- prime Byte
- Binary data of the prime of the key
- generator Byte
- Binary data of the generator of the key
- publicValue Byte
- Binary data of the public value