KeyDataPublicKey Property

The public key.

Syntax

ANSI (Cross Platform)
char* GetKeyDataPublicKey();

Unicode (Windows)
LPWSTR GetKeyDataPublicKey();
@property (nonatomic,readonly,assign,getter=keyDataPublicKey) NSString* keyDataPublicKey;
- (NSString*)keyDataPublicKey;
#define PID_AMAZONKMS_KEYDATAPUBLICKEY 26

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

Default Value

""

Remarks

The public key.

When GetPublicKey is called, this property will reflect the public key of the CMK. When GenerateDataKeyPair is called, this property will reflect the public key of the data key pair. The public key is exposed in PEM format for convenience.

Always empty when GenerateDataKey is called.

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

Data Type

String

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