KeyKeySpec Property

The key spec of the CMK.

Object Oriented Interface

public function getKeyKeySpec($keyindex);

Procedural Interface

cloudkeys_amazonkms_get($res, 42 , $keyindex);

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

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