| Package | Description |
|---|---|
| org.apache.kerby.asn1 | |
| org.apache.kerby.asn1.type |
| Modifier and Type | Method and Description |
|---|---|
static Asn1Type |
Asn1Converter.convert(Asn1ParseResult parseResult,
boolean isLazy) |
static Asn1Type |
Asn1Converter.convertAs(Asn1ParseResult parseResult,
Class<? extends Asn1Type> type) |
static Asn1Type |
Asn1Converter.convertAsCollection(Asn1ParseResult parseResult,
boolean isLazy) |
static Asn1Type |
Asn1Converter.convertAsSimple(Asn1ParseResult parseResult) |
static Asn1Type |
Asn1Factory.create(int tagNo)
Create an ASN1 type with specified tag number
|
static Asn1Type |
Asn1Factory.create(UniversalTag tagNo)
Create an ASN1 type with specified tag
|
Asn1Type |
Asn1FieldInfo.createFieldValue() |
static Asn1Type |
Asn1.decode(byte[] content)
Blindly decode content and return the result ASN1 object.
|
static Asn1Type |
Asn1.decode(ByteBuffer content)
See avove.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Asn1Type> |
Asn1FieldInfo.getType() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Asn1Binder.bind(Asn1ParseResult parseResult,
Asn1Type value) |
static void |
Asn1Binder.bindWithTagging(Asn1ParseResult parseResult,
Asn1Type value,
TaggingOption taggingOption) |
static void |
Asn1.decode(byte[] content,
Asn1Type value)
Decode using specified value container.
|
static void |
Asn1.decode(ByteBuffer content,
Asn1Type value)
See avove.
|
static void |
Asn1.dump(Asn1Type value)
Dump out a value.
|
void |
Asn1Dumper.dumpType(Asn1Type value) |
Asn1Dumper |
Asn1Dumper.dumpType(int indents,
Asn1Type value) |
static byte[] |
Asn1.encode(Asn1Type value)
Encode value and return the result.
|
static void |
Asn1.encode(ByteBuffer buffer,
Asn1Type value)
Encode value into buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static Asn1Type |
Asn1Converter.convertAs(Asn1ParseResult parseResult,
Class<? extends Asn1Type> type) |
| Constructor and Description |
|---|
Asn1FieldInfo(EnumType index,
Class<? extends Asn1Type> type)
Constructor for a non-tagged field.
|
Asn1FieldInfo(EnumType index,
Class<? extends Asn1Type> type,
boolean isImplicit)
Constructor for a tagged field, the tagNo being the same of index.
|
Asn1FieldInfo(EnumType index,
int tagNo,
Class<? extends Asn1Type> type,
boolean isImplicit)
Constructor for a tagged field.
|
ExplicitField(EnumType index,
Class<? extends Asn1Type> type)
Constructor for an explicitly tagged field, the tagNo being the same of index.
|
ExplicitField(EnumType index,
int tagNo,
Class<? extends Asn1Type> type)
Constructor for an explicitly tagged field.
|
ImplicitField(EnumType index,
Class<? extends Asn1Type> type)
Constructor for an implicitly tagged field, the tagNo being the same of index.
|
ImplicitField(EnumType index,
int tagNo,
Class<? extends Asn1Type> type)
Constructor for an implicitly tagged field.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Asn1CollectionOf<T extends Asn1Type> |
class |
Asn1SequenceOf<T extends Asn1Type> |
class |
Asn1SetOf<T extends Asn1Type> |
class |
Asn1Tagging<T extends Asn1Type>
For tagging any Asn1Type with a tagNo
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAsn1Type<T>
The abstract ASN1 type for all the ASN1 types.
|
class |
Asn1Any
Can be any valid ASN-1 ojbect, limited or not limited.
|
class |
Asn1BitString |
class |
Asn1BmpString |
class |
Asn1Boolean
ASN1 Boolean type
|
class |
Asn1Choice |
class |
Asn1Collection
ASN1 complex type of multiple ASN1 objects.
|
class |
Asn1CollectionOf<T extends Asn1Type> |
class |
Asn1CollectionType
For collection type that may consist of tagged fields
|
class |
Asn1Constructed
ASN1 constructed types, mainly structured ones, but also some primitive ones.
|
class |
Asn1Encodeable
The abstract ASN1 object for all the ASN1 types.
|
class |
Asn1Enumerated<T extends EnumType>
The ASN1 enumerated type
|
class |
Asn1Eoc
To represent Asn1 End Of Content type
|
class |
Asn1Flags
KrbFlags ::= BIT STRING (SIZE (32..MAX))
-- minimum number of bits shall be sent,
-- but no fewer than 32
|
class |
Asn1GeneralizedTime
Ref.
|
class |
Asn1GeneralString |
class |
Asn1IA5String |
class |
Asn1Integer |
class |
Asn1Null
The Asn1 Null type
|
class |
Asn1NumericsString |
class |
Asn1ObjectIdentifier
ASN1 object identifier.
|
class |
Asn1OctetString |
class |
Asn1PrintableString |
class |
Asn1Sequence |
class |
Asn1SequenceOf<T extends Asn1Type> |
class |
Asn1SequenceType
For sequence type that consists of tagged fields
|
class |
Asn1Set |
class |
Asn1SetOf<T extends Asn1Type> |
class |
Asn1SetType
For set type that consists of tagged fields
|
class |
Asn1Simple<T>
ASN1 simple type, of single value other than complex type of multiple values.
|
class |
Asn1Specific
Application or context specific object mainly for using implicit encoding.
|
class |
Asn1String |
class |
Asn1T61String |
class |
Asn1T61Utf8String |
class |
Asn1Tagging<T extends Asn1Type>
For tagging any Asn1Type with a tagNo
|
class |
Asn1TaggingCollection
For tagging a collection type with tagNo, either application specific or
context specific class
|
class |
Asn1TaggingSequence
For tagging a sequence type with tagNo, either application specific or context specific class
|
class |
Asn1TaggingSet
For tagging a sequence type with tagNo, either application specific or
context specific class
|
class |
Asn1UniversalString |
class |
Asn1UtcTime
Ref.
|
class |
Asn1Utf8String |
class |
Asn1VisibleString |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends Asn1Type> |
Asn1Choice.getChoiceValueAs(EnumType index,
Class<T> t) |
protected <T extends Asn1Type> |
Asn1CollectionType.getFieldAs(EnumType index,
Class<T> t) |
protected <T extends Asn1Type> |
Asn1TaggingCollection.getFieldAs(EnumType index,
Class<T> t) |
protected <T extends Asn1Type> |
Asn1CollectionType.getFieldAsAny(EnumType index,
Class<T> t) |
protected <T extends Asn1Type> |
Asn1Any.getValueAs(Class<T> t) |
| Modifier and Type | Method and Description |
|---|---|
void |
Asn1CollectionOf.addElements(T... elements) |
void |
Asn1Constructed.addItem(Asn1Type value) |
protected void |
Asn1Choice.setChoiceValue(EnumType index,
Asn1Type value) |
protected void |
Asn1CollectionType.setFieldAs(EnumType index,
Asn1Type value) |
protected void |
Asn1TaggingCollection.setFieldAs(EnumType index,
Asn1Type value) |
protected void |
Asn1CollectionType.setFieldAsAny(EnumType index,
Asn1Type value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Asn1CollectionType.setAnyFieldValueType(EnumType index,
Class<? extends Asn1Type> valueType) |
void |
Asn1Any.setValueType(Class<? extends Asn1Type> valueType) |
| Constructor and Description |
|---|
Asn1Any(Asn1Type anyValue) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.