Class ASN1Object

    • Constructor Detail

      • ASN1Object

        public ASN1Object()
    • Method Detail

      • fromByteArray

        public static ASN1Object fromByteArray​(byte[] data)
                                        throws java.io.IOException
        Create a base ASN.1 object from a byte stream.
        Parameters:
        data - the byte stream to parse.
        Returns:
        the base ASN.1 object represented by the byte stream.
        Throws:
        java.io.IOException - if there is a problem parsing the data.
      • equals

        public final boolean equals​(java.lang.Object o)
        Specified by:
        equals in class DERObject
      • hashCode

        public abstract int hashCode()
        Specified by:
        hashCode in class DERObject
      • encode

        abstract void encode​(DEROutputStream out)
                      throws java.io.IOException
        Specified by:
        encode in class DERObject
        Throws:
        java.io.IOException
      • asn1Equals

        abstract boolean asn1Equals​(DERObject o)