45 virtual std::vector<std::string> getAltIdentities()
const = 0;
50 virtual std::vector<SignatureScheme> getSigSchemes()
const = 0;
53 Buf certificateRequestContext =
nullptr)
const = 0;
85 static Buf prepareSignData(
90 const std::vector<folly::ssl::X509UniquePtr>& certs,
91 Buf certificateRequestContext);
94 static std::vector<SignatureScheme> getSigSchemes();
99 static std::unique_ptr<PeerCert> makePeerCert(
Buf certData);
106 static std::unique_ptr<SelfCert> makeSelfCert(
109 const std::vector<std::shared_ptr<CertificateCompressor>>& compressors = {});
115 static std::unique_ptr<SelfCert> makeSelfCert(
119 const std::vector<std::shared_ptr<CertificateCompressor>>& compressors = {});
121 static std::unique_ptr<SelfCert> makeSelfCert(
122 std::vector<folly::ssl::X509UniquePtr> certs,
124 const std::vector<std::shared_ptr<CertificateCompressor>>& compressors = {});
143 std::vector<folly::ssl::X509UniquePtr> certs,
144 const std::vector<std::shared_ptr<fizz::CertificateCompressor>>&
151 std::vector<std::string> getAltIdentities()
const override;
153 std::vector<SignatureScheme> getSigSchemes()
const override;
156 Buf certificateRequestContext =
nullptr)
const override;
170 std::vector<folly::ssl::X509UniquePtr>
certs_;
171 std::map<CertificateCompressionAlgorithm, CompressedCertificate>
std::vector< folly::ssl::X509UniquePtr > certs_
CertificateCompressionAlgorithm
std::unique_ptr< X509, X509Deleter > X509UniquePtr
OpenSSLSignature< T > signature_
folly::ssl::X509UniquePtr cert_
std::map< CertificateCompressionAlgorithm, CompressedCertificate > compressedCerts_
std::unique_ptr< EVP_PKEY, EvpPkeyDeleter > EvpPkeyUniquePtr
std::unique_ptr< folly::IOBuf > Buf
OpenSSLSignature< T > signature_