Package io.anyline.nfc.bouncycastle.asn1
Class DLExternal
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class DLExternal extends ASN1External
Class representing the Definite-Length-type External
-
-
Field Summary
Fields Modifier and Type Field Description public ASN1ObjectIdentifier
directReference
public ASN1Integer
indirectReference
public ASN1Primitive
dataValueDescriptor
public int
encoding
public ASN1Primitive
externalContent
-
Constructor Summary
Constructors Constructor Description DLExternal(ASN1EncodableVector vector)
Construct a Definite-Length EXTERNAL object, the input encoding vector must have exactly two elements on it. DLExternal(DLSequence sequence)
Construct a Definite-Length EXTERNAL object, the input sequence must have exactly two elements on it. DLExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, DERTaggedObject externalData)
Creates a new instance of DERExternal See X. DLExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData)
Creates a new instance of Definite-Length External.
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1External
getDataValueDescriptor, getDirectReference, getEncoding, getExternalContent, getIndirectReference, getInstance, getInstance, hashCode
-
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
-
-
Constructor Detail
-
DLExternal
DLExternal(ASN1EncodableVector vector)
Construct a Definite-Length EXTERNAL object, the input encoding vector must have exactly two elements on it.
-
DLExternal
DLExternal(DLSequence sequence)
Construct a Definite-Length EXTERNAL object, the input sequence must have exactly two elements on it.
-
DLExternal
DLExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, DERTaggedObject externalData)
Creates a new instance of DERExternal See X.- Parameters:
directReference
- The direct reference ornull
if not set.indirectReference
- The indirect reference ornull
if not set.dataValueDescriptor
- The data value descriptor ornull
if not set.externalData
- The external data in its encoded form.
-
DLExternal
DLExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData)
Creates a new instance of Definite-Length External.- Parameters:
directReference
- The direct reference ornull
if not set.indirectReference
- The indirect reference ornull
if not set.dataValueDescriptor
- The data value descriptor ornull
if not set.encoding
- The encoding to be used for the external dataexternalData
- The external data
-
-
-
-