A B C D E F G H I L M N O P R S T U V W

A

APPLICATION - Static variable in class org.jasn.Tags
The ASN.1 APPLICATION class.
Asn1Decoder - interface org.jasn.Asn1Decoder.
This interface defines a generic decoder to unmarshal ASN.1 values.
Asn1Encoder - interface org.jasn.Asn1Encoder.
This interface defines a generic encoder for the marshalling of ASN.1 values.
Asn1Value - interface org.jasn.Asn1Value.
 
add(boolean) - Method in class org.jasn.BitString
Appends the specified bit value to the end of this bit string.
add(BitString) - Method in class org.jasn.BitString
Appends all the bits in the specified BitString to the end of this BitString.
append(int[]) - Method in class org.jasn.ObjectIdentifier
Concatenates the specified arc array to the end of this ObjectIdentifier arc list.
append(int) - Method in class org.jasn.ObjectIdentifier
Concatenates the specified arc value to the end of this ObjectIdentifier arc sequence.

B

BIT_STRING - Static variable in class org.jasn.Tags
The universal tag for a BIT STRING value.
BMPSTRING - Static variable in class org.jasn.Tags
The universal tag for a BMPString value.
BOOLEAN - Static variable in class org.jasn.Tags
The universal tag for a BOOLEAN value.
BaseBerEncoder - class org.jasn.BaseBerEncoder.
This abstract class implements the basic functionality of an ASN.1 encoder using the Basic Encoding Rules (BER).
BaseBerEncoder() - Constructor for class org.jasn.BaseBerEncoder
 
BerDecoder - class org.jasn.BerDecoder.
A decoder for parsing BER encoded ASN.1 values from an input stream.
BerDecoder(InputStream, int) - Constructor for class org.jasn.BerDecoder
Creates a decoder for parsing BER encoded ASN.1 values from the specified input stream.
BerDecoder(InputStream) - Constructor for class org.jasn.BerDecoder
Creates a decoder for parsing BER encoded ASN.1 values from the specified input stream.
BerDumper - class org.jasn.BerDumper.
 
BerDumper(InputStream) - Constructor for class org.jasn.BerDumper
 
BerEncoder - class org.jasn.BerEncoder.
An ASN.1 BER encoder.
BerEncoder() - Constructor for class org.jasn.BerEncoder
Creates a new encoder that will write to the given output stream using the BER encoding.
BerIndefiniteEncoder - class org.jasn.BerIndefiniteEncoder.
An ASN.1 encoder that uses the Basic Encoding Rules (BER) to encode ASN.1 values.
BerIndefiniteEncoder(OutputStream) - Constructor for class org.jasn.BerIndefiniteEncoder
Creates a new encoder that will write to the given output stream using the BER encoding.
BitString - class org.jasn.BitString.
A sequence of bits modelling the ASN.1 BIT STRING type.
BitString() - Constructor for class org.jasn.BitString
Creates a new empty bit sequence with an initial capacity of 32 bits.
BitString(int) - Constructor for class org.jasn.BitString
Creates an empty bit sequence whose initial size is large enough to explicitly represent bits with indices in the range 0 through nbits-1 inclusive.
BitString(boolean[]) - Constructor for class org.jasn.BitString
Creates a bit sequence from the specified boolean array.
ByteToCharPrintable - class org.jasn.ByteToCharPrintable.
 
ByteToCharPrintable() - Constructor for class org.jasn.ByteToCharPrintable
 
ByteToCharTeletex - class org.jasn.ByteToCharTeletex.
This class implements a converter that translate encoded ASN.1 TeletexString into Unicode characters.
ByteToCharTeletex() - Constructor for class org.jasn.ByteToCharTeletex
 

C

CONTEXT - Static variable in class org.jasn.Tags
The ASN.1 CONTEXT class.
clear(int) - Method in class org.jasn.BitString
Sets the bit specified by the index to false.
clear() - Method in class org.jasn.util.LongStack
Removes all of the elements from this stack.
clear() - Method in class org.jasn.util.Stack
Removes all of the elements from this stack.
clone() - Method in class org.jasn.BitString
Creates and returns a (deep) copy this BitString which is equal to it.
convert(byte[], int, int, char[], int, int) - Method in class org.jasn.ByteToCharPrintable
Algorithmic character conversion
convert(byte[], int, int, char[], int, int) - Method in class org.jasn.ByteToCharTeletex
Converts an array of bytes containing characters in an external encoding into an array of Unicode characters.
createTag(int, int) - Static method in class org.jasn.Tags
Creates an ASN.1 Tag with the specified class and the specified number.

D

DecodingException - exception org.jasn.DecodingException.
Signals that some error has occurred during decoding of an ASN.1 value.
DecodingException() - Constructor for class org.jasn.DecodingException
Constructs an DecodingException with no specified detail message.
DecodingException(String) - Constructor for class org.jasn.DecodingException
Constructs an DecodingException with the specified detail message.
DerDecoder - class org.jasn.DerDecoder.
A decoder for parsing DER encoded ASN.1 value from an input stream.
DerDecoder(InputStream, int) - Constructor for class org.jasn.DerDecoder
Creates a decoder for parsing BER encoded ASN.1 values from the specified input stream.
DerDecoder(InputStream) - Constructor for class org.jasn.DerDecoder
Creates a decoder for parsing BER encoded ASN.1 values from the specified input stream.
DerEncoder - class org.jasn.DerEncoder.
This class implements an encoder that encodes ASN.1 values using the Distinguished Encoding Rules (DER).
DerEncoder() - Constructor for class org.jasn.DerEncoder
Creates a DER encoder.
DerUtilities - class org.jasn.DerUtilities.
 
