|
|
unsigned int | scope |
| |
|
std::string | pubkey |
| |
|
std::string | seckey |
| |
§ Ed25519() [1/4]
| identt::crypto::Ed25519::Ed25519 |
( |
| ) |
|
§ Ed25519() [2/4]
| identt::crypto::Ed25519::Ed25519 |
( |
const std::string & |
seed | ) |
|
|
explicit |
Ed25519 : constructor with seed.
- Parameters
-
§ Ed25519() [3/4]
| identt::crypto::Ed25519::Ed25519 |
( |
const std::string & |
pubkey_, |
|
|
const std::string & |
seckey_ |
|
) |
| |
|
explicit |
Ed25519 : constructor with 2 keys.
- Parameters
-
| pubkey_ | std::string& public key |
| seckey_ | std::string& secret key |
§ Ed25519() [4/4]
| identt::crypto::Ed25519::Ed25519 |
( |
unsigned int |
scope_, |
|
|
const std::string & |
onekey_ |
|
) |
| |
|
explicit |
Ed25519 : constructor with scope and 1 key for verification only.
Ed25519 : constructor with 1 key.
- Parameters
-
| scope_ | unsigned int scope |
| onekey_ | std::string& verification or decoding key |
§ Decode()
| bool identt::crypto::Ed25519::Decode |
( |
const std::string & |
input, |
|
|
std::string & |
output |
|
) |
| const |
|
overridevirtual |
Decode : return decoded.
- Parameters
-
| const | std::string& input |
| std::string& | output |
- Returns
- bool success
Reimplemented from identt::crypto::CryptoBase.
§ Encode()
| bool identt::crypto::Ed25519::Encode |
( |
const std::string & |
input, |
|
|
std::string & |
output |
|
) |
| const |
|
overridevirtual |
Encode : return encoded.
- Parameters
-
| const | std::string& input |
| std::string& | output |
- Returns
- bool success
Reimplemented from identt::crypto::CryptoBase.
§ GetAlgo()
| const std::string identt::crypto::Ed25519::GetAlgo |
( |
| ) |
|
|
static |
GetAlgo : get key algo.
- Returns
- const std::string algo
§ GetSeed()
| std::string identt::crypto::Ed25519::GetSeed |
( |
| ) |
const |
|
overridevirtual |
§ GetSignature()
| std::string identt::crypto::Ed25519::GetSignature |
( |
const std::string & |
input | ) |
const |
|
overridevirtual |
§ VerifySignature()
| bool identt::crypto::Ed25519::VerifySignature |
( |
const std::string & |
signature, |
|
|
const std::string & |
input |
|
) |
| const |
|
overridevirtual |
VerifySignature : return signature valid status.
VerifySignature : return signature.
- Parameters
-
| const | std::string& signature |
| const | std::string& input |
- Returns
- bool status
Reimplemented from identt::crypto::CryptoBase.
The documentation for this class was generated from the following files: