Package org.mozilla.jss.asn1
Class ENUMERATED
- java.lang.Object
-
- java.lang.Number
-
- java.math.BigInteger
-
- org.mozilla.jss.asn1.INTEGER
-
- org.mozilla.jss.asn1.ENUMERATED
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<java.math.BigInteger>,ASN1Value
public class ENUMERATED extends INTEGER implements ASN1Value
Represents an ASN.1ENUMERATEDvalue. This has the same interface asINTEGER- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classENUMERATED.TemplateA template for decoding ENUMERATED values from their BER encodings.
-
Constructor Summary
Constructors Constructor Description ENUMERATED(long val)Creates a new ENUMERATED value from a long int.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static ASN1TemplategetTemplate()longgetValue()-
Methods inherited from class org.mozilla.jss.asn1.INTEGER
encode, encode, encode, getContentLength, main
-
Methods inherited from class java.math.BigInteger
abs, add, and, andNot, bitCount, bitLength, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, sqrt, sqrtAndRemainder, subtract, testBit, toByteArray, toString, toString, valueOf, xor
-
-
-
-
Field Detail
-
TAG
public static final Tag TAG
-
-
Method Detail
-
getTag
public Tag getTag()
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
getValue
public long getValue()
- Returns:
- The value as a long int.
-
getTemplate
public static ASN1Template getTemplate()
-
-