System::Security::Cryptography::X509Certificates::X509Certificate2::set_PrivateKey method
X509Certificate2::set_PrivateKey method
Sets or clears private key associated with certificate.
void System::Security::Cryptography::X509Certificates::X509Certificate2::set_PrivateKey(const SharedPtr<AsymmetricAlgorithm> &value)
Parameter | Type | Description |
---|---|---|
value | const SharedPtr<AsymmetricAlgorithm>& | Private key object (or nullptr to unset). |
See Also
- Typedef SharedPtr
- Class AsymmetricAlgorithm
- Class X509Certificate2
- Namespace System::Security::Cryptography::X509Certificates
- Library Aspose.PDF for C++