# Enum - HostCryptoState(vim.HostSystem.CryptoState)

Since
  vSphere API 6.5

## Enum Description

Defines a host's encryption state

Enum Constants

Name | Description
--- | ---
incapable | The host is not safe for receiving sensitive material.
pendingIncapable | The host is explicitly crypto disabled and pending reboot to be applied. When host is in this state, creating encrypted virtual machines is not allowed, but still need a reboot to totally clean up and enter incapable state. Since vSphere API 7.0
prepared | The host is prepared for receiving sensitive material but does not have a host key set yet.
safe | The host is crypto safe and has a host key set.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostCryptoState"> <restriction base="xsd:string"> <enumeration value="incapable"/> <enumeration value="prepared"/> <enumeration value="safe"/> <enumeration value="pendingIncapable"/> </restriction> </simpleType>