Returns a bitfield containing the keyUsage flags.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static int KeyUsageFlags(
string certFile
)
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