|
| const DSA< Curve, lime::DSAtype::privateKey > | get_secret (void) override |
| | Secret key. More...
|
| |
| const DSA< Curve, lime::DSAtype::publicKey > | get_public (void) override |
| | Public key. More...
|
| |
| void | set_secret (const DSA< Curve, lime::DSAtype::privateKey > &secretKey) override |
| | Secret key. More...
|
| |
| void | set_public (const DSA< Curve, lime::DSAtype::publicKey > &publicKey) override |
| | Public key. More...
|
| |
| void | createKeyPair (std::shared_ptr< lime::RNG > rng) override |
| | generate a new random EdDSA key pair More...
|
| |
| void | derivePublic (void) override |
| | Compute the public key using the secret already set in context. More...
|
| |
| void | sign (const std::vector< uint8_t > &message, DSA< Curve, lime::DSAtype::signature > &signature) override |
| | Sign a message using the key pair previously set in the object. More...
|
| |
| void | sign (const X< Curve, lime::Xtype::publicKey > &message, DSA< Curve, lime::DSAtype::signature > &signature) override |
| |
| bool | verify (const std::vector< uint8_t > &message, const DSA< Curve, lime::DSAtype::signature > &signature) override |
| | Verify a message signature using the public key previously set in the object. More...
|
| |
| bool | verify (const X< Curve, lime::Xtype::publicKey > &message, const DSA< Curve, lime::DSAtype::signature > &signature) override |
| |
| | bctbx_EDDSA () |
| |
| | ~bctbx_EDDSA () |
| |
| virtual const DSA< Curve, lime::DSAtype::privateKey > | get_secret (void)=0 |
| | Secret key. More...
|
| |
| virtual const DSA< Curve, lime::DSAtype::publicKey > | get_public (void)=0 |
| | Public key. More...
|
| |
| virtual void | set_secret (const DSA< Curve, lime::DSAtype::privateKey > &secretKey)=0 |
| | Secret key. More...
|
| |
| virtual void | set_public (const DSA< Curve, lime::DSAtype::publicKey > &publicKey)=0 |
| | Public key. More...
|
| |
| virtual void | createKeyPair (std::shared_ptr< lime::RNG > rng)=0 |
| | generate a new random EdDSA key pair More...
|
| |
| virtual void | derivePublic (void)=0 |
| | Compute the public key using the secret already set in context. More...
|
| |
| virtual void | sign (const std::vector< uint8_t > &message, DSA< Curve, lime::DSAtype::signature > &signature)=0 |
| | Sign a message using the key pair previously set in the object. More...
|
| |
| virtual void | sign (const X< Curve, lime::Xtype::publicKey > &message, DSA< Curve, lime::DSAtype::signature > &signature)=0 |
| |
| virtual bool | verify (const std::vector< uint8_t > &message, const DSA< Curve, lime::DSAtype::signature > &signature)=0 |
| | Verify a message signature using the public key previously set in the object. More...
|
| |
| virtual bool | verify (const X< Curve, lime::Xtype::publicKey > &message, const DSA< Curve, lime::DSAtype::signature > &signature)=0 |
| |
| virtual | ~Signature ()=default |
| |
template<typename Curve>
class lime::bctbx_EDDSA< Curve >
a wrapper around bctoolbox signature algorithms, implements the Signature interface
Provides EdDSA on curves 25519 and 448