Tests if this certificate is a CA cert.

Namespace: NHINDirect.Certificates
Assembly: nhinCommon (in nhinCommon.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static bool IsCertificateAuthority(
	this X509Certificate2 cert
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsCertificateAuthority ( _
	cert As X509Certificate2 _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool IsCertificateAuthority(
	X509Certificate2^ cert
)

Return Value

true if the Basic Constraints for this certificate indicate it is a CA cert, false otherwise

See Also