Security Scol plugin
Classes | Typedefs | Functions
rsa.h File Reference

Classes for the RSA cryptosystem. More...

#include "cryptlib.h"
#include "pubkey.h"
#include "integer.h"
#include "pkcspad.h"
#include "oaep.h"
#include "emsa2.h"
#include "asn.h"

Go to the source code of this file.

Classes

class  RSAFunction
 RSA trapdoor function using the public key. More...
 
class  InvertibleRSAFunction
 RSA trapdoor function using the private key. More...
 
class  RSAFunction_ISO
 RSA trapdoor function using the public key. More...
 
class  InvertibleRSAFunction_ISO
 RSA trapdoor function using the private key. More...
 
struct  RSA
 RSA algorithm. More...
 
struct  RSAES< STANDARD >
 RSA encryption algorithm. More...
 
struct  RSASS< STANDARD, H >
 RSA signature algorithm. More...
 
struct  RSA_ISO
 RSA algorithm. More...
 
struct  RSASS_ISO< H >
 RSA signature algorithm. More...
 

Typedefs

typedef RSASS< PKCS1v15, SHA1 >::Signer RSASSA_PKCS1v15_SHA_Signer
 
typedef RSASS< PKCS1v15, SHA1 >::Verifier RSASSA_PKCS1v15_SHA_Verifier
 
typedef RSASS< PKCS1v15, Weak1::MD2 >::Signer Weak::RSASSA_PKCS1v15_MD2_Signer
 
typedef RSASS< PKCS1v15, Weak1::MD2 >::Verifier Weak::RSASSA_PKCS1v15_MD2_Verifier
 
typedef RSASS< PKCS1v15, Weak1::MD5 >::Signer Weak::RSASSA_PKCS1v15_MD5_Signer
 
typedef RSASS< PKCS1v15, Weak1::MD5 >::Verifier Weak::RSASSA_PKCS1v15_MD5_Verifier
 

Functions

 DOCUMENTED_TYPEDEF (RSAES< PKCS1v15 >::Decryptor, RSAES_PKCS1v15_Decryptor)
 RSAES<PKCS1v15>::Decryptor typedef
 
 DOCUMENTED_TYPEDEF (RSAES< PKCS1v15 >::Encryptor, RSAES_PKCS1v15_Encryptor)
 RSAES<PKCS1v15>::Encryptor typedef
 
 DOCUMENTED_TYPEDEF (RSAES< OAEP< SHA1 > >::Decryptor, RSAES_OAEP_SHA_Decryptor)
 RSAES<OAEP<SHA1>>::Decryptor typedef
 
 DOCUMENTED_TYPEDEF (RSAES< OAEP< SHA1 > >::Encryptor, RSAES_OAEP_SHA_Encryptor)
 RSAES<OAEP<SHA1>>::Encryptor typedef
 

Detailed Description

Classes for the RSA cryptosystem.

This file contains classes that implement the RSA ciphers and signature schemes as defined in PKCS #1 v2.0.

Definition in file rsa.h.

Typedef Documentation

◆ RSASSA_PKCS1v15_MD2_Signer

Definition at line 254 of file rsa.h.

◆ RSASSA_PKCS1v15_MD2_Verifier

Definition at line 255 of file rsa.h.

◆ RSASSA_PKCS1v15_MD5_Signer

Definition at line 256 of file rsa.h.

◆ RSASSA_PKCS1v15_MD5_Verifier

Definition at line 257 of file rsa.h.

◆ RSASSA_PKCS1v15_SHA_Signer

Definition at line 250 of file rsa.h.

◆ RSASSA_PKCS1v15_SHA_Verifier

Definition at line 251 of file rsa.h.

Function Documentation

◆ DOCUMENTED_TYPEDEF() [1/4]

DOCUMENTED_TYPEDEF ( RSAES< OAEP< SHA1 > >::Decryptor  ,
RSAES_OAEP_SHA_Decryptor   
)

RSAES<OAEP<SHA1>>::Decryptor typedef

RSA encryption scheme defined in PKCS #1 v2.0

◆ DOCUMENTED_TYPEDEF() [2/4]

DOCUMENTED_TYPEDEF ( RSAES< OAEP< SHA1 > >::Encryptor  ,
RSAES_OAEP_SHA_Encryptor   
)

RSAES<OAEP<SHA1>>::Encryptor typedef

RSA encryption scheme defined in PKCS #1 v2.0

◆ DOCUMENTED_TYPEDEF() [3/4]

DOCUMENTED_TYPEDEF ( RSAES< PKCS1v15 >::Decryptor  ,
RSAES_PKCS1v15_Decryptor   
)

RSAES<PKCS1v15>::Decryptor typedef

RSA encryption scheme defined in PKCS #1 v2.0

◆ DOCUMENTED_TYPEDEF() [4/4]

DOCUMENTED_TYPEDEF ( RSAES< PKCS1v15 >::Encryptor  ,
RSAES_PKCS1v15_Encryptor   
)

RSAES<PKCS1v15>::Encryptor typedef

RSA encryption scheme defined in PKCS #1 v2.0