public class

DERApplicationSpecific

extends ASN1Object
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.DERObject
       ↳ org.bouncycastle.asn1.ASN1Object
         ↳ org.bouncycastle.asn1.DERApplicationSpecific
Known Direct Subclasses

Class Overview

Base class for an application specific object

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
From interface org.bouncycastle.asn1.DERTags
Public Constructors
DERApplicationSpecific(int tag, byte[] octets)
DERApplicationSpecific(int tag, DEREncodable object)
DERApplicationSpecific(boolean explicit, int tag, DEREncodable object)
DERApplicationSpecific(int tagNo, ASN1EncodableVector vec)
Public Methods
int getApplicationTag()
byte[] getContents()
DERObject getObject()
Return the enclosed object assuming explicit tagging.
DERObject getObject(int derTagNo)
Return the enclosed object assuming implicit tagging.
int hashCode()
boolean isConstructed()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Object
From class org.bouncycastle.asn1.DERObject
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public DERApplicationSpecific (int tag, byte[] octets)

public DERApplicationSpecific (int tag, DEREncodable object)

Throws
IOException

public DERApplicationSpecific (boolean explicit, int tag, DEREncodable object)

Throws
IOException

public DERApplicationSpecific (int tagNo, ASN1EncodableVector vec)

Public Methods

public int getApplicationTag ()

public byte[] getContents ()

public DERObject getObject ()

Return the enclosed object assuming explicit tagging.

Returns
  • the resulting object
Throws
IOException if reconstruction fails.

public DERObject getObject (int derTagNo)

Return the enclosed object assuming implicit tagging.

Parameters
derTagNo the type tag that should be applied to the object's contents.
Returns
  • the resulting object
Throws
IOException if reconstruction fails.

public int hashCode ()

public boolean isConstructed ()