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 ASN1ObjectIdentifierdirectReferencepublic ASN1IntegerindirectReferencepublic ASN1PrimitivedataValueDescriptorpublic intencodingpublic ASN1PrimitiveexternalContent
-
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 ornullif not set.indirectReference- The indirect reference ornullif not set.dataValueDescriptor- The data value descriptor ornullif 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 ornullif not set.indirectReference- The indirect reference ornullif not set.dataValueDescriptor- The data value descriptor ornullif not set.encoding- The encoding to be used for the external dataexternalData- The external data
-
-
-
-