Skip to main content
Version: 1.3

Class: RevocationTimeframeStatus

identity_wasm.RevocationTimeframeStatus

Information used to determine the current status of a Credential.

Table of contents

Constructors

Methods

Constructors

constructor

new RevocationTimeframeStatus(id, index, duration, start_validity?)

Creates a new RevocationTimeframeStatus.

Parameters

NameType
idstring
indexnumber
durationDuration
start_validity?Timestamp

Methods

toJSON

toJSON(): Object

  • Return copy of self without private attributes.

Returns

Object

toJSON(): any

Serializes this to a JSON object.

Returns

any


toString

toString(): string

Return stringified version of self.

Returns

string


clone

clone(): RevocationTimeframeStatus

Deep clones the object.

Returns

RevocationTimeframeStatus


fromJSON

Static fromJSON(json): RevocationTimeframeStatus

Deserializes an instance from a JSON object.

Parameters

NameType
jsonany

Returns

RevocationTimeframeStatus


startValidityTimeframe

startValidityTimeframe(): Timestamp

Get startValidityTimeframe value.

Returns

Timestamp


endValidityTimeframe

endValidityTimeframe(): Timestamp

Get endValidityTimeframe value.

Returns

Timestamp


id

id(): string

Return the URL fo the RevocationBitmapStatus.

Returns

string


index

index(): undefined | number

Return the index of the credential in the issuer's revocation bitmap

Returns

undefined | number