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, toString
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toASN1Primitive
private 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 ASN1Primitive
int encodedLength() throws java.io.IOException
encodedLength
in class ASN1Primitive
java.io.IOException
void encode(ASN1OutputStream out) throws java.io.IOException
encode
in class ASN1TaggedObject
java.io.IOException