public class DERApplicationSpecific extends ASN1Primitive
Constructor and Description |
---|
DERApplicationSpecific(boolean explicit,
int tag,
ASN1Encodable object) |
DERApplicationSpecific(int tag,
ASN1Encodable object) |
DERApplicationSpecific(int tagNo,
ASN1EncodableVector vec) |
DERApplicationSpecific(int tag,
byte[] octets) |
Modifier and Type | Method and Description |
---|---|
int |
getApplicationTag() |
byte[] |
getContents() |
static DERApplicationSpecific |
getInstance(Object obj) |
ASN1Primitive |
getObject()
Return the enclosed object assuming explicit tagging.
|
ASN1Primitive |
getObject(int derTagNo)
Return the enclosed object assuming implicit tagging.
|
int |
hashCode() |
boolean |
isConstructed() |
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
public DERApplicationSpecific(int tag, byte[] octets)
public DERApplicationSpecific(int tag, ASN1Encodable object) throws IOException
IOException
public DERApplicationSpecific(boolean explicit, int tag, ASN1Encodable object) throws IOException
IOException
public DERApplicationSpecific(int tagNo, ASN1EncodableVector vec)
public static DERApplicationSpecific getInstance(Object obj)
public boolean isConstructed()
public byte[] getContents()
public int getApplicationTag()
public ASN1Primitive getObject() throws IOException
IOException
- if reconstruction fails.public ASN1Primitive getObject(int derTagNo) throws IOException
derTagNo
- the type tag that should be applied to the object's contents.IOException
- if reconstruction fails.public int hashCode()
hashCode
in class ASN1Primitive
Copyright © 2016 BouncyCastle.org. All rights reserved.