Package org.bouncycastle.asn1

A library for parsing and writing ASN.1 objects.

Interface Summary

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

ASN1Encodable
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
ASN1OctetString
ASN1OutputStream
ASN1Sequence
ASN1Set
ASN1StreamParser
ASN1TaggedObject ASN.1 TaggedObject - in ASN.1 nottation this is any object proceeded by a [n] where n is some number - these are assume to follow the construction rules (as with sequences).
BERConstructedOctetString
BERConstructedSequence
BERGenerator
BERInputStream
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
DERConstructedSet
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
DERGeneralizedTime Generalized time object.
DERGeneralString
DERGenerator
DERIA5String DER IA5String object - this is an ascii string.
DERInputStream Don't use this class.
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 nottation this is any object proceeded by a [n] where n is some number - these are assume 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.
A library for parsing and writing ASN.1 objects. Support is provided for DER and BER encoding.