EncryptionPassword Property
Specifies the archive encryption password.
Syntax
ANSI (Cross Platform) char* GetEncryptionPassword();
int SetEncryptionPassword(const char* lpszEncryptionPassword); Unicode (Windows) LPWSTR GetEncryptionPassword();
INT SetEncryptionPassword(LPCWSTR lpszEncryptionPassword);
@property (nonatomic,readwrite,assign,getter=encryptionPassword,setter=setEncryptionPassword:) NSString* encryptionPassword; - (NSString*)encryptionPassword; - (void)setEncryptionPassword:(NSString*)newEncryptionPassword;
#define PID_ARCHIVEWRITER_ENCRYPTIONPASSWORD 10 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_ArchiveWriter_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_ArchiveWriter_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Use this property to provide the password to encrypt the archive with. Use it alongside EncryptionTypeand EncryptionAlgorithm properties to set up the whole set of protection settings for the archive.
Data Type
String