Class DERTaggedObject
java.lang.Object
org.jolokia.jvmagent.security.asn1.DERTaggedObject
- All Implemented Interfaces:
DERObject
An implementation of tagged object according to X.690, 8.1.2 Identifier octets
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.jolokia.jvmagent.security.asn1.DERObject
DER_CONSTRUCTED_FLAG -
Constructor Summary
ConstructorsConstructorDescriptionDERTaggedObject(DERTaggedObject.TagClass tagClass, boolean primitive, int tagNumber, DERObject value) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]booleanWhether the object is encoded as ASN.1 primitive (see 3.10 "primitive encoding").
-
Constructor Details
-
DERTaggedObject
public DERTaggedObject(DERTaggedObject.TagClass tagClass, boolean primitive, int tagNumber, DERObject value)
-
-
Method Details
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceDERObject
-
isPrimitive
public boolean isPrimitive()Description copied from interface:DERObjectWhether the object is encoded as ASN.1 primitive (see 3.10 "primitive encoding"). If not primitive, the object is constructed, which means its contents octets are the complete encoding of one or more data values.- Specified by:
isPrimitivein interfaceDERObject- Returns:
trueif the object encodes its value directly
-