Companion
object Companion
Functions
Link copied to clipboard
fun newHolderInstance(holder: Holder, keyId: String, credentialScheme: ConstantIndex.CredentialScheme = ConstantIndex.Generic): IssueCredentialProtocol
Creates a new instance of this protocol for the Holder side, it will receive the Verifiable Credentials and validate them.
Link copied to clipboard
fun newIssuerInstance(issuer: Issuer, keyId: String, serviceEndpoint: String? = null, credentialScheme: ConstantIndex.CredentialScheme = ConstantIndex.Generic): IssueCredentialProtocol
Creates a new instance of this protocol for the Issuer side, it will issue the Verifiable Credentials.