GetDSAPublicKey()

DSACertificateExtensions::GetDSAPublicKey(const SharedPtr<X509Certificate2>&) method

Gets DSA public key from the certificate.

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

Arguments

ParameterTypeDescription
certificateconst SharedPtr<X509Certificate2>&The certificate.

Return Value

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

See Also