AWS SDK for C++  1.9.104
AWS SDK for C++
Public Member Functions | List of all members
Aws::Utils::Crypto::ContentCryptoMaterial Class Reference

#include <ContentCryptoMaterial.h>

Public Member Functions

 ContentCryptoMaterial ()
 
 ContentCryptoMaterial (ContentCryptoScheme contentCryptoScheme)
 
 ContentCryptoMaterial (const Aws::Utils::CryptoBuffer &cek, ContentCryptoScheme contentCryptoScheme)
 
const Aws::Utils::CryptoBufferGetContentEncryptionKey () const
 
const Aws::Utils::CryptoBufferGetEncryptedContentEncryptionKey () const
 
const Aws::Utils::CryptoBufferGetIV () const
 
size_t GetCryptoTagLength () const
 
const Aws::Map< Aws::String, Aws::String > & GetMaterialsDescription () const
 
const Aws::StringGetMaterialsDescription (const Aws::String &key) const
 
KeyWrapAlgorithm GetKeyWrapAlgorithm () const
 
ContentCryptoScheme GetContentCryptoScheme () const
 
void SetContentEncryptionKey (const Aws::Utils::CryptoBuffer &contentEncryptionKey)
 
void SetEncryptedContentEncryptionKey (const Aws::Utils::CryptoBuffer &encryptedContentEncryptionKey)
 
void SetIV (const Aws::Utils::CryptoBuffer &iv)
 
void SetCryptoTagLength (size_t cryptoTagLength)
 
void AddMaterialsDescription (const Aws::String &key, const Aws::String &value)
 
void SetMaterialsDescription (const Aws::Map< Aws::String, Aws::String > &materialsDescription)
 
void SetKeyWrapAlgorithm (KeyWrapAlgorithm keyWrapAlgorithm)
 
void SetContentCryptoScheme (ContentCryptoScheme contentCryptoScheme)
 
void SetGCMAAD (const Aws::Utils::CryptoBuffer &aad)
 
const Aws::Utils::CryptoBufferGetGCMAAD () const
 
void SetCEKGCMTag (const Aws::Utils::CryptoBuffer &tag)
 
const Aws::Utils::CryptoBufferGetCEKGCMTag () const
 
void SetCekIV (const Aws::Utils::CryptoBuffer &iv)
 
const Aws::Utils::CryptoBufferGetCekIV () const
 
void SetFinalCEK (const Aws::Utils::CryptoBuffer &finalCEK)
 
const Aws::Utils::CryptoBufferGetFinalCEK () const
 

Detailed Description

Definition at line 19 of file ContentCryptoMaterial.h.

Constructor & Destructor Documentation

◆ ContentCryptoMaterial() [1/3]

Aws::Utils::Crypto::ContentCryptoMaterial::ContentCryptoMaterial ( )

◆ ContentCryptoMaterial() [2/3]

Aws::Utils::Crypto::ContentCryptoMaterial::ContentCryptoMaterial ( ContentCryptoScheme  contentCryptoScheme)

◆ ContentCryptoMaterial() [3/3]

Aws::Utils::Crypto::ContentCryptoMaterial::ContentCryptoMaterial ( const Aws::Utils::CryptoBuffer cek,
ContentCryptoScheme  contentCryptoScheme 
)

Member Function Documentation

◆ AddMaterialsDescription()

void Aws::Utils::Crypto::ContentCryptoMaterial::AddMaterialsDescription ( const Aws::String key,
const Aws::String value 
)
inline

Adds to the current materials description map using a key and a value.

Definition at line 137 of file ContentCryptoMaterial.h.

◆ GetCEKGCMTag()

const Aws::Utils::CryptoBuffer& Aws::Utils::Crypto::ContentCryptoMaterial::GetCEKGCMTag ( ) const
inline

Gets the underlying aad for GCM if needed.

Definition at line 191 of file ContentCryptoMaterial.h.

◆ GetCekIV()

const Aws::Utils::CryptoBuffer& Aws::Utils::Crypto::ContentCryptoMaterial::GetCekIV ( ) const
inline

Gets the underlying CEK initialization vector.

Definition at line 206 of file ContentCryptoMaterial.h.

◆ GetContentCryptoScheme()

ContentCryptoScheme Aws::Utils::Crypto::ContentCryptoMaterial::GetContentCryptoScheme ( ) const
inline

Gets the underlying content crypto scheme.

Definition at line 97 of file ContentCryptoMaterial.h.

◆ GetContentEncryptionKey()

const Aws::Utils::CryptoBuffer& Aws::Utils::Crypto::ContentCryptoMaterial::GetContentEncryptionKey ( ) const
inline

Gets the underlying content encryption key.

Definition at line 41 of file ContentCryptoMaterial.h.

◆ GetCryptoTagLength()

size_t Aws::Utils::Crypto::ContentCryptoMaterial::GetCryptoTagLength ( ) const
inline

Gets the underlying crypto tag length

Definition at line 65 of file ContentCryptoMaterial.h.

