public class DERExternal extends ASN1External
Constructor and Description |
---|
DERExternal(ASN1EncodableVector vector)
Deprecated.
Use
DERExternal(DERSequence) instead. |
DERExternal(ASN1ObjectIdentifier directReference,
ASN1Integer indirectReference,
ASN1Primitive dataValueDescriptor,
DERTaggedObject externalData)
Creates a new instance of DERExternal
See X.690 for more informations about the meaning of these parameters
|
DERExternal(ASN1ObjectIdentifier directReference,
ASN1Integer indirectReference,
ASN1Primitive dataValueDescriptor,
int encoding,
ASN1Primitive externalData)
Creates a new instance of DERExternal.
|
DERExternal(DERSequence sequence)
Construct a DER EXTERNAL object, the input sequence must have exactly two elements on it.
|
getDataValueDescriptor, getDirectReference, getEncoding, getExternalContent, getIndirectReference, getInstance, getInstance, hashCode
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue
public DERExternal(ASN1EncodableVector vector)
DERExternal(DERSequence)
instead.Acceptable input formats are:
ASN1ObjectIdentifier
+ data DERTaggedObject
(direct reference form)ASN1Integer
+ data DERTaggedObject
(indirect reference form)DERTaggedObject
+ data DERTaggedObject
(data value form)java.lang.IllegalArgumentException
- if input size is wrong, or input is not an acceptable formatpublic DERExternal(DERSequence sequence)
Acceptable input formats are:
ASN1ObjectIdentifier
+ data DERTaggedObject
(direct reference form)ASN1Integer
+ data DERTaggedObject
(indirect reference form)DERTaggedObject
+ data DERTaggedObject
(data value form)java.lang.IllegalArgumentException
- if input size is wrong, or input is not an acceptable formatpublic DERExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, DERTaggedObject externalData)
directReference
- The direct reference or null
if not set.indirectReference
- The indirect reference or null
if not set.dataValueDescriptor
- The data value descriptor or null
if not set.externalData
- The external data in its encoded form.public DERExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData)
directReference
- The direct reference or null
if not set.indirectReference
- The indirect reference or null
if not set.dataValueDescriptor
- The data value descriptor or null
if not set.encoding
- The encoding to be used for the external dataexternalData
- The external data