9#include <botan/p11_x509.h>
11#if defined(BOTAN_HAS_X509_CERTIFICATES)
15X509_CertificateProperties::X509_CertificateProperties(
const std::vector<uint8_t>& subject,
16 const std::vector<uint8_t>& value) :
18 add_binary(AttributeType::Subject, m_subject);
19 add_binary(AttributeType::Value, m_value);
22PKCS11_X509_Certificate::PKCS11_X509_Certificate(Session& session, ObjectHandle handle) :
25PKCS11_X509_Certificate::PKCS11_X509_Certificate(Session& session,
const X509_CertificateProperties& props) :
26 Object(session, props), X509_Certificate(props.value()) {}
std::vector< T > unlock(const secure_vector< T > &in)