Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
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
| Type | Name | Description | |
|---|---|---|---|
| FRSAKeyHandle | CreateRSAKey
(
const TArrayView< const uint8 > InPublicExponent, |
Create a new RSA key from the given little-endian exponents and modulus | |
| int32 | DecryptPrivate
(
const TArrayView< const uint8 > InSource, |
Encrypt the supplied byte data using the given private key | |
| int32 | DecryptPublic
(
const TArrayView< const uint8 > InSource, |
Decrypt the supplied byte data using the given public key | |
| void | DestroyRSAKey
(
FRSAKeyHandle InKey |
Destroy the given RSA key | |
| int32 | EncryptPrivate
(
const TArrayView< const uint8 > InSource, |
Encrypt the supplied byte data using the given private key | |
| int32 | EncryptPublic
(
const TArrayView< const uint8 > InSource, |
Encrypt the supplied byte data using the given public key | |
| FName | Get the name of this modular feature | ||
| int32 | GetKeySize
(
FRSAKeyHandle InKey |
Get the size of bytes of the given RSA key | |
| int32 | GetMaxDataSize
(
FRSAKeyHandle InKey |
Get the maximum amount of data that can be encrypted using the given key, taking into account minimum padding requirements | |
| void | Shutdown () |
Shutdown / cleanup the feature |