KeyKeySpec Property
The key spec of the CMK.
Syntax
ANSI (Cross Platform) char* GetKeyKeySpec(int iKeyIndex); Unicode (Windows) LPWSTR GetKeyKeySpec(INT iKeyIndex);
- (NSString*)keyKeySpec:(int)keyIndex;
#define PID_AMAZONKMS_KEYKEYSPEC 42 CLOUDKEYS_EXTERNAL void* CLOUDKEYS_CALL CloudKeys_AmazonKMS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CLOUDKEYS_EXTERNAL int CLOUDKEYS_CALL CloudKeys_AmazonKMS_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The key spec of the CMK.
This property reflects the key spec of the CMK. For symmetric CMKs, the only possible value is SYMMETRIC_DEFAULT which, according to the Amazon KMS documentation, is based on AES-256-GCM. For asymmetric CMKs, possible values are:
- RSA_2048
- RSA_3072
- RSA_4096
- ECC_NIST_P256 (secp256r1)
- ECC_NIST_P384 (secp384r1)
- ECC_NIST_P521 (secp521r1)
- ECC_SECG_P256K1 (secp256k1)
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 read-only and not available at design time.
Data Type
String