public static class KEYRecord.Protocol
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ANY
Any protocol
|
static int |
DNSSEC
DNSSEC
|
static int |
EMAIL
Email
|
static int |
IPSEC
IPSEC Control
|
static int |
NONE
No defined protocol.
|
static int |
TLS
Transaction Level Security
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
string(int type)
Converts an KEY protocol value into its textual representation
|
static int |
value(java.lang.String s)
Converts a textual representation of a KEY protocol into its
numeric code.
|
public static final int NONE
public static final int TLS
public static final int EMAIL
public static final int DNSSEC
public static final int IPSEC
public static final int ANY
public static java.lang.String string(int type)
public static int value(java.lang.String s)
s
- The textual representation of the protocol