Companion

object Companion

Functions

Link copied to clipboard
fun newHolderInstance(holder: Holder, keyId: String, messageWrapper: MessageWrapper, serviceEndpoint: String, credentialScheme: ConstantIndex.CredentialScheme = ConstantIndex.Generic): 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, keyId: String, messageWrapper: MessageWrapper, credentialScheme: ConstantIndex.CredentialScheme = ConstantIndex.Generic, requestedAttributeNames: List<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