VerifierAgent

class VerifierAgent(identifier: String, validator: Validator = Validator()) : Verifier(source)

An agent that only implements Verifier, i.e. it can only verify credentials of other agents.

Constructors

Link copied to clipboard
constructor(identifier: String, validator: Validator = Validator())

Types

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun verifyPresentationIsoMdoc(    input: DeviceResponse,     challenge: String,     verifyDocument: (MobileSecurityObject, Document) -> Boolean): Verifier.VerifyPresentationResult

Verifies a presentation of some credentials in ConstantIndex.CredentialRepresentation.ISO_MDOC from a holder, that shall include the challenge (sent by this verifier).

Link copied to clipboard
open suspend override fun verifyPresentationSdJwt(input: SdJwtSigned, challenge: String): Verifier.VerifyPresentationResult

Verifies a presentation of some credentials in ConstantIndex.CredentialRepresentation.SD_JWT from a holder, that shall include the challenge (sent by this verifier).

Link copied to clipboard
open suspend override fun verifyPresentationVcJwt(input: JwsSigned<VerifiablePresentationJws>, challenge: String): Verifier.VerifyPresentationResult

Verifies a presentation of some credentials in ConstantIndex.CredentialRepresentation.PLAIN_JWT from a holder, that shall include the challenge (sent by this verifier).