Bouncy Castle Cryptography Library 1.69

org.bouncycastle.asn1
Class BERPrivate

java.lang.Object
  extended byorg.bouncycastle.asn1.ASN1Object
      extended byorg.bouncycastle.asn1.ASN1Primitive
          extended byorg.bouncycastle.asn1.ASN1Private
              extended byorg.bouncycastle.asn1.BERPrivate
All Implemented Interfaces:
ASN1Encodable, Encodable

public class BERPrivate
extends ASN1Private

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


Field Summary
 
Fields inherited from class org.bouncycastle.asn1.ASN1Private
isConstructed, octets, tag
 
Constructor Summary
BERPrivate(boolean constructed, int tag, ASN1Encodable object)
          Create a private object with the tagging style given by the value of constructed.
BERPrivate(int tag, ASN1Encodable object)
          Create a private object with a tagging of explicit/constructed.
BERPrivate(int tagNo, ASN1EncodableVector vec)
          Create a private object which is marked as constructed
 
Methods inherited from class org.bouncycastle.asn1.ASN1Private
getContents, getInstance, getLengthOfHeader, getObject, getObject, getPrivateTag, 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BERPrivate

public BERPrivate(int tag,
                  ASN1Encodable object)
           throws java.io.IOException
Create a private object with a tagging of explicit/constructed.

Parameters:
tag - the tag number for this object.
object - the object to be contained.

BERPrivate

public BERPrivate(boolean constructed,
                  int tag,
                  ASN1Encodable object)
           throws java.io.IOException
Create a private 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.

BERPrivate

public BERPrivate(int tagNo,
                  ASN1EncodableVector vec)
Create a private object which is marked as constructed

Parameters:
tagNo - the tag number for this object.
vec - the objects making up the private object.

Bouncy Castle Cryptography Library 1.69