| Package | com.hurlant.util.asn1.type |
| Class | public class StringType |
| Inheritance | StringType ASN1Type Object |
| Subclasses | BMPStringType, IA5StringType, PrintableStringType, TeletexStringType, UniversalStringType, UTF8StringType |
| 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 | |
![]() | optional : Boolean = false | ASN1Type | |
![]() | parsedTag : Number | ASN1Type | |
| size1 : int | StringType | ||
| Method | Defined By | ||
|---|---|---|---|
StringType(tag:int, size1:int, size2:int = 0) | StringType | ||
![]() | 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 | |
| Method | Defined By | ||
|---|---|---|---|
![]() | fromDefaultValue():* | ASN1Type | |
fromDERContent(s:ByteArray, length:int):* [override] | StringType | ||
![]() | readDERLength(s:ByteArray):int | ASN1Type | |
![]() | readDERTag(s:ByteArray, classValue:int, constructed:Boolean = false, any:Boolean = false):int | ASN1Type | |
| size1 | property |
public var size1:int| StringType | () | Constructor |
public function StringType(tag:int, size1:int, size2:int = 0)tag:int | |
size1:int (default = NaN) | |
size2:int (default = 0) |
| fromDERContent | () | method |
override protected function fromDERContent(s:ByteArray, length:int):*Parameters
s:ByteArray | |
length:int |
* |