SDFDocInitStdSecurityHandler Method (Byte) |
Initializes document's SecurityHandler. This version of InitSecurityHandler()
works with Standard and Custom PDF security and can be used in situations where
the password is obtained dynamically via user feedback. See EncTest sample for
example code.
This function should be called immediately after an encrypted
document is opened. The function does not have any side effects on
documents that are not encrypted.
If the security handler was successfully initialized it can be later obtained
using GetSecurityHandler() method.
Namespace:
pdftron.SDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public bool InitStdSecurityHandler(
byte[] passwordBuffer
)
Public Function InitStdSecurityHandler (
passwordBuffer As Byte()
) As Boolean
public:
virtual bool InitStdSecurityHandler(
[InAttribute] array<unsigned char>^ passwordBuffer
) sealed
function InitStdSecurityHandler(passwordBuffer);
Parameters
- passwordBuffer
- Type: SystemByte
[Missing <param name="passwordBuffer"/> documentation for "M:pdftron.SDF.SDFDoc.InitStdSecurityHandler(System.Byte[])"]
Return Value
Type:
Boolean
True if the SecurityHandler was successfully initialized (this may include authentication data
collection, verification etc.), false otherwise.
See Also