This module defines the xmlrat_dsig_verifier
behaviour.
Required callback functions: retrieve_key/3
, validate_key/4
, validate_cert/3
.
Behaviour for callback modules which verify the keys used to sign XML-DSIG payloads.
The key retrieval and validation operations are replaceable so that consumers of this library may implement their own forms of key storage or validation (e.g. retrieving keys from a database based on the key name or fingerprint, or doing custom certificate validation).
The default implementation of this behaviour can be seen inxmlrat_dsig_verifier_stdlib
.
algo() = {pubkey_algo(), hash_algo()}
cert() = xmlrat_dsig:cert()
hash_algo() = xmlrat_dsig:hash_algo()
key_details() = #{name => binary()}
options() = map()
pubkey() = xmlrat_dsig:pubkey()
pubkey_algo() = xmlrat_dsig:pubkey_algo()
Generated by EDoc