Companion

Functions

Link copied to clipboard
fun newHolderInstance(holder: Holder, messageWrapper: MessageWrapper, serviceEndpoint: String, credentialScheme: ConstantIndex.CredentialScheme): PresentProofMessenger

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

Link copied to clipboard
fun newVerifierInstance(verifier: Verifier, messageWrapper: MessageWrapper, credentialScheme: ConstantIndex.CredentialScheme, requestedClaims: Collection<String>? = null, challengeForPresentation: String = uuid4().toString()): PresentProofMessenger

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