Tests the supplied certificate against a E (email) value

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

Syntax

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

Parameters

cert
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
The certificate to test
name
Type: System..::..String
The E value to test

Return Value

true if the certificate matches by email, false otherwise.

See Also