barbican  12.0.0
About: OpenStack Barbican is the OpenStack Key Manager service. It provides secure storage, provisioning and management of secret data.
The "Wallaby" series (latest release).
  Fossies Dox: barbican-12.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

barbican.plugin.crypto.base.ResponseDTO Class Reference
Inheritance diagram for barbican.plugin.crypto.base.ResponseDTO:
[legend]
Collaboration diagram for barbican.plugin.crypto.base.ResponseDTO:
[legend]

Public Member Functions

def __init__ (self, cypher_text, kek_meta_extended=None)
 

Public Attributes

 cypher_text
 
 kek_meta_extended
 

Detailed Description

Data transfer object for secret generation response.

Barbican guarantees that both the ``cypher_text`` and
``kek_metadata_extended`` will be persisted and then given back to
the plugin when requesting a decryption operation.

``kek_metadata_extended`` takes the idea of Key Encryption Key
(KEK) metadata further by giving plugins the option to store
secret-level KEK metadata.  One example of using secret-level KEK
metadata would be plugins that want to use a unique KEK for every
secret that is encrypted.  Such a plugin could use
``kek_metadata_extended`` to store the Key ID for the KEK used to
encrypt this particular secret.

:param cypher_text: Byte data resulting from the encryption of the
    secret data.
:param kek_meta_extended: Optional String object to be persisted alongside
    the cyphertext.

Definition at line 175 of file base.py.

Constructor & Destructor Documentation

◆ __init__()

def barbican.plugin.crypto.base.ResponseDTO.__init__ (   self,
  cypher_text,
  kek_meta_extended = None 
)

Definition at line 195 of file base.py.

Member Data Documentation

◆ cypher_text

barbican.plugin.crypto.base.ResponseDTO.cypher_text

Definition at line 196 of file base.py.

◆ kek_meta_extended

barbican.plugin.crypto.base.ResponseDTO.kek_meta_extended

Definition at line 197 of file base.py.


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