KeyForSigning Property
Whether the CMK is for signing or encryption.
Syntax
bool GetKeyForSigning(int iKeyIndex);
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