#include <tls_cipher.h>
 | 
|   | TlsCipher (const EVP_CIPHER *cipher) | 
|   | 
| stdx::expected< size_t, std::error_code >  | encrypt (const uint8_t *src, size_t src_size, uint8_t *dst, const uint8_t *key, size_t key_size, const uint8_t *iv, bool padding=true) const | 
|   | 
| stdx::expected< size_t, std::error_code >  | decrypt (const uint8_t *src, size_t src_size, uint8_t *dst, const uint8_t *key, size_t key_size, const uint8_t *iv, bool padding=true) const | 
|   | 
| size_t  | size (size_t source_length) const | 
|   | 
◆ nid_type
◆ TlsCipher()
  
  
      
        
          | TlsCipher::TlsCipher  | 
          ( | 
          const EVP_CIPHER *  | 
          cipher | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ decrypt()
      
        
          | stdx::expected< size_t, std::error_code > TlsCipher::decrypt  | 
          ( | 
          const uint8_t *  | 
          src,  | 
        
        
           | 
           | 
          size_t  | 
          src_size,  | 
        
        
           | 
           | 
          uint8_t *  | 
          dst,  | 
        
        
           | 
           | 
          const uint8_t *  | 
          key,  | 
        
        
           | 
           | 
          size_t  | 
          key_size,  | 
        
        
           | 
           | 
          const uint8_t *  | 
          iv,  | 
        
        
           | 
           | 
          bool  | 
          padding = true  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ encrypt()
      
        
          | stdx::expected< size_t, std::error_code > TlsCipher::encrypt  | 
          ( | 
          const uint8_t *  | 
          src,  | 
        
        
           | 
           | 
          size_t  | 
          src_size,  | 
        
        
           | 
           | 
          uint8_t *  | 
          dst,  | 
        
        
           | 
           | 
          const uint8_t *  | 
          key,  | 
        
        
           | 
           | 
          size_t  | 
          key_size,  | 
        
        
           | 
           | 
          const uint8_t *  | 
          iv,  | 
        
        
           | 
           | 
          bool  | 
          padding = true  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ size()
      
        
          | size_t TlsCipher::size  | 
          ( | 
          size_t  | 
          source_length | ) | 
           const | 
        
      
 
 
◆ cipher_
  
  
      
        
          | const EVP_CIPHER* TlsCipher::cipher_ | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: