Package org.webpki.asn1
Class ASN1Integer
java.lang.Object
org.webpki.asn1.BaseASN1Object
org.webpki.asn1.Simple
org.webpki.asn1.ASN1Integer
- 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
ConstructorDescriptionASN1Integer
(long value) ASN1Integer
(String value) ASN1Integer
(BigInteger value) -
Method Summary
Methods inherited from class org.webpki.asn1.BaseASN1Object
debug, diff, encode, encode, encodeContent, encodedAsOctetString, get, get, sameType, tagNumber, toString, toString
-
Constructor Details
-
ASN1Integer
-
ASN1Integer
-
ASN1Integer
public ASN1Integer(long value)
-
-
Method Details
-
encode
- Specified by:
encode
in classBaseASN1Object
-
deepCompare
- Specified by:
deepCompare
in classBaseASN1Object
-
objValue
-
value
-
intValue
public int intValue()
-