GetRSAPublicKey()
RSACertificateExtensions::GetRSAPublicKey(const SharedPtr<X509Certificate2>&) method
Gets RSA public key from the certificate.
static SharedPtr<RSA> System::Security::Cryptography::X509Certificates::RSACertificateExtensions::GetRSAPublicKey(const SharedPtr<X509Certificate2> &certificate)
Arguments
| Parameter | Type | Description |
|---|---|---|
| certificate | const SharedPtr<X509Certificate2>& | The certificate. |
Return Value
RSA public key or nullptr if the certificate doesn’t have RSA public key.
See Also
- Typedef SharedPtr
- Class RSA
- Class X509Certificate2
- Class RSACertificateExtensions
- Namespace System::Security::Cryptography::X509Certificates
- Library Aspose.Slides