Class NSEC3PARAM


  • public class NSEC3PARAM
    extends Data
    NSEC3PARAM record payload.
    • Field Detail

      • hashAlgorithm

        public final NSEC3.HashAlgorithm hashAlgorithm
        The cryptographic hash algorithm used.
      • hashAlgorithmByte

        public final byte hashAlgorithmByte
        The cryptographic hash algorithm used.
      • flags

        public final byte flags
      • iterations

        public final int iterations
        The number of iterations the hash algorithm is applied.
    • Method Detail

      • parse

        public static NSEC3PARAM parse​(java.io.DataInputStream dis)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getType

        public Record.TYPE getType()
        Description copied from class: Data
        The payload type.
        Specified by:
        getType in class Data
        Returns:
        The payload type.
      • serialize

        public void serialize​(java.io.DataOutputStream dos)
                       throws java.io.IOException
        Description copied from class: Data
        The internal method used to serialize Data subclasses.
        Specified by:
        serialize in class Data
        Parameters:
        dos - the output stream to serialize to.
        Throws:
        java.io.IOException - if an I/O error occurs.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getSaltLength

        public int getSaltLength()