Package io.anyline.nfc.bouncycastle.asn1
Class DERExternal
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class DERExternal extends ASN1External
Class representing the DER-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 DERExternal(ASN1EncodableVector vector)
Construct a DER EXTERNAL object, the input encoding vector must have exactly two elements on it. DERExternal(DERSequence sequence)
Construct a DER EXTERNAL object, the input sequence must have exactly two elements on it. DERExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, DERTaggedObject externalData)
Creates a new instance of DERExternal See X. DERExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData)
Creates a new instance of DERExternal.
-
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
-
DERExternal
DERExternal(ASN1EncodableVector vector)
Construct a DER EXTERNAL object, the input encoding vector must have exactly two elements on it.
-
DERExternal
DERExternal(DERSequence sequence)
Construct a DER EXTERNAL object, the input sequence must have exactly two elements on it.
-
DERExternal
DERExternal(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.
-
DERExternal
DERExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData)
Creates a new instance of DERExternal.- 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
-
-
-
-