10Duke Enterprise C++ Client
|
#include <PublicKeyVerifierFactory.h>
An implementation of tenduke::crypto::MessageDigestVerifierFactory
, which is configured with algorithm and public key, and creates new instances of tenduke::crypto::MessageDigestVerifier
configured with those key and algorithm.
Public Member Functions | |
PublicKeyVerifierFactory (const std::shared_ptr< const PublicKey > &publicKey, MessageDigest::Algorithm algorithm) | |
Constructs new instance. | |
std::unique_ptr< MessageDigestVerifier > | create () const override |
Creates the verifier. | |
tenduke::crypto::PublicKeyVerifierFactory::PublicKeyVerifierFactory | ( | const std::shared_ptr< const PublicKey > & | publicKey, |
MessageDigest::Algorithm | algorithm | ||
) |
Constructs new instance.
publicKey | - |
algorithm | - |
|
overridevirtual |
Creates the verifier.
Implements tenduke::crypto::MessageDigestVerifierFactory.