public class DERPrivate extends ASN1Private
isConstructed, octets, tag
Constructor and Description |
---|
DERPrivate(boolean constructed,
int tag,
ASN1Encodable object)
Create an private object with the tagging style given by the value of constructed.
|
DERPrivate(int tag,
ASN1Encodable object)
Create an private object with a tagging of explicit/constructed.
|
DERPrivate(int tagNo,
ASN1EncodableVector vec)
Create an private object which is marked as constructed
|
DERPrivate(int tag,
byte[] octets)
Create an private object from the passed in data.
|
getContents, getInstance, getLengthOfHeader, getObject, getObject, getPrivateTag, hashCode, isConstructed, toString
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue
public DERPrivate(int tag, byte[] octets)
tag
- the tag number for this object.octets
- the encoding of the object's body.public DERPrivate(int tag, ASN1Encodable object) throws java.io.IOException
tag
- the tag number for this object.object
- the object to be contained.java.io.IOException
public DERPrivate(boolean constructed, int tag, ASN1Encodable object) throws java.io.IOException
constructed
- true if the object is constructed.tag
- the tag number for this object.object
- the object to be contained.java.io.IOException
public DERPrivate(int tagNo, ASN1EncodableVector vec)
tagNo
- the tag number for this object.vec
- the objects making up the private object.