Top Interfaces Classes
[default module]

Package org.bouncycastle.asn1


Interface Summary

Modifier and TypeInterface and Description
public interface
ASN1BitStringParser

A basic parser for a BIT STRING object

public interface
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.

public interface
ASN1Encodable

Basic interface to produce serialisers for ASN.1 encodings.

public interface
ASN1Encoding

Supported encoding formats.

public interface
ASN1ExternalParser

Parser DER EXTERNAL tagged objects.

public interface
ASN1OctetStringParser

A basic parser for an OCTET STRING object

public interface
ASN1SequenceParser

A basic parser for a SEQUENCE object

public interface
ASN1SetParser

A basic parser for a SET object

public interface
ASN1String

General interface implemented by ASN.1 STRING objects for extracting the content String.

public interface
ASN1TaggedObjectParser

Interface for the parsing of a generic tagged ASN.1 object.

public interface
public interface
InMemoryRepresentable

Interface implemented by objects that can be converted from streaming to in-memory objects.

Class Summary

Modifier and TypeClass and Description
public class
ASN1Absent

An ASN1 class that encodes to nothing, used in the OER library to deal with the Optional type.

public abstract class
ASN1BitString

Base class for BIT STRING objects

public abstract class
ASN1BMPString

ASN.1 BMPString object encodes BMP (Basic Multilingual Plane) subset (aka UCS-2) of UNICODE (ISO 10646) characters in codepoints 0 to 65535.

public class
ASN1Boolean

Public facade of ASN.1 Boolean data.

public class
ASN1EncodableVector

Mutable class for building ASN.1 constructed objects such as SETs or SEQUENCEs.

public class
ASN1Enumerated

Class representing the ASN.1 ENUMERATED type.

public class
ASN1Exception

Exception thrown in cases of corrupted or unexpected data in a stream.

public abstract class
ASN1External

Class representing the DER-type External

public class
ASN1GeneralizedTime

Base class representing the ASN.1 GeneralizedTime type.

public abstract class
ASN1GeneralString

ASN.1 GENERAL-STRING data type.

public abstract class
ASN1Generator

Basic class for streaming generators.

public abstract class
public abstract class
ASN1IA5String

ASN.1 IA5String object - this is a ISO 646 (ASCII) string encoding code points 0 to 127.

public class
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.

public class
ASN1Integer

Class representing the ASN.1 INTEGER type.

public abstract class
ASN1Null

A NULL object - use DERNull.INSTANCE for populating structures.

public abstract class
ASN1NumericString

NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.

public abstract class
ASN1Object

Base class for defining an ASN.1 object.

public class
public class
ASN1ObjectIdentifier

Class representing the ASN.1 OBJECT IDENTIFIER type.

public abstract class
ASN1OctetString

Abstract base for the ASN.1 OCTET STRING data type

This supports BER, and DER forms of the data.

public class
ASN1OutputStream

Stream that produces output based on the default encoding for the passed in objects.

public class
ASN1ParsingException

Exception thrown when correctly encoded, but unexpected data is found in a stream while building an object.

public abstract class
ASN1Primitive

Base class for ASN.1 primitive objects.

public abstract class
ASN1PrintableString

ASN.1 PrintableString object.

public class
public abstract class
ASN1Sequence

ASN.1 SEQUENCE and SEQUENCE OF constructs.

public abstract class
ASN1Set

ASN.1 SET and SET OF constructs.

public class
ASN1StreamParser

A parser for ASN.1 streams which also returns, where possible, parsers for the objects it encounters.

public abstract class
ASN1T61String

ASN.1 T61String (also the teletex string), try not to use this if you don't need to.

pack-priv class
public abstract class
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).

pack-priv abstract class
public abstract class
ASN1UniversalString

ASN.1 UniversalString object - encodes UNICODE (ISO 10646) characters using 32-bit format.

pack-priv abstract class
pack-priv class
public class
ASN1UTCTime

- * UTC time object.

public abstract class
public abstract class
public abstract class
public abstract class
ASN1VisibleString

ASN.1 VisibleString object encoding ISO 646 (ASCII) character code points 32 to 126.

public class
public class
BERBitStringParser

Deprecated Check for 'ASN1BitStringParser' instead
A parser for indefinite-length BIT STRINGs.
pack-priv class
public abstract class
BERGenerator

Base class for generators for indefinite-length structures.

public class
BEROctetString

ASN.1 OctetStrings, with indefinite length rules, and constructed form support.

