public class CDNSKEYRecord extends DNSKEYRecord
DNSKEYRecord.Flags, DNSKEYRecord.Protocol
Constructor and Description |
---|
CDNSKEYRecord() |
CDNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
byte[] key)
Creates a CDNSKEY Record from the given data
|
CDNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
java.security.PublicKey key)
Creates a CDNSKEY Record from the given data
|
rdataFromString
getAlgorithm, getFlags, getFootprint, getKey, getProtocol, getPublicKey, rrFromWire, rrToString, rrToWire
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, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
CDNSKEYRecord()
public CDNSKEYRecord(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 CDNSKEYRecord(Name name, int dclass, long ttl, int flags, int proto, int alg, java.security.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.