KeyDataEncryptedKey Property

The encrypted key or private key data.

Syntax

ANSI (Cross Platform)
int GetKeyDataEncryptedKey(char* &lpKeyDataEncryptedKey, int &lenKeyDataEncryptedKey);

Unicode (Windows)
INT GetKeyDataEncryptedKey(LPSTR &lpKeyDataEncryptedKey, INT &lenKeyDataEncryptedKey);
@property (nonatomic,readonly,assign,getter=keyDataEncryptedKey) NSString* keyDataEncryptedKey;
- (NSString*)keyDataEncryptedKey;

@property (nonatomic,readonly,assign,getter=keyDataEncryptedKeyB) NSData* keyDataEncryptedKeyB; - (NSData*)keyDataEncryptedKeyB;
#define PID_AMAZONKMS_KEYDATAENCRYPTEDKEY 22

CLOUDKEYS_EXTERNAL void* CLOUDKEYS_CALL CloudKeys_AmazonKMS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

""

Remarks

The encrypted key or private key data.

When GenerateDataKey is called, this property reflects the encrypted data key that was downloaded. When GenerateDataKeyPair is called, this property reflects the encrypted private key of the data key pair that was downloaded.

In the case of GenerateDataKeyPair, note that the actual private key data will be in DER format upon decryption. It is up to the application to convert it to another format after decryption if necessary.

Always empty when GetPublicKey is called.

This property is read-only and not available at design time.

Data Type

Binary String

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Keys 2020 C++ Edition - Version 20.0 [Build 8157]