Bouncy Castle Cryptography Library 1.64

org.bouncycastle.asn1
Class BERApplicationSpecific

java.lang.Object
  |
  +--org.bouncycastle.asn1.ASN1Object
        |
        +--org.bouncycastle.asn1.ASN1Primitive
              |
              +--org.bouncycastle.asn1.ASN1ApplicationSpecific
                    |
                    +--org.bouncycastle.asn1.BERApplicationSpecific
All Implemented Interfaces:
ASN1Encodable, Encodable

public class BERApplicationSpecific
extends ASN1ApplicationSpecific

An indefinite-length encoding version of an ASN.1 ApplicationSpecific object.


Fields inherited from class org.bouncycastle.asn1.ASN1ApplicationSpecific
isConstructed, octets, tag
 
Constructor Summary
BERApplicationSpecific(boolean constructed, int tag, ASN1Encodable object)
          Create an application specific object with the tagging style given by the value of constructed.
BERApplicationSpecific(int tag, ASN1Encodable object)
          Create an application specific object with a tagging of explicit/constructed.
BERApplicationSpecific(int tagNo, ASN1EncodableVector vec)
          Create an application specific object which is marked as constructed
 
Methods inherited from class org.bouncycastle.asn1.ASN1ApplicationSpecific
getApplicationTag, getContents, getInstance, getLengthOfHeader, getObject, getObject, hashCode, isConstructed, toString
 
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, wait, wait, wait
 

Constructor Detail

BERApplicationSpecific

public BERApplicationSpecific(int tag,
                              ASN1Encodable object)
                       throws java.io.IOException
Create an application specific object with a tagging of explicit/constructed.
Parameters:
tag - the tag number for this object.
object - the object to be contained.

BERApplicationSpecific

public BERApplicationSpecific(boolean constructed,
                              int tag,
                              ASN1Encodable object)
                       throws java.io.IOException
Create an application specific object with the tagging style given by the value of constructed.
Parameters:
constructed - true if the object is constructed.
tag - the tag number for this object.
object - the object to be contained.

BERApplicationSpecific

public BERApplicationSpecific(int tagNo,
                              ASN1EncodableVector vec)
Create an application specific object which is marked as constructed
Parameters:
tagNo - the tag number for this object.
vec - the objects making up the application specific object.

Bouncy Castle Cryptography Library 1.64