proxygen
OpenSSLPtrTypes.h File Reference
#include <glog/logging.h>
#include <folly/Memory.h>
#include <folly/portability/OpenSSL.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::ssl
 

Macros

#define DEFINE_SSL_PTR_TYPE(alias, object, deleter)
 

Typedefs

using folly::ssl::ASN1TimeDeleter = folly::static_function_deleter< ASN1_TIME,&ASN1_TIME_free >
 
using folly::ssl::ASN1TimeUniquePtr = std::unique_ptr< ASN1_TIME, ASN1TimeDeleter >
 
using folly::ssl::ASN1Ia5StrDeleter = folly::static_function_deleter< ASN1_IA5STRING,&ASN1_IA5STRING_free >
 
using folly::ssl::ASN1Ia5StrUniquePtr = std::unique_ptr< ASN1_IA5STRING, ASN1Ia5StrDeleter >
 
using folly::ssl::ASN1IntDeleter = folly::static_function_deleter< ASN1_INTEGER,&ASN1_INTEGER_free >
 
using folly::ssl::ASN1IntUniquePtr = std::unique_ptr< ASN1_INTEGER, ASN1IntDeleter >
 
using folly::ssl::ASN1ObjDeleter = folly::static_function_deleter< ASN1_OBJECT,&ASN1_OBJECT_free >
 
using folly::ssl::ASN1ObjUniquePtr = std::unique_ptr< ASN1_OBJECT, ASN1ObjDeleter >
 
using folly::ssl::ASN1StrDeleter = folly::static_function_deleter< ASN1_STRING,&ASN1_STRING_free >
 
using folly::ssl::ASN1StrUniquePtr = std::unique_ptr< ASN1_STRING, ASN1StrDeleter >
 
using folly::ssl::ASN1TypeDeleter = folly::static_function_deleter< ASN1_TYPE,&ASN1_TYPE_free >
 
using folly::ssl::ASN1TypeUniquePtr = std::unique_ptr< ASN1_TYPE, ASN1TypeDeleter >
 
using folly::ssl::ASN1UTF8StrDeleter = folly::static_function_deleter< ASN1_UTF8STRING,&ASN1_UTF8STRING_free >
 
using folly::ssl::ASN1UTF8StrUniquePtr = std::unique_ptr< ASN1_UTF8STRING, ASN1UTF8StrDeleter >
 
using folly::ssl::X509Deleter = folly::static_function_deleter< X509,&X509_free >
 
using folly::ssl::X509UniquePtr = std::unique_ptr< X509, X509Deleter >
 
using folly::ssl::X509ExtensionDeleter = folly::static_function_deleter< X509_EXTENSION,&X509_EXTENSION_free >
 
using folly::ssl::X509ExtensionUniquePtr = std::unique_ptr< X509_EXTENSION, X509ExtensionDeleter >
 
using folly::ssl::X509StoreDeleter = folly::static_function_deleter< X509_STORE,&X509_STORE_free >
 
using folly::ssl::X509StoreUniquePtr = std::unique_ptr< X509_STORE, X509StoreDeleter >
 
using folly::ssl::X509StoreCtxDeleter = folly::static_function_deleter< X509_STORE_CTX,&X509_STORE_CTX_free >
 
using folly::ssl::X509StoreCtxUniquePtr = std::unique_ptr< X509_STORE_CTX, X509StoreCtxDeleter >
 
using folly::ssl::X509VerifyParamDeleter = folly::static_function_deleter< X509_VERIFY_PARAM,&X509_VERIFY_PARAM_free >
 
using folly::ssl::X509VerifyParam = std::unique_ptr< X509_VERIFY_PARAM, X509VerifyParamDeleter >
 
using folly::ssl::GeneralNameDeleter = folly::static_function_deleter< GENERAL_NAME,&GENERAL_NAME_free >
 
using folly::ssl::GeneralNameUniquePtr = std::unique_ptr< GENERAL_NAME, GeneralNameDeleter >
 
using folly::ssl::GeneralNamesDeleter = folly::static_function_deleter< GENERAL_NAMES,&GENERAL_NAMES_free >
 
using folly::ssl::GeneralNamesUniquePtr = std::unique_ptr< GENERAL_NAMES, GeneralNamesDeleter >
 
using folly::ssl::AccessDescriptionDeleter = folly::static_function_deleter< ACCESS_DESCRIPTION,&ACCESS_DESCRIPTION_free >
 
using folly::ssl::AccessDescriptionUniquePtr = std::unique_ptr< ACCESS_DESCRIPTION, AccessDescriptionDeleter >
 
using folly::ssl::AuthorityInfoAccessDeleter = folly::static_function_deleter< AUTHORITY_INFO_ACCESS,&AUTHORITY_INFO_ACCESS_free >
 
using folly::ssl::AuthorityInfoAccessUniquePtr = std::unique_ptr< AUTHORITY_INFO_ACCESS, AuthorityInfoAccessDeleter >
 
using folly::ssl::DistPointNameDeleter = folly::static_function_deleter< DIST_POINT_NAME,&DIST_POINT_NAME_free >
 
using folly::ssl::DistPointNameUniquePtr = std::unique_ptr< DIST_POINT_NAME, DistPointNameDeleter >
 
using folly::ssl::DistPointDeleter = folly::static_function_deleter< DIST_POINT,&DIST_POINT_free >
 
using folly::ssl::DistPointUniquePtr = std::unique_ptr< DIST_POINT, DistPointDeleter >
 
using folly::ssl::CrlDistPointsDeleter = folly::static_function_deleter< CRL_DIST_POINTS,&CRL_DIST_POINTS_free >
 
using folly::ssl::CrlDistPointsUniquePtr = std::unique_ptr< CRL_DIST_POINTS, CrlDistPointsDeleter >
 
