Class ASN1Integer
- java.lang.Object
-
- com.hierynomus.asn1.types.ASN1Object<T>
-
- com.hierynomus.asn1.types.primitive.ASN1PrimitiveValue<java.math.BigInteger>
-
- com.hierynomus.asn1.types.primitive.ASN1Integer
-
- All Implemented Interfaces:
ASN1Primitive
public class ASN1Integer extends ASN1PrimitiveValue<java.math.BigInteger>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ASN1Integer.Parser
static class
ASN1Integer.Serializer
-
Field Summary
Fields Modifier and Type Field Description private java.math.BigInteger
value
-
Fields inherited from class com.hierynomus.asn1.types.primitive.ASN1PrimitiveValue
valueBytes
-
Fields inherited from class com.hierynomus.asn1.types.ASN1Object
tag
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ASN1Integer(byte[] valueBytes, java.math.BigInteger value)
ASN1Integer(long value)
ASN1Integer(java.math.BigInteger value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getValue()
protected int
valueHash()
-
Methods inherited from class com.hierynomus.asn1.types.ASN1Object
equals, getTag, hashCode, toString, valueString
-
-
-
-
Method Detail
-
getValue
public java.math.BigInteger getValue()
- Specified by:
getValue
in classASN1Object<java.math.BigInteger>
-
valueHash
protected int valueHash()
- Overrides:
valueHash
in classASN1PrimitiveValue<java.math.BigInteger>
-
-