# Data Object - CryptoKeyResult(vim.encryption.CryptoKeyResult)

Returned by
  AddKeys, GenerateKey, RemoveKeys
Extends
  DynamicData
See also
  CryptoKeyId, LocalizedMethodFault
Since
  vSphere API 6.5

## Data Object Description

CryptoKeyResult.java -- Data Object representing a cryptographic key operation result.

Properties

Name | Type | Description
--- | --- | ---
fault* | LocalizedMethodFault | Fault which includes details about the error. Since vSphere API 7.0.1.0
keyId | CryptoKeyId |
reason* | xsd:string |
success | xsd:boolean |
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="CryptoKeyResult"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="keyId" type="vsan:CryptoKeyId"/> <element name="success" type="xsd:boolean"/> <element name="reason" type="xsd:string" minOccurs="0"/> <element name="fault" type="vsan:LocalizedMethodFault" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>