PdfDocumentSignerGetInfo Method (Stream, SecureString, SecureString) |
Gets the signature information for a PDF document.
Namespace:
Atalasoft.PdfDoc.DigitalSignatures
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static PdfDocumentSignatureInformation GetInfo(
Stream stream,
SecureString userPassword,
SecureString ownerPassword
)
Public Shared Function GetInfo (
stream As Stream,
userPassword As SecureString,
ownerPassword As SecureString
) As PdfDocumentSignatureInformation
Parameters
- stream
- Type: System.IOStream
The stream that contains a PDF file. - userPassword
- Type: System.SecuritySecureString
The user password to use for this document. This parameter may be null.
- ownerPassword
- Type: System.SecuritySecureString
The owner password to use for this document. This parameter may be null.
Return Value
Type:
PdfDocumentSignatureInformationExceptions Exception | Condition |
---|
ArgumentNullException | stream |
IncorrectPasswordException |
If the password is incorrect or cannot be verified, the constructor will
throw a IncorrectPasswordException.
|
See Also