public class BERTaggedObject extends ASN1TaggedObject
empty, explicit, obj, tagNo| Constructor and Description |
|---|
BERTaggedObject(boolean explicit,
int tagNo,
ASN1Encodable obj) |
BERTaggedObject(int tagNo)
create an implicitly tagged object that contains a zero
length sequence.
|
BERTaggedObject(int tagNo,
ASN1Encodable obj) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
encode(ASN1OutputStream out) |
(package private) int |
encodedLength() |
(package private) boolean |
isConstructed() |
asn1Equals, getInstance, getInstance, getLoadedObject, getObject, getObjectParser, getTagNo, hashCode, isEmpty, isExplicit, toDERObject, toDLObject, toStringequals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValue, toASN1Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waittoASN1Primitivepublic BERTaggedObject(int tagNo, ASN1Encodable obj)
tagNo - the tag number for this object.obj - the tagged object.public BERTaggedObject(boolean explicit, int tagNo, ASN1Encodable obj)
explicit - true if an explicitly tagged object.tagNo - the tag number for this object.obj - the tagged object.public BERTaggedObject(int tagNo)
boolean isConstructed()
isConstructed in class ASN1Primitiveint encodedLength() throws java.io.IOException
encodedLength in class ASN1Primitivejava.io.IOExceptionvoid encode(ASN1OutputStream out) throws java.io.IOException
encode in class ASN1TaggedObjectjava.io.IOException