Companion

object Companion

Functions

Link copied to clipboard
fun newHolderInstance(holder: Holder, keyId: String, messageWrapper: MessageWrapper, credentialScheme: ConstantIndex.CredentialScheme = ConstantIndex.Generic): IssueCredentialMessenger

Creates a new instance of this messenger for the Holder side, it will receive the Verifiable Credentials and validate them.

Link copied to clipboard
fun newIssuerInstance(issuer: Issuer, keyId: String, messageWrapper: MessageWrapper, serviceEndpoint: String, credentialScheme: ConstantIndex.CredentialScheme = ConstantIndex.Generic): IssueCredentialMessenger

Creates a new instance of this messenger for the Issuer side, it will issue the Verifiable Credentials.