# Package org.bouncycastle.asn1

A library for parsing and writing ASN.1 objects.

See: Description

Interface Summary
Interface | Description
--- | ---
ASN1ApplicationSpecificParser |
ASN1Choice | Marker interface for CHOICE objects - if you implement this in a role your own object any attempt to tag the object implicitly will convert the tag to an explicit one as the encoding rules require.
ASN1OctetStringParser |
ASN1SequenceParser |
ASN1SetParser |
ASN1TaggedObjectParser |
DEREncodable |
DERString | basic interface for DER string objects.
DERTags |

Class Summary
Class | Description
--- | ---
ASN1Encodable | Base class for objects which can be written directly to ASN.1 output streams.
ASN1EncodableVector | the parent class for this will eventually disappear.
ASN1Generator |
ASN1InputStream | a general purpose ASN.1 decoder - note: this class differs from the others in that it returns null after it has read the last object in the stream.
ASN1Null | A NULL object.
ASN1Object |
ASN1ObjectParser | Deprecated will be removed
ASN1OctetString |
ASN1OutputStream |
ASN1Sequence |
ASN1Set |
ASN1StreamParser |
ASN1TaggedObject | ASN.1 TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).
BERApplicationSpecific |
BERApplicationSpecificParser |
BERConstructedOctetString |
BERConstructedSequence | Deprecated use BERSequence
BERGenerator |
BERInputStream | Deprecated use ASN1InputStream
BERNull | A BER NULL object.
BEROctetStringGenerator |
BEROctetStringParser |
BEROutputStream |
BERSequence |
BERSequenceGenerator |
BERSequenceParser |
BERSet |
BERSetParser |
BERTaggedObject | BER TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).
BERTaggedObjectParser |
DERApplicationSpecific | Base class for an application specific object
DERBitString |
DERBMPString | DER BMPString object.
DERBoolean |
DERConstructedSequence | Deprecated use DERSequence.
DERConstructedSet | Deprecated use DERSet
DEREncodableVector | a general class for building up a vector of DER encodable objects - this will eventually be superceded by ASN1EncodableVector so you should use that class in preference.
DEREnumerated |
DERExternal | Class representing the DER-type External
DERExternalParser |
DERGeneralizedTime | Generalized time object.
DERGeneralString |
DERGenerator |
DERIA5String | DER IA5String object - this is an ascii string.
DERInputStream | Deprecated use ASN1InputStream
DERInteger |
DERNull | A NULL object.
DERNumericString | DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.
DERObject |
DERObjectIdentifier |
DEROctetString |
DEROctetStringParser |
DEROutputStream |
DERPrintableString | DER PrintableString object.
DERSequence |
DERSequenceGenerator |
DERSequenceParser |
DERSet | A DER encoded set object
DERSetParser |
DERT61String | DER T61String (also the teletex string)
DERTaggedObject | DER TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).
DERUniversalString | DER UniversalString object.
DERUnknownTag | We insert one of these when we find a tag we don't recognise.
DERUTCTime | UTC time object.
DERUTF8String | DER UTF8String object.
DERVisibleString | DER VisibleString object.
LazyDERSequence |
OIDTokenizer | class for breaking up an OID into it's component tokens, ala java.util.StringTokenizer.

Exception Summary
Exception | Description
--- | ---
ASN1ParsingException |

## Package org.bouncycastle.asn1 Description

A library for parsing and writing ASN.1 objects. Support is provided for DER and BER encoding.