KeyX Property
Represents the X parameter for the Elgamal algorithm.
Syntax
ANSI (Cross Platform) int GetKeyX(char* &lpKeyX, int &lenKeyX);
int SetKeyX(const char* lpKeyX, int lenKeyX); Unicode (Windows) INT GetKeyX(LPSTR &lpKeyX, INT &lenKeyX);
INT SetKeyX(LPCSTR lpKeyX, INT lenKeyX);
@property (nonatomic,readwrite,assign,getter=keyX,setter=setKeyX:) NSString* keyX; - (NSString*)keyX; - (void)setKeyX:(NSString*)newKeyX;
@property (nonatomic,readwrite,assign,getter=keyXB,setter=setKeyXB:) NSData* keyXB; - (NSData*)keyXB; - (void)setKeyXB:(NSData*)newKeyX;
#define PID_ELGAMAL_KEYX 7 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_Elgamal_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_Elgamal_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Represents the X parameter for the Elgamal algorithm.
Data Type
Binary String