System::Security::Cryptography::X509Certificates::DSACertificateExtensions::GetDSAPublicKey method

DSACertificateExtensions::GetDSAPublicKey method

Gets DSA public key from the certificate.

static SharedPtr<DSA> System::Security::Cryptography::X509Certificates::DSACertificateExtensions::GetDSAPublicKey(const SharedPtr<X509Certificate2> &certificate)
ParameterTypeDescription
certificateconst SharedPtr<X509Certificate2>&The certificate.

ReturnValue

DSA public key or nullptr if the certificate doesn’t have DSA public key.

See Also