Passphrase Property
The encryption password.
Syntax
ANSI (Cross Platform) char* GetPassphrase();
int SetPassphrase(const char* lpszPassphrase); Unicode (Windows) LPWSTR GetPassphrase();
INT SetPassphrase(LPCWSTR lpszPassphrase);
@property (nonatomic,readwrite,assign,getter=passphrase,setter=setPassphrase:) NSString* passphrase; - (NSString*)passphrase; - (void)setPassphrase:(NSString*)newPassphrase;
#define PID_PGPWRITER_PASSPHRASE 25 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PGPWriter_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PGPWriter_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Use this property to provide the encryption password. If an encryption password is used, no key will be needed to decrypt the data.
Data Type
String