Package org.xbill.DNS
Class DnssecAlgorithmOption
java.lang.Object
org.xbill.DNS.EDNSOption
org.xbill.DNS.DnssecAlgorithmOption
- All Implemented Interfaces:
Serializable
The EDNS0 Option for Signaling Cryptographic Algorithm Understanding in DNS Security Extensions
(DNSSEC), RFC 6975.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.xbill.DNS.EDNSOption
EDNSOption.Code -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDnssecAlgorithmOption(int code) DnssecAlgorithmOption(int code, int... algCodes) DnssecAlgorithmOption(int code, List<Integer> algCodes) -
Method Summary
Modifier and TypeMethodDescription(package private) voidConverts the wire format of an EDNS Option (the option data only) into the type-specific format.(package private) String(package private) voidoptionToWire(DNSOutput out) Converts an EDNS Option (the type-specific option data only) into wire format.
-
Field Details
-
algCodes
-
-
Constructor Details
-
DnssecAlgorithmOption
private DnssecAlgorithmOption(int code) -
DnssecAlgorithmOption
-
DnssecAlgorithmOption
public DnssecAlgorithmOption(int code, int... algCodes)
-
-
Method Details
-
getAlgorithms
-
optionFromWire
Description copied from class:EDNSOptionConverts the wire format of an EDNS Option (the option data only) into the type-specific format.- Specified by:
optionFromWirein classEDNSOption- Parameters:
in- The input Stream.- Throws:
IOException
-
optionToWire
Description copied from class:EDNSOptionConverts an EDNS Option (the type-specific option data only) into wire format.- Specified by:
optionToWirein classEDNSOption- Parameters:
out- The output stream.
-
optionToString
String optionToString()- Specified by:
optionToStringin classEDNSOption
-