DerUtilities() - Constructor for class org.jasn.DerUtilities
 
DynamicBuffer - class org.jasn.util.DynamicBuffer.
This class implements a buffer of bytes that grows as needed.
DynamicBuffer(int) - Constructor for class org.jasn.util.DynamicBuffer
Creates a byte buffer with the specified initial capacity.
decode(Asn1Decoder) - Method in interface org.jasn.Asn1Value
 
decodeAny(OutputStream) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 (ANY) value and copies it to the specified output stream.
decodeAny() - Method in interface org.jasn.Asn1Decoder
 
decodeAny(OutputStream) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 ANY value from the underlying stream and copies it to the specified output stream.
decodeAny() - Method in class org.jasn.BerDecoder
 
decodeBMPString() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 BMPString value from the underlying input stream and return it as a String object.
decodeBMPString(StringBuffer) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 BMPString value from the underlying stream and appends its string representation to the specified StringBuffer.
decodeBMPString() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 BMPString value from the underlying input stream and return it as a String object.
decodeBMPString(StringBuffer) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 BMPString value from the underlying stream and appends its string representation to the specified StringBuffer.
decodeBitString() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 BIT STRING value from the underlying stream and returns it as a BitString value.
decodeBitString(BitString) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 BIT STRING value from the underlying stream and appends its bit values to the specified BitString.
decodeBitString() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 BIT STRING value from the underlying stream and returns it as a BitString value.
decodeBitString(BitString) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 BIT STRING value from the underlying stream and appends its bit values to the specified BitString.
decodeBitString(BitString) - Method in class org.jasn.DerDecoder
Decodes an ASN.1 BIT STRING value from the underlying stream and appends its bit values to the specified BitString.
decodeBoolean() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 BOOLEAN value from the underlying stream and returns it as a boolean value.
decodeBoolean() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 BOOLEAN value from the underlying stream and returns it as a boolean value.
decodeBoolean() - Method in class org.jasn.DerDecoder
Decodes an ASN.1 BOOLEAN value from the underlying stream and returns it as a boolean value.
decodeChoice() - Method in interface org.jasn.Asn1Decoder
Starts the decoding of a BER encoded CHOICE value.
decodeChoice() - Method in class org.jasn.BerDecoder
Starts the decoding of a BER encoded CHOICE value.
decodeConstructed(int) - Method in interface org.jasn.Asn1Decoder
Starts the decoding of a BER encoded ASN.1 constructed value.
decodeConstructed(int) - Method in class org.jasn.BerDecoder
Starts the decoding of a BER encoded ASN.1 constructed value.
decodeEndOf(int) - Method in interface org.jasn.Asn1Decoder
Terminates the decoding of the constructed value identified by id is finished.
decodeEndOf(int) - Method in class org.jasn.BerDecoder
Terminates the decoding of the constructed value identified by id is finished.
decodeEnumerated() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 ENUMERATED value from the underlying stream and returns it as a BigInteger value.
decodeEnumerated() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 ENUMERATED value from the underlying stream and returns it as a BigInteger value.
decodeEnumeratedAsInt() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 ENUMERATED value from the underlying stream and returns it as a int value.
decodeEnumeratedAsInt() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 ENUMERATED value from the underlying stream and returns it as a int value.
decodeEnumeratedAsLong() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 ENUMERATED value from the underlying stream and returns it as a int value.
decodeEnumeratedAsLong() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 ENUMERATED value from the underlying stream and returns it as a int value.
decodeExplicit(int) - Method in interface org.jasn.Asn1Decoder
Indicates that the next decoded ASN.1 value has an explicit tag set equals to the specified tag value.
decodeExplicit(int) - Method in class org.jasn.BerDecoder
Indicates that the next decoded ASN.1 value has an explicit tag set equals to the specified tag value.
decodeGeneralizedTime() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 GeneralizedTime value from the underlying input stream and return it as a Calendar object.
decodeGeneralizedTime() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 GeneralizedTime value from the underlying input stream and return it as a Calendar object.
decodeIA5String() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 IA5String value from the underlying input stream and return it as a String object.
decodeIA5String(StringBuffer) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 IA5String value from the underlying input stream and appends it to the specified StringBuffer.
decodeIA5String() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 IA5String value from the underlying input stream and return it as a String object.
decodeIA5String(StringBuffer) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 IA5String value from the underlying input stream and appends it to the specified StringBuffer.
decodeImplicit(int) - Method in interface org.jasn.Asn1Decoder
Indicates that the next value to be decoded has the specified implicit tag.
decodeImplicit(int) - Method in class org.jasn.BerDecoder
Indicates that the next value to be decoded has the specified implicit tag.
decodeInteger() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 INTEGER value from the underlying stream and returns it as a BigInteger value.
decodeInteger() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 INTEGER value from the underlying stream and returns it as a BigInteger value.
decodeIntegerAsInt() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 INTEGER value from the underlying stream and returns it as a int value.
decodeIntegerAsInt() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 INTEGER value from the underlying stream and returns it as a int value.
decodeIntegerAsLong() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 INTEGER value from the underlying stream and returns it as a long value.
decodeIntegerAsLong() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 INTEGER value from the underlying stream and returns it as a long value.
decodeNull() - Method in interface org.jasn.Asn1Decoder
Decodes the next ASN.1 NULL value from the underlying stream.
decodeNull() - Method in class org.jasn.BerDecoder
Decodes the next ASN.1 NULL value from the underlying stream.
decodeNumericString() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 NumericString value from the underlying input stream and return it as a String object.
decodeNumericString(StringBuffer) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 NumericString value from the underlying input stream and appends it to the specified StringBuffer.
decodeNumericString() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 NumericString value from the underlying input stream and return it as a String object.
decodeNumericString(StringBuffer) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 NumericString value from the underlying input stream and appends it to the specified StringBuffer.
decodeObjectIdentifier() - Method in interface org.jasn.Asn1Decoder
Decodes a BER encoded OBJECT IDENTIFIER.
decodeObjectIdentifier() - Method in class org.jasn.BerDecoder
Decodes a BER encoded OBJECT IDENTIFIER.
decodeOctetString() - Method in interface org.jasn.Asn1Decoder
Decodes a BER encoded ASN.1 OCTET STRING value and returns it as a byte array.
decodeOctetString(OutputStream) - Method in interface org.jasn.Asn1Decoder
Decodes a BER encoded ASN.1 OCTET STRING value and copies its contents into the specified output stream.
decodeOctetString() - Method in class org.jasn.BerDecoder
Decodes a BER encoded ASN.1 OCTET STRING value and returns it as a byte array.
decodeOctetString(OutputStream) - Method in class org.jasn.BerDecoder
Decodes a BER encoded ASN.1 OCTET STRING value and copies its contents into the specified output stream.
decodePrintableString() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 PrintableString value from the underlying input stream and return it as a String object.
decodePrintableString(StringBuffer) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 PrintableString value from the underlying input stream and appends it to the specified StringBuffer.
decodePrintableString() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 PrintableString value from the underlying input stream and return it as a String object.
decodePrintableString(StringBuffer) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 PrintableString value from the underlying input stream and appends it to the specified StringBuffer.
decodeSequence() - Method in interface org.jasn.Asn1Decoder
Starts the decoding of a BER encoded SEQUENCE.
decodeSequence() - Method in class org.jasn.BerDecoder
Starts the decoding of a BER encoded SEQUENCE.
decodeSequenceOf() - Method in interface org.jasn.Asn1Decoder
Starts the decoding of a BER encoded SEQUENCE OF.
decodeSequenceOf() - Method in class org.jasn.BerDecoder
Starts the decoding of a BER encoded SEQUENCE OF.
decodeSet() - Method in interface org.jasn.Asn1Decoder
Starts the decoding of a BER encoded SET.
decodeSet() - Method in class org.jasn.BerDecoder
Starts the decoding of a BER encoded SET.
decodeSetOf() - Method in interface org.jasn.Asn1Decoder
Starts the decoding of a BER encoded SET OF.
decodeSetOf() - Method in class org.jasn.BerDecoder
Starts the decoding of a BER encoded SET OF.
decodeString(int, OutputStream) - Method in interface org.jasn.Asn1Decoder
Decodes the next ASN.1 character string value and appends its contents bytes to the specified output stream.
decodeString(int, OutputStream) - Method in class org.jasn.BerDecoder
Decodes the next ASN.1 character string value and appends its contents bytes to the specified output stream.
decodeTeletexString() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 TeletexString value from the underlying input stream and return it as a String object.
decodeTeletexString(StringBuffer) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 TeletexString value from the underlying input stream and appends it to the specified StringBuffer.
decodeTeletexString() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 TeletexString value from the underlying input stream and return it as a String object.
decodeTeletexString(StringBuffer) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 TeletexString value from the underlying input stream and appends it to the specified StringBuffer.
decodeUTCTime() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 UTCTime value from the underlying input stream and return it as a Date object.
decodeUTCTime() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 UTCTime value from the underlying input stream and return it as a Date object.
decodeUTF8String() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 UTF8String value from the underlying input stream and return it as a String object.
decodeUTF8String(StringBuffer) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 UTF8String value from the underlying input stream and appends it to the specified StringBuffer.
decodeUTF8String() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 UTF8String value from the underlying input stream and return it as a String object.
decodeUTF8String(StringBuffer) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 UTF8String value from the underlying input stream and appends it to the specified StringBuffer.
decodeVisibleString() - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 VisibleString value from the underlying input stream and return it as a String object.
decodeVisibleString(StringBuffer) - Method in interface org.jasn.Asn1Decoder
Decodes an ASN.1 VisibleString value from the underlying input stream and appends it to the specified StringBuffer.
decodeVisibleString() - Method in class org.jasn.BerDecoder
Decodes an ASN.1 VisibleString value from the underlying input stream and return it as a String object.
decodeVisibleString(StringBuffer) - Method in class org.jasn.BerDecoder
Decodes an ASN.1 VisibleString value from the underlying input stream and appends it to the specified StringBuffer.
dump(int) - Method in class org.jasn.BerDumper
 

