std::shared_ptr<X509> ca;
std::shared_ptr<EVP_PKEY> caKey;
std::shared_ptr<ASN1_TIME> notBefore;
std::shared_ptr<X509> ca;
std::shared_ptr<EVP_PKEY> caKey;
std::shared_ptr<ASN1_TIME> notBefore;
for( auto it = ca.rbegin(); it != ca.rend(); it++ ) {
if( X509_cmp_current_time( ( *it )->notBefore.get() ) < 0 ) {
for( auto it = ca.rbegin(); it != ca.rend(); it++ ) {
if( X509_cmp_current_time( ( *it )->notBefore.get() ) < 0 ) {
std::shared_ptr<SSL_CTX> generateSSLContext( bool server );
std::shared_ptr<BIO> openSerial( const std::string& name );
std::string timeToString( std::shared_ptr<ASN1_TIME> time );
std::shared_ptr<SSL_CTX> generateSSLContext( bool server );
std::shared_ptr<BIO> openSerial( const std::string& name );
std::string timeToString( std::shared_ptr<ASN1_TIME> time );