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
Name | Type |
---|---|
id | string |
index | number |
duration | Duration |
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
fromJSON
▸ Static
fromJSON(json
): RevocationTimeframeStatus
Deserializes an instance from a JSON object.
Parameters
Name | Type |
---|---|
json | any |
Returns
startValidityTimeframe
▸ startValidityTimeframe(): Timestamp
Get startValidityTimeframe value.
Returns
endValidityTimeframe
▸ endValidityTimeframe(): Timestamp
Get endValidityTimeframe value.
Returns
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