Package com.vmware.vim25.mo
Class CryptoManagerKmip
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.CryptoManager
com.vmware.vim25.mo.CryptoManagerKmip
-
Constructor Summary
ConstructorsConstructorDescriptionCryptoManagerKmip(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptiongenerateClientCsr(KeyProviderId cluster) Generate a certificate signing request with its private .generateClientCsr(KeyProviderId cluster, CryptoManagerKmipCertSignRequest request) generateKey(KeyProviderId keyProvider) generateKey(KeyProviderId keyProvider, CryptoManagerKmipCustomAttributeSpec spec, CryptoManagerKmipGenerateKeySpec keySpec) generateSelfSignedClientCert(KeyProviderId cluster, CryptoManagerKmipCertSignRequest request) getDefaultKmsCluster(ManagedEntity entity, boolean defaultsToParent) booleanisKmsClusterActive(KeyProviderId cluster) listKmipServers(int limit) listKmsClusters(boolean includeKmsServers, int managementTypeFilter, int statusFilter) voidmarkDefault(KeyProviderId clusterId) queryCryptoKeyStatus(CryptoKeyId[] keyIds, int checkKeyBitMap) voidregisterKmipServer(KmipServerSpec server) voidregisterKmsCluster(KeyProviderId clusterId, String managementType) voidremoveKmipServer(KeyProviderId clusterId, String serverName) retrieveClientCert(KeyProviderId cluster) retrieveClientCsr(KeyProviderId cluster) retrieveKmipServerCert(KeyProviderId keyProvider, KmipServerInfo server) retrieveKmipServersStatus_Task(KmipClusterInfo[] clusters) voidsetDefaultKmsCluster(ManagedEntity entity, KeyProviderId clusterId) voidunregisterKmsCluster(KeyProviderId clusterId) voidupdateKmipServer(KmipServerSpec server) voidupdateKmsSignedCsrClientCert(KeyProviderId cluster, String certificate) voidupdateSelfSignedClientCert(KeyProviderId cluster, String certificate) voiduploadClientCert(KeyProviderId cluster, String certificate, String privateKey) voiduploadKmipServerCert(KeyProviderId cluster, String certificate) Methods inherited from class com.vmware.vim25.mo.CryptoManager
addKey, addKeys, getEnabled, listKeys, listKeys, removeKey, removeKeysMethods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Constructor Details
-
CryptoManagerKmip
-
-
Method Details
-
getKmipServers
-
generateClientCsr
public String generateClientCsr(KeyProviderId cluster, CryptoManagerKmipCertSignRequest request) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
generateKey
public CryptoKeyResult generateKey(KeyProviderId keyProvider, CryptoManagerKmipCustomAttributeSpec spec, CryptoManagerKmipGenerateKeySpec keySpec) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
generateSelfSignedClientCert
public String generateSelfSignedClientCert(KeyProviderId cluster, CryptoManagerKmipCertSignRequest request) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
getDefaultKmsCluster
public KeyProviderId getDefaultKmsCluster(ManagedEntity entity, boolean defaultsToParent) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
isKmsClusterActive
public boolean isKmsClusterActive(KeyProviderId cluster) throws InvalidArgument, RuntimeFault, RemoteException -
listKmsClusters
public KmipClusterInfo[] listKmsClusters(boolean includeKmsServers, int managementTypeFilter, int statusFilter) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
markDefault
- Throws:
RuntimeFaultRemoteException
-
queryCryptoKeyStatus
public CryptoManagerKmipCryptoKeyStatus[] queryCryptoKeyStatus(CryptoKeyId[] keyIds, int checkKeyBitMap) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
registerKmipServer
- Throws:
RuntimeFaultRemoteException
-
registerKmsCluster
public void registerKmsCluster(KeyProviderId clusterId, String managementType) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
removeKmipServer
public void removeKmipServer(KeyProviderId clusterId, String serverName) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
setDefaultKmsCluster
public void setDefaultKmsCluster(ManagedEntity entity, KeyProviderId clusterId) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
setKeyCustomAttributes
public CryptoKeyResult setKeyCustomAttributes(CryptoKeyId keyId, CryptoManagerKmipCustomAttributeSpec spec) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
unregisterKmsCluster
- Throws:
RuntimeFaultRemoteException
-
updateKmipServer
- Throws:
RuntimeFaultRemoteException
-
updateKmsSignedCsrClientCert
public void updateKmsSignedCsrClientCert(KeyProviderId cluster, String certificate) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
updateSelfSignedClientCert
public void updateSelfSignedClientCert(KeyProviderId cluster, String certificate) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
uploadClientCert
public void uploadClientCert(KeyProviderId cluster, String certificate, String privateKey) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
uploadKmipServerCert
public void uploadKmipServerCert(KeyProviderId cluster, String certificate) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
getKmipClusterInfo
-
generateClientCsr
Generate a certificate signing request with its private .- Throws:
RuntimeFaultRemoteException
-
generateKey
- Throws:
RuntimeFaultRemoteException
-
generateSelfSignedClientCert
public String generateSelfSignedClientCert(KeyProviderId cluster) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
listKmipServers
- Throws:
RuntimeFaultRemoteException
-
retrieveClientCert
- Throws:
RuntimeFaultRemoteException
-
retrieveClientCsr
- Throws:
RuntimeFaultRemoteException
-
retrieveKmipServerCert
public CryptoManagerKmipServerCertInfo retrieveKmipServerCert(KeyProviderId keyProvider, KmipServerInfo server) throws RuntimeFault, RemoteException, InvalidArgument -
retrieveKmipServersStatus_Task
public ManagedObjectReference retrieveKmipServersStatus_Task(KmipClusterInfo[] clusters) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
retrieveSelfSignedClientCert
public String retrieveSelfSignedClientCert(KeyProviderId cluster) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-