crypto::DigitalSignatureAlgorithm
- Inherits: crypto::Ecc
public
- crypto::DigitalSignatureAlgorithm::KeyPair
Types
#
SharedSecretusing crypto::DigitalSignatureAlgorithm::SharedSecret = KeyObject<32, KeyObjectType::shared_secret>
Type: KeyObject< 32, KeyObjectType::shared_secret >
#
Signatureusing crypto::DigitalSignatureAlgorithm::Signature = KeyObject<64, KeyObjectType::signature>
Type: KeyObject< 64, KeyObjectType::signature >
Functions
#
DigitalSignatureAlgorithm(const KeyPair &key_pair)inline
explicit
crypto::DigitalSignatureAlgorithm::DigitalSignatureAlgorithm (const KeyPair &key_pair)
#
DigitalSignatureAlgorithm(Curve value)inline
explicit
crypto::DigitalSignatureAlgorithm::DigitalSignatureAlgorithm (Curve value)
#
key_pair() constinline
const KeyPair & crypto::DigitalSignatureAlgorithm::key_pair () const
Type: const KeyPair &
#
sign(var::View message_hash) constSignature crypto::DigitalSignatureAlgorithm::sign (var::View message_hash) const
Type: Signature
Parameters:
- var::View
message_hash
#
verify(const Signature &signature, var::View message_hash)bool crypto::DigitalSignatureAlgorithm::verify (const Signature &signature, var::View message_hash)
Type: bool
Parameters: