Class NSEC3ParamResourceRecord
- java.lang.Object
-
- nl.sidnlabs.dnslib.message.records.AbstractResourceRecord
-
- nl.sidnlabs.dnslib.message.records.dnssec.NSEC3ParamResourceRecord
-
- All Implemented Interfaces:
Serializable,ResourceRecord
public class NSEC3ParamResourceRecord extends AbstractResourceRecord
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NSEC3ParamResourceRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(NetworkData buffer, boolean partial)voidencode(NetworkData buffer)javax.json.JsonObjecttoJSon()StringtoZone(int maxLength)-
Methods inherited from class nl.sidnlabs.dnslib.message.records.AbstractResourceRecord
createJsonBuilder, equals, getRawClassz, getRawType, hashCode
-
-
-
-
Method Detail
-
decode
public void decode(NetworkData buffer, boolean partial)
- Specified by:
decodein interfaceResourceRecord- Overrides:
decodein classAbstractResourceRecord
-
encode
public void encode(NetworkData buffer)
- Specified by:
encodein interfaceResourceRecord- Overrides:
encodein classAbstractResourceRecord
-
toZone
public String toZone(int maxLength)
- Specified by:
toZonein interfaceResourceRecord- Overrides:
toZonein classAbstractResourceRecord
-
toJSon
public javax.json.JsonObject toJSon()
- Specified by:
toJSonin interfaceResourceRecord- Overrides:
toJSonin classAbstractResourceRecord
-
-