Navigation
Unreal Engine C++ API Reference > Plugins > PlatformCryptoOpenSSL
References
Module | PlatformCryptoOpenSSL |
Header | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoOpenSSL/Public/EncryptionContextOpenSSL.h |
Include | #include "EncryptionContextOpenSSL.h" |
Syntax
class FEncryptionContextOpenSSL
Remarks
Interface to certain cryptographic algorithms, using OpenSSL to implement them.
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | CalcSHA256
(
const TArrayView< const uint8 > Source, |
Calculate the SHA256 hash of a message. |
![]() |
TUniquePtr< IPlatformCryptoDecryptor > | [CreateDecryptor_AES_256CBC](API\Plugins\PlatformCryptoOpenSSL\FEncryptionContextOpenSSL\CreateDecryptor-_1)
(
const TArrayView< const uint8 > Key, |
|
![]() |
TUniquePtr< IPlatformCryptoDecryptor > | [CreateDecryptor_AES_256ECB](API\Plugins\PlatformCryptoOpenSSL\FEncryptionContextOpenSSL\CreateDecryptor-)
(
const TArrayView< const uint8 > Key |
|
![]() |
TUniquePtr< IPlatformCryptoDecryptor > | [CreateDecryptor_AES_256GCM](API\Plugins\PlatformCryptoOpenSSL\FEncryptionContextOpenSSL\CreateDecryptor-_2)
(
const TArrayView< const uint8 > Key, |
|
![]() |
TUniquePtr< IPlatformCryptoEncryptor > | [CreateEncryptor_AES_256CBC](API\Plugins\PlatformCryptoOpenSSL\FEncryptionContextOpenSSL\CreateEncryptor-_1)
(
const TArrayView< const uint8 > Key, |
|
![]() |
TUniquePtr< IPlatformCryptoEncryptor > | [CreateEncryptor_AES_256ECB](API\Plugins\PlatformCryptoOpenSSL\FEncryptionContextOpenSSL\CreateEncryptor-)
(
const TArrayView< const uint8 > Key |
|
![]() |
TUniquePtr< IPlatformCryptoEncryptor > | [CreateEncryptor_AES_256GCM](API\Plugins\PlatformCryptoOpenSSL\FEncryptionContextOpenSSL\CreateEncryptor-_2)
(
const TArrayView< const uint8 > Key, |
|
![]() |
FRSAKeyHandle | CreateKey_RSA
(
const TArrayView< const uint8 > PublicExponent, |
Create an RSA key from a binary public/private exponent and modulus. |
![]() |
EPlatformCryptoResult | CreatePseudoRandomBytes
(
const TArrayView< uint8 > OutData |
Create pseudo random bytes. |
![]() |
EPlatformCryptoResult | CreateRandomBytes
(
const TArrayView< uint8 > OutData |
Create random bytes. |
![]() |
FSHA256Hasher | Create a new SHA256 hasher. | |
![]() |
TArray< uint8 > | Decrypt_AES_256_CBC
(
const TArrayView< const uint8 > Ciphertext, |
|
![]() |
TArray< uint8 > | Decrypt_AES_256_ECB
(
const TArrayView< const uint8 > Ciphertext, |
|
![]() |
TArray< uint8 > | Decrypt_AES_256_GCM
(
const TArrayView< const uint8 > Ciphertext, |
|
![]() |
int32 | DecryptPrivate_RSA
(
TArrayView< const uint8 > Source, |
Decrypt a source with a private RSA key. |
![]() |
int32 | DecryptPublic_RSA
(
TArrayView< const uint8 > Source, |
Decrypt a source with a public RSA key. |
![]() |
void | DestroyKey_RSA
(
FRSAKeyHandle Key |
Destroy and free the RSA key. |
![]() |
bool | DigestSign_RS256
(
const TArrayView< const uint8 > Message, |
Sign a message with RS256. |
![]() |
bool | DigestVerify_PS256
(
const TArrayView< const char > Message, |
Verify a hashed PS256 message with a signature. |
![]() |
bool | DigestVerify_RS256
(
const TArrayView< const uint8 > Message, |
Verify a hashed RS256 message with a signature. |
![]() |
TArray< uint8 > | Encrypt_AES_256_CBC
(
const TArrayView< const uint8 > Plaintext, |
|
![]() |
TArray< uint8 > | Encrypt_AES_256_ECB
(
const TArrayView< const uint8 > Plaintext, |
|
![]() |
TArray< uint8 > | Encrypt_AES_256_GCM
(
const TArrayView< const uint8 > Plaintext, |
|
![]() |
int32 | EncryptPrivate_RSA
(
TArrayView< const uint8 > Source, |
Encrypt a source with a private RSA key. |
![]() |
int32 | EncryptPublic_RSA
(
TArrayView< const uint8 > Source, |
Encrypt a source with a public RSA key. |
![]() |
bool | Generate an RSA key with the number of key bits. | |
![]() |
int32 | GetKeySize_RSA
(
FRSAKeyHandle Key |
Get the RSA key modulus size in bytes. |
![]() |
int32 | GetMaxDataSize_RSA
(
FRSAKeyHandle Key |
Get the maximum data size. |
![]() |
FRSAKeyHandle | GetPublicKey_RSA
(
const FStringView PemSource |
Get the RSA public key from a PEM format string. |