KeyK Property
Represent the private key (K) parameter.
Syntax
ANSI (Cross Platform) int GetKeyK(char* &lpKeyK, int &lenKeyK);
int SetKeyK(const char* lpKeyK, int lenKeyK); Unicode (Windows) INT GetKeyK(LPSTR &lpKeyK, INT &lenKeyK);
INT SetKeyK(LPCSTR lpKeyK, INT lenKeyK);
@property (nonatomic,readwrite,assign,getter=keyK,setter=setKeyK:) NSString* keyK; - (NSString*)keyK; - (void)setKeyK:(NSString*)newKeyK;
@property (nonatomic,readwrite,assign,getter=keyKB,setter=setKeyKB:) NSData* keyKB; - (NSData*)keyKB; - (void)setKeyKB:(NSData*)newKeyK;
#define PID_ECC_KEYK 14 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_ECC_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_ECC_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Represent the private key (K) parameter.
Note: This value is only applicable when using a NIST curve.
Data Type
Binary String