public class DNSKEYRecord extends KEYBase
Modifier and Type | Class and Description |
---|---|
static class |
DNSKEYRecord.Flags |
static class |
DNSKEYRecord.Protocol |
Modifier | Constructor and Description |
---|---|
(package private) |
DNSKEYRecord() |
protected |
DNSKEYRecord(Name name,
int type,
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,
byte[] key)
Creates a DNSKEY Record from the given data
|
|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
java.security.PublicKey key)
Creates a DNSKEY Record from the given data
|
Modifier and Type | Method and Description |
---|---|
protected void |
rdataFromString(Tokenizer st,
Name origin)
Converts the text format of an RR to the internal format - must be overriden
|
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
DNSKEYRecord()
protected DNSKEYRecord(Name name, int type, 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, 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, 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.protected void rdataFromString(Tokenizer st, Name origin) throws java.io.IOException
Record
rdataFromString
in class Record
java.io.IOException