Click or drag to resize

X509CertificateUtilsFindCertificate Method (X509FindType, StoreLocation, StoreName, String)

Find the specified certificate

Namespace:  SanteDB.DisconnectedClient.Security
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public static X509Certificate2 FindCertificate(
	X509FindType findType,
	StoreLocation storeLocation,
	StoreName storeName,
	string findValue
)

Parameters

findType
Type: System.Security.Cryptography.X509CertificatesX509FindType
Find type.
storeLocation
Type: System.Security.Cryptography.X509CertificatesStoreLocation
Store location.
storeName
Type: System.Security.Cryptography.X509CertificatesStoreName
Store name.
findValue
Type: SystemString
Find value.

Return Value

Type: X509Certificate2
The certificate.
See Also