|
|
unsigned int | scope |
| |
|
std::string | pubkey |
| |
|
std::string | seckey |
| |
§ CryptoBase() [1/2]
| identt::crypto::CryptoBase::CryptoBase |
( |
| ) |
|
§ CryptoBase() [2/2]
| identt::crypto::CryptoBase::CryptoBase |
( |
const CryptoBase & |
| ) |
|
|
delete |
§ Decode()
| bool identt::crypto::CryptoBase::Decode |
( |
const std::string & |
input, |
|
|
std::string & |
output |
|
) |
| const |
|
virtual |
Decode : return decoded.
- Parameters
-
| const | std::string& input |
| std::string& | output |
- Returns
- bool success
Reimplemented in identt::crypto::Ed25519.
§ Encode()
| bool identt::crypto::CryptoBase::Encode |
( |
const std::string & |
input, |
|
|
std::string & |
output |
|
) |
| const |
|
virtual |
Encode : return encoded.
- Parameters
-
| const | std::string& input |
| std::string& | output |
- Returns
- bool success
Reimplemented in identt::crypto::Ed25519.
§ GetAlgo()
| const std::string identt::crypto::CryptoBase::GetAlgo |
( |
| ) |
|
|
static |
GetAlgo : get key algo.
- Returns
- const std::string algo
§ GetPublicKey()
| std::string identt::crypto::CryptoBase::GetPublicKey |
( |
| ) |
const |
|
virtual |
GetPublicKey : return public key.
- Returns
- std::string
§ GetSecretKey()
| std::string identt::crypto::CryptoBase::GetSecretKey |
( |
| ) |
const |
|
virtual |
GetSecretKey : return private key.
- Returns
- std::string
§ GetSeed()
| std::string identt::crypto::CryptoBase::GetSeed |
( |
| ) |
const |
|
virtual |
§ GetSignature()
| std::string identt::crypto::CryptoBase::GetSignature |
( |
const std::string & |
input | ) |
const |
|
virtual |
§ VerifySignature()
| bool identt::crypto::CryptoBase::VerifySignature |
( |
const std::string & |
signature, |
|
|
const std::string & |
input |
|
) |
| const |
|
virtual |
VerifySignature : return signature valid status.
VerifySignature : return signature.
- Parameters
-
| const | std::string& signature |
| const | std::string& input |
- Returns
- bool status
Reimplemented in identt::crypto::Ed25519.
The documentation for this class was generated from the following files: