|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Number
|
+--java.math.BigInteger
|
+--org.mozilla.jss.asn1.INTEGER
|
+--org.mozilla.jss.asn1.ENUMERATED
Represents an ASN.1 ENUMERATED value. This has the same
interface as INTEGER
| Nested Class Summary | |
static class |
ENUMERATED.Template
A template for decoding ENUMERATED values from their BER encodings. |
| Nested classes inherited from class org.mozilla.jss.asn1.INTEGER |
|
| Field Summary | |
static Tag |
TAG
|
| Fields inherited from class org.mozilla.jss.asn1.INTEGER |
FORM |
| Fields inherited from class java.math.BigInteger |
ONE, ZERO |
| Constructor Summary | |
(package private) |
ENUMERATED(byte[] valBytes)
|
|
ENUMERATED(long val)
Creates a new ENUMERATED value from a long. |
| Method Summary | |
Tag |
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context. |
long |
getValue()
Returns the value as a long. |
| Methods inherited from class org.mozilla.jss.asn1.INTEGER |
encode, encode, encode, getContentLength, getTemplate, main |
| Methods inherited from class java.math.BigInteger |
abs, add, and, andNot, bitCount, bitLength, clearBit, compareTo, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, isProbablePrime, longValue, max, min, mod, modInverse, modPow, multiply, negate, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, signum, subtract, testBit, toByteArray, toString, toString, valueOf, xor |
| Methods inherited from class java.lang.Number |
byteValue, shortValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mozilla.jss.asn1.ASN1Value |
encode, encode |
| Field Detail |
public static final Tag TAG
| Constructor Detail |
public ENUMERATED(long val)
ENUMERATED(byte[] valBytes)
| Method Detail |
public Tag getTag()
ASN1Value
getTag in interface ASN1ValuegetTag in class INTEGERpublic long getValue()
|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||