System::Security::Cryptography::Details::RSACryptoServiceProviderPimpl Struct Reference

Public Member Functions

 RSACryptoServiceProviderPimpl ()
 Constructor. More...
 
void create_public_key (const System::ArrayPtr< uint8_t > &modulus, const System::ArrayPtr< uint8_t > &exponent)
 
void create_private_key (const System::ArrayPtr< uint8_t > &p, const System::ArrayPtr< uint8_t > &q, const System::ArrayPtr< uint8_t > &e, const System::ArrayPtr< uint8_t > &d, const System::ArrayPtr< uint8_t > &n)
 
void create_keys (size_t bits)
 

Detailed Description

RSA crypto service provider implementation. You shouldn't be creating it directly, use RSACryptoServiceProvider class instead.

Constructor & Destructor Documentation

◆ RSACryptoServiceProviderPimpl()

System::Security::Cryptography::Details::RSACryptoServiceProviderPimpl::RSACryptoServiceProviderPimpl ( )
inline

Constructor.

Member Function Documentation

◆ create_keys()

void System::Security::Cryptography::Details::RSACryptoServiceProviderPimpl::create_keys ( size_t  bits)
inline

Creates keys of specific size.

Parameters
bitsKey length, bits.

◆ create_private_key()

void System::Security::Cryptography::Details::RSACryptoServiceProviderPimpl::create_private_key ( const System::ArrayPtr< uint8_t > &  p,
const System::ArrayPtr< uint8_t > &  q,
const System::ArrayPtr< uint8_t > &  e,
const System::ArrayPtr< uint8_t > &  d,
const System::ArrayPtr< uint8_t > &  n 
)
inline

Creates private key.

Parameters
pP RSA parameter.
qQ RSA parameter.
eE RSA parameter.
dD RSA parameter.
nN RSA parameter.

◆ create_public_key()

void System::Security::Cryptography::Details::RSACryptoServiceProviderPimpl::create_public_key ( const System::ArrayPtr< uint8_t > &  modulus,
const System::ArrayPtr< uint8_t > &  exponent 
)
inline

Creates public key.

Parameters
modulusModulus RSA parameter.
exponentExponent RSA parameter.