|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.slamd.asn1.ASN1Element
com.sun.slamd.asn1.ASN1Integer
public class ASN1Integer
This class defines an ASN.1 element that can hold an integer value.
| Field Summary | |
|---|---|
static byte[] |
INT_VALUE_0
The integer value 0 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_1
The integer value 1 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_10
The integer value 10 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_100
The integer value 100 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_101
The integer value 101 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_102
The integer value 102 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_103
The integer value 103 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_104
The integer value 104 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_105
The integer value 105 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_106
The integer value 106 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_107
The integer value 107 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_108
The integer value 108 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_109
The integer value 109 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_11
The integer value 11 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_110
The integer value 110 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_111
The integer value 111 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_112
The integer value 112 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_113
The integer value 113 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_114
The integer value 114 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_115
The integer value 115 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_116
The integer value 116 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_117
The integer value 117 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_118
The integer value 118 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_119
The integer value 119 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_12
The integer value 12 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_120
The integer value 120 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_121
The integer value 121 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_122
The integer value 122 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_123
The integer value 123 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_124
The integer value 124 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_125
The integer value 125 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_126
The integer value 126 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_127
The integer value 127 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_13
The integer value 13 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_14
The integer value 14 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_15
The integer value 15 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_16
The integer value 16 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_17
The integer value 17 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_18
The integer value 18 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_19
The integer value 19 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_2
The integer value 2 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_20
The integer value 20 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_21
The integer value 21 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_22
The integer value 22 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_23
The integer value 23 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_24
The integer value 24 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_25
The integer value 25 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_26
The integer value 26 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_27
The integer value 27 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_28
The integer value 28 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_29
The integer value 29 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_3
The integer value 3 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_30
The integer value 30 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_31
The integer value 31 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_32
The integer value 32 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_33
The integer value 33 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_34
The integer value 34 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_35
The integer value 35 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_36
The integer value 36 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_37
The integer value 37 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_38
The integer value 38 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_39
The integer value 39 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_4
The integer value 4 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_40
The integer value 40 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_41
The integer value 41 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_42
The integer value 42 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_43
The integer value 43 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_44
The integer value 44 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_45
The integer value 45 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_46
The integer value 46 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_47
The integer value 47 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_48
The integer value 48 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_49
The integer value 49 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_5
The integer value 5 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_50
The integer value 50 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_51
The integer value 51 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_52
The integer value 52 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_53
The integer value 53 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_54
The integer value 54 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_55
The integer value 55 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_56
The integer value 56 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_57
The integer value 57 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_58
The integer value 58 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_59
The integer value 59 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_6
The integer value 6 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_60
The integer value 60 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_61
The integer value 61 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_62
The integer value 62 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_63
The integer value 63 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_64
The integer value 64 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_65
The integer value 65 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_66
The integer value 66 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_67
The integer value 67 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_68
The integer value 68 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_69
The integer value 69 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_7
The integer value 7 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_70
The integer value 70 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_71
The integer value 71 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_72
The integer value 72 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_73
The integer value 73 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_74
The integer value 74 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_75
The integer value 75 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_76
The integer value 76 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_77
The integer value 77 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_78
The integer value 78 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_79
The integer value 79 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_8
The integer value 8 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_80
The integer value 80 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_81
The integer value 81 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_82
The integer value 82 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_83
The integer value 83 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_84
The integer value 84 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_85
The integer value 85 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_86
The integer value 86 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_87
The integer value 87 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_88
The integer value 88 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_89
The integer value 89 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_9
The integer value 9 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_90
The integer value 90 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_91
The integer value 91 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_92
The integer value 92 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_93
The integer value 93 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_94
The integer value 94 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_95
The integer value 95 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_96
The integer value 96 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_97
The integer value 97 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_98
The integer value 98 encoded as a byte array in the appropriate ASN.1 format. |
static byte[] |
INT_VALUE_99
The integer value 99 encoded as a byte array in the appropriate ASN.1 format. |
| Fields inherited from class com.sun.slamd.asn1.ASN1Element |
|---|
ASN1_BOOLEAN_TYPE, ASN1_ENUMERATED_TYPE, ASN1_INTEGER_TYPE, ASN1_NULL_TYPE, ASN1_OCTET_STRING_TYPE, ASN1_SEQUENCE_TYPE, ASN1_SET_TYPE, EMPTY_BYTES |
| Constructor Summary | |
|---|---|
ASN1Integer(byte type,
int intValue)
Creates a new ASN.1 integer element with the specified type and value. |
|
ASN1Integer(int intValue)
Creates a new ASN.1 integer element with the specified value. |
|
| Method Summary | |
|---|---|
static ASN1Integer |
decodeAsInteger(byte[] encodedValue)
Decodes the provided byte array as an ASN.1 Integer element. |
static int |
decodeIntValue(byte[] encodedValue)
This method converts the provided byte array into a Java int. |
static byte[] |
encodeIntValue(int intValue)
Encodes the provided int value in the appropriate manner for an ASN.1 integer value. |
int |
getIntValue()
Retrieves the Java int that corresponds to the value of this ASN.1 integer value. |
| Methods inherited from class com.sun.slamd.asn1.ASN1Element |
|---|
byteArrayToInt, byteArrayToString, byteArrayToString, byteArrayToStringWithASCII, byteArrayToStringWithASCII, decode, decodeAsBoolean, decodeAsBoolean, decodeAsEnumerated, decodeAsEnumerated, decodeAsInteger, decodeAsNull, decodeAsNull, decodeAsOctetString, decodeAsOctetString, decodeAsSequence, decodeAsSequence, decodeAsSet, decodeAsSet, decodeLength, encode, encode, encodeLength, getBytes, getType, getTypeWithoutFlags, getValue, setType, setValue, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte[] INT_VALUE_0
public static final byte[] INT_VALUE_1
public static final byte[] INT_VALUE_2
public static final byte[] INT_VALUE_3
public static final byte[] INT_VALUE_4
public static final byte[] INT_VALUE_5
public static final byte[] INT_VALUE_6
public static final byte[] INT_VALUE_7
public static final byte[] INT_VALUE_8
public static final byte[] INT_VALUE_9
public static final byte[] INT_VALUE_10
public static final byte[] INT_VALUE_11
public static final byte[] INT_VALUE_12
public static final byte[] INT_VALUE_13
public static final byte[] INT_VALUE_14
public static final byte[] INT_VALUE_15
public static final byte[] INT_VALUE_16
public static final byte[] INT_VALUE_17
public static final byte[] INT_VALUE_18
public static final byte[] INT_VALUE_19
public static final byte[] INT_VALUE_20
public static final byte[] INT_VALUE_21
public static final byte[] INT_VALUE_22
public static final byte[] INT_VALUE_23
public static final byte[] INT_VALUE_24
public static final byte[] INT_VALUE_25
public static final byte[] INT_VALUE_26
public static final byte[] INT_VALUE_27
public static final byte[] INT_VALUE_28
public static final byte[] INT_VALUE_29
public static final byte[] INT_VALUE_30
public static final byte[] INT_VALUE_31
public static final byte[] INT_VALUE_32
public static final byte[] INT_VALUE_33
public static final byte[] INT_VALUE_34
public static final byte[] INT_VALUE_35
public static final byte[] INT_VALUE_36
public static final byte[] INT_VALUE_37
public static final byte[] INT_VALUE_38
public static final byte[] INT_VALUE_39
public static final byte[] INT_VALUE_40
public static final byte[] INT_VALUE_41
public static final byte[] INT_VALUE_42
public static final byte[] INT_VALUE_43
public static final byte[] INT_VALUE_44
public static final byte[] INT_VALUE_45
public static final byte[] INT_VALUE_46
public static final byte[] INT_VALUE_47
public static final byte[] INT_VALUE_48
public static final byte[] INT_VALUE_49
public static final byte[] INT_VALUE_50
public static final byte[] INT_VALUE_51
public static final byte[] INT_VALUE_52
public static final byte[] INT_VALUE_53
public static final byte[] INT_VALUE_54
public static final byte[] INT_VALUE_55
public static final byte[] INT_VALUE_56
public static final byte[] INT_VALUE_57
public static final byte[] INT_VALUE_58
public static final byte[] INT_VALUE_59
public static final byte[] INT_VALUE_60
public static final byte[] INT_VALUE_61
public static final byte[] INT_VALUE_62
public static final byte[] INT_VALUE_63
public static final byte[] INT_VALUE_64
public static final byte[] INT_VALUE_65
public static final byte[] INT_VALUE_66
public static final byte[] INT_VALUE_67
public static final byte[] INT_VALUE_68
public static final byte[] INT_VALUE_69
public static final byte[] INT_VALUE_70
public static final byte[] INT_VALUE_71
public static final byte[] INT_VALUE_72
public static final byte[] INT_VALUE_73
public static final byte[] INT_VALUE_74
public static final byte[] INT_VALUE_75
public static final byte[] INT_VALUE_76
public static final byte[] INT_VALUE_77
public static final byte[] INT_VALUE_78
public static final byte[] INT_VALUE_79
public static final byte[] INT_VALUE_80
public static final byte[] INT_VALUE_81
public static final byte[] INT_VALUE_82
public static final byte[] INT_VALUE_83
public static final byte[] INT_VALUE_84
public static final byte[] INT_VALUE_85
public static final byte[] INT_VALUE_86
public static final byte[] INT_VALUE_87
public static final byte[] INT_VALUE_88
public static final byte[] INT_VALUE_89
public static final byte[] INT_VALUE_90
public static final byte[] INT_VALUE_91
public static final byte[] INT_VALUE_92
public static final byte[] INT_VALUE_93
public static final byte[] INT_VALUE_94
public static final byte[] INT_VALUE_95
public static final byte[] INT_VALUE_96
public static final byte[] INT_VALUE_97
public static final byte[] INT_VALUE_98
public static final byte[] INT_VALUE_99
public static final byte[] INT_VALUE_100
public static final byte[] INT_VALUE_101
public static final byte[] INT_VALUE_102
public static final byte[] INT_VALUE_103
public static final byte[] INT_VALUE_104
public static final byte[] INT_VALUE_105
public static final byte[] INT_VALUE_106
public static final byte[] INT_VALUE_107
public static final byte[] INT_VALUE_108
public static final byte[] INT_VALUE_109
public static final byte[] INT_VALUE_110
public static final byte[] INT_VALUE_111
public static final byte[] INT_VALUE_112
public static final byte[] INT_VALUE_113
public static final byte[] INT_VALUE_114
public static final byte[] INT_VALUE_115
public static final byte[] INT_VALUE_116
public static final byte[] INT_VALUE_117
public static final byte[] INT_VALUE_118
public static final byte[] INT_VALUE_119
public static final byte[] INT_VALUE_120
public static final byte[] INT_VALUE_121
public static final byte[] INT_VALUE_122
public static final byte[] INT_VALUE_123
public static final byte[] INT_VALUE_124
public static final byte[] INT_VALUE_125
public static final byte[] INT_VALUE_126
public static final byte[] INT_VALUE_127
| Constructor Detail |
|---|
public ASN1Integer(int intValue)
intValue - The Java int value to use in creating this ASN.1 integer
element.
public ASN1Integer(byte type,
int intValue)
type - The type to use for this ASN.1 integer value.intValue - The Java int value to use in creating this ASN.1 integer
element.| Method Detail |
|---|
public static byte[] encodeIntValue(int intValue)
intValue - The Java int value to encode as an ASN.1 integer value.
public static int decodeIntValue(byte[] encodedValue)
throws ASN1Exception
encodedValue - The byte array containing the value to decode as an
integer.
ASN1Exception - If the provided byte array cannot be converted into
a Java int.public int getIntValue()
public static ASN1Integer decodeAsInteger(byte[] encodedValue)
throws ASN1Exception
encodedValue - The encoded ASN.1 element.
ASN1Exception - If the provided byte array cannot be decoded as an
ASN.1 integer element.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||