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, params
| Method Attributes | Method Name and Description | 
|---|---|
| setByBigInteger(bigIntegerValue)
								 set value by Tom Wu's BigInteger object | |
| setByInteger(integer)
								 set value by integer value | |
| setValueHex(hexadecimal)
								 set value by integer value
 NOTE: Value shall be represented by minimum octet length of two's complement representation. | 
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
					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
new KJUR.asn1.DEREnumerated(123);
new KJUR.asn1.DEREnumerated({int: 123});
new KJUR.asn1.DEREnumerated({hex: '1fad'});
				
				
				
				
					
					
					
					
					
					
					
			
					Method Detail
				
				
					 
					
					
					
					setByBigInteger(bigIntegerValue)
					
					
					
						set value by Tom Wu's BigInteger object
						
						
					
					
					
					
						
							- Parameters:
- {BigInteger} bigIntegerValue
- to set
					
					
					setByInteger(integer)
					
					
					
						set value by integer value
						
						
					
					
					
					
						
							- Parameters:
- {Integer} integer
- value to set
					
					
					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.
- Parameters:
- {String} hexadecimal
- string of integer value