KeyForSigning Property
Whether the CMK is for signing or encryption.
Object Oriented Interface
public function getKeyForSigning($keyindex);
Procedural Interface
cloudkeys_amazonkms_get($res, 40 , $keyindex);
Default Value
false
Remarks
Whether the CMK is for signing or encryption.
This property reflects whether the CMK's usage is signing/verification (true) or encryption/decryption (false).
A CMK's usage determines which cryptographic operations it can be used for. For example, a CMK with signing/verification usage can be used for Sign and Verify operations, but not for Encrypt, Decrypt or ReEncrypt operations.
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
Boolean