24 if (certData->empty()) {
25 throw std::runtime_error(
"empty peer cert");
28 return std::make_unique<JavaCryptoPeerCert>(
std::move(certData));
constexpr detail::Map< Move > move
std::shared_ptr< PeerCert > makePeerCert(Buf certData) const override
std::unique_ptr< folly::IOBuf > Buf
~JavaCryptoFactory() override=default