|
Bouncy Castle Cryptography Library 1.66 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1External
Class representing the DER-type External
Field Summary | |
protected ASN1Primitive |
dataValueDescriptor
|
protected ASN1ObjectIdentifier |
directReference
|
protected int |
encoding
|
protected ASN1Primitive |
externalContent
|
protected ASN1Integer |
indirectReference
|
Constructor Summary | |
ASN1External(ASN1EncodableVector vector)
Construct an EXTERNAL object, the input encoding vector must have exactly two elements on it. |
|
ASN1External(ASN1ObjectIdentifier directReference,
ASN1Integer indirectReference,
ASN1Primitive dataValueDescriptor,
DERTaggedObject externalData)
Creates a new instance of External See X.690 for more informations about the meaning of these parameters |
|
ASN1External(ASN1ObjectIdentifier directReference,
ASN1Integer indirectReference,
ASN1Primitive dataValueDescriptor,
int encoding,
ASN1Primitive externalData)
Creates a new instance of External. |
Method Summary | |
ASN1Primitive |
getDataValueDescriptor()
Returns the data value descriptor |
ASN1ObjectIdentifier |
getDirectReference()
Returns the direct reference of the external element |
int |
getEncoding()
Returns the encoding of the content. |
ASN1Primitive |
getExternalContent()
Returns the content of this element |
ASN1Integer |
getIndirectReference()
Returns the indirect reference of this element |
int |
hashCode()
|
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive |
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ASN1ObjectIdentifier directReference
protected ASN1Integer indirectReference
protected ASN1Primitive dataValueDescriptor
protected int encoding
protected ASN1Primitive externalContent
Constructor Detail |
public ASN1External(ASN1EncodableVector vector)
Acceptable input formats are:
ASN1ObjectIdentifier
+ data DERTaggedObject
(direct reference form)
ASN1Integer
+ data DERTaggedObject
(indirect reference form)
Anything but DERTaggedObject
+ data DERTaggedObject
(data value form)
java.lang.IllegalArgumentException
- if input size is wrong, orpublic ASN1External(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 ASN1External(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 dataMethod Detail |
public int hashCode()
hashCode
in class ASN1Primitive
public ASN1Primitive getDataValueDescriptor()
public ASN1ObjectIdentifier getDirectReference()
public int getEncoding()
public ASN1Primitive getExternalContent()
public ASN1Integer getIndirectReference()
|
Bouncy Castle Cryptography Library 1.66 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |