org.bouncycastle.asn1 Class Hierarchy (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

# Hierarchy For Package org.bouncycastle.asn1

Package Hierarchies:

- All Packages

## Class Hierarchy

- java.lang.Object
  - org.bouncycastle.asn1.ASN1EncodableVector
  - org.bouncycastle.asn1.ASN1Generator
    - org.bouncycastle.asn1.BERGenerator
      - org.bouncycastle.asn1.BEROctetStringGenerator
      - org.bouncycastle.asn1.BERSequenceGenerator
    - org.bouncycastle.asn1.DERGenerator
      - org.bouncycastle.asn1.DERSequenceGenerator
    - org.bouncycastle.asn1.DLGenerator
      - org.bouncycastle.asn1.DLOctetStringGenerator
      - org.bouncycastle.asn1.DLSequenceGenerator
  - org.bouncycastle.asn1.ASN1Object (implements org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable)
    - org.bouncycastle.asn1.ASN1Primitive
      - org.bouncycastle.asn1.ASN1Absent
      - org.bouncycastle.asn1.ASN1BitString (implements org.bouncycastle.asn1.ASN1BitStringParser, org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.BERBitString
        - org.bouncycastle.asn1.DERBitString
        - org.bouncycastle.asn1.DLBitString
      - org.bouncycastle.asn1.ASN1BMPString (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERBMPString
      - org.bouncycastle.asn1.ASN1Boolean
      - org.bouncycastle.asn1.ASN1Enumerated
      - org.bouncycastle.asn1.ASN1External
        - org.bouncycastle.asn1.DERExternal
        - org.bouncycastle.asn1.DLExternal
      - org.bouncycastle.asn1.ASN1GeneralizedTime
        - org.bouncycastle.asn1.DERGeneralizedTime
      - org.bouncycastle.asn1.ASN1GeneralString (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERGeneralString
      - org.bouncycastle.asn1.ASN1GraphicString (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERGraphicString
      - org.bouncycastle.asn1.ASN1IA5String (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERIA5String
      - org.bouncycastle.asn1.ASN1Integer
      - org.bouncycastle.asn1.ASN1Null
        - org.bouncycastle.asn1.DERNull
      - org.bouncycastle.asn1.ASN1NumericString (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERNumericString
      - org.bouncycastle.asn1.ASN1ObjectDescriptor
      - org.bouncycastle.asn1.ASN1ObjectIdentifier
      - org.bouncycastle.asn1.ASN1OctetString (implements org.bouncycastle.asn1.ASN1OctetStringParser)
        - org.bouncycastle.asn1.BEROctetString
        - org.bouncycastle.asn1.DEROctetString
      - org.bouncycastle.asn1.ASN1PrintableString (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERPrintableString
      - org.bouncycastle.asn1.ASN1RelativeOID
      - org.bouncycastle.asn1.ASN1Sequence (implements org.bouncycastle.util.Iterable<T>)
        - org.bouncycastle.asn1.BERSequence
        - org.bouncycastle.asn1.DERSequence
        - org.bouncycastle.asn1.DLSequence
      - org.bouncycastle.asn1.ASN1Set (implements org.bouncycastle.util.Iterable<T>)
        - org.bouncycastle.asn1.BERSet
        - org.bouncycastle.asn1.DERSet
        - org.bouncycastle.asn1.DLSet
      - org.bouncycastle.asn1.ASN1T61String (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERT61String
      - org.bouncycastle.asn1.ASN1TaggedObject (implements org.bouncycastle.asn1.ASN1TaggedObjectParser)
        - org.bouncycastle.asn1.BERTaggedObject
        - org.bouncycastle.asn1.DERTaggedObject
        - org.bouncycastle.asn1.DLTaggedObject
      - org.bouncycastle.asn1.ASN1UniversalString (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERUniversalString
      - org.bouncycastle.asn1.ASN1UTCTime
        - org.bouncycastle.asn1.DERUTCTime
      - org.bouncycastle.asn1.ASN1UTF8String (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERUTF8String
      - org.bouncycastle.asn1.ASN1VideotexString (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERVideotexString
      - org.bouncycastle.asn1.ASN1VisibleString (implements org.bouncycastle.asn1.ASN1String)
        - org.bouncycastle.asn1.DERVisibleString
  - org.bouncycastle.asn1.ASN1OutputStream
  - org.bouncycastle.asn1.ASN1StreamParser
  - org.bouncycastle.asn1.ASN1Util
  - junit.framework.Assert
    - junit.framework.TestCase (implements junit.framework.Test)
      - org.bouncycastle.asn1.ASN1TimeFormatTest
  - org.bouncycastle.asn1.BERBitStringParser (implements org.bouncycastle.asn1.ASN1BitStringParser)
  - org.bouncycastle.asn1.BEROctetStringParser (implements org.bouncycastle.asn1.ASN1OctetStringParser)
  - org.bouncycastle.asn1.BERSequenceParser (implements org.bouncycastle.asn1.ASN1SequenceParser)
  - org.bouncycastle.asn1.BERSetParser (implements org.bouncycastle.asn1.ASN1SetParser)
  - org.bouncycastle.asn1.DERExternalParser (implements org.bouncycastle.asn1.ASN1ExternalParser)
  - org.bouncycastle.asn1.DEROctetStringParser (implements org.bouncycastle.asn1.ASN1OctetStringParser)
  - org.bouncycastle.asn1.DLBitStringParser (implements org.bouncycastle.asn1.ASN1BitStringParser)
  - org.bouncycastle.asn1.DLSequenceParser (implements org.bouncycastle.asn1.ASN1SequenceParser)
  - org.bouncycastle.asn1.DLSetParser (implements org.bouncycastle.asn1.ASN1SetParser)
  - java.io.InputStream (implements java.io.Closeable)
    - java.io.FilterInputStream
      - org.bouncycastle.asn1.ASN1InputStream (implements org.bouncycastle.asn1.BERTags)
  - org.bouncycastle.asn1.LocaleUtil
  - org.bouncycastle.asn1.OIDTokenizer
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - java.io.IOException
        - org.bouncycastle.asn1.ASN1Exception
      - java.lang.RuntimeException
        - java.lang.IllegalStateException
          - org.bouncycastle.asn1.ASN1ParsingException
          - org.bouncycastle.asn1.DEREncodingException

## Interface Hierarchy

- org.bouncycastle.asn1.ASN1Choice
- org.bouncycastle.asn1.ASN1Encodable
  - org.bouncycastle.asn1.ASN1BitStringParser (also extends org.bouncycastle.asn1.InMemoryRepresentable)
  - org.bouncycastle.asn1.ASN1ExternalParser (also extends org.bouncycastle.asn1.InMemoryRepresentable)
  - org.bouncycastle.asn1.ASN1OctetStringParser (also extends org.bouncycastle.asn1.InMemoryRepresentable)
  - org.bouncycastle.asn1.ASN1SequenceParser (also extends org.bouncycastle.asn1.InMemoryRepresentable)
  - org.bouncycastle.asn1.ASN1SetParser (also extends org.bouncycastle.asn1.InMemoryRepresentable)
  - org.bouncycastle.asn1.ASN1TaggedObjectParser (also extends org.bouncycastle.asn1.InMemoryRepresentable)
- org.bouncycastle.asn1.ASN1Encoding
- org.bouncycastle.asn1.ASN1String
- org.bouncycastle.asn1.BERTags
- org.bouncycastle.asn1.InMemoryRepresentable
  - org.bouncycastle.asn1.ASN1BitStringParser (also extends org.bouncycastle.asn1.ASN1Encodable)
  - org.bouncycastle.asn1.ASN1ExternalParser (also extends org.bouncycastle.asn1.ASN1Encodable)
  - org.bouncycastle.asn1.ASN1OctetStringParser (also extends org.bouncycastle.asn1.ASN1Encodable)
  - org.bouncycastle.asn1.ASN1SequenceParser (also extends org.bouncycastle.asn1.ASN1Encodable)
  - org.bouncycastle.asn1.ASN1SetParser (also extends org.bouncycastle.asn1.ASN1Encodable)
  - org.bouncycastle.asn1.ASN1TaggedObjectParser (also extends org.bouncycastle.asn1.ASN1Encodable)