System::Security::Cryptography::X509Certificates::RSACertificateExtensions::GetRSAPrivateKey method
RSACertificateExtensions::GetRSAPrivateKey method
Gets RSA private key from the certificate.
static SharedPtr<RSA> System::Security::Cryptography::X509Certificates::RSACertificateExtensions::GetRSAPrivateKey(const SharedPtr<X509Certificate2> &certificate)
| Parameter | Type | Description |
|---|---|---|
| certificate | const SharedPtr<X509Certificate2>& | The certificate. |
ReturnValue
RSA private key or nullptr if the certificate doesn’t have RSA private key.
See Also
- Typedef SharedPtr
- Class RSA
- Class X509Certificate2
- Class RSACertificateExtensions
- Namespace System::Security::Cryptography::X509Certificates
- Library Aspose.TeX for C++