KeyEncoded Property
The key.
Syntax
ANSI (Cross Platform) int GetKeyEncoded(int iKeyIndex, char* &lpKeyEncoded, int &lenKeyEncoded);
int SetKeyEncoded(int iKeyIndex, const char* lpKeyEncoded, int lenKeyEncoded); Unicode (Windows) INT GetKeyEncoded(INT iKeyIndex, LPSTR &lpKeyEncoded, INT &lenKeyEncoded);
INT SetKeyEncoded(INT iKeyIndex, LPCSTR lpKeyEncoded, INT lenKeyEncoded);
- (NSString*)keyEncoded:(int)keyIndex; - (void)setKeyEncoded:(int)keyIndex:(NSString*)newKeyEncoded;
- (NSData*)keyEncodedB:(int)keyIndex; - (void)setKeyEncodedB:(int)keyIndex:(NSData*)newKeyEncoded;
#define PID_OPENPGP_KEYENCODED 10 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_OpenPGP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_OpenPGP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_OpenPGP_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The key. This property is used to assign a specific key. The KeyUserId properties may also be used to specify a key.
The KeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the KeyCount property.
This property is not available at design time.
Data Type
Binary String