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

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

## Data Object Description

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

Properties

Name | Type | Description
--- | --- | ---
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"/> </sequence> </extension> </complexContent> </complexType>