using folly::ssl::X509CrlDeleter = folly::static_function_deleter< X509_CRL,&X509_CRL_free >
 
using folly::ssl::X509CrlUniquePtr = std::unique_ptr< X509_CRL, X509CrlDeleter >
 
using folly::ssl::X509NameDeleter = folly::static_function_deleter< X509_NAME,&X509_NAME_free >
 
using folly::ssl::X509NameUniquePtr = std::unique_ptr< X509_NAME, X509NameDeleter >
 
using folly::ssl::X509ReqDeleter = folly::static_function_deleter< X509_REQ,&X509_REQ_free >
 
using folly::ssl::X509ReqUniquePtr = std::unique_ptr< X509_REQ, X509ReqDeleter >
 
using folly::ssl::X509RevokedDeleter = folly::static_function_deleter< X509_REVOKED,&X509_REVOKED_free >
 
using folly::ssl::X509RevokedUniquePtr = std::unique_ptr< X509_REVOKED, X509RevokedDeleter >
 
using folly::ssl::EvpPkeyDeleter = folly::static_function_deleter< EVP_PKEY,&EVP_PKEY_free >
 
using folly::ssl::EvpPkeyUniquePtr = std::unique_ptr< EVP_PKEY, EvpPkeyDeleter >
 
using folly::ssl::EvpPkeySharedPtr = std::shared_ptr< EVP_PKEY >
 
using folly::ssl::EvpMdCtxDeleter = folly::static_function_deleter< EVP_MD_CTX,&EVP_MD_CTX_free >
 
using folly::ssl::EvpMdCtxUniquePtr = std::unique_ptr< EVP_MD_CTX, EvpMdCtxDeleter >
 
using folly::ssl::EvpCipherCtxDeleter = folly::static_function_deleter< EVP_CIPHER_CTX,&EVP_CIPHER_CTX_free >
 
using folly::ssl::EvpCipherCtxUniquePtr = std::unique_ptr< EVP_CIPHER_CTX, EvpCipherCtxDeleter >
 
using folly::ssl::HmacCtxDeleter = folly::static_function_deleter< HMAC_CTX,&HMAC_CTX_free >
 
using folly::ssl::HmacCtxUniquePtr = std::unique_ptr< HMAC_CTX, HmacCtxDeleter >
 
using folly::ssl::BioMethodDeleter = folly::static_function_deleter< BIO_METHOD,&BIO_meth_free >
 
using folly::ssl::BioMethodUniquePtr = std::unique_ptr< BIO_METHOD, BioMethodDeleter >
 
using folly::ssl::BioDeleter = folly::static_function_deleter< BIO,&BIO_vfree >
 
using folly::ssl::BioUniquePtr = std::unique_ptr< BIO, BioDeleter >
 
using folly::ssl::BioChainDeleter = folly::static_function_deleter< BIO,&BIO_free_all >
 
using folly::ssl::BioChainUniquePtr = std::unique_ptr< BIO, BioChainDeleter >
 
using folly::ssl::BioDeleterFb = folly::static_function_deleter< BIO,&BIO_free_fb >
 
using folly::ssl::BioUniquePtrFb = std::unique_ptr< BIO, BioDeleterFb >
 
using folly::ssl::RsaDeleter = folly::static_function_deleter< RSA,&RSA_free >
 
using folly::ssl::RsaUniquePtr = std::unique_ptr< RSA, RsaDeleter >
 
using folly::ssl::EcKeyDeleter = folly::static_function_deleter< EC_KEY,&EC_KEY_free >
 
using folly::ssl::EcKeyUniquePtr = std::unique_ptr< EC_KEY, EcKeyDeleter >
 
using folly::ssl::EcGroupDeleter = folly::static_function_deleter< EC_GROUP,&EC_GROUP_free >
 
using folly::ssl::EcGroupUniquePtr = std::unique_ptr< EC_GROUP, EcGroupDeleter >
 
using folly::ssl::EcPointDeleter = folly::static_function_deleter< EC_POINT,&EC_POINT_free >
 
using folly::ssl::EcPointUniquePtr = std::unique_ptr< EC_POINT, EcPointDeleter >
 
using folly::ssl::EcdsaSigDeleter = folly::static_function_deleter< ECDSA_SIG,&ECDSA_SIG_free >
 
using folly::ssl::EcdsaSigUniquePtr = std::unique_ptr< ECDSA_SIG, EcdsaSigDeleter >
 
using folly::ssl::BIGNUMDeleter = folly::static_function_deleter< BIGNUM,&BN_clear_free >
 
using folly::ssl::BIGNUMUniquePtr = std::unique_ptr< BIGNUM, BIGNUMDeleter >
 
using folly::ssl::BNCtxDeleter = folly::static_function_deleter< BN_CTX,&BN_CTX_free >
 
using folly::ssl::BNCtxUniquePtr = std::unique_ptr< BN_CTX, BNCtxDeleter >
 
using folly::ssl::SSLDeleter = folly::static_function_deleter< SSL,&SSL_free >
 
using folly::ssl::SSLUniquePtr = std::unique_ptr< SSL, SSLDeleter >
 
using folly::ssl::SSLSessionDeleter = folly::static_function_deleter< SSL_SESSION,&SSL_SESSION_free >
 
using folly::ssl::SSLSessionUniquePtr = std::unique_ptr< SSL_SESSION, SSLSessionDeleter >
 

Functions

void folly::ssl::BIO_free_fb (BIO *bio)
 

Macro Definition Documentation

#define DEFINE_SSL_PTR_TYPE (   alias,
  object,
  deleter 
)
Value:
using alias##UniquePtr = std::unique_ptr<object, alias##Deleter>

Definition at line 30 of file OpenSSLPtrTypes.h.