Sequence
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Sequence(
parameters?):Sequence
Parameters
Section titled “Parameters”parameters?
Section titled “parameters?”ConstructedParams = {}
Returns
Section titled “Returns”Sequence
Overrides
Section titled “Overrides”Properties
Section titled “Properties”blockLength
Section titled “blockLength”blockLength:
number
Inherited from
Section titled “Inherited from”error:
string
Inherited from
Section titled “Inherited from”idBlock
Section titled “idBlock”idBlock:
LocalIdentificationBlock
Inherited from
Section titled “Inherited from”lenBlock
Section titled “lenBlock”lenBlock:
LocalLengthBlock
Inherited from
Section titled “Inherited from”name:
string
Inherited from
Section titled “Inherited from”optional
Section titled “optional”optional:
boolean
Inherited from
Section titled “Inherited from”primitiveSchema?
Section titled “primitiveSchema?”
optionalprimitiveSchema?:BaseBlock<ValueBlock,LocalBaseBlockJson>
Inherited from
Section titled “Inherited from”valueBeforeDecodeView
Section titled “valueBeforeDecodeView”valueBeforeDecodeView:
Uint8Array
3.0.0
Inherited from
Section titled “Inherited from”Constructed.valueBeforeDecodeView
valueBlock
Section titled “valueBlock”valueBlock:
LocalConstructedValueBlock
Inherited from
Section titled “Inherited from”warnings
Section titled “warnings”warnings:
string[]
Inherited from
Section titled “Inherited from”
staticNAME:string="SEQUENCE"
Name of the block
Overrides
Section titled “Overrides”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”Methods
Section titled “Methods”fromBER()
Section titled “fromBER()”fromBER(
inputBuffer,inputOffset,inputLength,context?):number
Base function for converting block from BER encoded array of bytes
Parameters
Section titled “Parameters”inputBuffer
Section titled “inputBuffer”ArrayBuffer | Uint8Array<ArrayBufferLike>
ASN.1 BER encoded array
inputOffset
Section titled “inputOffset”number
Offset in ASN.1 BER encoded array where decoding should be started
inputLength
Section titled “inputLength”number
Maximum length of array of bytes which can be using in this function
context?
Section titled “context?”FromBerContext
Returns
Section titled “Returns”number
Offset after least decoded byte
Inherited from
Section titled “Inherited from”isEqual()
Section titled “isEqual()”isEqual(
other):other is Sequence
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 Sequence
Inherited from
Section titled “Inherited from”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”toJSON()
Section titled “toJSON()”toJSON():
BaseBlockJson<LocalConstructedValueBlockJson>
Returns a JSON representation of an object
Returns
Section titled “Returns”BaseBlockJson<LocalConstructedValueBlockJson>
JSON object
Inherited from
Section titled “Inherited from”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”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