#include <userver/crypto/certificate.hpp>
Loaded into memory X509 certificate 
Definition at line 20 of file certificate.hpp.
 
◆ NativeType
      
        
          | using crypto::Certificate::NativeType = X509 | 
        
      
 
 
◆ GetNative()
  
  
      
        
          | NativeType * crypto::Certificate::GetNative  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ GetPemString()
      
        
          | std::optional< std::string > crypto::Certificate::GetPemString  | 
          ( | 
           | ) | 
           const | 
        
      
 
Returns a PEM-encoded representation of stored certificate.
- Exceptions
 - 
  
  
 
 
 
◆ LoadFromString()
  
  
      
        
          | static Certificate crypto::Certificate::LoadFromString  | 
          ( | 
          std::string_view |           certificate | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Accepts a string that contains a certificate, checks that it's correct, loads it into OpenSSL structures and returns as a Certificate variable.
- Exceptions
 - 
  
  
 
 
 
◆ operator bool()
  
  
      
        
          | crypto::Certificate::operator bool  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineexplicitnoexcept   | 
  
 
 
The documentation for this class was generated from the following file: