Navigation
API > API/Runtime > API/Runtime/RSA
| Name | FRSA |
| Type | struct |
| Header File | /Engine/Source/Runtime/RSA/Public/RSA.h |
| Include Path | #include "RSA.h" |
Syntax
struct FRSA
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FRSAKeyHandle CreateKey
(
const TArray< uint8 >& InPublicExponent, |
Create a new RSA public/private key from the supplied exponents and modulus binary data. | RSA.h | |
static int32 DecryptPrivate
(
const TArrayView< const uint8 > InSource, |
Decrypt the supplied byte data using the given private key | RSA.h | |
static int32 DecryptPublic
(
const TArrayView< const uint8 > InSource, |
Decrypt the supplied byte data using the given public key | RSA.h | |
static void DestroyKey
(
const FRSAKeyHandle InKey |
Destroy the supplied key | RSA.h | |
static int32 EncryptPrivate
(
const TArrayView< const uint8 > InSource, |
Encrypt the supplied byte data using the given private key | RSA.h | |
static int32 EncryptPublic
(
const TArrayView< const uint8 > InSource, |
Encrypt the supplied byte data using the given public key | RSA.h | |
static int32 GetKeySize
(
const FRSAKeyHandle InKey |
Returns the size in bytes of the supplied key | RSA.h | |
static int32 GetMaxDataSize
(
const FRSAKeyHandle InKey |
Returns the maximum number of bytes that can be encrypted in a single payload | RSA.h |