Package org.xbill.DNS
Class CDNSKEYRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.KEYBase
org.xbill.DNS.DNSKEYRecord
org.xbill.DNS.CDNSKEYRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
Child DNSKEY record as specified in RFC 8078.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.xbill.DNS.DNSKEYRecord
DNSKEYRecord.Flags, DNSKEYRecord.Protocol -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCDNSKEYRecord(Name name, int dclass, long ttl, int flags, int proto, int alg, byte[] key) Creates a CDNSKEY Record from the given dataCDNSKEYRecord(Name name, int dclass, long ttl, int flags, int proto, int alg, PublicKey key) Creates a CDNSKEY Record from the given data -
Method Summary
Methods inherited from class org.xbill.DNS.DNSKEYRecord
rdataFromStringMethods inherited from class org.xbill.DNS.KEYBase
getAlgorithm, getFlags, getFootprint, getKey, getProtocol, getPublicKey, rrFromWire, rrToString, rrToWireMethods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
-
Constructor Details
-
CDNSKEYRecord
CDNSKEYRecord() -
CDNSKEYRecord
Creates a CDNSKEY Record from the given data- Parameters:
flags- Flags describing the key's propertiesproto- The protocol that the key was created foralg- The key's algorithmkey- Binary representation of the key
-
CDNSKEYRecord
public CDNSKEYRecord(Name name, int dclass, long ttl, int flags, int proto, int alg, PublicKey key) throws DNSSEC.DNSSECException Creates a CDNSKEY Record from the given data- Parameters:
flags- Flags describing the key's propertiesproto- The protocol that the key was created foralg- The key's algorithmkey- The key as a PublicKey- Throws:
DNSSEC.DNSSECException- The PublicKey could not be converted into DNS format.
-