# 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:vslm="urn:vslm" name="CryptoKeyResult"> <complexContent> <extension base="vslm:DynamicData"> <sequence> <element name="keyId" type="vslm:CryptoKeyId"/> <element name="success" type="xsd:boolean"/> <element name="reason" type="xsd:string" minOccurs="0"/> <element name="fault" type="vslm:LocalizedMethodFault" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>