 | BouncyCastleCertificateExtensionsGetPublicKeyAlgorithm Method |
Gets the public key algorithm for the certificate.
Namespace:
MimeKit.Cryptography
Assembly:
MimeKit (in MimeKit.dll) Version: 3.0.0
Syntaxpublic static PublicKeyAlgorithm GetPublicKeyAlgorithm(
this X509Certificate certificate
)
Parameters
- certificate
- Type: X509Certificate
The certificate.
Return Value
Type:
PublicKeyAlgorithmThe public key algorithm.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
X509Certificate. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
Remarks
Gets the public key algorithm for the ceretificate.
See Also