Package com.unboundid.asn1


package com.unboundid.asn1
This package contains a number of classes for interacting with ASN.1 BER elements. ASN.1 (Abstract Syntax Notation One) provides a framework for representing typed data in a binary form, according to a set of encoding rules. This implementation uses the Basic Encoding Rules (BER), which is the mechanism used to represent LDAP messages. It does not provide all standard types of ASN.1 elements, but includes those needed for LDAP processing, including Boolean, enumerated, integer, null, octet string, sequence, and set elements, as well as support for generic element types. It also supports element types that aren't used in LDAP directly, but may be used in related areas, like generalized time and UTC time values.
  • Class
    Description
    This class provides an ASN.1 integer element that is backed by a Java BigInteger and whose value can be represented as an integer of any magnitude.
    This class provides an ASN.1 bit string element, whose value represents a series of zero or more bits, where each bit is either one or zero.
    This class provides an ASN.1 Boolean element, whose value is a single byte and represents either "TRUE" or "FALSE".
    This class provides a mechanism for writing one or more ASN.1 elements into a byte string buffer.
    This class provides a data structure which is used in the course of writing an ASN.1 sequence to an ASN.1 buffer.
    This class provides a data structure which is used in the course of writing an ASN.1 set to an ASN.1 buffer.
    This class defines a generic ASN.1 BER element, which has a type and value.
    This class provides an ASN.1 enumerated element.
    This class defines an exception that can be thrown if a problem occurs while interacting with ASN.1 BER elements.
    This class provides an ASN.1 generalized time element, which represents a timestamp in the generalized time format.
    This class provides an ASN.1 IA5 string element that can hold any empty or non-empty string comprised only of the ASCII characters (including ASCII control characters).
    This class provides an ASN.1 integer element that is backed by a Java int, which is a signed 32-bit value and can represent any integer between -2147483648 and 2147483647.
    This class provides an ASN.1 integer element that is backed by a Java long, which is a signed 64-bit value and can represent any integer between -9223372036854775808 and 9223372036854775807.
    This class provides an ASN.1 null element, which does not hold a value.
    This class provides an ASN.1 numeric string element that can hold any empty or non-empty string comprised only of the ASCII numeric digits '0' through '9' and the ASCII space.
    This class provides an ASN.1 object identifier element, whose value represents a numeric OID.
    This class provides an ASN.1 octet string element, whose value is simply comprised of zero or more bytes.
    This class provides an ASN.1 printable string element that can hold any empty or non-empty string comprised only of the characters listed below.
    This class provides an ASN.1 sequence element, which is used to hold an ordered set of zero or more other elements (potentially including additional "envelope" element types like other sequences and/or sets).
    This class provides an ASN.1 set element, which is used to hold a set of zero or more other elements (potentially including additional "envelope" element types like other sequences and/or sets) in which the order of those elements should not be considered significant.
    This class provides a mechanism for ASN.1 elements (including sequences and sets) from an input stream in a manner that allows the data to be decoded on the fly without constructing ASN1Element objects if they are not needed.
    This class provides a data structure which is used in the course of reading an ASN.1 sequence from an ASN.1 stream reader.
    This class provides a data structure which is used in the course of reading an ASN.1 set from an ASN.1 stream reader.
    This class provides an ASN.1 UTC time element, which represents a timestamp with a string representation in the format "YYMMDDhhmmssZ".
    This class provides an ASN.1 UTF-8 string element that can hold any string value that can be represented in the UTF-8 encoding.
    This class provides an efficient mechanism for writing ASN.1 elements to output streams.