◆ GetEncryptedContentEncryptionKey()

const Aws::Utils::CryptoBuffer& Aws::Utils::Crypto::ContentCryptoMaterial::GetEncryptedContentEncryptionKey ( ) const
inline

Gets the underlying encrypted content encryption key.

Definition at line 49 of file ContentCryptoMaterial.h.

◆ GetFinalCEK()

const Aws::Utils::CryptoBuffer& Aws::Utils::Crypto::ContentCryptoMaterial::GetFinalCEK ( ) const
inline

Gets the underlying final CEK.

Definition at line 221 of file ContentCryptoMaterial.h.

◆ GetGCMAAD()

const Aws::Utils::CryptoBuffer& Aws::Utils::Crypto::ContentCryptoMaterial::GetGCMAAD ( ) const
inline

Gets the underlying aad for GCM if needed.

Definition at line 176 of file ContentCryptoMaterial.h.

◆ GetIV()

const Aws::Utils::CryptoBuffer& Aws::Utils::Crypto::ContentCryptoMaterial::GetIV ( ) const
inline

Gets the underlying initialization vector

Definition at line 57 of file ContentCryptoMaterial.h.

◆ GetKeyWrapAlgorithm()

KeyWrapAlgorithm Aws::Utils::Crypto::ContentCryptoMaterial::GetKeyWrapAlgorithm ( ) const
inline

Gets the underlying key wrap algorithm

Definition at line 89 of file ContentCryptoMaterial.h.

◆ GetMaterialsDescription() [1/2]

const Aws::Map<Aws::String, Aws::String>& Aws::Utils::Crypto::ContentCryptoMaterial::GetMaterialsDescription ( ) const
inline

Gets the underlying materials description map.

Definition at line 73 of file ContentCryptoMaterial.h.

◆ GetMaterialsDescription() [2/2]

const Aws::String& Aws::Utils::Crypto::ContentCryptoMaterial::GetMaterialsDescription ( const Aws::String key) const
inline

Definition at line 81 of file ContentCryptoMaterial.h.

◆ SetCEKGCMTag()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetCEKGCMTag ( const Aws::Utils::CryptoBuffer tag)
inline

Sets the underlying tag for decrypting CEK if it's GCM encrypted.

Definition at line 184 of file ContentCryptoMaterial.h.

◆ SetCekIV()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetCekIV ( const Aws::Utils::CryptoBuffer iv)
inline

Sets the underlying initialization vector for CEK if it's GCM encrypted.

Definition at line 199 of file ContentCryptoMaterial.h.

◆ SetContentCryptoScheme()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetContentCryptoScheme ( ContentCryptoScheme  contentCryptoScheme)
inline

Sets the underlying content Crypto Scheme. Copies from parameter contentCryptoScheme.

Definition at line 161 of file ContentCryptoMaterial.h.

◆ SetContentEncryptionKey()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetContentEncryptionKey ( const Aws::Utils::CryptoBuffer contentEncryptionKey)
inline

Sets the underlying content encryption key. Copies from parameter content encryption key.

Definition at line 105 of file ContentCryptoMaterial.h.

◆ SetCryptoTagLength()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetCryptoTagLength ( size_t  cryptoTagLength)
inline

Sets the underlying crypto Tag Length. Copies from parameter cryptoTagLength.

Definition at line 129 of file ContentCryptoMaterial.h.

◆ SetEncryptedContentEncryptionKey()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetEncryptedContentEncryptionKey ( const Aws::Utils::CryptoBuffer encryptedContentEncryptionKey)
inline

Sets the underlying encrypted content encryption key. Copies from parameter encrypted content encryption key.

Definition at line 113 of file ContentCryptoMaterial.h.

◆ SetFinalCEK()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetFinalCEK ( const Aws::Utils::CryptoBuffer finalCEK)
inline

Sets the underlying final CEK

Definition at line 214 of file ContentCryptoMaterial.h.

◆ SetGCMAAD()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetGCMAAD ( const Aws::Utils::CryptoBuffer aad)
inline

Sets the underlying AAD for GCM if needed.

Definition at line 169 of file ContentCryptoMaterial.h.

◆ SetIV()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetIV ( const Aws::Utils::CryptoBuffer iv)
inline

Sets the underlying iv. Copies from parameter iv.

Definition at line 121 of file ContentCryptoMaterial.h.

◆ SetKeyWrapAlgorithm()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetKeyWrapAlgorithm ( KeyWrapAlgorithm  keyWrapAlgorithm)
inline

Sets the underlying Key Wrap Algorithm. Copies from parameter keyWrapAlgorithm.

Definition at line 153 of file ContentCryptoMaterial.h.

◆ SetMaterialsDescription()

void Aws::Utils::Crypto::ContentCryptoMaterial::SetMaterialsDescription ( const Aws::Map< Aws::String, Aws::String > &  materialsDescription)
inline

Sets the underlying materials description. Copies from parameter materials description.

Definition at line 145 of file ContentCryptoMaterial.h.


The documentation for this class was generated from the following file: