aries / net.globalid.aries.features.issuecredential / CredentialService / getCredential

getCredential

abstract fun getCredential(agent: Agent, credentialId: String): Single<CredentialRecord>

Gets the credential record with the given identifier from the agent's wallet.

Parameters

agent - to get the record for.

credentialId - is the ID of the credential record to return.

Exceptions

AriesFrameworkException - if the record is not found

Return
Single of a CredentialRecord, the record from the wallet.