Package io.anyline.nfc.bouncycastle.asn1
Class ASN1External
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable,io.anyline.nfc.bouncycastle.util.Encodable
public abstract class ASN1External extends ASN1Primitive
Class representing the DER-type External
-
-
Field Summary
Fields Modifier and Type Field Description public ASN1ObjectIdentifierdirectReferencepublic ASN1IntegerindirectReferencepublic ASN1PrimitivedataValueDescriptorpublic intencodingpublic ASN1PrimitiveexternalContent
-
Method Summary
Modifier and Type Method Description ASN1ObjectIdentifiergetDirectReference()Returns the direct reference of the external element ASN1IntegergetIndirectReference()Returns the indirect reference of this element ASN1PrimitivegetDataValueDescriptor()Returns the data value descriptor intgetEncoding()Returns the encoding of the content. ASN1PrimitivegetExternalContent()Returns the content of this element static ASN1ExternalgetInstance(Object obj)static ASN1ExternalgetInstance(ASN1TaggedObject taggedObject, boolean explicit)inthashCode()-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive -
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDirectReference
ASN1ObjectIdentifier getDirectReference()
Returns the direct reference of the external element
- Returns:
The reference
-
getIndirectReference
ASN1Integer getIndirectReference()
Returns the indirect reference of this element
- Returns:
The reference
-
getDataValueDescriptor
ASN1Primitive getDataValueDescriptor()
Returns the data value descriptor
- Returns:
The descriptor
-
getEncoding
int getEncoding()
Returns the encoding of the content. Valid values are
0single-ASN1-type1OCTET STRING2BIT STRING
- Returns:
The encoding
-
getExternalContent
ASN1Primitive getExternalContent()
Returns the content of this element
- Returns:
The content
-
getInstance
static ASN1External getInstance(Object obj)
-
getInstance
static ASN1External getInstance(ASN1TaggedObject taggedObject, boolean explicit)
-
hashCode
int hashCode()
-
-
-
-