package

org.bouncycastle.asn1

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

Interfaces

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  
ASN1String  
ASN1TaggedObjectParser  
DEREncodable  
DERString basic interface for DER string objects. 
DERTags  
InMemoryRepresentable  

Classes

ASN1Boolean  
ASN1Encodable Base class for objects which can be written directly to ASN.1 output streams. 
ASN1EncodableVector the parent class for this will eventually disappear. 
ASN1Enumerated  
ASN1GeneralizedTime  
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. 
ASN1Integer  
ASN1Null A NULL object. 
ASN1Object  
ASN1ObjectIdentifier  
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). 
ASN1UTCTime  
BERApplicationSpecific  
BERApplicationSpecificParser  
BERConstructedOctetString  
BERGenerator  
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  
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. 
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. 

Exceptions