Class KJUR.asn1.DEREnumerated
Extends
KJUR.asn1.ASN1Object.
class for ASN.1 DER Enumerated
Defined in: asn1-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
class for ASN.1 DER Enumerated
As for argument 'params' for constructor, you can specify one of following properties:
|
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
Method Attributes | Method Name and Description |
---|---|
<static> |
KJUR.asn1.DEREnumerated.setByBigInteger(bigIntegerValue)
set value by Tom Wu's BigInteger object
|
<static> |
KJUR.asn1.DEREnumerated.setByInteger(integer)
set value by integer value
|
<static> |
KJUR.asn1.DEREnumerated.setValueHex(hexadecimal)
set value by integer value
NOTE: Value shall be represented by minimum octet length of two's complement representation. |
Class Detail
KJUR.asn1.DEREnumerated()
class for ASN.1 DER Enumerated
As for argument 'params' for constructor, you can specify one of following properties:
As for argument 'params' for constructor, you can specify one of following properties:
- int - specify initial ASN.1 value(V) by integer value
- hex - specify initial ASN.1 value(V) by a hexadecimal string
Method Detail
<static>
KJUR.asn1.DEREnumerated.setByBigInteger(bigIntegerValue)
set value by Tom Wu's BigInteger object
- Parameters:
- {BigInteger} bigIntegerValue
- to set
<static>
KJUR.asn1.DEREnumerated.setByInteger(integer)
set value by integer value
- Parameters:
- {Integer} integer
- value to set
<static>
KJUR.asn1.DEREnumerated.setValueHex(hexadecimal)
set value by integer value
NOTE: Value shall be represented by minimum octet length of two's complement representation.
NOTE: Value shall be represented by minimum octet length of two's complement representation.
new KJUR.asn1.DEREnumerated(123); new KJUR.asn1.DEREnumerated({'int': 123}); new KJUR.asn1.DEREnumerated({'hex': '1fad'});
- Parameters:
- {String} hexadecimal
- string of integer value