parse Credential
abstract suspend fun parseCredential(jsonData: String, type: CredentialType, linkSecret: String? = null, credentialMetadata: CredentialRequestMetadata?): Credential(source)
Parses the given JSON data into a verifiable credential of the specified type.
Return
The parsed credential.
Parameters
json Data
The JSON data representing the verifiable credential.
type
The type of the verifiable credential.
link Secret
The optional link secret for the credential.
credential Metadata
The metadata for the credential request.