This class represents some data used for class FSStdSecurityHandler .
◆ dealloc
◆ getCptr
◆ init
◆ initWithCptr:swigOwnCObject:
- (id) initWithCptr: |
|
(void *) |
cptr |
swigOwnCObject: |
|
(BOOL) |
ownCObject |
|
|
| |
◆ initWithIs_encrypt_metadata:user_permissions:cipher:key_length:
- (id) initWithIs_encrypt_metadata: |
|
(BOOL) |
is_encrypt_metadata |
user_permissions: |
|
(unsigned int) |
user_permissions |
cipher: |
|
(FSSecurityHandlerCipherType) |
cipher |
key_length: |
|
(int) |
key_length |
|
|
| |
◆ initWithOther:
Constructor, with another standard encrypt data object.
- Parameters
-
[in] | other | Another standard encrypt data object.
|
◆ set:user_permissions:cipher:key_length:
- (void) set: |
|
(BOOL) |
is_encrypt_metadata |
user_permissions: |
|
(unsigned int) |
user_permissions |
cipher: |
|
(FSSecurityHandlerCipherType) |
cipher |
key_length: |
|
(int) |
key_length |
|
|
| |
Set value.
- Parameters
-
[in] | is_encrypt_metadata | YES means to encrypt metadata, and NO means not to encrypt metadata.
|
[in] | user_permissions | The user permissions. Please refer to values starting from FSPDFDocPermPrint and this should be one or combination of these values.
|
[in] | cipher | Cipher type. Please refer to values starting from FSSecurityHandlerCipherRC4 and this should be one of these values except FSSecurityHandlerCipherNone.
|
[in] | key_length | The key length, in bytes.
|
- Returns
- None.
◆ swigCMemOwn
◆ swigCPtr
◆ cipher
◆ is_encrypt_metadata
- (BOOL) is_encrypt_metadata |
|
readwritenonatomicassign |
A boolean value to decide whether to encrypt metadata or not. YES means to encrypt metadata, and NO means not to encrypt metadata.
◆ key_length
The key length, in bytes.
◆ user_permissions
- (unsigned int) user_permissions |
|
readwritenonatomicassign |
The user permissions. Please refer to values starting from FSPDFDocPermPrint and this should be one or combination of these values.