Class PartialHashtree

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class PartialHashtree
    extends ASN1Object
    Implementation of PartialHashtree, as defined in RFC 4998.

    The ASN.1 notation for a PartialHashTree is:

    PartialHashtree ::= SEQUENCE OF OCTET STRING

    • Constructor Detail

      • PartialHashtree

        public PartialHashtree​(byte[] values)
      • PartialHashtree

        public PartialHashtree​(byte[][] values)
    • Method Detail

      • getInstance

        public static PartialHashtree getInstance​(java.lang.Object obj)
        Return a PartialHashtree from the given object.
        Parameters:
        obj - the object we want converted.
        Returns:
        a PartialHashtree instance, or null.
        Throws:
        java.lang.IllegalArgumentException - if the object cannot be converted.
      • getValues

        public byte[][] getValues()