|
|
|
@ -776,6 +776,12 @@ namespace cryptoki { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Init& reset() { |
|
|
|
|
check(_fn->C_Finalize(0), CRYPTOKI_FN_LOG("C_Finalize")); |
|
|
|
|
check(_fn->C_Initialize(0), CRYPTOKI_FN_LOG("C_Initialize")); |
|
|
|
|
return *this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*! @name C Like Error Handling
|
|
|
|
|
|
|
|
|
|
You are strongly recommended not to disable exception |
|
|
|
@ -1083,8 +1089,6 @@ namespace cryptoki { |
|
|
|
|
//! Create a new PrivateKey Object.
|
|
|
|
|
Object create(const std::string& label, const openssl::PrivateKey& key, |
|
|
|
|
const openssl::X509& cert); |
|
|
|
|
//! Create a new Certificate and optional PrivateKey Object.
|
|
|
|
|
Object create(const std::string& label, const openssl::PKCS12& p12); |
|
|
|
|
|
|
|
|
|
//@}
|
|
|
|
|
|
|
|
|
|