public class IPSECKEYRecord extends Record
| Modifier and Type | Class and Description |
|---|---|
static class |
IPSECKEYRecord.Algorithm |
static class |
IPSECKEYRecord.Gateway |
| Constructor and Description |
|---|
IPSECKEYRecord(Name name,
int dclass,
long ttl,
int precedence,
int gatewayType,
int algorithmType,
Object gateway,
byte[] key)
Creates an IPSECKEY Record from the given data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAlgorithmType()
Returns the record's algorithm type.
|
Object |
getGateway()
Returns the record's gateway.
|
int |
getGatewayType()
Returns the record's gateway type.
|
byte[] |
getKey()
Returns the record's public key
|
int |
getPrecedence()
Returns the record's precedence.
|
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, withNamepublic IPSECKEYRecord(Name name, int dclass, long ttl, int precedence, int gatewayType, int algorithmType, Object gateway, byte[] key)
precedence - The record's precedence.gatewayType - The record's gateway type.algorithmType - The record's algorithm type.gateway - The record's gateway.key - The record's public key.public int getPrecedence()
public int getGatewayType()
public int getAlgorithmType()
public Object getGateway()
public byte[] getKey()