Navigation
API > API/Plugins > API/Plugins/PlatformCryptoOpenSSL > API/Plugins/PlatformCryptoOpenSSL/FEncryptionContextOpenSSL
References
| Module | PlatformCryptoOpenSSL |
| Header | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoOpenSSL/Public/EncryptionContextOpenSSL.h |
| Include | #include "EncryptionContextOpenSSL.h" |
| Source | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoOpenSSL/Private/EncryptionContextOpenSSL.cpp |
bool GenerateKey_RSA
(
const int32 InNumKeyBits,
TArray < uint8 > & OutPublicExponent,
TArray < uint8 > & OutPrivateExponent,
TArray < uint8 > & OutModulus
)
Remarks
Generate an RSA key with the number of key bits. Whether the generate operation was successful
Parameters
| Name | Description |
|---|---|
| InNumKeyBits | Number of key bits |
| OutPublicExponent | Array for the public exponent |
| OutPrivateExponent | Array for the private exponent |
| OutModulus | Array for the modulus |