Package org.webpki.asn1
Class SimpleContextSpecific
java.lang.Object
org.webpki.asn1.BaseASN1Object
org.webpki.asn1.Simple
org.webpki.asn1.Binary
org.webpki.asn1.SimpleContextSpecific
- All Implemented Interfaces:
ASN1Constants
-
Field Summary
Fields inherited from interface org.webpki.asn1.ASN1Constants
APPLICATION, BITSTRING, BMPSTRING, BOOLEAN, CLASS_MASK, CONSTRUCTED, CONTEXT, EMBEDDED_PDV, ENUMERATED, EOC, EXTERNAL, FORM_MASK, GENERALIZEDTIME, GENERALSTRING, GRAPHICSTRING, IA5STRING, INTEGER, NULL, NUMERICSTRING, OBJDESCRIPTOR, OCTETSTRING, OID, PRIMITIVE, PRINTABLESTRING, PRIVATE, REAL, SEQUENCE, SET, T61STRING, TAG_MASK, UNIVERSAL, UNIVERSALSTRING, UTCTIME, UTF8STRING, VIDEOTEXSTRING, VISIBLESTRING
-
Constructor Summary
ConstructorDescriptionSimpleContextSpecific
(int tagNumber, byte[] value) SimpleContextSpecific
(int tagNumber, BaseASN1Object value) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
diff
(BaseASN1Object o, StringBuilder s, String prefix) void
boolean
byte
value
(int i) Methods inherited from class org.webpki.asn1.Binary
derDecodeValue, length, objValue, value
Methods inherited from class org.webpki.asn1.BaseASN1Object
debug, diff, encode, encode, encodeContent, encodedAsOctetString, get, get, tagNumber, toString, toString
-
Constructor Details
-
SimpleContextSpecific
public SimpleContextSpecific(int tagNumber, byte[] value) -
SimpleContextSpecific
-
-
Method Details
-
value
public byte value(int i) -
encode
- Specified by:
encode
in classBaseASN1Object
-
sameType
- Overrides:
sameType
in classBaseASN1Object
-
diff
-
deepCompare
- Specified by:
deepCompare
in classBaseASN1Object
-