|
virtual void | Sign (const DL_GroupParameters< T > ¶ms, const Integer &privateKey, const Integer &k, const Integer &e, Integer &r, Integer &s) const =0 |
| Sign a message using a private key.
|
|
virtual bool | Verify (const DL_GroupParameters< T > ¶ms, const DL_PublicKey< T > &publicKey, const Integer &e, const Integer &r, const Integer &s) const =0 |
| Verify a message using a public key.
|
|
virtual Integer | RecoverPresignature (const DL_GroupParameters< T > ¶ms, const DL_PublicKey< T > &publicKey, const Integer &r, const Integer &s) const |
| Recover a Presignature.
|
|
virtual size_t | RLen (const DL_GroupParameters< T > ¶ms) const |
| Retrieve R length.
|
|
virtual size_t | SLen (const DL_GroupParameters< T > ¶ms) const |
| Retrieve S length.
|
|
virtual bool | IsDeterministic () const |
| Signature scheme flag.
|
|
template<class T>
class DL_ElgamalLikeSignatureAlgorithm< T >
Interface for Elgamal-like signature algorithms.
- Template Parameters
-
T | Field element type or class |
Field element T
can be Integer, ECP or EC2N.
Definition at line 1406 of file pubkey.h.