Validator
class Validator(verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(DefaultVerifierCryptoService()), parser: Parser = Parser(), zlibService: ZlibService = DefaultZlibService())
Parses and validates Verifiable Credentials and Verifiable Presentations. Does verify the cryptographic authenticity of the data, if a verifierJwsService is set on creation. Does verify the revocation status of the data.
Constructors
Link copied to clipboard
fun Validator(verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(DefaultVerifierCryptoService()), parser: Parser = Parser(), zlibService: ZlibService = DefaultZlibService())
Types
Functions
Link copied to clipboard
Checks the revocation state of the passed Verifiable Credential.
Checks the revocation status of a Verifiable Credential with defined statusListIndex.
Link copied to clipboard
Sets the revocation list for verifying the revocation status of the VC that will be later verified with verifyVcJws.
Link copied to clipboard
Validates the content of a JWS, expected to contain a Verifiable Credential.
Link copied to clipboard
Validates the content of a JWS, expected to contain a Verifiable Presentation.