public class DLExternal extends ASN1External
dataValueDescriptor, directReference, encodedLen, encoding, externalContent, indirectReference
Constructor and Description |
---|
DLExternal(ASN1EncodableVector vector)
Construct a Definite-Length EXTERNAL object, the input encoding vector must have exactly two elements on it.
|
DLExternal(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
|
DLExternal(ASN1ObjectIdentifier directReference,
ASN1Integer indirectReference,
ASN1Primitive dataValueDescriptor,
int encoding,
ASN1Primitive externalData)
Creates a new instance of Definite-Length External.
|
getDataValueDescriptor, getDirectReference, getEncoding, getExternalContent, getIndirectReference, hashCode
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue
public DLExternal(ASN1EncodableVector vector)
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, orpublic DLExternal(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 DLExternal(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