Packagecom.hurlant.util.asn1.type
Classpublic class IntegerType
InheritanceIntegerType Inheritance ASN1Type Inheritance Object



Public Properties
 PropertyDefined By
 InheriteddefaultTag : Number
ASN1Type
 InheriteddefaultValue : * = null
ASN1Type
 InheritedexplicitClass : int = 0
ASN1Type
 InheritedexplicitTag : Number = NaN
ASN1Type
 Inheritedextract : Boolean = false
ASN1Type
 InheritedimplicitClass : int = 0
ASN1Type
 InheritedimplicitTag : Number = NaN
ASN1Type
 Inheritedoptional : Boolean = false
ASN1Type
 InheritedparsedTag : Number
ASN1Type
Public Methods
 MethodDefined By
  
IntegerType
 Inherited
ASN1Type
 Inherited
fromDER(s:ByteArray, size:int):*
Read an ASN-1 value from a ByteArray and return it If we can't read a value that matches our type, we return null;
ASN1Type
 Inherited
matches(type:int, classValue:int, length:int):Boolean
ASN1Type
Protected Methods
 MethodDefined By
 Inherited
ASN1Type
  
fromDERContent(s:ByteArray, length:int):*
[override]
IntegerType
 Inherited
readDERLength(s:ByteArray):int
ASN1Type
 Inherited
readDERTag(s:ByteArray, classValue:int, constructed:Boolean = false, any:Boolean = false):int
ASN1Type
Public Constants
 ConstantDefined By
 InheritedANY : int = -1
[static]
ASN1Type
 InheritedAPPLICATION : int = 1
[static]
ASN1Type
 InheritedBIT_STRING : int = 3
[static]
ASN1Type
 InheritedBMP_STRING : int = 30
[static]
ASN1Type
 InheritedBOOLEAN : int = 1
[static]
ASN1Type
 InheritedCHOICE : int = -2
[static]
ASN1Type
 InheritedCONTEXT : int = 2
[static]
ASN1Type
 InheritedEMBEDDED : int = 11
[static]
ASN1Type
 InheritedENUMERATED : int = 10
[static]
ASN1Type
 InheritedEXTERNAL : int = 8
[static]
ASN1Type
 InheritedGENERALIZED_TIME : int = 24
[static]
ASN1Type
 InheritedGENERAL_STRING : int = 27
[static]
ASN1Type
 InheritedGRAPHIC_STRING : int = 25
[static]
ASN1Type
 InheritedIA5_STRING : int = 22
[static]
ASN1Type
 InheritedINTEGER : int = 2
[static]
ASN1Type
 InheritedNULL : int = 5
[static]
ASN1Type
 InheritedNUMERIC_STRING : int = 18
[static]
ASN1Type
 InheritedOCTET_STRING : int = 4
[static]
ASN1Type
 InheritedODT : int = 7
[static]
ASN1Type
 InheritedOID : int = 6
[static]
ASN1Type
 InheritedPRINTABLE_STRING : int = 19
[static]
ASN1Type
 InheritedPRIVATE : int = 3
[static]
ASN1Type
 InheritedREAL : int = 9
[static]
ASN1Type
 InheritedRESERVED : int = 0
[static]
ASN1Type
 InheritedROID : int = 13
[static]
ASN1Type
 InheritedSEQUENCE : int = 16
[static]
ASN1Type
 InheritedSET : int = 17
[static]
ASN1Type
 InheritedTELETEX_STRING : int = 20
[static]
ASN1Type
 InheritedUNIVERSAL : int = 0
[static]
ASN1Type
 InheritedUNIVERSAL_STRING : int = 28
[static]
ASN1Type
 InheritedUNSTRUCTURED_NAME : int = 31
[static]
ASN1Type
 InheritedUTC_TIME : int = 23
[static]
ASN1Type
 InheritedUTF8STRING : int = 12
[static]
ASN1Type
 InheritedVIDEOTEX_STRING : int = 21
[static]
ASN1Type
 InheritedVISIBLE_STRING : int = 26
[static]
ASN1Type
Constructor Detail
IntegerType()Constructor
public function IntegerType()



Method Detail
fromDERContent()method
override protected function fromDERContent(s:ByteArray, length:int):*

Parameters

s:ByteArray
 
length:int

Returns
* — a BigInteger or a int, if it fits within one.