E

EMBEDDED_PDV - Static variable in class org.jasn.Tags
The universal tag for an EMBEDDED PDV value.
ENUMERATED - Static variable in class org.jasn.Tags
The universal tag for an ENUMERATED value.
EOC - Static variable in class org.jasn.Tags
The End of Content tag.
EXTERNAL - Static variable in class org.jasn.Tags
The universal tag for an EXTERNAL value.
EncodingException - exception org.jasn.EncodingException.
Signals that some error has occurred during encoding of an ASN.1 value.
EncodingException() - Constructor for class org.jasn.EncodingException
Constructs an EncodingException with no specified detail message.
EncodingException(String) - Constructor for class org.jasn.EncodingException
Constructs an EncodingException with the specified detail message.
encode(Asn1Encoder) - Method in interface org.jasn.Asn1Value
 
encodeAny(byte[]) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 ANY value.
encodeAny(byte[]) - Method in class org.jasn.BaseBerEncoder
 
encodeAny(byte[]) - Method in class org.jasn.DerEncoder
 
encodeBMPString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 BMPString value.
encodeBMPString(String) - Method in class org.jasn.BaseBerEncoder
 
encodeBMPString(String) - Method in class org.jasn.DerEncoder
 
encodeBitString(BitString) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 BIT STRING value.
encodeBitString(byte[]) - Method in interface org.jasn.Asn1Encoder
Encodes the specified bytes as an ASN.1 BIT STRING value.
encodeBitString(BitString) - Method in class org.jasn.BaseBerEncoder
 
