IPlatformCryptoDecryptor

Instance of a decryptor used to progressively decrypt a message in chunks.

Windows
MacOS
Linux

References

Module

PlatformCryptoTypes

Header

/Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h

Include

#include "PlatformCryptoTypes.h"

Syntax

class IPlatformCryptoDecryptor

Remarks

Instance of a decryptor used to progressively decrypt a message in chunks. This is useful when you may not have all data loaded available at one time.

Encrypted ciphertext should be fed into one or more calls to Update, and then Finalize should be called. It is invalid to call Update after Finalize has been called.

Destructors

Name Description

Public function Virtual

~IPlatformCryptoDecryptor()

Functions

Name Description

Public function

EPlatformCry ...

 

Finalize

(
    const TArrayView < uint8 > OutPlaint...,
    int32 & OutPlaintextBytesWritten
)

Finalizes decryption of data previously passed in Update.

Public function Const

int32

 

GetCipherAuthTagSizeBytes()

Get the required size in bytes for the GenerateAuthTag call's OutAuthTag buffer

Public function Const

int32

 

GetCipherBlockSizeBytes()

Get the block size of the decryption cipher for this object.

Public function Const

int32

 

GetCipherInitializationVectorSizeBytes()

Get the initialization vector size of the decryption cipher for this object.

Public function Const

FName

 

GetCipherName()

Get the name of the decryption cipher for this object

Public function Const

int32

 

GetFinalizeBufferSizeBytes()

Get the minimum required out-data size for the finalize call

Public function Const

int32

 

GetUpdateBufferSizeBytes

(
    const TArrayView < const uint8 > Cip...
)

Get the minimum required out-data size for a particular Ciphertext value

Public function

EPlatformCry ...

 

SetAuthTag

(
    const TArrayView < const uint8 > Aut...
)

For ciphers that require authentication tags, you must call this function to set the AuthTag for the encrypted data before you may call Finalize.

Public function

EPlatformCry ...

 

Update

(
    const TArrayView < const uint8 > Cip...,
    const TArrayView < uint8 > OutPlaint...,
    int32 & OutPlaintextBytesWritten
)

Decrypt one or more blocks of data.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback