Bouncy Castle Cryptography 1.51

Package org.bouncycastle.asn1

A library for parsing and writing ASN.1 objects.

See:
          Description

Interface Summary
ASN1ApplicationSpecificParser Interface to parse ASN.1 application specific objects.
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.
ASN1Encodable Basic interface to produce serialisers for ASN.1 encodings.
ASN1Encoding Supported encoding formats.
ASN1OctetStringParser A basic parser for an OCTET STRING object
ASN1SequenceParser A basic parser for a SEQUENCE object
ASN1SetParser A basic parser for a SET object
ASN1String  
ASN1TaggedObjectParser  
BERTags  
DERTags Deprecated. use BERTags
InMemoryRepresentable Interface implemented by objects that can be converted from streaming to in-memory objects.
 

Class Summary
ASN1Boolean Public facade of ASN.1 Boolean data.
ASN1EncodableVector Mutable class for building ASN.1 constructed objects.
ASN1Enumerated Class representing the ASN.1 ENUMERATED type.
ASN1GeneralizedTime Base class representing the ASN.1 GeneralizedTime type.
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 Class representing the ASN.1 INTEGER type.
ASN1Null A NULL object - use DERNull.INSTANCE for populating structures.
ASN1Object Base class for defining an ASN.1 object.
ASN1ObjectIdentifier Class representing the ASN.1 OBJECT IDENTIFIER type.
ASN1OctetString Abstract base for the ASN.1 OCTET STRING data type
ASN1OutputStream Stream that produces output based on the default encoding for the passed in objects.
ASN1Primitive Base class for ASN.1 primitive objects.
ASN1Sequence ASN.1 SEQUENCE and SEQUENCE OF constructs.
ASN1Set ASN.1 SET and SET OF constructs.
ASN1StreamParser A parser for ASN.1 streams which also returns, where possible, parsers for the objects it encounters.
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 - * UTC time object.
BERApplicationSpecific  
BERApplicationSpecificParser  
BERConstructedOctetString Deprecated. use BEROctetString
BERGenerator  
BEROctetString  
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 Deprecated. use ASN1Boolean
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 Deprecated. Use ASN1Enumerated instead of this.
DERExternal Class representing the DER-type External
DERExternalParser  
DERGeneralizedTime DER Generalized time object.
DERGeneralString  
DERGenerator  
DERIA5String DER IA5String object - this is an ascii string.
DERInteger Deprecated. Use ASN1Integer instead of this,
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, }.
DERObjectIdentifier Deprecated. Use ASN1ObjectIdentifier instead of this,
DEROctetString  
DEROctetStringParser  
DEROutputStream Stream that outputs encoding based on distinguished encoding rules.
DERPrintableString DER PrintableString object.
DERSequence  
DERSequenceGenerator  
DERSequenceParser  
DERSet A DER encoded set object
DERSetParser  
DERT61String DER T61String (also the teletex string), try not to use this if you don't need to.
DERT61UTF8String DER T61String (also the teletex string) - a "modern" encapsulation that uses UTF-8.
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.
DERUTCTime DER UTC time object.
DERUTF8String DER UTF8String object.
DERVisibleString DER VisibleString object encoding ISO 646 (ASCII) character code points 32 to 126.
DLOutputStream Stream that outputs encoding based on definite length.
DLSequence The DLSequence encodes a SEQUENCE using definite length form.
DLSet The DLSet encodes ASN.1 SET value without element ordering, and always using definite length form.
DLTaggedObject Definite Length 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).
OIDTokenizer class for breaking up an OID into it's component tokens, ala java.util.StringTokenizer.
 

Exception Summary
ASN1Exception  
ASN1ParsingException  
 

Package org.bouncycastle.asn1 Description

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


Bouncy Castle Cryptography 1.51