public final class KeyVaultClient extends Object
| Constructor and Description |
|---|
KeyVaultClient(com.microsoft.rest.RestClient restClient)
Initializes an instance of KeyVaultClient client.
|
KeyVaultClient(com.microsoft.rest.credentials.ServiceClientCredentials credentials)
Initializes an instance of KeyVaultClient client.
|
| Modifier and Type | Method and Description |
|---|---|
String |
acceptLanguage()
Gets Gets or sets the preferred language for the response.
|
String |
apiVersion()
Gets Client Api Version.
|
BackupKeyResult |
backupKey(String vaultBaseUrl,
String keyName)
Requests that a backup of the specified key be downloaded to the client.
|
com.microsoft.rest.ServiceFuture<BackupKeyResult> |
backupKeyAsync(String vaultBaseUrl,
String keyName,
com.microsoft.rest.ServiceCallback<BackupKeyResult> serviceCallback)
Requests that a backup of the specified key be downloaded to the client.
|
CertificateOperation |
createCertificate(CreateCertificateRequest createCertificateRequest)
Creates a new certificate version.
|
com.microsoft.rest.ServiceFuture<CertificateOperation> |
createCertificateAsync(CreateCertificateRequest createCertificateRequest,
com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Creates a new certificate version.
|
KeyBundle |
createKey(CreateKeyRequest createKeyRequest)
Creates a new key, stores it, then returns key parameters and attributes to the client.
|
com.microsoft.rest.ServiceFuture<KeyBundle> |
createKeyAsync(CreateKeyRequest createKeyRequest,
com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client.
|
KeyOperationResult |
decrypt(String keyIdentifier,
JsonWebKeyEncryptionAlgorithm algorithm,
byte[] value)
Decrypts a single block of encrypted data.
|
com.microsoft.rest.ServiceFuture<KeyOperationResult> |
decryptAsync(String keyIdentifier,
JsonWebKeyEncryptionAlgorithm algorithm,
byte[] value,
com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Decrypts a single block of encrypted data.
|
CertificateBundle |
deleteCertificate(String vaultBaseUrl,
String certificateName)
Deletes a certificate from the specified vault.
|
com.microsoft.rest.ServiceFuture<CertificateBundle> |
deleteCertificateAsync(String vaultBaseUrl,
String certificateName,
com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Deletes a certificate from the specified vault.
|
Contacts |
deleteCertificateContacts(String vaultBaseUrl)
Deletes the certificate contacts for the specified vault.
|
com.microsoft.rest.ServiceFuture<Contacts> |
deleteCertificateContactsAsync(String vaultBaseUrl,
com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Deletes the certificate contacts for the specified vault.
|
IssuerBundle |
deleteCertificateIssuer(String vaultBaseUrl,
String issuerName)
Deletes the specified certificate issuer.
|
com.microsoft.rest.ServiceFuture<IssuerBundle> |
deleteCertificateIssuerAsync(String vaultBaseUrl,
String issuerName,
com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Deletes the specified certificate issuer.
|
CertificateOperation |
deleteCertificateOperation(String vaultBaseUrl,
String certificateName)
Deletes the operation for a specified certificate.
|
com.microsoft.rest.ServiceFuture<CertificateOperation> |
deleteCertificateOperationAsync(String vaultBaseUrl,
String certificateName,
com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Deletes the operation for a specified certificate.
|
KeyBundle |
deleteKey(String vaultBaseUrl,
String keyName)
Deletes a key of any type from storage in Azure Key Vault.
|
com.microsoft.rest.ServiceFuture<KeyBundle> |
deleteKeyAsync(String vaultBaseUrl,
String keyName,
com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Deletes a key of any type from storage in Azure Key Vault.
|
SecretBundle |
deleteSecret(String vaultBaseUrl,
String secretName)
Deletes a secret from the specified vault.
|
com.microsoft.rest.ServiceFuture<SecretBundle> |
deleteSecretAsync(String vaultBaseUrl,
String secretName,
com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Deletes a secret from the specified vault.
|
KeyOperationResult |
encrypt(String keyIdentifier,
JsonWebKeyEncryptionAlgorithm algorithm,
byte[] value)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
|
com.microsoft.rest.ServiceFuture<KeyOperationResult> |
encryptAsync(String keyIdentifier,
JsonWebKeyEncryptionAlgorithm algorithm,
byte[] value,
com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
|
boolean |
generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request.
|
com.microsoft.azure.AzureClient |
getAzureClient()
Gets the
AzureClient used for long running operations. |
CertificateBundle |
getCertificate(String certificateIdentifier)
Gets information about a specified certificate.
|
CertificateBundle |
getCertificate(String vaultBaseUrl,
String certificateName)
Gets information about a specified certificate.
|
CertificateBundle |
getCertificate(String vaultBaseUrl,
String certificateName,
String certificateVersion)
Gets information about a specified certificate.
|
com.microsoft.rest.ServiceFuture<CertificateBundle> |
getCertificateAsync(String certificateIdentifier,
com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a specified certificate.
|
com.microsoft.rest.ServiceFuture<CertificateBundle> |
getCertificateAsync(String vaultBaseUrl,
String certificateName,
com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a specified certificate.
|
com.microsoft.rest.ServiceFuture<CertificateBundle> |
getCertificateAsync(String vaultBaseUrl,
String certificateName,
String certificateVersion,
com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a specified certificate.
|
Contacts |
getCertificateContacts(String vaultBaseUrl)
Gets the certificate contacts for the specified vault.
|
com.microsoft.rest.ServiceFuture<Contacts> |
getCertificateContactsAsync(String vaultBaseUrl,
com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Gets the certificate contacts for the specified vault.
|
IssuerBundle |
getCertificateIssuer(String vaultBaseUrl,
String issuerName)
Gets the specified certificate issuer.
|
com.microsoft.rest.ServiceFuture<IssuerBundle> |
getCertificateIssuerAsync(String vaultBaseUrl,
String issuerName,
com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Gets the specified certificate issuer.
|
CertificateOperation |
getCertificateOperation(String vaultBaseUrl,
String certificateName)
Gets the operation associated with a specified certificate.
|
com.microsoft.rest.ServiceFuture<CertificateOperation> |
getCertificateOperationAsync(String vaultBaseUrl,
String certificateName,
com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Gets the operation associated with a specified certificate.
|
CertificatePolicy |
getCertificatePolicy(String vaultBaseUrl,
String certificateName)
Gets the policy for a certificate.
|
com.microsoft.rest.ServiceFuture<CertificatePolicy> |
getCertificatePolicyAsync(String vaultBaseUrl,
String certificateName,
com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Gets the policy for a certificate.
|
KeyBundle |
getKey(String keyIdentifier)
Gets the public part of a stored key.
|
KeyBundle |
getKey(String vaultBaseUrl,
String keyName)
Gets the public part of a stored key.
|
KeyBundle |
getKey(String vaultBaseUrl,
String keyName,
String keyVersion)
Gets the public part of a stored key.
|
com.microsoft.rest.ServiceFuture<KeyBundle> |
getKeyAsync(String keyIdentifier,
com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key.
|
com.microsoft.rest.ServiceFuture<KeyBundle> |
getKeyAsync(String vaultBaseUrl,
String keyName,
com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key.
|
com.microsoft.rest.ServiceFuture<KeyBundle> |
getKeyAsync(String vaultBaseUrl,
String keyName,
String keyVersion,
com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the public part of a stored key.
|
String |
getPendingCertificateSigningRequest(String vaultBaseUrl,
String certificateName)
Gets the pending certificate signing request response.
|
com.microsoft.rest.ServiceFuture<String> |
getPendingCertificateSigningRequestAsync(String vaultBaseUrl,
String certificateName,
com.microsoft.rest.ServiceCallback<String> serviceCallback)
Gets the pending certificate signing request response.
|
SecretBundle |
getSecret(String secretIdentifier)
Get a specified secret from a given key vault.
|
SecretBundle |
getSecret(String vaultBaseUrl,
String secretName)
Get a specified secret from a given key vault.
|
SecretBundle |
getSecret(String vaultBaseUrl,
String secretName,
String secretVersion)
Get a specified secret from a given key vault.
|
com.microsoft.rest.ServiceFuture<SecretBundle> |
getSecretAsync(String secretIdentifier,
com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.
|
com.microsoft.rest.ServiceFuture<SecretBundle> |
getSecretAsync(String vaultBaseUrl,
String secretName,
com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.
|
com.microsoft.rest.ServiceFuture<SecretBundle> |
getSecretAsync(String vaultBaseUrl,
String secretName,
String secretVersion,
com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.
|
okhttp3.OkHttpClient |
httpClient() |
CertificateBundle |
importCertificate(ImportCertificateRequest importCertificateRequest)
Imports a certificate into the specified vault.
|
com.microsoft.rest.ServiceFuture<CertificateBundle> |
importCertificateAsync(ImportCertificateRequest importCertificateRequest,
com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Imports a certificate into the specified vault.
|
KeyBundle |
importKey(ImportKeyRequest importKeyRequest)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.
|
com.microsoft.rest.ServiceFuture<KeyBundle> |
importKeyAsync(ImportKeyRequest importKeyRequest,
com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Imports an externally created key, stores it, and returns key parameters and attributes to the client.
|
com.microsoft.azure.PagedList<CertificateIssuerItem> |
listCertificateIssuers(String vaultBaseUrl)
List certificate issuers for the specified vault.
|
com.microsoft.azure.PagedList<CertificateIssuerItem> |
listCertificateIssuers(String vaultBaseUrl,
Integer maxresults)
List certificate issuers for the specified vault.
|
com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> |
listCertificateIssuersAsync(String vaultBaseUrl,
Integer maxresults,
com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for the specified vault.
|
com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> |
listCertificateIssuersAsync(String vaultBaseUrl,
com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for the specified vault.
|
com.microsoft.azure.PagedList<CertificateItem> |
listCertificates(String vaultBaseUrl)
List certificates in the specified vault.
|
com.microsoft.azure.PagedList<CertificateItem> |
listCertificates(String vaultBaseUrl,
Integer maxresults)
List certificates in the specified vault.
|
com.microsoft.rest.ServiceFuture<List<CertificateItem>> |
listCertificatesAsync(String vaultBaseUrl,
Integer maxresults,
com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in the specified vault.
|
com.microsoft.rest.ServiceFuture<List<CertificateItem>> |
listCertificatesAsync(String vaultBaseUrl,
com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in the specified vault.
|
com.microsoft.azure.PagedList<CertificateItem> |
listCertificateVersions(String vaultBaseUrl,
String certificateName)
List the versions of a certificate.
|
com.microsoft.azure.PagedList<CertificateItem> |
listCertificateVersions(String vaultBaseUrl,
String certificateName,
Integer maxresults)
List the versions of a certificate.
|
com.microsoft.rest.ServiceFuture<List<CertificateItem>> |
listCertificateVersionsAsync(String vaultBaseUrl,
String certificateName,
Integer maxresults,
com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.
|
com.microsoft.rest.ServiceFuture<List<CertificateItem>> |
listCertificateVersionsAsync(String vaultBaseUrl,
String certificateName,
com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.
|
com.microsoft.azure.PagedList<KeyItem> |
listKeys(String vaultBaseUrl)
List keys in the specified vault.
|
com.microsoft.azure.PagedList<KeyItem> |
listKeys(String vaultBaseUrl,
Integer maxresults)
List keys in the specified vault.
|
com.microsoft.rest.ServiceFuture<List<KeyItem>> |
listKeysAsync(String vaultBaseUrl,
Integer maxresults,
com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.
|
com.microsoft.rest.ServiceFuture<List<KeyItem>> |
listKeysAsync(String vaultBaseUrl,
com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.
|
com.microsoft.azure.PagedList<KeyItem> |
listKeyVersions(String vaultBaseUrl,
String keyName)
Retrieves a list of individual key versions with the same key name.
|
com.microsoft.azure.PagedList<KeyItem> |
listKeyVersions(String vaultBaseUrl,
String keyName,
Integer maxresults)
Retrieves a list of individual key versions with the same key name.
|
com.microsoft.rest.ServiceFuture<List<KeyItem>> |
listKeyVersionsAsync(String vaultBaseUrl,
String keyName,
Integer maxresults,
com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name.
|
com.microsoft.rest.ServiceFuture<List<KeyItem>> |
listKeyVersionsAsync(String vaultBaseUrl,
String keyName,
com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
Retrieves a list of individual key versions with the same key name.
|
com.microsoft.azure.PagedList<SecretItem> |
listSecrets(String vaultBaseUrl)
List secrets in the specified vault.
|
com.microsoft.azure.PagedList<SecretItem> |
listSecrets(String vaultBaseUrl,
Integer maxresults)
List secrets in the specified vault.
|
com.microsoft.rest.ServiceFuture<List<SecretItem>> |
listSecretsAsync(String vaultBaseUrl,
Integer maxresults,
com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in the specified vault.
|
com.microsoft.rest.ServiceFuture<List<SecretItem>> |
listSecretsAsync(String vaultBaseUrl,
com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in the specified vault.
|
com.microsoft.azure.PagedList<SecretItem> |
listSecretVersions(String vaultBaseUrl,
String secretName)
List the versions of the specified secret.
|
com.microsoft.azure.PagedList<SecretItem> |
listSecretVersions(String vaultBaseUrl,
String secretName,
Integer maxresults)
List the versions of the specified secret.
|
com.microsoft.rest.ServiceFuture<List<SecretItem>> |
listSecretVersionsAsync(String vaultBaseUrl,
String secretName,
Integer maxresults,
com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List the versions of the specified secret.
|
com.microsoft.rest.ServiceFuture<List<SecretItem>> |
listSecretVersionsAsync(String vaultBaseUrl,
String secretName,
com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List the versions of the specified secret.
|
int |
longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations.
|
CertificateBundle |
mergeCertificate(MergeCertificateRequest mergeCertificateRequest)
Merges a certificate or a certificate chain with a key pair existing on the server.
|
com.microsoft.rest.ServiceFuture<CertificateBundle> |
mergeCertificateAsync(MergeCertificateRequest mergeCertificateRequest,
com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Merges a certificate or a certificate chain with a key pair existing on the server.
|
com.microsoft.rest.RestClient |
restClient() |
KeyBundle |
restoreKey(String vaultBaseUrl,
byte[] keyBundleBackup)
Restores the backup key in to a vault.
|
com.microsoft.rest.ServiceFuture<KeyBundle> |
restoreKeyAsync(String vaultBaseUrl,
byte[] keyBundleBackup,
com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Restores the backup key in to a vault.
|
retrofit2.Retrofit |
retrofit() |
com.microsoft.rest.protocol.SerializerAdapter<?> |
serializerAdapter() |
Contacts |
setCertificateContacts(String vaultBaseUrl,
Contacts contacts)
Sets the certificate contacts for the specified vault.
|
com.microsoft.rest.ServiceFuture<Contacts> |
setCertificateContactsAsync(String vaultBaseUrl,
Contacts contacts,
com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
Sets the certificate contacts for the specified vault.
|
IssuerBundle |
setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest)
Sets the certificate contacts for the specified vault.
|
com.microsoft.rest.ServiceFuture<IssuerBundle> |
setCertificateIssuerAsync(SetCertificateIssuerRequest setCertificateIssuerRequest,
com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Sets the certificate contacts for the specified vault.
|
SecretBundle |
setSecret(SetSecretRequest setSecretRequest)
Sets a secret in the specified vault.
|
com.microsoft.rest.ServiceFuture<SecretBundle> |
setSecretAsync(SetSecretRequest setSecretRequest,
com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Sets a secret in the specified vault.
|
KeyOperationResult |
sign(String keyIdentifier,
JsonWebKeySignatureAlgorithm algorithm,
byte[] value)
Creates a signature from a digest using the specified key.
|
com.microsoft.rest.ServiceFuture<KeyOperationResult> |
signAsync(String keyIdentifier,
JsonWebKeySignatureAlgorithm algorithm,
byte[] value,
com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Creates a signature from a digest using the specified key.
|
KeyOperationResult |
unwrapKey(String keyIdentifier,
JsonWebKeyEncryptionAlgorithm algorithm,
byte[] value)
Unwraps a symmetric key using the specified key in the vault that has initially been used for wrapping the key.
|
com.microsoft.rest.ServiceFuture<KeyOperationResult> |
unwrapKeyAsync(String keyIdentifier,
JsonWebKeyEncryptionAlgorithm algorithm,
byte[] value,
com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Unwraps a symmetric key using the specified key in the vault that has initially been used for wrapping the key.
|
CertificateBundle |
updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the attributes associated with the specified certificate.
|
com.microsoft.rest.ServiceFuture<CertificateBundle> |
updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest,
com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Updates the attributes associated with the specified certificate.
|
IssuerBundle |
updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest)
Updates the specified certificate issuer.
|
com.microsoft.rest.ServiceFuture<IssuerBundle> |
updateCertificateIssuerAsync(UpdateCertificateIssuerRequest updateCertificateIssuerRequest,
com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Updates the specified certificate issuer.
|
CertificateOperation |
updateCertificateOperation(UpdateCertificateOperationRequest updateCertificateOperationRequest)
Updates a certificate operation.
|
com.microsoft.rest.ServiceFuture<CertificateOperation> |
updateCertificateOperationAsync(UpdateCertificateOperationRequest updateCertificateOperationRequest,
com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Updates a certificate operation.
|
CertificatePolicy |
updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest)
Updates the policy for a certificate.
|
com.microsoft.rest.ServiceFuture<CertificatePolicy> |
updateCertificatePolicyAsync(UpdateCertificatePolicyRequest updateCertificatePolicyRequest,
com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Updates the policy for a certificate.
|
KeyBundle |
updateKey(UpdateKeyRequest updateKeyRequest)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
|
com.microsoft.rest.ServiceFuture<KeyBundle> |
updateKeyAsync(UpdateKeyRequest updateKeyRequest,
com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
|
SecretBundle |
updateSecret(UpdateSecretRequest updateSecretRequest)
Updates the attributes associated with a specified secret in a given key vault.
|
com.microsoft.rest.ServiceFuture<SecretBundle> |
updateSecretAsync(UpdateSecretRequest updateSecretRequest,
com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Updates the attributes associated with a specified secret in a given key vault.
|
String |
userAgent()
Gets the User-Agent header for the client.
|
KeyVerifyResult |
verify(String keyIdentifier,
JsonWebKeySignatureAlgorithm algorithm,
byte[] digest,
byte[] signature)
Verifies a signature using the specified key.
|
com.microsoft.rest.ServiceFuture<KeyVerifyResult> |
verifyAsync(String keyIdentifier,
JsonWebKeySignatureAlgorithm algorithm,
byte[] digest,
byte[] signature,
com.microsoft.rest.ServiceCallback<KeyVerifyResult> serviceCallback)
Verifies a signature using the specified key.
|
void |
withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response.
|
void |
withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request.
|
void |
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations.
|
KeyOperationResult |
wrapKey(String keyIdentifier,
JsonWebKeyEncryptionAlgorithm algorithm,
byte[] value)
Wraps a symmetric key using the specified key.
|
com.microsoft.rest.ServiceFuture<KeyOperationResult> |
wrapKeyAsync(String keyIdentifier,
JsonWebKeyEncryptionAlgorithm algorithm,
byte[] value,
com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
Wraps a symmetric key using the specified key.
|
public KeyVaultClient(com.microsoft.rest.credentials.ServiceClientCredentials credentials)
credentials - the management credentials for Azurepublic KeyVaultClient(com.microsoft.rest.RestClient restClient)
restClient - the REST client to connect to Azure.public com.microsoft.azure.AzureClient getAzureClient()
AzureClient used for long running operations.public String apiVersion()
public String acceptLanguage()
public void withAcceptLanguage(String acceptLanguage)
acceptLanguage - the acceptLanguage value.public int longRunningOperationRetryTimeout()
public void withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
longRunningOperationRetryTimeout - the longRunningOperationRetryTimeout value.public boolean generateClientRequestId()
public void withGenerateClientRequestId(boolean generateClientRequestId)
generateClientRequestId - the generateClientRequestId value.public com.microsoft.rest.RestClient restClient()
RestClient instance.public retrofit2.Retrofit retrofit()
public okhttp3.OkHttpClient httpClient()
public com.microsoft.rest.protocol.SerializerAdapter<?> serializerAdapter()
ObjectMapper.public String userAgent()
public KeyBundle createKey(CreateKeyRequest createKeyRequest)
createKeyRequest - the grouped properties for creating a key requestpublic com.microsoft.rest.ServiceFuture<KeyBundle> createKeyAsync(CreateKeyRequest createKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
createKeyRequest - the grouped properties for creating a key requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyBundle importKey(ImportKeyRequest importKeyRequest)
importKeyRequest - the grouped properties for importing a key requestpublic com.microsoft.rest.ServiceFuture<KeyBundle> importKeyAsync(ImportKeyRequest importKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
importKeyRequest - the grouped properties for importing a key requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyBundle deleteKey(String vaultBaseUrl, String keyName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keypublic com.microsoft.rest.ServiceFuture<KeyBundle> deleteKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keyserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyBundle updateKey(UpdateKeyRequest updateKeyRequest)
updateKeyRequest - the grouped properties for updating a key requestpublic com.microsoft.rest.ServiceFuture<KeyBundle> updateKeyAsync(UpdateKeyRequest updateKeyRequest, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
updateKeyRequest - the grouped properties for updating a key requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyBundle getKey(String keyIdentifier)
keyIdentifier - The full key identifierpublic com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync(String keyIdentifier, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
keyIdentifier - The full key identifierserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyBundle getKey(String vaultBaseUrl, String keyName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keypublic com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keyserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyBundle getKey(String vaultBaseUrl, String keyName, String keyVersion)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keykeyVersion - The version of the keypublic com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keykeyVersion - The version of the keyserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<KeyItem> listKeyVersions(String vaultBaseUrl, String keyName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keypublic com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeyVersionsAsync(String vaultBaseUrl, String keyName, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keyserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<KeyItem> listKeyVersions(String vaultBaseUrl, String keyName, Integer maxresults)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keymaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.public com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeyVersionsAsync(String vaultBaseUrl, String keyName, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keymaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<KeyItem> listKeys(String vaultBaseUrl)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netpublic com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeysAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<KeyItem> listKeys(String vaultBaseUrl, Integer maxresults)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.public com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeysAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic BackupKeyResult backupKey(String vaultBaseUrl, String keyName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keypublic com.microsoft.rest.ServiceFuture<BackupKeyResult> backupKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<BackupKeyResult> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyName - The name of the keyserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyBundle restoreKey(String vaultBaseUrl, byte[] keyBundleBackup)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyBundleBackup - the backup blob associated with a key bundlepublic com.microsoft.rest.ServiceFuture<KeyBundle> restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netkeyBundleBackup - the backup blob associated with a key bundleserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyOperationResult encrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the content to be encryptedpublic com.microsoft.rest.ServiceFuture<KeyOperationResult> encryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the content to be encryptedserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyOperationResult decrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the content to be decryptedpublic com.microsoft.rest.ServiceFuture<KeyOperationResult> decryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the content to be decryptedserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyOperationResult sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the content to be signedpublic com.microsoft.rest.ServiceFuture<KeyOperationResult> signAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the content to be signedserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyVerifyResult verify(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
keyIdentifier - The full key identifieralgorithm - The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.digest - The digest used for signingsignature - The signature to be verifiedpublic com.microsoft.rest.ServiceFuture<KeyVerifyResult> verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, com.microsoft.rest.ServiceCallback<KeyVerifyResult> serviceCallback)
keyIdentifier - The full key identifieralgorithm - The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.digest - The digest used for signingsignature - The signature to be verifiedserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyOperationResult wrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the key to be wrappedpublic com.microsoft.rest.ServiceFuture<KeyOperationResult> wrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the key to be wrappedserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic KeyOperationResult unwrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the key to be unwrappedpublic com.microsoft.rest.ServiceFuture<KeyOperationResult> unwrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, com.microsoft.rest.ServiceCallback<KeyOperationResult> serviceCallback)
keyIdentifier - The full key identifieralgorithm - algorithm identifiervalue - the key to be unwrappedserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic SecretBundle setSecret(SetSecretRequest setSecretRequest)
setSecretRequest - the grouped properties for setting a secret requestpublic com.microsoft.rest.ServiceFuture<SecretBundle> setSecretAsync(SetSecretRequest setSecretRequest, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
setSecretRequest - the grouped properties for setting a secret requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic SecretBundle deleteSecret(String vaultBaseUrl, String secretName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultpublic com.microsoft.rest.ServiceFuture<SecretBundle> deleteSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic SecretBundle updateSecret(UpdateSecretRequest updateSecretRequest)
updateSecretRequest - the grouped properties for updating a secret requestpublic com.microsoft.rest.ServiceFuture<SecretBundle> updateSecretAsync(UpdateSecretRequest updateSecretRequest, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
updateSecretRequest - the grouped properties for updating a secret requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic SecretBundle getSecret(String secretIdentifier)
secretIdentifier - The URL for the secret.public com.microsoft.rest.ServiceFuture<SecretBundle> getSecretAsync(String secretIdentifier, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
secretIdentifier - The URL for the secret.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic SecretBundle getSecret(String vaultBaseUrl, String secretName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultpublic com.microsoft.rest.ServiceFuture<SecretBundle> getSecretAsync(String vaultBaseUrl, String secretName, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic SecretBundle getSecret(String vaultBaseUrl, String secretName, String secretVersion)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultsecretVersion - The version of the secretpublic com.microsoft.rest.ServiceFuture<SecretBundle> getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultsecretVersion - The version of the secretserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<SecretItem> listSecrets(String vaultBaseUrl)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netpublic com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<SecretItem> listSecrets(String vaultBaseUrl, Integer maxresults)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.public com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<SecretItem> listSecretVersions(String vaultBaseUrl, String secretName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultpublic com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretVersionsAsync(String vaultBaseUrl, String secretName, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<SecretItem> listSecretVersions(String vaultBaseUrl, String secretName, Integer maxresults)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.public com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretVersionsAsync(String vaultBaseUrl, String secretName, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<CertificateItem> listCertificates(String vaultBaseUrl)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netpublic com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificatesAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<CertificateItem> listCertificates(String vaultBaseUrl, Integer maxresults)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.public com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateBundle deleteCertificate(String vaultBaseUrl, String certificateName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificate in the given vaultpublic com.microsoft.rest.ServiceFuture<CertificateBundle> deleteCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificate in the given vaultserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic Contacts setCertificateContacts(String vaultBaseUrl, Contacts contacts)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcontacts - The contacts for the vault certificates.public com.microsoft.rest.ServiceFuture<Contacts> setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcontacts - The contacts for the vault certificates.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic Contacts getCertificateContacts(String vaultBaseUrl)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netpublic com.microsoft.rest.ServiceFuture<Contacts> getCertificateContactsAsync(String vaultBaseUrl, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic Contacts deleteCertificateContacts(String vaultBaseUrl)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netpublic com.microsoft.rest.ServiceFuture<Contacts> deleteCertificateContactsAsync(String vaultBaseUrl, com.microsoft.rest.ServiceCallback<Contacts> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers(String vaultBaseUrl)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netpublic com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> listCertificateIssuersAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers(String vaultBaseUrl, Integer maxresults)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.public com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> listCertificateIssuersAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netmaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic IssuerBundle setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest)
setCertificateIssuerRequest - the grouped properties for setting a certificate issuer requestpublic com.microsoft.rest.ServiceFuture<IssuerBundle> setCertificateIssuerAsync(SetCertificateIssuerRequest setCertificateIssuerRequest, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
setCertificateIssuerRequest - the grouped properties for setting a certificate issuer requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic IssuerBundle updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest)
updateCertificateIssuerRequest - the grouped properties for updating a certificate issuer requestpublic com.microsoft.rest.ServiceFuture<IssuerBundle> updateCertificateIssuerAsync(UpdateCertificateIssuerRequest updateCertificateIssuerRequest, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
updateCertificateIssuerRequest - the grouped properties for updating a certificate issuer requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectIllegalArgumentException - thrown if callback is nullpublic IssuerBundle getCertificateIssuer(String vaultBaseUrl, String issuerName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netissuerName - The name of the issuer.public com.microsoft.rest.ServiceFuture<IssuerBundle> getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netissuerName - The name of the issuer.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic IssuerBundle deleteCertificateIssuer(String vaultBaseUrl, String issuerName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netissuerName - The name of the issuer.public com.microsoft.rest.ServiceFuture<IssuerBundle> deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netissuerName - The name of the issuer.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateOperation createCertificate(CreateCertificateRequest createCertificateRequest)
createCertificateRequest - the grouped properties for creating a certificate requestpublic com.microsoft.rest.ServiceFuture<CertificateOperation> createCertificateAsync(CreateCertificateRequest createCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
createCertificateRequest - the grouped properties for creating a certificate requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateBundle importCertificate(ImportCertificateRequest importCertificateRequest)
importCertificateRequest - the grouped properties for importing a certificate requestpublic com.microsoft.rest.ServiceFuture<CertificateBundle> importCertificateAsync(ImportCertificateRequest importCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
importCertificateRequest - the grouped properties for importing a certificate requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions(String vaultBaseUrl, String certificateName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificatepublic com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificateVersionsAsync(String vaultBaseUrl, String certificateName, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificateserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions(String vaultBaseUrl, String certificateName, Integer maxresults)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificatemaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.public com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificateVersionsAsync(String vaultBaseUrl, String certificateName, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificatemaxresults - Maximum number of results to return in a page. If not specified the service will return up to 25 results.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificatePolicy getCertificatePolicy(String vaultBaseUrl, String certificateName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificate in the given vault.public com.microsoft.rest.ServiceFuture<CertificatePolicy> getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificate in the given vault.serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificatePolicy updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest)
updateCertificatePolicyRequest - the grouped properties for updating a certificate policy requestpublic com.microsoft.rest.ServiceFuture<CertificatePolicy> updateCertificatePolicyAsync(UpdateCertificatePolicyRequest updateCertificatePolicyRequest, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
updateCertificatePolicyRequest - the grouped properties for updating a certificate policy requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateBundle updateCertificate(UpdateCertificateRequest updateCertificateRequest)
updateCertificateRequest - the grouped properties for updating a certificate requestpublic com.microsoft.rest.ServiceFuture<CertificateBundle> updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
updateCertificateRequest - the grouped properties for updating a certificate requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateBundle getCertificate(String certificateIdentifier)
certificateIdentifier - The certificate identifierpublic com.microsoft.rest.ServiceFuture<CertificateBundle> getCertificateAsync(String certificateIdentifier, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
certificateIdentifier - The certificate identifierserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateBundle getCertificate(String vaultBaseUrl, String certificateName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificate in the given vaultpublic com.microsoft.rest.ServiceFuture<CertificateBundle> getCertificateAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificate in the given vaultserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateBundle getCertificate(String vaultBaseUrl, String certificateName, String certificateVersion)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificate in the given vaultcertificateVersion - The version of the certificatepublic com.microsoft.rest.ServiceFuture<CertificateBundle> getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificate in the given vaultcertificateVersion - The version of the certificateserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateOperation updateCertificateOperation(UpdateCertificateOperationRequest updateCertificateOperationRequest)
updateCertificateOperationRequest - the grouped properties for updating a certificate operation requestpublic com.microsoft.rest.ServiceFuture<CertificateOperation> updateCertificateOperationAsync(UpdateCertificateOperationRequest updateCertificateOperationRequest, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
updateCertificateOperationRequest - the grouped properties for updating a certificate operation requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateOperation getCertificateOperation(String vaultBaseUrl, String certificateName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificatepublic com.microsoft.rest.ServiceFuture<CertificateOperation> getCertificateOperationAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificateserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateOperation deleteCertificateOperation(String vaultBaseUrl, String certificateName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificatepublic com.microsoft.rest.ServiceFuture<CertificateOperation> deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificateserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic CertificateBundle mergeCertificate(MergeCertificateRequest mergeCertificateRequest)
mergeCertificateRequest - the grouped properties for merging a certificate requestpublic com.microsoft.rest.ServiceFuture<CertificateBundle> mergeCertificateAsync(MergeCertificateRequest mergeCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
mergeCertificateRequest - the grouped properties for merging a certificate requestserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectpublic String getPendingCertificateSigningRequest(String vaultBaseUrl, String certificateName)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificatepublic com.microsoft.rest.ServiceFuture<String> getPendingCertificateSigningRequestAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<String> serviceCallback)
vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netcertificateName - The name of the certificateserviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture object/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/