nn::crypto::RsaContext Classclass RsaContext : public nn::crypto::PublicKeyContextBase
The context class for RSA public key encryption.
Initialize
|
Initializes the RSA context. This function must be called once before using RSA. | |
|---|---|---|
Finalize
|
Destroys the RSA context. This function must be called once after using software RSA. | |
SetKey
|
Sets the key. | |
SetKeyLength
|
Sets the RSA key length. | |
GetKeyLength
|
Gets the RSA key length. | |
Decrypt
|
Decrypts using RSA. | |
Encrypt
|
Encrypts using RSA. | |
Sign
|
Creates an RSA-PKCS1-v1.5-SHA256 signature from a character string. |
|
SignSha256
|
Creates an RSA-PKCS1-v1.5-SHA256 signature from a hash. |
|
Verify
|
Verifies an RSA-PKCS1-v1.5-SHA256 signature from a character string. |
|
VerifySha256
|
Verifies an RSA-PKCS1-v1.5-SHA256 signature from a hash. |
|
VerifySha1
|
Verifies an RSA-PKCS1-v1.5-SHA1 signature from a hash. |
nn::crypto::PublicKeyContextBase
nn::crypto::RsaContext
CONFIDENTIAL