mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
EdDSA signer added
This commit is contained in:
parent
e0b19a6383
commit
01913d2b14
3 changed files with 55 additions and 10 deletions
|
@ -470,6 +470,9 @@ namespace data
|
|||
case SIGNING_KEY_TYPE_RSA_SHA512_4096:
|
||||
m_Signer = new i2p::crypto::RSASHA5124096Signer (m_SigningPrivateKey);
|
||||
break;
|
||||
case SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519:
|
||||
m_Signer = new i2p::crypto::EDDSA25519Signer (m_SigningPrivateKey);
|
||||
break;
|
||||
default:
|
||||
LogPrint ("Signing key type ", (int)m_Public.GetSigningKeyType (), " is not supported");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue