|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xbill.DNS.Record
org.xbill.DNS.DNSKEYRecord
public class DNSKEYRecord
Key - contains a cryptographic public key for use by DNS. The data can be converted to objects implementing java.security.interfaces.PublicKey
DNSSEC,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
DNSKEYRecord.Flags
|
static class |
DNSKEYRecord.Protocol
|
| Field Summary | |
|---|---|
protected int |
alg
|
protected int |
flags
|
protected int |
footprint
|
protected byte[] |
key
|
protected int |
proto
|
| Fields inherited from class org.xbill.DNS.Record |
|---|
dclass, name, ttl, type |
| Constructor Summary | |
|---|---|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
byte[] key)
Creates a DNSKEY Record from the given data |
|
| Method Summary | |
|---|---|
int |
getAlgorithm()
Returns the key's algorithm |
int |
getFlags()
Returns the flags describing the key's properties |
int |
getFootprint()
Returns the key's footprint (after computing it) |
byte[] |
getKey()
Returns the binary data representing the key |
int |
getProtocol()
Returns the protocol that the key was created for |
| Methods inherited from class org.xbill.DNS.Record |
|---|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int flags
protected int proto
protected int alg
protected byte[] key
protected int footprint
| Constructor Detail |
|---|
public 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 data representing the key| Method Detail |
|---|
public int getFlags()
public int getProtocol()
public int getAlgorithm()
public byte[] getKey()
public int getFootprint()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||