X509.KeyUsageFlags Method
Returns a bitfield containing the keyUsage flags.
Syntax
[C#]
public static int KeyUsageFlags(
string certFile
)
[VB]
Public Shared Function KeyUsageFlags (
certFile As String
) As Integer
Parameters
- certFile String
- Filename of certificate file (or its base64 representation)
Return Value
Int32If 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 Also
VB6/C equivalent: X509_KeyUsageFlags
[Contents] [Index]