public class DERTaggedObject extends ASN1TaggedObject
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
ZERO_BYTES |
empty, explicit, obj, tagNo| Constructor and Description |
|---|
DERTaggedObject(boolean explicit,
int tagNo,
ASN1Encodable obj) |
DERTaggedObject(int tagNo,
ASN1Encodable encodable) |
| 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, waittoASN1Primitiveprivate static final byte[] ZERO_BYTES
public DERTaggedObject(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 DERTaggedObject(int tagNo, ASN1Encodable encodable)
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