Package org.gudy.bouncycastle.asn1
package org.gudy.bouncycastle.asn1
A library for parsing and writing ASN.1 objects. Support is provided for DER and BER encoding.
-
ClassDescriptionMarker 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.the parent class for this will eventually disappear.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.A NULL object.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).Deprecated.use BERSequenceDeprecated.use ASN1InputStreamA BER NULL object.BER 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).Base class for an application specific objectDER BMPString object.Deprecated.use DERSequence.Deprecated.use DERSeta 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.Generalized time object.DER IA5String object - this is an ascii string.Deprecated.use ASN1InputStreamA NULL object.DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.DER PrintableString object.A DER encoded set objectbasic interface for DER string objects.DER T61String (also the teletex string)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).DER UniversalString object.We insert one of these when we find a tag we don't recognise.UTC time object.DER UTF8String object.DER VisibleString object.class for breaking up an OID into it's component tokens, ala java.util.StringTokenizer.