Companion

object Companion

Functions

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

Creates a new instance of this protocol for the Holder side, it will create the Verifiable Presentation

Link copied to clipboard
fun newVerifierInstance(verifier: Verifier, keyId: String, serviceEndpoint: String? = null, credentialScheme: ConstantIndex.CredentialScheme = ConstantIndex.Generic, requestedAttributeNames: List<String>? = null): PresentProofProtocol

Creates a new instance of this protocol for the Verifier side, it will request the Verifiable Presentation and validate it