Click or drag to resize
Pdf Library for .NET

PdfDigitalCertificatesCollectionGetCertBySubject Method

Searches for a certificate with a specified subject name.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public PdfDigitalCertificate GetCertBySubject(
	string subjectName
)

Parameters

subjectName
Type: SystemString
Subject name.

Return Value

Type: PdfDigitalCertificate
The certificate with the specified subject name or null if no certificate was found.
See Also