Table of Contents

Class PdfDocumentSecureStore

Namespace
Syncfusion.Pdf.Security
Assembly
Syncfusion.Pdf.Portable.dll

This class represents the secure store for a PDF document, providing access to document security details.

public class PdfDocumentSecureStore
Inheritance
PdfDocumentSecureStore
Inherited Members

Properties

Certificates

Retrieves an array of X509Certificate2 objects that represent the certificates stored within the document's secure store (DSS).

public X509Certificate2[] Certificates { get; }

Property Value

X509Certificate2[]

Examples

//Load the existing PDF document.
PdfLoadedDocument ldoc = new PdfLoadedDocument(fileStream);
//Get the document secure store.
PdfDocumentSecureStore dss = ldoc.DocumentSecureStore;
//Get the certificates from document secure store.
X509Certificate2[] certificates = dss.Certificates;
//Close the document
document.Close(true);