CryptoSys PKI Pro Manual

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]

[PREV: X509.HashIssuerAndSN Method...]   [Contents]   [Index]   
   [NEXT: X509.MakeCert Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.