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

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