FEncryptionContextOpenSSL

Interface to certain cryptographic algorithms, using OpenSSL to implement them.

Windows
MacOS
Linux

References

Module

PlatformCryptoOpenSSL

Header

/Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoOpenSSL/Public/EncryptionContextOpenSSL.h

Include

#include "EncryptionContextOpenSSL.h"

Syntax

class FEncryptionContextOpenSSL

Remarks

Interface to certain cryptographic algorithms, using OpenSSL to implement them.

Functions

Name Description

Public function

TUniquePtr< ...

 

CreateDecryptor_AES_256_CBC

(
    const TArrayView< const uint8 > Key,
    const TArrayView< const uint8 > Ini...
)

Public function

TUniquePtr< ...

 

CreateDecryptor_AES_256_ECB

(
    const TArrayView< const uint8 > Key
)

Public function

TUniquePtr< ...

 

CreateDecryptor_AES_256_GCM

(
    const TArrayView< const uint8 > Key,
    const TArrayView< const uint8 > Ini...,
    const TArrayView< const uint8 > Aut...
)

Public function

TUniquePtr< ...

 

CreateEncryptor_AES_256_CBC

(
    const TArrayView< const uint8 > Key,
    const TArrayView< const uint8 > Ini...
)

Public function

TUniquePtr< ...

 

CreateEncryptor_AES_256_ECB

(
    const TArrayView< const uint8 > Key
)

Public function

TUniquePtr< ...

 

CreateEncryptor_AES_256_GCM

(
    const TArrayView< const uint8 > Key,
    const TArrayView< const uint8 > Ini...
)

Public function

FRSAKeyHandl...

 

CreateKey_RSA

(
    const TArrayView< const uint8 > Pub...,
    const TArrayView< const uint8 > Pri...,
    const TArrayView< const uint8 > Mod...
)

Public function

EPlatformCry...

 

CreatePseudoRandomBytes

(
    const TArrayView< uint8 > OutData
)

Public function

EPlatformCry...

 

CreateRandomBytes

(
    const TArrayView< uint8 > OutData
)

Public function

TArray< uint...

 

Decrypt_AES_256_CBC

(
    const TArrayView< const uint8 > Cip...,
    const TArrayView< const uint8 > Key,
    const TArrayView< const uint8 > Ini...,
    EPlatformCryptoResult& OutResult
)

Public function

TArray< uint...

 

Decrypt_AES_256_ECB

(
    const TArrayView< const uint8 > Cip...,
    const TArrayView< const uint8 > Key,
    EPlatformCryptoResult& OutResult
)

Public function

TArray< uint...

 

Decrypt_AES_256_GCM

(
    const TArrayView< const uint8 > Cip...,
    const TArrayView< const uint8 > Key,
    const TArrayView< const uint8 > Ini...,
    const TArrayView< const uint8 > Aut...,
    EPlatformCryptoResult& OutResult
)

Public function

int32

 

DecryptPrivate_RSA

(
    TArrayView< const uint8 > Source,
    TArray< uint8 >& Dest,
    FRSAKeyHandle Key
)

Public function

int32

 

DecryptPublic_RSA

(
    TArrayView< const uint8 > Source,
    TArray< uint8 >& Dest,
    FRSAKeyHandle Key
)

Public function

void

 

DestroyKey_RSA

(
    FRSAKeyHandle Key
)

Public function

bool

 

DigestVerify_PS256

(
    const TArrayView< const char > Mess...,
    const TArrayView< const uint8 > Sig...,
    const TArrayView< const uint8 > PKC...
)

Public function

TArray< uint...

 

Encrypt_AES_256_CBC

(
    const TArrayView< const uint8 > Pla...,
    const TArrayView< const uint8 > Key,
    const TArrayView< const uint8 > Ini...,
    EPlatformCryptoResult& OutResult
)

Public function

TArray< uint...

 

Encrypt_AES_256_ECB

(
    const TArrayView< const uint8 > Pla...,
    const TArrayView< const uint8 > Key,
    EPlatformCryptoResult& OutResult
)

Public function

TArray< uint...

 

Encrypt_AES_256_GCM

(
    const TArrayView< const uint8 > Pla...,
    const TArrayView< const uint8 > Key,
    const TArrayView< const uint8 > Ini...,
    TArray< uint8 >& OutAuthTag,
    EPlatformCryptoResult& OutResult
)

Public function

int32

 

EncryptPrivate_RSA

(
    TArrayView< const uint8 > Source,
    TArray< uint8 >& Dest,
    FRSAKeyHandle Key
)

Public function

int32

 

EncryptPublic_RSA

(
    TArrayView< const uint8 > Source,
    TArray< uint8 >& Dest,
    FRSAKeyHandle Key
)

Public function

int32

 

GetKeySize_RSA

(
    FRSAKeyHandle Key
)

Public function

int32

 

GetMaxDataSize_RSA

(
    FRSAKeyHandle Key
)

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