KeyVaultClient.getKeyAsync 方法

定义

重载

getKeyAsync(String keyIdentifier, final ServiceCallback<KeyBundle> serviceCallback)

Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.

getKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback<KeyBundle> serviceCallback)

Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.

getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback<KeyBundle> serviceCallback)

Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.

getKeyAsync(String keyIdentifier, final ServiceCallback<KeyBundle> serviceCallback)

Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.

public ServiceFuture<KeyBundle> getKeyAsync(String keyIdentifier, final ServiceCallback<KeyBundle> serviceCallback)

参数

keyIdentifier
String

The full key identifier

serviceCallback
final ServiceCallback<KeyBundle>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<KeyBundle>

the ServiceFuture object

getKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback<KeyBundle> serviceCallback)

Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.

public ServiceFuture<KeyBundle> getKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback<KeyBundle> serviceCallback)

参数

vaultBaseUrl
String

The vault name, e.g. https://myvault.vault.azure.net

keyName
String

The name of the key

serviceCallback
final ServiceCallback<KeyBundle>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<KeyBundle>

the ServiceFuture object

getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback<KeyBundle> serviceCallback)

Gets the public part of a stored key. The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. Authorization: Requires the keys/get permission.

public ServiceFuture<KeyBundle> getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback<KeyBundle> serviceCallback)

参数

vaultBaseUrl
String

The vault name, e.g. https://myvault.vault.azure.net

keyName
String

The name of the key

keyVersion
String

The version of the key

serviceCallback
final ServiceCallback<KeyBundle>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<KeyBundle>

the ServiceFuture object

适用于