Class ASN1


  • public class ASN1
    extends java.lang.Object
    • Method Detail

      • getType

        public int getType()
      • isSEQUENCE

        public boolean isSEQUENCE()
      • isINTEGER

        public boolean isINTEGER()
      • isOBJECT

        public boolean isOBJECT()
      • isOCTETSTRING

        public boolean isOCTETSTRING()
      • isNULL

        public boolean isNULL()
      • isBITSTRING

        public boolean isBITSTRING()
      • isCONTEXTPRIMITIVE

        public boolean isCONTEXTPRIMITIVE​(int tag)
      • isCONTEXTCONSTRUCTED

        public boolean isCONTEXTCONSTRUCTED​(int tag)
      • getContent

        public byte[] getContent()
      • getRaw

        public byte[] getRaw()
      • parseASN1IntegerAsInt

        public static int parseASN1IntegerAsInt​(byte[] content)
                                         throws java.lang.ArithmeticException
        Throws:
        java.lang.ArithmeticException