| Property | Defined By | ||
|---|---|---|---|
![]() | defaultTag : Number | ASN1Type | |
![]() | defaultValue : * = null | ASN1Type | |
![]() | explicitClass : int = 0 | ASN1Type | |
![]() | explicitTag : Number = NaN | ASN1Type | |
![]() | extract : Boolean = false | ASN1Type | |
![]() | implicitClass : int = 0 | ASN1Type | |
![]() | implicitTag : Number = NaN | ASN1Type | |
| oid : String = null | OIDType | ||
![]() | optional : Boolean = false | ASN1Type | |
![]() | parsedTag : Number | ASN1Type | |
| Method | Defined By | ||
|---|---|---|---|
OIDType(s:String = null) | OIDType | ||
![]() | ASN1Type | ||
![]() | 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 | |
![]() | matches(type:int, classValue:int, length:int):Boolean | ASN1Type | |
toString():String | OIDType | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | fromDefaultValue():* | ASN1Type | |
fromDERContent(s:ByteArray, length:int):* [override]
I'm tempted to return fully defined OIDType objects
Altough that's a little bit weird. | OIDType | ||
![]() | readDERLength(s:ByteArray):int | ASN1Type | |
![]() | readDERTag(s:ByteArray, classValue:int, constructed:Boolean = false, any:Boolean = false):int | ASN1Type | |
| oid | property |
public var oid:String = null| OIDType | () | Constructor |
public function OIDType(s:String = null)s:String (default = null) |
| fromDERContent | () | method |
override protected function fromDERContent(s:ByteArray, length:int):*I'm tempted to return fully defined OIDType objects Altough that's a little bit weird.
Parameters
s:ByteArray | |
length:int |
* —
|
| toString | () | method |
public function toString():StringReturnsString |