KeyAlgorithms Property

A comma-separated list of algorithms that the CMK supports.

Syntax

ANSI (Cross Platform)
char* GetKeyAlgorithms(int iKeyIndex);

Unicode (Windows)
LPWSTR GetKeyAlgorithms(INT iKeyIndex);
- (NSString*)keyAlgorithms:(int)keyIndex;
#define PID_AMAZONKMS_KEYALGORITHMS 30

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

A comma-separated list of algorithms that the CMK supports.

This property reflects a comma-separated list of algorithms that the CMK supports.

If KeyForSigning is false, possible values are:

  • SYMMETRIC_DEFAULT
  • RSAES_OAEP_SHA_1
  • RSAES_OAEP_SHA_256

If KeyForSigning is true, possible values are:

  • RSASSA_PSS_SHA_256
  • RSASSA_PSS_SHA_384
  • RSASSA_PSS_SHA_512
  • RSASSA_PKCS1_V1_5_SHA_256
  • RSASSA_PKCS1_V1_5_SHA_384
  • RSASSA_PKCS1_V1_5_SHA_512
  • ECDSA_SHA_256
  • ECDSA_SHA_384
  • ECDSA_SHA_512

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

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