@bloock/sdk / CredentialStatus
Class: CredentialStatus
Represents the status information for a credential, including its ID, revocation nonce, and type.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new CredentialStatus(id
, revocationNonce
, type
): CredentialStatus
Constructs an CredentialStatus object with the specified parameters.
Parameters
Name | Type |
---|---|
id | string |
revocationNonce | number |
type | string |
Returns
Defined in
entity/identity/credential_status.ts:17
Properties
id
• id: string
Defined in
entity/identity/credential_status.ts:7
revocationNonce
• revocationNonce: number
Defined in
entity/identity/credential_status.ts:8
type
• type: string
Defined in
entity/identity/credential_status.ts:9
Methods
toProto
▸ toProto(): CredentialStatus
Returns
CredentialStatus
Defined in
entity/identity/credential_status.ts:23
fromProto
▸ fromProto(r
): CredentialStatus
Parameters
Name | Type |
---|---|
r | CredentialStatus |