|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| enabled | xsd:boolean |
Indicate if the encryption feature is enabled.
|
Methods
| Methods defined in this Managed Object |
|---|
| AddKey, AddKeys, ListKeys, RemoveKey, RemoveKeys |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CryptoManager used to make the method call. |
| key P | CryptoKeyPlain |
[in] The cryptographic key to add.
Since vSphere API 6.5 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| AlreadyExists | in case the key is already in the key cache |
| InvalidState | in case the host is not Crypto Safe |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CryptoManager used to make the method call. |
| keys* P | CryptoKeyPlain[] |
[in] List of cryptographic keys to add.
Since vSphere API 6.5 |
Return Value
| Type | Description |
|---|---|
| CryptoKeyResult[] | The result for each key operation. |
Faults
| Type | Description |
|---|---|
| InvalidState | in case the host is not Crypto Safe |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CryptoManager used to make the method call. |
| limit* P | xsd:int |
[in] maximum keys to return.
Since vSphere API 6.5 |
Return Value
| Type | Description |
|---|---|
| CryptoKeyId[] | List of known keys. |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CryptoManager used to make the method call. |
| key P | CryptoKeyId |
[in] The key to remove.
Since vSphere API 6.5 |
| force P | xsd:boolean |
[in] Remove the key even if in use or not existent.
Since vSphere API 6.5 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| ResourceInUse | Thrown if the key is used to encrypt any object and "force" is false. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CryptoManager used to make the method call. |
| keys* P | CryptoKeyId[] |
[in] List of keys to remove.
Since vSphere API 6.5 |
| force P | xsd:boolean |
[in] Remove the key even if in use. Always successful.
Since vSphere API 6.5 |
Return Value
| Type | Description |
|---|---|
| CryptoKeyResult[] |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |