| BouncyCastleCertificateExtensionsGetKeyUsageFlags Method |
Gets the key usage flags.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public static X509KeyUsageFlags GetKeyUsageFlags(
this X509Certificate certificate
)
Parameters
- certificate X509Certificate
- The certificate.
Return Value
X509KeyUsageFlagsThe key usage flags.
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
The X.509 Key Usage Flags are used to determine which operations a certificate
may be used for.
See Also