Finds a certificate corresponding to the specified subject identifier.

Namespace:  Rebex.Security.Cryptography.Pkcs
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Function Find ( _
	subjectIdentifier As SubjectIdentifier, _
	additionalStore As CertificateStore _
) As CertificateChain
C#
CertificateChain Find(
	SubjectIdentifier subjectIdentifier,
	CertificateStore additionalStore
)

Parameters

subjectIdentifier
Type: Rebex.Security.Cryptography.Pkcs..::..SubjectIdentifier
Identifier of the subject certificate.
additionalStore
Type: Rebex.Security.Certificates..::..CertificateStore
A certificate store containing the certificates that were included with the message.

Return Value

Certificate chain if found, or null (Nothing in Visual Basic).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also