Class DEROctetString
java.lang.Object
org.jolokia.jvmagent.security.asn1.DEROctetString
- All Implemented Interfaces:
DERObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final byteFields inherited from interface org.jolokia.jvmagent.security.asn1.DERObject
DER_CONSTRUCTED_FLAG -
Constructor Summary
ConstructorsConstructorDescriptionDEROctetString(byte tag, byte[] value) DEROctetString(byte tag, String value) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]booleanWhether the object is encoded as ASN.1 primitive (see 3.10 "primitive encoding").
-
Field Details
-
DER_OCTETSTRING_TAG
public static final byte DER_OCTETSTRING_TAG- See Also:
-
DER_UTF8STRING_TAG
public static final byte DER_UTF8STRING_TAG- See Also:
-
DER_PRINTABLESTRING_TAG
public static final byte DER_PRINTABLESTRING_TAG- See Also:
-
DER_IA5STRING_TAG
public static final byte DER_IA5STRING_TAG- See Also:
-
-
Constructor Details
-
DEROctetString
public DEROctetString(byte tag, byte[] value) -
DEROctetString
-
-
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
-