IA5String
Extends
Section titled “Extends”LocalSimpleStringBlock
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new IA5String(
parameters?):IA5String
Parameters
Section titled “Parameters”parameters?
Section titled “parameters?”LocalSimpleStringBlockParams = {}
Returns
Section titled “Returns”IA5String
Overrides
Section titled “Overrides”LocalSimpleStringBlock.constructor
Properties
Section titled “Properties”blockLength
Section titled “blockLength”blockLength:
number
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.blockLength
error:
string
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.error
idBlock
Section titled “idBlock”idBlock:
LocalIdentificationBlock
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.idBlock
lenBlock
Section titled “lenBlock”lenBlock:
LocalLengthBlock
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.lenBlock
name:
string
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.name
optional
Section titled “optional”optional:
boolean
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.optional
primitiveSchema?
Section titled “primitiveSchema?”
optionalprimitiveSchema?:BaseBlock<ValueBlock,LocalBaseBlockJson>
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.primitiveSchema
valueBeforeDecodeView
Section titled “valueBeforeDecodeView”valueBeforeDecodeView:
Uint8Array
3.0.0
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.valueBeforeDecodeView
valueBlock
Section titled “valueBlock”valueBlock:
LocalSimpleStringValueBlock
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.valueBlock
warnings
Section titled “warnings”warnings:
string[]
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.warnings
staticNAME:string="IA5String"
Overrides
Section titled “Overrides”LocalSimpleStringBlock.NAME
Accessors
Section titled “Accessors”valueBeforeDecode
Section titled “valueBeforeDecode”Get Signature
Section titled “Get Signature”get valueBeforeDecode():
ArrayBuffer
Returns
Section titled “Returns”ArrayBuffer
Set Signature
Section titled “Set Signature”set valueBeforeDecode(
value):void
Parameters
Section titled “Parameters”ArrayBuffer
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.valueBeforeDecode
Methods
Section titled “Methods”fromBER()
Section titled “fromBER()”fromBER(
inputBuffer,inputOffset,inputLength,context?):number
Parameters
Section titled “Parameters”inputBuffer
Section titled “inputBuffer”ArrayBuffer | Uint8Array<ArrayBufferLike>
inputOffset
Section titled “inputOffset”number
inputLength
Section titled “inputLength”number
context?
Section titled “context?”FromBerContext
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.fromBER
fromBuffer()
Section titled “fromBuffer()”fromBuffer(
inputBuffer):void
Function converting ArrayBuffer into ASN.1 internal string
Parameters
Section titled “Parameters”inputBuffer
Section titled “inputBuffer”ArrayBuffer | Uint8Array<ArrayBufferLike>
ASN.1 BER encoded array
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.fromBuffer
fromString()
Section titled “fromString()”fromString(
inputString):void
Parameters
Section titled “Parameters”inputString
Section titled “inputString”string
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.fromString
getValue()
Section titled “getValue()”getValue():
string
String value
Returns
Section titled “Returns”string
3.0.0
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.getValue
isEqual()
Section titled “isEqual()”isEqual(
other):other is IA5String
Determines whether two object instances are equal
Parameters
Section titled “Parameters”unknown
Object to compare with the current object
Returns
Section titled “Returns”other is IA5String
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.isEqual
setValue()
Section titled “setValue()”setValue(
value):void
String value
Parameters
Section titled “Parameters”string
String value
Returns
Section titled “Returns”void
3.0.0
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.setValue
toBER()
Section titled “toBER()”toBER(
sizeOnly?,writer?):ArrayBuffer
Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)
Parameters
Section titled “Parameters”sizeOnly?
Section titled “sizeOnly?”boolean
Flag that we need only a size of encoding, not a real array of bytes
writer?
Section titled “writer?”Returns
Section titled “Returns”ArrayBuffer
ASN.1 BER encoded array
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.toBER
toJSON()
Section titled “toJSON()”toJSON():
BaseBlockJson<LocalStringValueBlockJson>
Returns a JSON representation of an object
Returns
Section titled “Returns”BaseBlockJson<LocalStringValueBlockJson>
JSON object
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.toJSON
toString()
Section titled “toString()”toString(
encoding?):string
Returns a string representation of an object.
Parameters
Section titled “Parameters”encoding?
Section titled “encoding?”StringEncoding = "ascii"
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.toString
blockName()
Section titled “blockName()”
staticblockName():string
Aux function, need to get a block name. Need to have it here for inheritance
Returns
Section titled “Returns”string
Returns name of the block
Inherited from
Section titled “Inherited from”LocalSimpleStringBlock.blockName