UTCTime
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new UTCTime(
__namedParameters?):UTCTime
Parameters
Section titled “Parameters”__namedParameters?
Section titled “__namedParameters?”UTCTimeParams = {}
Returns
Section titled “Returns”UTCTime
Overrides
Section titled “Overrides”Properties
Section titled “Properties”blockLength
Section titled “blockLength”blockLength:
number
Inherited from
Section titled “Inherited from”day:
number
Implementation of
Section titled “Implementation of”error:
string
Inherited from
Section titled “Inherited from”hour:
number
Implementation of
Section titled “Implementation of”idBlock
Section titled “idBlock”idBlock:
LocalIdentificationBlock
Inherited from
Section titled “Inherited from”lenBlock
Section titled “lenBlock”lenBlock:
LocalLengthBlock
Inherited from
Section titled “Inherited from”minute
Section titled “minute”minute:
number
Implementation of
Section titled “Implementation of”month:
number
Implementation of
Section titled “Implementation of”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”second
Section titled “second”second:
number
Implementation of
Section titled “Implementation of”valueBeforeDecodeView
Section titled “valueBeforeDecodeView”valueBeforeDecodeView:
Uint8Array
3.0.0
Inherited from
Section titled “Inherited from”VisibleString.valueBeforeDecodeView
valueBlock
Section titled “valueBlock”valueBlock:
LocalSimpleStringValueBlock
Inherited from
Section titled “Inherited from”warnings
Section titled “warnings”warnings:
string[]
Inherited from
Section titled “Inherited from”year:
number
Implementation of
Section titled “Implementation of”
staticNAME:string="UTCTime"
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”VisibleString.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”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
Overrides
Section titled “Overrides”fromDate()
Section titled “fromDate()”fromDate(
inputDate):void
Function converting “Date” object into ASN.1 internal string
Parameters
Section titled “Parameters”inputDate
Section titled “inputDate”Date
JavaScript “Date” object
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”fromString()
Section titled “fromString()”fromString(
inputString):void
Parameters
Section titled “Parameters”inputString
Section titled “inputString”string
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”getValue()
Section titled “getValue()”getValue():
string
String value
Returns
Section titled “Returns”string
3.0.0
Inherited from
Section titled “Inherited from”isEqual()
Section titled “isEqual()”isEqual(
other):other is UTCTime
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 UTCTime
Inherited from
Section titled “Inherited from”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”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”toBuffer()
Section titled “toBuffer()”toBuffer():
ArrayBuffer
Function converting ASN.1 internal string into ArrayBuffer
Returns
Section titled “Returns”ArrayBuffer
toDate()
Section titled “toDate()”toDate():
Date
Converts a class object into the JavaScrip Date Object
Returns
Section titled “Returns”Date
Date object
Implementation of
Section titled “Implementation of”toJSON()
Section titled “toJSON()”toJSON():
UTCTimeJson
Returns a JSON representation of an object
Returns
Section titled “Returns”JSON object
Overrides
Section titled “Overrides”toString()
Section titled “toString()”toString(
encoding?):string
Returns a string representation of an object.
Parameters
Section titled “Parameters”encoding?
Section titled “encoding?”DateStringEncoding = "iso"
Returns
Section titled “Returns”string
Overrides
Section titled “Overrides”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