IEngineCrypto

Windows
MacOS
Linux

Inheritance Hierarchy

IModularFeature

IEngineCrypto

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/IEngineCrypto.h

Include

#include "Misc/IEngineCrypto.h"

Syntax

struct IEngineCrypto : public IModularFeature

Functions

Name Description

Public function

FRSAKeyHandl...

 

CreateRSAKey

(
    const TArrayView< const uint8 > InP...,
    const TArrayView< const uint8 > InP...,
    const TArrayView< const uint8 > InM...
)

Create a new RSA key from the given little-endian exponents and modulus

Public function

int32

 

DecryptPrivate

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

Encrypt the supplied byte data using the given private key

Public function

int32

 

DecryptPublic

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

Decrypt the supplied byte data using the given public key

Public function

void

 

DestroyRSAKey

(
    FRSAKeyHandle InKey
)

Destroy the given RSA key

Public function

int32

 

EncryptPrivate

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

Encrypt the supplied byte data using the given private key

Public function

int32

 

EncryptPublic

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

Encrypt the supplied byte data using the given public key

Public function Static

FName

 

GetFeatureName()

Get the name of this modular feature

Public function

int32

 

GetKeySize

(
    FRSAKeyHandle InKey
)

Get the size of bytes of the given RSA key

Public function

int32

 

GetMaxDataSize

(
    FRSAKeyHandle InKey
)

Get the maximum amount of data that can be encrypted using the given key, taking into account minimum padding requirements

Public function

void

 

Shutdown()

Shutdown / cleanup the feature

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