encodeBitString(byte[]) - Method in class org.jasn.BaseBerEncoder
 
encodeBitString(BitString) - Method in class org.jasn.DerEncoder
 
encodeBitString(byte[]) - Method in class org.jasn.DerEncoder
 
encodeBoolean(boolean) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 BOOLEAN value.
encodeBoolean(boolean) - Method in class org.jasn.BaseBerEncoder
 
encodeBoolean(boolean) - Method in class org.jasn.DerEncoder
 
encodeConstructed(int) - Method in class org.jasn.BerEncoder
 
encodeEnumerated(BigInteger) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 ENUMERATED value.
encodeEnumerated(int) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 ENUMERATED value.
encodeEnumerated(long) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 ENUMERATED value.
encodeEnumerated(BigInteger) - Method in class org.jasn.BaseBerEncoder
 
encodeEnumerated(int) - Method in class org.jasn.BaseBerEncoder
 
encodeEnumerated(long) - Method in class org.jasn.BaseBerEncoder
 
encodeEnumerated(BigInteger) - Method in class org.jasn.DerEncoder
 
encodeEnumerated(int) - Method in class org.jasn.DerEncoder
 
encodeEnumerated(long) - Method in class org.jasn.DerEncoder
 
encodeExplicit(int) - Method in interface org.jasn.Asn1Encoder
Indicates that the next ASN.1 value must be encoded with an explicit tag equals to the specified tag value.
encodeExplicit(int) - Method in class org.jasn.BaseBerEncoder
 
encodeExplicit(int) - Method in class org.jasn.BerEncoder
Starts the encoding of an explicitly tagged value.
encodeExplicit(int) - Method in class org.jasn.BerIndefiniteEncoder
Starts the encoding of an explicitly tagged value.
encodeExplicit(int) - Method in class org.jasn.DerEncoder
 
encodeGeneralString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 GeneralString value.
encodeGeneralString(String) - Method in class org.jasn.BaseBerEncoder
 
encodeGeneralString(String) - Method in class org.jasn.DerEncoder
 
encodeGeneralizedTime(Calendar) - Method in interface org.jasn.Asn1Encoder
Encodes the specified date as an ASN.1 GeneralizedTime.
encodeGeneralizedTime(Calendar) - Method in class org.jasn.BaseBerEncoder
 
encodeGeneralizedTime(Calendar) - Method in class org.jasn.DerEncoder
 
encodeGraphicString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 GraphicString value.
encodeGraphicString(String) - Method in class org.jasn.BaseBerEncoder
 
encodeGraphicString(String) - Method in class org.jasn.DerEncoder
 
