Navigation
API > API/Runtime > API/Runtime/Core
| Name | IEngineCrypto |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/IEngineCrypto.h |
| Include Path | #include "Misc/IEngineCrypto.h" |
Syntax
struct IEngineCrypto : public IModularFeature
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRSAKeyHandle CreateRSAKey
(
const TArrayView< const uint8 > InPublicExponent, |
Create a new RSA key from the given little-endian exponents and modulus | Misc/IEngineCrypto.h | |
int32 DecryptPrivate
(
const TArrayView< const uint8 > InSource, |
Decrypt the supplied byte data using the given private key | Misc/IEngineCrypto.h | |
int32 DecryptPublic
(
const TArrayView< const uint8 > InSource, |
Decrypt the supplied byte data using the given public key | Misc/IEngineCrypto.h | |
void DestroyRSAKey
(
FRSAKeyHandle InKey |
Destroy the given RSA key | Misc/IEngineCrypto.h | |
int32 EncryptPrivate
(
const TArrayView< const uint8 > InSource, |
Encrypt the supplied byte data using the given private key | Misc/IEngineCrypto.h | |
int32 EncryptPublic
(
const TArrayView< const uint8 > InSource, |
Encrypt the supplied byte data using the given public key | Misc/IEngineCrypto.h | |
int32 GetKeySize
(
FRSAKeyHandle InKey |
Get the size of bytes of the given RSA key | Misc/IEngineCrypto.h | |
int32 GetMaxDataSize
(
FRSAKeyHandle InKey |
Get the maximum amount of data that can be encrypted using the given key, taking into account minimum padding requirements | Misc/IEngineCrypto.h | |
void Shutdown() |
Shutdown / cleanup the feature | Misc/IEngineCrypto.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetFeatureName() |
Get the name of this modular feature | Misc/IEngineCrypto.h |