KeyDataPlaintextKey Property
The plaintext key or private key data.
Syntax
ANSI (Cross Platform) int GetKeyDataPlaintextKey(char* &lpKeyDataPlaintextKey, int &lenKeyDataPlaintextKey); Unicode (Windows) INT GetKeyDataPlaintextKey(LPSTR &lpKeyDataPlaintextKey, INT &lenKeyDataPlaintextKey);
@property (nonatomic,readonly,assign,getter=keyDataPlaintextKey) NSString* keyDataPlaintextKey; - (NSString*)keyDataPlaintextKey;
@property (nonatomic,readonly,assign,getter=keyDataPlaintextKeyB) NSData* keyDataPlaintextKeyB; - (NSData*)keyDataPlaintextKeyB;
#define PID_AMAZONKMS_KEYDATAPLAINTEXTKEY 25 CLOUDKEYS_EXTERNAL void* CLOUDKEYS_CALL CloudKeys_AmazonKMS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
""
Remarks
The plaintext key or private key data.
If, when GenerateDataKey or GenerateDataKeyPair is called, the IncludePlaintext parameter was true, this property will reflect the plaintext data key or private key of the data key pair (respectively) that was downloaded. Otherwise, it will be empty.
In the case of GenerateDataKeyPair, this property exposes the private key in PEM format for convenience.
Always empty when GetPublicKey is called.
This property is read-only and not available at design time.
Data Type
Binary String