Mentalis.org Security Library documentation

Certificate.GetIntendedKeyUsage Method 

Returns a list of intended key usages of the X.509v3 certificate.

[Visual Basic]
Public Function GetIntendedKeyUsage() As Integer
[C#]
public int GetIntendedKeyUsage();

Return Value

An integer that contains a list of intended key usages.

Remarks

Use the bitwise And operator to check whether a specific key usage is set.

See Also

Certificate Class | Certificate Members | Org.Mentalis.Security.Certificates Namespace