encodeIA5String(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 IA5String value.
encodeIA5String(String) - Method in class org.jasn.BaseBerEncoder
 
encodeIA5String(String) - Method in class org.jasn.DerEncoder
 
encodeImplicit(int) - Method in interface org.jasn.Asn1Encoder
Signals that the next ASN.1 value must be encoded with the specified implicit tag.
encodeImplicit(int) - Method in class org.jasn.BaseBerEncoder
Starts the encoding of an implicitely tagged ASN.1 value.
encodeImplicit(int) - Method in class org.jasn.DerEncoder
 
encodeInteger(BigInteger) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 INTEGER value.
encodeInteger(long) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 INTEGER value.
encodeInteger(int) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 INTEGER value.
encodeInteger(BigInteger) - Method in class org.jasn.BaseBerEncoder
 
encodeInteger(int) - Method in class org.jasn.BaseBerEncoder
 
encodeInteger(long) - Method in class org.jasn.BaseBerEncoder
 
encodeInteger(BigInteger) - Method in class org.jasn.DerEncoder
 
encodeInteger(int) - Method in class org.jasn.DerEncoder
 
encodeInteger(long) - Method in class org.jasn.DerEncoder
 
encodeLength(int) - Method in class org.jasn.BaseBerEncoder
Encodes the length part of a BER TLV.
encodeLength(int) - Method in class org.jasn.BerEncoder
 
encodeLength(int) - Static method in class org.jasn.DerUtilities
Returns an array of bytes containing the DER encoding of the specified length.
encodeLength(int, byte[], int) - Static method in class org.jasn.DerUtilities
 
encodeNull() - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 NULL value.
encodeNull() - Method in class org.jasn.BaseBerEncoder
 
encodeNull() - Method in class org.jasn.DerEncoder
 
encodeNumericString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 NumericString value.
encodeNumericString(String) - Method in class org.jasn.BaseBerEncoder
 
encodeNumericString(String) - Method in class org.jasn.DerEncoder
 
encodeObjectIdentifier(ObjectIdentifier) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 OBJECT IDENTIFIER value.
encodeObjectIdentifier(ObjectIdentifier) - Method in class org.jasn.BaseBerEncoder
 
encodeObjectIdentifier(ObjectIdentifier) - Method in class org.jasn.DerEncoder
 
encodeOctetString(byte[], int, int) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 OCTET STRING consisting of len bytes of the specified byte array starting at offset off.
encodeOctetString(byte[]) - Method in interface org.jasn.Asn1Encoder
Encodes the b.length bytes from the specified byte array as an ASN.1 OCTET STRING.
encodeOctetString(byte[], int, int) - Method in class org.jasn.BaseBerEncoder
 
encodeOctetString(byte[]) - Method in class org.jasn.BaseBerEncoder
 
encodeOctetString(byte[]) - Method in class org.jasn.DerEncoder
 
encodeOctetString(byte[], int, int) - Method in class org.jasn.DerEncoder
 
encodePrintableString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 PrintableString value.
encodePrintableString(String) - Method in class org.jasn.BaseBerEncoder
 
encodePrintableString(String) - Method in class org.jasn.DerEncoder
 
encodeReal(double) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 REAL value.
encodeReal(double) - Method in class org.jasn.BaseBerEncoder
Encodes an ASN.1 REAL value.
encodeReal(double) - Method in class org.jasn.DerEncoder
Encodes an ASN.1 REAL value.
encodeSequence() - Method in interface org.jasn.Asn1Encoder
Starts the encoding of an ASN.1 SEQUENCE.
encodeSequence() - Method in class org.jasn.BaseBerEncoder
 
encodeSequence() - Method in class org.jasn.BerEncoder
 
encodeSequence() - Method in class org.jasn.BerIndefiniteEncoder
 
encodeSequence() - Method in class org.jasn.DerEncoder
 
encodeSequenceOf() - Method in interface org.jasn.Asn1Encoder
Starts the encoding of an ASN.1 SEQUENCE OF.
encodeSequenceOf() - Method in class org.jasn.BaseBerEncoder
 
encodeSequenceOf() - Method in class org.jasn.DerEncoder
 
encodeSet() - Method in interface org.jasn.Asn1Encoder
Starts the encoding of an ASN.1 SET.
encodeSet() - Method in class org.jasn.BaseBerEncoder
 
encodeSet() - Method in class org.jasn.BerEncoder
 
encodeSet() - Method in class org.jasn.BerIndefiniteEncoder
 
encodeSet() - Method in class org.jasn.DerEncoder
 
encodeSetOf() - Method in interface org.jasn.Asn1Encoder
Starts the encoding of an ASN.1 SET OF.
encodeSetOf() - Method in class org.jasn.BaseBerEncoder
 
encodeSetOf() - Method in class org.jasn.DerEncoder
 
encodeTag(int, boolean) - Method in class org.jasn.BaseBerEncoder
 
encodeTag(int, boolean) - Static method in class org.jasn.DerUtilities
Returns an array of bytes containing the DER encoding of the specified tag.
encodeTag(int, boolean, byte[], int) - Static method in class org.jasn.DerUtilities
Stores the bytes of the DER encoding of the specified tag into buf starting at the position offset.
encodeTeletexString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 TeletexString value.
encodeTeletexString(String) - Method in class org.jasn.BaseBerEncoder
 
encodeTeletexString(String) - Method in class org.jasn.DerEncoder
 
encodeUTCTime(Calendar) - Method in interface org.jasn.Asn1Encoder
Encodes the specified date as an ASN.1 UTCTime.
encodeUTCTime(Calendar) - Method in class org.jasn.BaseBerEncoder
 
encodeUTCTime(Calendar) - Method in class org.jasn.DerEncoder
 
encodeUTF8String(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 UTF8String value.
encodeUTF8String(String) - Method in class org.jasn.BaseBerEncoder
 
encodeUTF8String(String) - Method in class org.jasn.DerEncoder
 
encodeUniversalString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 UniversalString value.
encodeUniversalString(String) - Method in class org.jasn.BaseBerEncoder
 
encodeUniversalString(String) - Method in class org.jasn.DerEncoder
 
encodeVideotexString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 VideotexString value.
encodeVideotexString(String) - Method in class org.jasn.BaseBerEncoder
 
encodeVideotexString(String) - Method in class org.jasn.DerEncoder
 
encodeVisibleString(String) - Method in interface org.jasn.Asn1Encoder
Encodes an ASN.1 VisibleString value.
encodeVisibleString(String) - Method in class org.jasn.BaseBerEncoder
 
encodeVisibleString(String) - Method in class org.jasn.DerEncoder
 
endOf(int) - Method in interface org.jasn.Asn1Decoder
Indicates wether the decoding of the constructed value identified by id is finished.
endOf(int) - Method in interface org.jasn.Asn1Encoder
Terminates the encoding of the constructed value identified by id.
endOf(int) - Method in class org.jasn.BaseBerEncoder
 
endOf(int) - Method in class org.jasn.BerDecoder
Indicates wether the decoding of the constructed value identified by id is finished.
endOf(int) - Method in class org.jasn.BerEncoder
 
endOf(int) - Method in class org.jasn.BerIndefiniteEncoder
 
endOf(int) - Method in class org.jasn.DerEncoder
 
ensureCapacity(int) - Method in class org.jasn.util.LongStack
Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
ensureCapacity(int) - Method in class org.jasn.util.Stack
Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
equals(Object) - Method in class org.jasn.BitString
Compares this object against the specified object.
equals(Object) - Method in class org.jasn.ObjectIdentifier
Compares this object identifier to the specified object identifier.

F

flush(char[], int, int) - Method in class org.jasn.ByteToCharPrintable
 
flush(char[], int, int) - Method in class org.jasn.ByteToCharTeletex
Writes any remaining output to the output buffer and resets the converter to its initial state.
formatGeneralizedTime(byte[], int, int, Calendar) - Static method in class org.jasn.StringUtilities
 
formatUTCTime(byte[], int, int, Calendar) - Static method in class org.jasn.StringUtilities
 

G

GENERALIZEDTIME - Static variable in class org.jasn.Tags
The universal tag for a GeneralizedTime value.
GENERALSTRING - Static variable in class org.jasn.Tags
The universal tag for a GeneralString value.
GRAPHICSTRING - Static variable in class org.jasn.Tags
The universal tag for a GraphicString value.
get(int) - Method in class org.jasn.BitString
Returns the value of the bit with the specified index.
getByteBuffer(int) - Method in class org.jasn.BaseBerEncoder
 
getByteCount() - Method in class org.jasn.BitString
Returns the number of bytes needed to store the bits contained in this BitString.
getCharBuffer(int) - Method in class org.jasn.BaseBerEncoder
Returns an array of characters whose size is sufficient to hold len characters.
getCharacterEncoding() - Method in class org.jasn.ByteToCharPrintable
 
getCharacterEncoding() - Method in class org.jasn.ByteToCharTeletex
Returns the character set id for the conversion
getComponent(int) - Method in class org.jasn.ObjectIdentifier
Returns the arc value at the specified index.
getEncodedLengthSize(int) - Static method in class org.jasn.DerUtilities
Returns the number of bytes needed to store the DER encoding of the specified length.
getEncodedTagSize(int) - Static method in class org.jasn.DerUtilities
Returns the number of bytes needed to store the BER/DER encoding of the specified tag.
getPosition() - Method in class org.jasn.util.DynamicBuffer
Returns this buffer's position.
getTagClass(int) - Static method in class org.jasn.Tags
Returns the class of the specified tag.
getTagNumber(int) - Static method in class org.jasn.Tags
Returns the number of the specified tag.
getUnusedBits() - Method in class org.jasn.BitString
Returns the number of unused bits in the last byte.

H

hashCode() - Method in class org.jasn.BitString
Returns a hash code value for this BitString.
hashCode() - Method in class org.jasn.ObjectIdentifier
Returns a hashcode for this object identifier.

I

IA5STRING - Static variable in class org.jasn.Tags
The universal tag for an IA5String value.
INTEGER - Static variable in class org.jasn.Tags
The universal tag for an INTEGER value.
implicitTag - Variable in class org.jasn.BaseBerEncoder
 
isDefaultEncoded() - Method in interface org.jasn.Asn1Encoder
Indicates wether this encoder encodes DEFAULT values.
isDefaultEncoded() - Method in class org.jasn.BaseBerEncoder
 
isDefaultEncoded() - Method in class org.jasn.DerEncoder
 
isDigit(char) - Static method in class org.jasn.StringUtilities
Determines if the specified character is an ISO-Latin-1 digit ('0' through '9').
isEmpty() - Method in class org.jasn.util.LongStack
Tests wether this stack is empty.
isEmpty() - Method in class org.jasn.util.Stack
Tests wether this stack is empty.
isIA5(char) - Static method in class org.jasn.StringUtilities
Tests wether the specified character is a valid IA5String character.
isIA5(String) - Static method in class org.jasn.StringUtilities
Tests wether the specified string contains only valid ASN.1 PrintableString characters.
isNextConstructed() - Method in interface org.jasn.Asn1Decoder
Indicates wether the next ASN.1 value has a constructed encoding.
isNextConstructed() - Method in class org.jasn.BerDecoder
Indicates wether the next ASN.1 value has a constructed encoding.
isNextTag(int) - Method in interface org.jasn.Asn1Decoder
Checks if the tag of the next decoded value is equals to the specified tag value.
isNextTag(int) - Method in class org.jasn.BerDecoder
Checks if the tag of the next decoded value is equals to the specified tag value.
isNumeric(char) - Static method in class org.jasn.StringUtilities
Tests wether the specified character is a valid ASN.1 NumericString character.
isPrintable(char) - Static method in class org.jasn.StringUtilities
Tests wether the specified character is a valid ASN.1 PrintableString character.
isPrintable(String) - Static method in class org.jasn.StringUtilities
Tests wether the specified string contains only valid ASN.1 PrintableString characters.
isVisible(char) - Static method in class org.jasn.StringUtilities
Tests wether the specified character is a valid VisibleString character.

L

LongStack - class org.jasn.util.LongStack.
The class represents a last-in-first-out (LIFO) stack of long values.
LongStack(int) - Constructor for class org.jasn.util.LongStack
Constructs an empty list with the specified initial capacity.
LongStack() - Constructor for class org.jasn.util.LongStack
Creates an empty stack containing long values.
length() - Method in class org.jasn.BitString
Returns the number of bits contained in this BitString.
length() - Method in class org.jasn.ObjectIdentifier
Returns the number of arcs contained in this ObjectIdentifier.

M

MAX_TAG_NUMBER - Static variable in class org.jasn.Tags
The maximum value allowed for a tag number.
main(String[]) - Static method in class org.jasn.ByteToCharTeletex
 
matchTag(int, boolean) - Method in class org.jasn.BerDecoder
Decodes a BER encoded tag and checks that its value matches the specified value and that is is constructed if constructed is true.

N

NULL - Static variable in class org.jasn.Tags
The universal tag for a NULL value.
NUMERICSTRING - Static variable in class org.jasn.Tags
The universal tag for a NumericString value.
normalize(String) - Static method in class org.jasn.StringUtilities
Returns a new string derived from the specified one after having removed leading and trailing white space and converted internal substrings of one or more consecutive white space characters to a single space.

O

OBJECT_DESCRIPTOR - Static variable in class org.jasn.Tags
The universal tag for an OBJECT DESCRIPTOR value.
OBJECT_IDENTIFIER - Static variable in class org.jasn.Tags
The universal tag for an OBJECT IDENTIFIER value.
OCTET_STRING - Static variable in class org.jasn.Tags
The universal tag for an OCTET STRING value.
ObjectIdentifier - class org.jasn.ObjectIdentifier.
This class represents an ASN.1 OBJECT IDENTIFIER.
ObjectIdentifier(String) - Constructor for class org.jasn.ObjectIdentifier
Constructs an ASN.1 object identifier from a string representation of its arcs.
ObjectIdentifier(int[]) - Constructor for class org.jasn.ObjectIdentifier
Creates an object identifier from the specified list of component values (or arcs).
org.jasn - package org.jasn
 
org.jasn.util - package org.jasn.util
 

P

PRINTABLESTRING - Static variable in class org.jasn.Tags
The universal tag for a PrintableString value.
PRIVATE - Static variable in class org.jasn.Tags
The ASN.1 PRIVATE class.
parse2Digits(char[], int, int, int, int) - Static method in class org.jasn.StringUtilities
 
parse4Digits(char[], int, int, int, int) - Static method in class org.jasn.StringUtilities
 
parseDigit(char) - Static method in class org.jasn.StringUtilities
Returns the numeric value of the specified character in the decimal radix.
parseGeneralizedTime(char[], int, int) - Static method in class org.jasn.StringUtilities
Decodes an ASN.1 GeneralizedTime value from the sequence of len characters starting at off in s.
parseUTCTime(char[], int, int) - Static method in class org.jasn.StringUtilities
Decodes an ASN.1 UTCTime value from the sequence of len characters starting at off in s.
peek() - Method in class org.jasn.util.LongStack
Looks at the value at the top of this stack without removing it from the stack.
peek() - Method in class org.jasn.util.Stack
Looks at the value at the top of this stack without removing it from the stack.
pop() - Method in class org.jasn.util.LongStack
Removes the value at the top of this stack and returns that value.
pop() - Method in class org.jasn.util.Stack
Removes the value at the top of this stack and returns that value.
push(long) - Method in class org.jasn.util.LongStack
Pushes the specified long value onto the top of this stack.
push(Object) - Method in class org.jasn.util.Stack
Pushes the specified long value onto the top of this stack.
put(byte) - Method in class org.jasn.util.DynamicBuffer
Writes the given byte into this buffer at the current position, and then increments the position.
put(byte[], int, int) - Method in class org.jasn.util.DynamicBuffer
 

R

REAL - Static variable in class org.jasn.Tags
The universal tag for a REAL value.
reset() - Method in interface org.jasn.Asn1Encoder
Resets the state of this encoder.
reset() - Method in class org.jasn.BerEncoder
Resets the state of this encoder.
reset() - Method in class org.jasn.BerIndefiniteEncoder
Resets the state of this encoder.
reset() - Method in class org.jasn.ByteToCharPrintable
 
reset() - Method in class org.jasn.ByteToCharTeletex
Resets converter to its initial state.
reset() - Method in class org.jasn.DerEncoder
 
rewind() - Method in class org.jasn.util.DynamicBuffer
 

S

SEQUENCE - Static variable in class org.jasn.Tags
The universal tag for a SEQUENCE/SEQUENCE OF value.
SET - Static variable in class org.jasn.Tags
The universal tag for a SET/SET OF value.
Stack - class org.jasn.util.Stack.
The class represents a last-in-first-out (LIFO) stack of long values.
Stack(int) - Constructor for class org.jasn.util.Stack
Constructs an empty list with the specified initial capacity.
Stack() - Constructor for class org.jasn.util.Stack
Creates an empty stack containing long values.
StringUtilities - class org.jasn.StringUtilities.
Methods in this class are used to determine whether characters may appear in certain ASN.1 String type.
set(int) - Method in class org.jasn.BitString
Sets the bit specified by the index to true.
setInputStream(InputStream) - Method in class org.jasn.BerDecoder
Sets the underlying input stream from which the ASN.1 values are decoded.
setName(String) - Method in class org.jasn.BaseBerEncoder
 
setPosition(int) - Method in class org.jasn.util.DynamicBuffer
Sets this buffer's position.
size() - Method in class org.jasn.util.LongStack
Returns the number of elements in this stack.
size() - Method in class org.jasn.util.Stack
Returns the number of elements in this stack.
skipNext() - Method in interface org.jasn.Asn1Decoder
Skips the next encoded ASN.1 value.
skipNext() - Method in class org.jasn.BerDecoder
Skips the next encoded ASN.1 value.

T

T61STRING - Static variable in class org.jasn.Tags
The universal tag for a T61String value.
TELETEXSTRING - Static variable in class org.jasn.Tags
The universal tag for a TeletexString value.
Tags - class org.jasn.Tags.
This class acts as a factory for ASN.1 tags.
TypeConstraintException - exception org.jasn.TypeConstraintException.
This exception indicates that a violation of a dynamically checked type constraint was detected.
TypeConstraintException() - Constructor for class org.jasn.TypeConstraintException
Construct a TypeConstraintException with no detail message.
TypeConstraintException(Throwable) - Constructor for class org.jasn.TypeConstraintException
Construct a TypeConstraintException with a linked exception.
TypeConstraintException(String) - Constructor for class org.jasn.TypeConstraintException
Construct a TypeConstraintException with the specified detail message.
TypeConstraintException(String, Throwable) - Constructor for class org.jasn.TypeConstraintException
Construct a TypeConstraintException with the specified detail message and linked exception.
toBER() - Method in class org.jasn.ObjectIdentifier
Returns the BER encoding of this ObjectIdentifier.
toBooleanArray() - Method in class org.jasn.BitString
Returns a boolean array with the same bit values a this BitString.
toByteArray() - Method in class org.jasn.BitString
Returns a byte array representation of this BitString.
toByteArray(byte[], int) - Method in class org.jasn.BitString
Packs the bits of this BitString into the specified destination byte array, starting at offset offset.
toString() - Method in class org.jasn.BitString
Returns a string representation of this BitString.
toString() - Method in class org.jasn.ObjectIdentifier
Returns a string form of this object identifier.
toString(int) - Static method in class org.jasn.Tags
Returns a string representation of the specified tag.

U

UNIVERSAL - Static variable in class org.jasn.Tags
The ASN.1 UNIVERSAL class.
UNIVERSALSTRING - Static variable in class org.jasn.Tags
The universal tag for an UniversalString value.
UTCTIME - Static variable in class org.jasn.Tags
The universal tag for an UTCTime value.
UTF8STRING - Static variable in class org.jasn.Tags
The universal tag for an UTF8String value.

V

VIDEOTEXSTRING - Static variable in class org.jasn.Tags
The universal tag for a VideotextString value.
VISIBLESTRING - Static variable in class org.jasn.Tags
The universal tag for a VisibleString value.

W

writeByte(int) - Method in class org.jasn.BaseBerEncoder
 
writeByte(int) - Method in class org.jasn.BerEncoder
Writes the specified byte to this output stream.
writeByte(int) - Method in class org.jasn.BerIndefiniteEncoder
Writes the specified byte to this output stream.
writeBytes(byte[], int, int) - Method in class org.jasn.BaseBerEncoder
 
writeBytes(byte[]) - Method in class org.jasn.BaseBerEncoder
 
writeBytes(byte[], int, int) - Method in class org.jasn.BerEncoder
Writes len bytes from the specified byte array starting at offset off to this output stream.
writeBytes(byte[], int, int) - Method in class org.jasn.BerIndefiniteEncoder
Writes len bytes from the specified byte array starting at offset off to this output stream.
writeTo(OutputStream) - Method in class org.jasn.BerEncoder
 
writeTo(OutputStream) - Method in class org.jasn.DerEncoder
 
writeTo(OutputStream) - Method in class org.jasn.util.DynamicBuffer
Writes the bytes contained in this buffer into the specified output stream.

A B C D E F G H I L M N O P R S T U V W

Copyright © 2004 Nicolas Vraux. All Rights Reserved.