public class DNSKEYRecord extends KEYBase
DNSSEC,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
DNSKEYRecord.Flags |
static class |
DNSKEYRecord.Protocol |
| Constructor and Description |
|---|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
byte[] key)
Creates a DNSKEY Record from the given data
|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
PublicKey key)
Creates a DNSKEY Record from the given data
|
getAlgorithm, getFlags, getFootprint, getKey, getProtocol, getPublicKeybyteArrayFromString, byteArrayToString, checkByteArrayLength, checkU16, checkU32, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withNamepublic DNSKEYRecord(Name name, int dclass, long ttl, int flags, int proto, int alg, byte[] key)
flags - Flags describing the key's propertiesproto - The protocol that the key was created foralg - The key's algorithmkey - Binary representation of the keypublic DNSKEYRecord(Name name, int dclass, long ttl, int flags, int proto, int alg, PublicKey key) throws DNSSEC.DNSSECException
flags - Flags describing the key's propertiesproto - The protocol that the key was created foralg - The key's algorithmkey - The key as a PublicKeyDNSSEC.DNSSECException - The PublicKey could not be converted into DNS
format.Copyright © 2021 McEvoy Software Ltd. All rights reserved.