Class PdfDocumentSecureStore
This class represents the secure store for a PDF document, providing access to document security details.
Inheritance
System.Object
PdfDocumentSecureStore
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Pdf.Security
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class PdfDocumentSecureStore
Properties
Certificates
Retrieves an array of X509Certificate2 objects that represent the certificates stored within the document's secure store (DSS).
Declaration
public X509Certificate2[] Certificates { get; }
Property Value
Type |
---|
System.Security.Cryptography.X509Certificates.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);