CertificateManager.GetPurposes method

Gets the enhanced key usage purposes (EKU) from the specified X509 certificate.

public static IEnumerable<string> GetPurposes(X509Certificate2 cert)
parameter description
cert The X509Certificate2 to extract purposes from.

Return Value

An enumerable of purpose names or OID values.

See Also