public class
BEROctetStringGenerator

A generator for indefinite-length OCTET STRINGs

public class
BEROctetStringParser

Deprecated Check for 'ASN1OctetStringParser' instead
A parser for indefinite-length OCTET STRINGs.
pack-priv class
BEROutputStream

A class which writes indefinite and definite length objects.

public class
BERSequence

Indefinite length SEQUENCE of objects.

public class
BERSequenceGenerator

A stream generator for DER SEQUENCEs

public class
BERSequenceParser

Deprecated Check for 'ASN1SequenceParser' instead
Parser for indefinite-length SEQUENCEs.
public class
BERSet

Indefinite length SET and SET OF constructs.

public class
BERSetParser

Deprecated Check for 'ASN1SetParser' instead
Parser for indefinite-length SETs.
public class
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).

pack-priv class
BERTaggedObjectParser

Parser for indefinite-length tagged objects.

pack-priv class
pack-priv class
pack-priv class
DefiniteLengthInputStream

Parse data stream of expected ASN.1 data expecting definite-length encoding..

public class
DERBitString

A BIT STRING with DER encoding - the first byte contains the count of padding bits included in the byte array's last byte.

public class
DERBMPString

DER BMPString object encodes BMP (Basic Multilingual Plane) subset (aka UCS-2) of UNICODE (ISO 10646) characters in codepoints 0 to 65535.

public class
DERExternal

Class representing the DER-type External

public class
DERExternalParser

Parser DER EXTERNAL tagged objects.

pack-priv class
public class
DERGeneralizedTime

DER Generalized time object.

public class
DERGeneralString

ASN.1 GENERAL-STRING data type.

public abstract class
DERGenerator

Basic class for streaming DER encoding generators.

public class
public class
DERIA5String

DER IA5String object - this is a ISO 646 (ASCII) string encoding code points 0 to 127.

public class
DERNull

An ASN.1 DER NULL object.

public class
DERNumericString

DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.

public class
DEROctetString

Carrier class for a DER encoding OCTET STRING

public class
DEROctetStringParser

Deprecated Check for 'ASN1OctetStringParser' instead
Parser for DER encoded OCTET STRINGS
pack-priv class
DEROutputStream

Stream that outputs encoding based on distinguished encoding rules.

public class
DERPrintableString

DER PrintableString object.

public class
DERSequence

Definite length SEQUENCE, encoding tells explicit number of bytes that the content of this sequence occupies.

public class
DERSequenceGenerator

A stream generator for DER SEQUENCEs

public class
DERSet

A DER encoded SET object

For X.690 syntax rules, see ASN1Set.

public class
DERT61String

DER T61String (also the teletex string), try not to use this if you don't need to.

public class
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).

public class
DERUniversalString

DER UniversalString object - encodes UNICODE (ISO 10646) characters using 32-bit format.

public class
DERUTCTime

DER UTC time object.

public class
DERUTF8String

DER UTF8String object.

public class
public class
DERVisibleString

DER VisibleString object encoding ISO 646 (ASCII) character code points 32 to 126.

public class
DLBitString

A Definite length BIT STRING

public class
DLBitStringParser

Deprecated Check for 'ASN1BitStringParser' instead
Parser for a DL encoded BIT STRING.
public class
DLExternal

Class representing the Definite-Length-type External

pack-priv class
pack-priv class
DLOutputStream

Stream that outputs encoding based on definite length.

public class
DLSequence

The DLSequence encodes a SEQUENCE using definite length form.

public class
DLSequenceParser

Deprecated Check for 'ASN1SequenceParser' instead
Parser class for DL SEQUENCEs.
public class
DLSet

The DLSet encodes ASN.1 SET value without element ordering, and always using definite length form.

public class
DLSetParser

Deprecated Check for 'ASN1SetParser' instead
Parser class for DL SETs.
public class
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).

pack-priv class
DLTaggedObjectParser

Parser for definite-length tagged objects.

pack-priv class
pack-priv class
pack-priv class
LazyEncodedSequence

Note

this class is for processing DER/DL encoded sequences only.

pack-priv abstract class
LimitedInputStream

Internal use stream that allows reading of a limited number of bytes from a wrapped stream.

public class
LocaleUtil

ASN.1 uses an EN locale for its internal formatting.

public class
OIDTokenizer

Class for breaking up an OID into it's component tokens, ala java.util.StringTokenizer.

pack-priv class