Package org.xbill.DNS
Class KEYRecord.Protocol
java.lang.Object
org.xbill.DNS.KEYRecord.Protocol
- Enclosing class:
KEYRecord
KEY protocol identifiers.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
NONE
public static final int NONENo defined protocol.- See Also:
-
TLS
public static final int TLSTransaction Level Security- See Also:
-
EMAIL
public static final int EMAILEmail- See Also:
-
DNSSEC
public static final int DNSSECDNSSEC- See Also:
-
IPSEC
public static final int IPSECIPSEC Control- See Also:
-
ANY
public static final int ANYAny protocol- See Also:
-
-
Method Details
-
string
Converts an KEY protocol value into its textual representation -
value
Converts a textual representation of a KEY protocol into its numeric code. Integers in the range 0..255 are also accepted.- Parameters:
s- The textual representation of the protocol- Returns:
- The protocol code, or -1 on error.
-