Class NSEC3ParamResourceRecord
java.lang.Object
nl.sidnlabs.dnslib.message.records.AbstractResourceRecord
nl.sidnlabs.dnslib.message.records.dnssec.NSEC3ParamResourceRecord
- All Implemented Interfaces:
Serializable,ResourceRecord
The RDATA of the NSEC3PARAM RR is as shown below:
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6
7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Hash Alg. | Flags |
Iterations | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Salt Length |
Salt / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Hash Algorithm is a single octet.
Flags field is a single octet.
Iterations is represented as a 16-bit unsigned integer, with the most significant bit first.
Salt Length is represented as an unsigned octet. Salt Length represents the length of the
following Salt field in octets. If the value is zero, the Salt field is omitted.
Salt, if present, is encoded as a sequence of binary octets. The length of this field is
determined by the preceding Salt Length field.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(NetworkData buffer, boolean partial) voidencode(NetworkData buffer) jakarta.json.JsonObjecttoJSon()toZone(int maxLength) Methods inherited from class nl.sidnlabs.dnslib.message.records.AbstractResourceRecord
createJsonBuilder, equals, getRawClassz, getRawType, hashCode, rDataToString
-
Constructor Details
-
NSEC3ParamResourceRecord
public NSEC3ParamResourceRecord()
-
-
Method Details
-
decode
- Specified by:
decodein interfaceResourceRecord- Overrides:
decodein classAbstractResourceRecord
-
encode
- Specified by:
encodein interfaceResourceRecord- Overrides:
encodein classAbstractResourceRecord
-
toZone
- Specified by:
toZonein interfaceResourceRecord- Overrides:
toZonein classAbstractResourceRecord
-
toJSon
public jakarta.json.JsonObject toJSon()- Specified by:
toJSonin interfaceResourceRecord- Overrides:
toJSonin classAbstractResourceRecord
-