SecurityHandler Constructor (Int32, Int32) |
Create a standard security handler
Namespace:
pdftron.SDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public SecurityHandler(
int key_len,
int enc_code
)
Public Sub New (
key_len As Integer,
enc_code As Integer
)
public:
SecurityHandler(
[InAttribute] int key_len,
[InAttribute] int enc_code
)
pdftron.SDF.SecurityHandler = function(key_len, enc_code);
Parameters
- key_len
- Type: SystemInt32
The bit length of the encryption key (40 or 128 bit). - enc_code
- Type: SystemInt32
The encryption algorithm identifier. The number corresponds to the V entry in encryption dictionary. Currently allowed values are(see Table 3.18 in PDF Reference Manual v1.6 for more details):
- Encryption using 40-bit RC4 algorithm.
- Encryption using 128-bit RC4 algorithm. Available in PDF 1.4 and above.
- This algorithm was deprecated by PDF standard and is not supported.
- Encryption using Crypt filters and 128-bit AES(Advanced Encryption Standard) algorithm. Available in PDF 1.6 and above.
See Also