#include <keyring_encryption_service_definition.h>
 | 
| static mysql_service_status_t  | get_size (size_t input_length, const char *mode, size_t block_size, size_t *out_size) noexcept | 
|   | Retrieve required out buffer length information.  More...
  | 
|   | 
| static mysql_service_status_t  | encrypt (const char *data_id, const char *auth_id, const char *mode, size_t block_size, const unsigned char *iv, int padding, const unsigned char *data_buffer, size_t data_buffer_length, unsigned char *out_buffer, size_t out_buffer_length, size_t *out_length) noexcept | 
|   | Encrypt given piece of plaintext.  More...
  | 
|   | 
| static mysql_service_status_t  | decrypt (const char *data_id, const char *auth_id, const char *mode, size_t block_size, const unsigned char *iv, int padding, const unsigned char *data_buffer, size_t data_buffer_length, unsigned char *out_buffer, size_t out_buffer_length, size_t *out_length) noexcept | 
|   | Decrypt given piece ciphertext.  More...
  | 
|   | 
◆ decrypt()
  
  
      
        
          | mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_aes_service_impl::decrypt  | 
          ( | 
          const char *  | 
          data_id,  | 
         
        
           | 
           | 
          const char *  | 
          auth_id,  | 
         
        
           | 
           | 
          const char *  | 
          mode,  | 
         
        
           | 
           | 
          size_t  | 
          block_size,  | 
         
        
           | 
           | 
          const unsigned char *  | 
          iv,  | 
         
        
           | 
           | 
          int  | 
          padding,  | 
         
        
           | 
           | 
          const unsigned char *  | 
          data_buffer,  | 
         
        
           | 
           | 
          size_t  | 
          data_buffer_length,  | 
         
        
           | 
           | 
          unsigned char *  | 
          out_buffer,  | 
         
        
           | 
           | 
          size_t  | 
          out_buffer_length,  | 
         
        
           | 
           | 
          size_t *  | 
          out_length  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticnoexcept   | 
  
 
Decrypt given piece ciphertext. 
- Parameters
 - 
  
    | [in] | data_id | Name of the key  | 
    | [in] | auth_id | Owner of the key  | 
    | [in] | mode | AES mode  | 
    | [in] | block_size | AES block size information  | 
    | [in] | iv | Initialization vector  | 
    | [in] | padding | padding preference (0 implies no padding)  | 
    | [in] | data_buffer | Input buffer  | 
    | [in] | data_buffer_length | Input buffer length  | 
    | [out] | out_buffer | Output buffer  | 
    | [in] | out_buffer_length | Output buffer length  | 
    | [out] | out_length | Length of decrypted data | 
  
   
- Returns
 - status of the operation 
 
- Return values
 - 
  
  
 
 
 
◆ encrypt()
  
  
      
        
          | mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_aes_service_impl::encrypt  | 
          ( | 
          const char *  | 
          data_id,  | 
         
        
           | 
           | 
          const char *  | 
          auth_id,  | 
         
        
           | 
           | 
          const char *  | 
          mode,  | 
         
        
           | 
           | 
          size_t  | 
          block_size,  | 
         
        
           | 
           | 
          const unsigned char *  | 
          iv,  | 
         
        
           | 
           | 
          int  | 
          padding,  | 
         
        
           | 
           | 
          const unsigned char *  | 
          data_buffer,  | 
         
        
           | 
           | 
          size_t  | 
          data_buffer_length,  | 
         
        
           | 
           | 
          unsigned char *  | 
          out_buffer,  | 
         
        
           | 
           | 
          size_t  | 
          out_buffer_length,  | 
         
        
           | 
           | 
          size_t *  | 
          out_length  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticnoexcept   | 
  
 
Encrypt given piece of plaintext. 
- Parameters
 - 
  
    | [in] | data_id | Name of the key  | 
    | [in] | auth_id | Owner of the key  | 
    | [in] | mode | AES mode  | 
    | [in] | block_size | AES block size information  | 
    | [in] | iv | Initialization vector  | 
    | [in] | padding | padding preference (0 implies no padding)  | 
    | [in] | data_buffer | Input buffer  | 
    | [in] | data_buffer_length | Input buffer length  | 
    | [out] | out_buffer | Output buffer  | 
    | [in] | out_buffer_length | Output buffer length  | 
    | [out] | out_length | Length of encrypted data | 
  
   
- Returns
 - status of the operation 
 
- Return values
 - 
  
  
 
 
 
◆ get_size()
  
  
      
        
          | mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_aes_service_impl::get_size  | 
          ( | 
          size_t  | 
          input_length,  | 
         
        
           | 
           | 
          const char *  | 
          mode,  | 
         
        
           | 
           | 
          size_t  | 
          block_size,  | 
         
        
           | 
           | 
          size_t *  | 
          out_size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticnoexcept   | 
  
 
Retrieve required out buffer length information. 
- Parameters
 - 
  
    | [in] | input_length | Length of input text  | 
    | [in] | mode | AES mode  | 
    | [in] | block_size | AES block size information  | 
    | [out] | out_size | Size of output buffer | 
  
   
- Returns
 - Output buffer length or error 
 
- Return values
 - 
  
    | false | Success  | 
    | true | Error processing given mode and/or block size  | 
  
   
 
 
The documentation for this class was generated from the following files: