Package com.oss.asn1
package com.oss.asn1
Core OSS ASN.1/Java API classes. The package contains core OSS ASN.1/Java API classes:
Universal Classes and Coder Classes. The Universal Classes,
along with compiler-generated classes, are used to represent ASN.1 types.
The Coder Classes provide encoding and decoding services.
The package also contains Interfaces, Helper Classes and Exception Classes.
-
ClassDescriptionThe AbstractBinary class is the common ancestor of BitString and OctetString classes.The AbstractCollection class is the superclass of Sequence and Set classes.The AbstractContainer class implements functionality common to SequenceOf and SetOf classes.The AbstractData class represents the base class for all OSS ASN.1/Java universal classes.The AbstractDataPositions class is a table which records position/offset information associated with AbstractData objects.The AbstractDataWithPositions class is a container which wraps an AbstractData decoded value object and an AbstractDataPositions object, which represents offset/size information of components of decoded value.The AbstractException class is the base class for all exceptionsThe ISO8601Time class implements the functionality common to all ASN.1 useful time types: DATE, TIME-OF-DAY, DATE-TIME and DURATION.The AbstractObjectIdentifier class is a common superclass for the representations of the ASN.1 OBJECT IDENTIFIER and RELATIVE-OID types.The AbstractOpenType class is a common superclass for OpenType and HugeOpenType classes.AbstractPDU<T extends Enum>The class is an abstract superclass for compiler-generated project PDU classes.The Abstract Real class class is the superclass of Real, DecimalReal, and MixedReal classes.The AbstractString class provides a common ancestor for all of the ASN.1/Java string classes.The AbstractString16 class implements the functionality common to all ASN.1 CharacterString types with one or two bytes per character.The AbstractString32 class implements the functionality common to all ASN.1 CharacterString types with four bytes per character.The AbstractTime class is the superclass of the two ASN.1 time types, GeneralizedTime and UTCTime.This class is the superclass of all ASN.1 Module classes that are emitted by the ASN.1/Java Compiler.This class is the superclass of all ASN.1 Project classes that are emitted by the ASN.1/Java Compiler.The ASN1Type class is used to implement the '&Type' field of information classes.An exception is thrown when an ObjectIdentifier is constructed from a string of ASN.1 Value Notation that contains a bad arc or has an invalid format.This class implements coding services for Basic Encoding Rules (BER).The BinaryToCSVConvertor is used to convert a binary data encoded with one of the Binary Encoding Rules into CSV format in one step.The Binary2JSONConvertor is a EncodingRuleConvertor used to convert binary data encoded with one of the Binary Encoding Rules into JSON data encoded by the JSON Encoding Rules.The Binary2XMLConvertor is a EncodingRuleConvertor used to convert binary data encoded with one of the Binary Encoding Rules into XML data encoded with one of the XML Encoding Rules.This marker interface is implemented by all the Binary encoding rules Coder classesThe BitString class represents an ASN.1 BIT STRING, an arbitrarily long string of bits, that may or may not be octet-aligned.The BMPString class represents the ASN.1 BMPString type.The BOOLEAN class represents the ASN.1 BOOLEAN type.The
ByteStorage
interface extends theStorage
interface to include additional methods for accessing and modifying the contents, a byte[] array.This class implements coding services for Canonical Encoding Rules (CER).TheCharStorage
interface extends theStorage
interface to include additional methods for accessing and modifying the contents, that is an array of characters.The Choice class represents the ASN.1 CHOICE type.This class defines public methods which allow access to the Coding Services of the OSS ASN.1/Java Tools.This class implements coding services for Canonical Octet Encoding Rules (OER).ContainingBitString<T extends AbstractData>The ContainingBitString class represents an ASN.1 BIT STRING that is constrained by a ContentsConstraint.ContainingOctetString<T extends AbstractData>The ContainingOctetString class represents an ASN.1 OCTET STRING that is constrained by a ContentsConstraint.This class is provided for compatibility with the OSS/ASN.1 JNI Tools.This class implements coding services for ALIGNED variant of Canonical Packed Encoding Rules (PER).This class implements coding services for UNALIGNED variant of Canonical Packed Encoding Rules (CUPER).Thrown to indicate an exceptional condition when theAbstractData
value is converted to CSV format.Implements conversion of anAbstractData
data object to CSV format.Defines supported formats for displayingBOOLEAN
type values in the CSV output.Defines supported formats for displayingGeneralizedTime
type values in the CSV output.Defines supported formats for displayingENUMERATED
type values in the CSV output.Defines supported formats of the CSV header.Defines supported layouts of the CSV output.Predefined CSV configurations.Defines supported formats for displayingOCTET STRING
type values in the CSV output.Subclasses ofAbstractData
that represent simple ASN.1 types can implement this interface to override the default format used to display simple values in the CSV output.This class implements coding services for Canonical XML Encoding Rules (CXER).The DecimalReal class represents the ASN.1 REAL type with the DECIMAL directive.DecodeFailedException is thrown by decode() method of Coder.An exception thrown when an AbstractData subclass does not support the 'decode()' method.This abstract class provides default implementations for most of the methods in theIndex
interface.Helper class that implements theEnumeration
containing only one element.This class implements coding services for Distinguished Encoding Rules (DER).The EmbeddedPDV class represents the ASN.1 EMBEDDED PDV type.The Identification class represents the ASN1 type of the identification component.The Context_negotiation class represents the ASN.1 type of the context-negotiation component in the Identification class.The Syntaxes class represents the ASN1 type of the syntaxes component in the Identification class.EncodeFailedException is thrown by encode() method of coders.An exception thrown when an AbstractData subclass does not support the 'encode()' method.The EncodingRuleConvertor is used to decode input stream encoded by input encoding rules and re-encode it using output encoding rules.The Enumerated class represents the ASN.1 ENUMERATED type.This class implements coding services for Extended XML Encoding Rules (EXER).The External class represents the ASN.1 EXTERNAL type.The External.Encoding class is used by the External class, and represents the External.encoding component, which is an ASN.1 CHOICE.External checker interface that implements the callback function for checking user defined constraints.The GeneralizedTime class represents the ASN.1 GeneralizedTime type.The GeneralString class represents the ASN.1 GeneralString type.The GraphicString class represents the ASN.1 GraphicString type.The HugeBinaryString class is the common ancestor of HugeBitString and HugeOctetString classes.The HugeBitString class represents a BIT STRING with the ValueInFile directive applied.The HugeBMPString class represents a BMPString with the ValueInFile directive applied.HugeContainer<T extends AbstractData>The HugeContainer class implements functionality common to HugeSequenceOf and HugeSetOf classes.HugeContainingBitString<T extends AbstractData>The HugeContainingBitString class represents a BIT STRING constrained by a ContentsConstraint, with the ValueInFile directive applied.HugeContainingOctetString<T extends AbstractData>The HugeContainingOctetString class represents an OCTET STRING constrained by a ContentsConstraint, with the ValueInFile directive applied.The HugeGeneralString class represents the ASN.1 GeneralString type with the ValueInFile directive applied.The HugeGraphicString class represents the ASN.1 GraphicString type with the ValueInFile directive applied.The HugeIA5String class represents the ASN.1 IA5String type with the ValueInFile directive applied.The HugeInteger class represents the ASN.1 HugeInteger type.The HugeNumericString class represents the ASN.1 NumericString type with the ValueInFile directive applied.The HugeObjectDescriptor class represents the ASN.1 ObjectDescriptor type with the ValueInFile directive applied.The HugeOctetString class represents an OCTET STRING with the ValueInFile directive applied.The HugeOpenType class represents the ASN.1 ANY and the open type when the ValueInFile directive has been applied.The HugePrintableString class represents the ASN.1 PrintableString type with the ValueInFile directive applied.The HugeRelaySafe interface is an analog of the RelaySafe interface, but specifies the functionality to process huge unknown extensions, when the generated classes have been compiled with the -relaySafe compiler option.The HugeRelaySafeChoice class represents the ASN.1 CHOICE type but has the additional ability to store unknown extensions and make them available for further relaying.The HugeRelaySafeSequence class represents the ASN.1 SEQUENCE type but has the additional ability to store unknown extensions and make them available to the coder for further relaying.The RelaySafeSet class represents the ASN.1 SET type but has the additional ability to store unknown extensions and make them available to the coder for further relaying.The HugeRestrictedString class provides a common ancestor for the ASN.1/Java HugeString, HugeBMPString and HugeUTF8String16 string classes.HugeSequenceOf<T extends AbstractData>The HugeSequenceOf class represents the ASN.1 SEQUENCE OF when the ValueInFile directive has been applied.HugeSetOf<T extends AbstractData>The HugeSetOf class represents the ASN.1 SET OF when the ValueInFile directive has been applied.The HugeString class represents all ASN.1 CharacterString types with one byte per character.The HugeTeletexString class represents the ASN.1 TeletexString type with the ValueInFile directive applied.The HugeUTF8String class represents the ASN.1 UTF8String type with the ValueInFile directive applied.The HugeUTF8String16 class represents a UTF8String with the BMPSTRING and the ValueInFile directives applied.The HugeVideotexString class represents the ASN.1 VideotexString type with the ValueInFile directive applied.The HugeVisibleString class represents the ASN.1 VisibleString type with the ValueInFile directive applied.The IA5String class represents the ASN.1 IA5String type.TheIndex
interface specifies the functionality, required to implement indexing of the information object sets.The IndexedInfoObjectSet class represents an information object set of an information object class that is optionally indexed.When the protocol definition extensively uses information object sets, an application might need a better way to index such a large number of information object sets rather than explicit invocation ofindexByXXX
method per each individual information object set.The InfoObject class represents the ASN.1 InfoObject class type.The InfoObjectSet class represents a set of information objects of the appropriate information object class.The InstanceOf class represents the ASN.1 INSTANCE OF type.The INTEGER class represents the ASN.1 INTEGER type.The ISO8601Date class represents the ASN.1 DATE typeThe ISO8601DateTime class represents the ASN.1 DATE-TIME typeThe ISO8601Duration class represents the ASN.1 DURATION type.Class Fractional_part represents a duration's fractional part.The ISO8601String class represents the ASN.1 TIME typeThe ISO8601TimeInterface interface define methods for accessing integer fields inside parsed representations of ISO8601 time instants and durations.The ISO8601TimeOfDay class represents the ASN.1 TIME-OF-DAY typeThe JSON2BinaryConvertor is a EncodingRuleConvertor used to convert JSON data encoded by the JSON Encoding Rules into binary data encoded with one of the Binary Encoding Rules.This class implements coding services for JSON Encoding Rules (JSON).This interface allows you to override the standard method that are used to JSON encode ASN.1 types.This interface defines methods which are used to write JSON encodings to a target output stream.The MixedReal class represents the ASN.1 REAL type with the MIXED directive.The Null class represents the ASN.1 NULL type.The NumericString class represents the ASN.1 NumericString type.The ObjectDescriptor class represents the ASN.1 ObjectDescriptor type.The ObjectIdentifier class represents the ASN.1 OBJECT IDENTIFIER type.The ObjectIdentifierIri class represents the ASN.1 OID-IRI type.ObjectReader<T>TheObjectReader
interface specifies the functionality to retrieve objects from anObjectStore
object.TheObjectStorage
interface extends theStorage
interface to include additional methods for accessing and modifying the contents, that is an array of Objects.ObjectWriter<T>TheObjectWriter
interface specifies the functionality to put objects to anObjectStore
.The OctetString class represents the ASN.1 OCTET STRING type.This class implements coding services for Octet Encoding Rules (OER).The OpenType class represents the ASN.1 ANY and the open type.This class implements coding services for ALIGNED variant of Packed Encoding Rules (PER).This class implements coding services for UNALIGNED variant of Packed Encoding Rules (PER).The Position class holds information about size and position of a bitfield inside encoded data buffer.This interface allows you to override the standard methods that are used to print the values of ASN.1 types.The PrintableString class represents the ASN.1 PrintableString type.The Real class represents the ASN.1 REAL type.The RelativeObjectIdentifier class represents the ASN.1 RELATIVE-OID type.CThe RelativeObjectIdentifierIri class represents the ASN.1 RELATIVE-OID-IRI type.The RelaySafe interface defines the set of methods required to support relay-safe coding.The RelaySafeChoice class represents the ASN.1 CHOICE type but has additional ability to store unknown extension and make it available for further relaying.The RelaySafeEnumerated class represents the ASN.1 ENUMERATED type and is able to store an unknown extension for further relaying.The RelaySafeSequence class represents the ASN.1 SEQUENCE type but has additional ability to store unknown extensions and make them available to coder for further relaying.The RelaySafeSet class represents the ASN.1 SET type but has additionally the ability to store unknown extensions and make them available to the coder for further relaying.The Sequence class represents the ASN.1 SEQUENCE type.SequenceOf<T extends AbstractData>The SequenceOf class represents the ASN.1 SEQUENCE OF typeSequenceOfDeferred<T extends AbstractData>The SetOfDeferred class represents the ASN.1 SEQUENCE OF type with a component type that has --<ASN1.DeferDecoding>-- directive.SequenceOfHugeDeferred<T extends AbstractData>The SetOfDeferred class represents the ASN.1 SEQUENCE OF type with a component type that has --<ASN1.DeferDecoding>-- and --<ASN1.ValueInFile>-- directives.The Set class represents the ASN.1 SET type.SetOf<T extends AbstractData>The SetOf class represents the ASN.1 SET OF typeSetOfDeferred<T extends AbstractData>The SetOfDeferred class represents the ASN.1 SET OF type with a component type that has --<ASN1.DeferDecoding>-- directive.SetOfHugeDeferred<T extends AbstractData>The SetOfHugeDeferred class represents the ASN.1 SET OF type with a component type that has --<ASN1.DeferDecoding>-- and --<ASN1.ValueInFile>-- directives.TheStorage
interface specifies the functionality an object should implement to serve as an external storage for huge values.This class defines an exception that occurs when allocating, accessing or modifying an external storage.The StorageManager interface is implemented by the object that is developed to control the allocation of the external memory.The TeletexString class represents the ASN.1 TeletexString type.Enumerated identifiers for all the ASN.1 encoding rules (transfer syntaxes) that are supported by the OSS Java runtime.The UniversalString class represents the ASN.1 UniversalString type.The UnrestrCharacterString class represents the ASN.1 CHARACTER STRING type.UserPrintFailedException is thrown by the print() method of the class, that implementsPrintable
interface.TheisValid()
method of theExternalChecker
throws this exception to indicate that data has failed the user-defined validation check.The UTCTime class represents the ASN.1 UTCTime typeThe UTF8String class represents the ASN.1 UTF8String type.The UTF8String16 class represents the ASN.1 UTF8String type with the BMPSTRING directive.The UTF8String32 class represents the ASN.1 UTF8String type with the UNIVERSALSTRING directive.ValidateFailedException is thrown by validate() method of coders.An exception thrown when an AbstractData subclass does not support the 'Coder.validate()' method.The VideotexString class represents the ASN.1 VideotexString type.The VisibleString class represents the ASN.1 VisibleString type.The VisitorException class is the base class for all exceptions thrown while executing the Visitor design pattern.This class implements coding services for XML Encoding Rules (XER).This interface allows you to override the standard method that are used to XER encode ASN.1 types.The XERDocument class helps to customize XML output generated by the XERCoder class.This interface defines methods which are used to write XER encodings to a target output stream.The XML2BinaryConvertor is a EncodingRuleConvertor used to convert XML data encoded with one of the XML Encoding Rules into binary data encoded with one of the Binary Encoding Rules.This marker interface is implemented by all the XML encoding rules Coder classesThe XRelaySafeEnumerated class represents the ASN.1 ENUMERATED type and is able to store an unknown extension passed by XER for further relaying.