UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRSA Struct Reference

#include <RSA.h>

Static Public Member Functions

static RSA_API FRSAKeyHandle CreateKey (const TArray< uint8 > &InPublicExponent, const TArray< uint8 > &InPrivateExponent, const TArray< uint8 > &InModulus)
 
static RSA_API void DestroyKey (const FRSAKeyHandle InKey)
 
static RSA_API int32 GetKeySize (const FRSAKeyHandle InKey)
 
static RSA_API int32 GetMaxDataSize (const FRSAKeyHandle InKey)
 
static RSA_API int32 EncryptPublic (const TArrayView< const uint8 > InSource, TArray< uint8 > &OutDestination, const FRSAKeyHandle InKey)
 
static RSA_API int32 EncryptPrivate (const TArrayView< const uint8 > InSource, TArray< uint8 > &OutDestination, const FRSAKeyHandle InKey)
 
static RSA_API int32 DecryptPublic (const TArrayView< const uint8 > InSource, TArray< uint8 > &OutDestination, const FRSAKeyHandle InKey)
 
static RSA_API int32 DecryptPrivate (const TArrayView< const uint8 > InSource, TArray< uint8 > &OutDestination, const FRSAKeyHandle InKey)
 

Member Function Documentation

◆ CreateKey()

FRSAKeyHandle FRSA::CreateKey ( const TArray< uint8 > &  InPublicExponent,
const TArray< uint8 > &  InPrivateExponent,
const TArray< uint8 > &  InModulus 
)
static

Create a new RSA public/private key from the supplied exponents and modulus binary data. Each of these arrays should contain a single little endian large integer value

◆ DecryptPrivate()

int32 FRSA::DecryptPrivate ( const TArrayView< const uint8 InSource,
TArray< uint8 > &  OutDestination,
const FRSAKeyHandle  InKey 
)
static

Decrypt the supplied byte data using the given private key

◆ DecryptPublic()

int32 FRSA::DecryptPublic ( const TArrayView< const uint8 InSource,
TArray< uint8 > &  OutDestination,
const FRSAKeyHandle  InKey 
)
static

Decrypt the supplied byte data using the given public key

◆ DestroyKey()

void FRSA::DestroyKey ( const FRSAKeyHandle  InKey)
static

Destroy the supplied key

◆ EncryptPrivate()

int32 FRSA::EncryptPrivate ( const TArrayView< const uint8 InSource,
TArray< uint8 > &  OutDestination,
const FRSAKeyHandle  InKey 
)
static

Encrypt the supplied byte data using the given private key

◆ EncryptPublic()

int32 FRSA::EncryptPublic ( const TArrayView< const uint8 InSource,
TArray< uint8 > &  OutDestination,
const FRSAKeyHandle  InKey 
)
static

Encrypt the supplied byte data using the given public key

◆ GetKeySize()

int32 FRSA::GetKeySize ( const FRSAKeyHandle  InKey)
static

Returns the size in bytes of the supplied key

◆ GetMaxDataSize()

int32 FRSA::GetMaxDataSize ( const FRSAKeyHandle  InKey)
static

Returns the maximum number of bytes that can be encrypted in a single payload


The documentation for this struct was generated from the following files: