Companion

Functions

Link copied to clipboard
fun newHolderInstance(holder: Holder, serviceEndpoint: String, credentialScheme: ConstantIndex.CredentialScheme): 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, serviceEndpoint: String? = null, credentialScheme: ConstantIndex.CredentialScheme, requestedClaims: Collection<String>? = null): PresentProofProtocol

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