FRSA

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

References

Module

RSA

Header

/Engine/Source/Runtime/RSA/Public/RSA.h

Include

#include "RSA.h"

Syntax

struct FRSA

Remarks

Copyright Epic Games, Inc. All Rights Reserved.

Functions

Name Description

Public function Static

FRSAKeyHandl...

 

CreateKey

(
    const TArray< uint8 >& InPublicExp...,
    const TArray< uint8 >& InPrivateEx...,
    const TArray< uint8 >& InModulus
)

Create a new RSA public/private key from the supplied exponents and modulus binary data.

Public function Static

int32

 

DecryptPrivate

(
    const TArrayView< const uint8 > InS...,
    TArray< uint8 >& OutDestination,
    const FRSAKeyHandle InKey
)

Encrypt the supplied byte data using the given private key

Public function Static

int32

 

DecryptPublic

(
    const TArrayView< const uint8 > InS...,
    TArray< uint8 >& OutDestination,
    const FRSAKeyHandle InKey
)

Decrypt the supplied byte data using the given public key

Public function Static

void

 

DestroyKey

(
    const FRSAKeyHandle InKey
)

Destroy the supplied key

Public function Static

int32

 

EncryptPrivate

(
    const TArrayView< const uint8 > InS...,
    TArray< uint8 >& OutDestination,
    const FRSAKeyHandle InKey
)

Encrypt the supplied byte data using the given private key

Public function Static

int32

 

EncryptPublic

(
    const TArrayView< const uint8 > InS...,
    TArray< uint8 >& OutDestination,
    const FRSAKeyHandle InKey
)

Encrypt the supplied byte data using the given public key

Public function Static

int32

 

GetKeySize

(
    const FRSAKeyHandle InKey
)

Returns the size in bytes of the supplied key

Public function Static

int32

 

GetMaxDataSize

(
    const FRSAKeyHandle InKey
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss