Package org.bouncycastle.asn1
Class ASN1External
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1External
- All Implemented Interfaces:
ASN1Encodable,Encodable
- Direct Known Subclasses:
DERExternal,DLExternal
Class representing the DER-type External
-
Method Summary
Modifier and TypeMethodDescriptionReturns the data value descriptorReturns the direct reference of the external elementintReturns the encoding of the content.Returns the content of this elementReturns the indirect reference of this elementstatic ASN1ExternalgetInstance(Object obj) static ASN1ExternalgetInstance(ASN1TaggedObject taggedObject, boolean explicit) inthashCode()Methods inherited from class org.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1PrimitiveMethods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
-
Method Details
-
getInstance
-
getInstance
-
hashCode
public int hashCode()- Specified by:
hashCodein classASN1Primitive
-
getDataValueDescriptor
Returns the data value descriptor- Returns:
- The descriptor
-
getDirectReference
Returns the direct reference of the external element- Returns:
- The reference
-
getEncoding
public int getEncoding()Returns the encoding of the content. Valid values are0single-ASN1-type1OCTET STRING2BIT STRING
- Returns:
- The encoding
-
getExternalContent
Returns the content of this element- Returns:
- The content
-
getIndirectReference
Returns the indirect reference of this element- Returns:
- The reference
-