IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

KeyPassword Property

The key password used in the PBES algorithm.

Syntax

ANSI (Cross Platform)
char* GetKeyPassword();
int SetKeyPassword(const char* lpszKeyPassword); Unicode (Windows) LPWSTR GetKeyPassword();
INT SetKeyPassword(LPCWSTR lpszKeyPassword);
@property (nonatomic,readwrite,assign,getter=keyPassword,setter=setKeyPassword:) NSString* keyPassword;
- (NSString*)keyPassword;
- (void)setKeyPassword:(NSString*)newKeyPassword;
#define PID_JWE_KEYPASSWORD 16

IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_JWE_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_JWE_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property specifies the key password used to derive a key when using a PBES EncryptionAlgorithm.

This is only applicable to PBES algorithms and must be set before calling Encrypt or Decrypt.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 C++ Edition - Version 20.0 [Build 8155]