KeyPurpose Property
The key's purpose.
Object Oriented Interface
public function getKeyPurpose($keyindex);
Procedural Interface
cloudkeys_googlekms_get($res, 24 , $keyindex);
Default Value
0
Remarks
The key's purpose.
This property reflects the key's purpose. Possible values are:
- gkpUnspecified (0)
- gkpEncryptDecrypt (1) (indicates the key is symmetric)
- gkpAsymmetricSign (2)
- gkpAsymmetricDecrypt (3)
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
Integer