X509.KeyUsageFlags Method
Returns a bitfield containing the keyUsage flags.
Syntax
[C#]
public static int KeyUsageFlags(
string certFile
)
[VB.NET]
Public Shared Function KeyUsageFlags ( _
certFile As String _
) As Integer
Parameters
- certFile
- Filename of certificate file (or its base64 representation)
Return Value
If successful, it returns a positive integer containing the
keyUsage flags; or 0 if no
keyUsage flags are set; otherwise it returns a negative
error code
Remarks
See X509.KeyUsageOptions.
See Also
VB6/C equivalent: X509_KeyUsageFlags
[Contents] [Index]