3 #include <openssl/ssl.h>
8 #include "opensslBIO.h"
12 class RemoteSigner : public Signer {
14 std::shared_ptr<BIO> target;
15 std::shared_ptr<SSL_CTX> ctx;
17 void send( std::shared_ptr<OpensslBIOWrapper> bio, RecordHeader& head, RecordHeader::SignerCommand cmd, std::string data );
19 RemoteSigner( std::shared_ptr<BIO> target, std::shared_ptr<SSL_CTX> ctx );
21 std::shared_ptr<SignedCertificate> sign( std::shared_ptr<TBSCertificate> cert );