Skip to main content

RevocationTimeframeStatus

@iota/identity-wasm API documentation


Class: RevocationTimeframeStatus

Information used to determine the current status of a Credential.

Constructors​

new RevocationTimeframeStatus()​

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

Creates a new RevocationTimeframeStatus.

Parameters​

id​

string

index​

number

duration​

Duration

start_validity?​

null | Timestamp

Returns​

RevocationTimeframeStatus

Methods​

toJSON()​

Call Signature​

toJSON(): Object

  • Return copy of self without private attributes.
Returns​

Object

Call Signature​

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​

json​

any

Returns​

RevocationTimeframeStatus


startValidityTimeframe()​

startValidityTimeframe(): Timestamp

Get startValidityTimeframe value.

Returns​

Timestamp


endValidityTimeframe()​

endValidityTimeframe(): Timestamp

Get endValidityTimeframe value.

Returns​

Timestamp


id()​

id(): string

Return the URL for the RevocationBitmapStatus.

Returns​

string


index()​

index(): undefined | number

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

Returns​

undefined | number