|
struct GDRSA * | GDRSA_public_key (const struct GDX509 *cert) |
| Retrieve the RSA public key. More...
|
|
struct GDRSA * | GDRSA_private_key (const struct GDX509 *cert) |
| Retrieve a pseudo private RSA key corresponding to a user certificate. More...
|
|
int | GDRSA_size (const struct GDRSA *rsa) |
| RSA modulus size. More...
|
|
void | GDRSA_free (struct GDRSA *rsa) |
| Free a RSA key structure. More...
|
|
int | GDRSA_sign (const struct GDDigest *digest_algorithm, const void *digest, unsigned int digest_size, void *signature, unsigned int *signature_size, struct GDRSA *rsa) |
| RSA sign a message digest. More...
|
|
int | GDRSA_verify (const struct GDDigest *digest_algorithm, const void *digest, unsigned int digest_size, const void *signature, unsigned int signature_size, struct GDRSA *rsa) |
| Verify an RSA signed message. More...
|
|
int | GDRSA_public_encrypt (int flen, const void *from, void *to, struct GDRSA *rsa, int padding) |
| RSA public encrypt. More...
|
|
int | GDRSA_private_decrypt (int flen, const void *from, void *to, struct GDRSA *rsa, int padding) |
| RSA private decrypt. More...
|
|
int | GDRSA_private_encrypt (int flen, const void *from, void *to, struct GDRSA *rsa, int padding) |
| RSA private encrypt. More...
|
|
int | GDRSA_public_decrypt (int flen, const void *from, void *to, struct GDRSA *rsa, int padding) |
| RSA public decrypt. More...
|
|