Class ASN1

java.lang.Object
com.jcraft.jsch.asn1.ASN1

public class ASN1 extends Object
  • Constructor Details

  • Method Details

    • 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()
    • getContents

      public ASN1[] getContents() throws ASN1Exception
      Throws:
      ASN1Exception
    • getRaw

      public byte[] getRaw()
    • parseASN1IntegerAsInt

      public static int parseASN1IntegerAsInt(byte[] content) throws ArithmeticException
      Throws:
      ArithmeticException