Click or drag to resize

PdfSecurityManager Methods

The PdfSecurityManager type exposes the following members.

Methods
 NameDescription
Public methodAddSignatureField(Byte, String, Int32, RectangleF) Adds an empty signature field to a PDF document given as an array of bytes, to be signed later with the Sign methods: a Sign call with the same signature name signs this field, at its position.
Public methodAddSignatureField(String, String, String, Int32, RectangleF) Adds an empty signature field to a PDF document, to be signed later with the Sign methods: a Sign call with the same signature name signs this field, at its position. Add the fields of the later signers before certifying a document: a certification allows signing the existing fields, not adding new ones.
Public methodGetSecuredPdfBytes(Byte) Apply the security settings to the source PDF document and return the PDF document with security options applied
Public methodGetSecuredPdfBytes(String) Apply the security settings to the source PDF document and return the PDF document with security options applied
Public methodGetSecurityInfo(Byte) Gets the security settings of a PDF document given as an array of bytes, without changing it.
Public methodGetSecurityInfo(String) Gets the security settings of a PDF document without changing it: encryption algorithm, key size and revision, the permissions, whether a user or owner password is needed, and its signatures.
Public methodGetSecurityInfo(Byte, String) Gets the security settings of a password protected PDF document given as an array of bytes, without changing it.
Public methodGetSecurityInfo(Stream, String) Gets the security settings of a PDF document read from a stream, without changing it.
Public methodGetSecurityInfo(String, String) Gets the security settings of a password protected PDF document without changing it: encryption algorithm, key size and revision, the permissions, whether a user or owner password is needed, and its signatures.
Public methodGetUnSecuredPdfBytes(Byte, String) Remove all the security settings from source PDF document and return the PDF document with security options removed
Public methodGetUnSecuredPdfBytes(String, String) Remove all the security settings from source PDF document and return the PDF document with security options removed
Public methodSaveSecuredPdfToFile(Byte, String) Apply the security settings to the source PDF document and saves the PDF document in the specified destination file
Public methodSaveSecuredPdfToFile(String, String) Apply the security settings to the source PDF document and saves the PDF document in the specified destination file
Public methodSaveUnSecuredPdfToFile(Byte, String, String) Remove all the security settings from source PDF document and return the PDF document with security options removed
Public methodSaveUnSecuredPdfToFile(String, String, String) Remove all the security settings from source PDF document and return the PDF document with security options removed
Public methodSign(Byte, String, String, String, String, String, String, Int32, RectangleF, TimeStampAuthority) Sign the pdf document given as an array of bytes with the specified certificate.
Public methodSign(Stream, Stream, String, String, String, String, String, String, Int32, RectangleF, TimeStampAuthority) Sign the pdf document read from a stream with the specified certificate and write the signed document to another stream.
Public methodSign(String, String, String, String, String, String, String, String, Int32, RectangleF, TimeStampAuthority) Sign the pdf document with the specified certificate.
Public methodValidateSignatures(Byte) Checks the signatures of a PDF document given as an array of bytes.
Public methodValidateSignatures(String) Checks the signatures of a PDF document: for each signature the signer, the signing time, whether the document was changed after signing, the validity and trust of the signing certificate, the time stamp and the overall status. The revocation status is not checked online (see ValidateSignatures(String, SignatureValidationOptions)).
Public methodValidateSignatures(Byte, SignatureValidationOptions) Checks the signatures of a PDF document given as an array of bytes, with the specified options.
Public methodValidateSignatures(Stream, SignatureValidationOptions) Checks the signatures of a PDF document read from a stream, with the specified options.
Public methodValidateSignatures(String, SignatureValidationOptions) Checks the signatures of a PDF document with the specified options (online revocation check, additional trusted root certificates).
Top
See Also