Skip to main content

crypto::DigitalSignatureAlgorithm

Types

SharedSecret#

using crypto::DigitalSignatureAlgorithm::SharedSecret =  KeyObject<32, KeyObjectType::shared_secret> 

Type: KeyObject< 32, KeyObjectType::shared_secret >

Signature#

using 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() const#

inline

const KeyPair & crypto::DigitalSignatureAlgorithm::key_pair () const

Type: const KeyPair &

sign(var::View message_hash) const#

Signature crypto::DigitalSignatureAlgorithm::sign (var::View message_hash) const

Type: Signature

Parameters:

verify(const Signature &signature, var::View message_hash)#

bool crypto::DigitalSignatureAlgorithm::verify (const Signature &signature, var::View message_hash)

Type: bool

Parameters: