Package com.microsoft.azure.keyvault
Interface KeyVaultClientCustom
-
- All Superinterfaces:
KeyVaultClientBase
- All Known Implementing Classes:
KeyVaultClient
,KeyVaultClientCustomImpl
public interface KeyVaultClientCustom extends KeyVaultClientBase
The interface for the Key Vault Client custom class. Maintains some backwards compatibility functionalities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.KeyBundle
createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
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.rx.Observable<KeyBundle>
createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Creates a new key, stores it, then returns key parameters and attributes to the client.com.microsoft.rest.ServiceFuture<KeyBundle>
createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client.rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>>
createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
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.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.CertificateBundle
getCertificate(String certificateIdentifier)
Gets information about a specified certificate.CertificateBundle
getCertificate(String vaultBaseUrl, String certificateName)
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.azure.PagedList<CertificateItem>
getCertificates(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault.rx.Observable<com.microsoft.azure.Page<CertificateItem>>
getCertificatesAsync(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault.com.microsoft.rest.ServiceFuture<List<CertificateItem>>
getCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>>
getCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault.com.microsoft.azure.PagedList<DeletedCertificateItem>
getDeletedCertificates(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>>
getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery.com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>>
getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>>
getDeletedCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery.KeyBundle
getKey(String keyIdentifier)
Gets the part of a stored key.KeyBundle
getKey(String vaultBaseUrl, String keyName)
Gets the part of a stored key.com.microsoft.rest.ServiceFuture<KeyBundle>
getKeyAsync(String keyIdentifier, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the part of a stored key.com.microsoft.rest.ServiceFuture<KeyBundle>
getKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the 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.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.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.void
initializeService()
Initializes the service.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, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
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.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, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
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.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, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
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.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, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
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.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, 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, Integer maxresults, 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, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
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.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, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
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.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()
Gets the REST client.retrofit2.Retrofit
retrofit()
com.microsoft.rest.protocol.SerializerAdapter<?>
serializerAdapter()
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.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.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.-
Methods inherited from interface com.microsoft.azure.keyvault.KeyVaultClientBase
acceptLanguage, apiVersion, backupCertificate, backupCertificateAsync, backupCertificateAsync, backupCertificateWithServiceResponseAsync, backupKey, backupKeyAsync, backupKeyAsync, backupKeyWithServiceResponseAsync, backupSecret, backupSecretAsync, backupSecretAsync, backupSecretWithServiceResponseAsync, backupStorageAccount, backupStorageAccountAsync, backupStorageAccountAsync, backupStorageAccountWithServiceResponseAsync, createCertificate, createCertificate, createCertificateAsync, createCertificateAsync, createCertificateAsync, createCertificateAsync, createCertificateWithServiceResponseAsync, createCertificateWithServiceResponseAsync, createKey, createKey, createKeyAsync, createKeyAsync, createKeyAsync, createKeyAsync, createKeyWithServiceResponseAsync, createKeyWithServiceResponseAsync, decrypt, decryptAsync, decryptAsync, decryptWithServiceResponseAsync, deleteCertificate, deleteCertificateAsync, deleteCertificateAsync, deleteCertificateContacts, deleteCertificateContactsAsync, deleteCertificateContactsAsync, deleteCertificateContactsWithServiceResponseAsync, deleteCertificateIssuer, deleteCertificateIssuerAsync, deleteCertificateIssuerAsync, deleteCertificateIssuerWithServiceResponseAsync, deleteCertificateOperation, deleteCertificateOperationAsync, deleteCertificateOperationAsync, deleteCertificateOperationWithServiceResponseAsync, deleteCertificateWithServiceResponseAsync, deleteKey, deleteKeyAsync, deleteKeyAsync, deleteKeyWithServiceResponseAsync, deleteSasDefinition, deleteSasDefinitionAsync, deleteSasDefinitionAsync, deleteSasDefinitionWithServiceResponseAsync, deleteSecret, deleteSecretAsync, deleteSecretAsync, deleteSecretWithServiceResponseAsync, deleteStorageAccount, deleteStorageAccountAsync, deleteStorageAccountAsync, deleteStorageAccountWithServiceResponseAsync, encrypt, encryptAsync, encryptAsync, encryptWithServiceResponseAsync, generateClientRequestId, getAzureClient, getCertificate, getCertificateAsync, getCertificateAsync, getCertificateContacts, getCertificateContactsAsync, getCertificateContactsAsync, getCertificateContactsWithServiceResponseAsync, getCertificateIssuer, getCertificateIssuerAsync, getCertificateIssuerAsync, getCertificateIssuers, getCertificateIssuers, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersAsync, getCertificateIssuersNext, getCertificateIssuersNextAsync, getCertificateIssuersNextAsync, getCertificateIssuersNextWithServiceResponseAsync, getCertificateIssuersWithServiceResponseAsync, getCertificateIssuersWithServiceResponseAsync, getCertificateIssuerWithServiceResponseAsync, getCertificateOperation, getCertificateOperationAsync, getCertificateOperationAsync, getCertificateOperationWithServiceResponseAsync, getCertificatePolicy, getCertificatePolicyAsync, getCertificatePolicyAsync, getCertificatePolicyWithServiceResponseAsync, getCertificates, getCertificates, getCertificatesAsync, getCertificatesAsync, getCertificatesAsync, getCertificatesAsync, getCertificatesNext, getCertificatesNextAsync, getCertificatesNextAsync, getCertificatesNextWithServiceResponseAsync, getCertificatesWithServiceResponseAsync, getCertificatesWithServiceResponseAsync, getCertificateVersions, getCertificateVersions, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsAsync, getCertificateVersionsNext, getCertificateVersionsNextAsync, getCertificateVersionsNextAsync, getCertificateVersionsNextWithServiceResponseAsync, getCertificateVersionsWithServiceResponseAsync, getCertificateVersionsWithServiceResponseAsync, getCertificateWithServiceResponseAsync, getDeletedCertificate, getDeletedCertificateAsync, getDeletedCertificateAsync, getDeletedCertificates, getDeletedCertificates, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesAsync, getDeletedCertificatesNext, getDeletedCertificatesNextAsync, getDeletedCertificatesNextAsync, getDeletedCertificatesNextWithServiceResponseAsync, getDeletedCertificatesWithServiceResponseAsync, getDeletedCertificatesWithServiceResponseAsync, getDeletedCertificateWithServiceResponseAsync, getDeletedKey, getDeletedKeyAsync, getDeletedKeyAsync, getDeletedKeys, getDeletedKeys, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysAsync, getDeletedKeysNext, getDeletedKeysNextAsync, getDeletedKeysNextAsync, getDeletedKeysNextWithServiceResponseAsync, getDeletedKeysWithServiceResponseAsync, getDeletedKeysWithServiceResponseAsync, getDeletedKeyWithServiceResponseAsync, getDeletedSasDefinition, getDeletedSasDefinitionAsync, getDeletedSasDefinitionAsync, getDeletedSasDefinitions, getDeletedSasDefinitions, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsAsync, getDeletedSasDefinitionsNext, getDeletedSasDefinitionsNextAsync, getDeletedSasDefinitionsNextAsync, getDeletedSasDefinitionsNextWithServiceResponseAsync, getDeletedSasDefinitionsWithServiceResponseAsync, getDeletedSasDefinitionsWithServiceResponseAsync, getDeletedSasDefinitionWithServiceResponseAsync, getDeletedSecret, getDeletedSecretAsync, getDeletedSecretAsync, getDeletedSecrets, getDeletedSecrets, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsAsync, getDeletedSecretsNext, getDeletedSecretsNextAsync, getDeletedSecretsNextAsync, getDeletedSecretsNextWithServiceResponseAsync, getDeletedSecretsWithServiceResponseAsync, getDeletedSecretsWithServiceResponseAsync, getDeletedSecretWithServiceResponseAsync, getDeletedStorageAccount, getDeletedStorageAccountAsync, getDeletedStorageAccountAsync, getDeletedStorageAccounts, getDeletedStorageAccounts, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsAsync, getDeletedStorageAccountsNext, getDeletedStorageAccountsNextAsync, getDeletedStorageAccountsNextAsync, getDeletedStorageAccountsNextWithServiceResponseAsync, getDeletedStorageAccountsWithServiceResponseAsync, getDeletedStorageAccountsWithServiceResponseAsync, getDeletedStorageAccountWithServiceResponseAsync, getKey, getKeyAsync, getKeyAsync, getKeys, getKeys, getKeysAsync, getKeysAsync, getKeysAsync, getKeysAsync, getKeysNext, getKeysNextAsync, getKeysNextAsync, getKeysNextWithServiceResponseAsync, getKeysWithServiceResponseAsync, getKeysWithServiceResponseAsync, getKeyVersions, getKeyVersions, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsAsync, getKeyVersionsNext, getKeyVersionsNextAsync, getKeyVersionsNextAsync, getKeyVersionsNextWithServiceResponseAsync, getKeyVersionsWithServiceResponseAsync, getKeyVersionsWithServiceResponseAsync, getKeyWithServiceResponseAsync, getSasDefinition, getSasDefinitionAsync, getSasDefinitionAsync, getSasDefinitions, getSasDefinitions, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsAsync, getSasDefinitionsNext, getSasDefinitionsNextAsync, getSasDefinitionsNextAsync, getSasDefinitionsNextWithServiceResponseAsync, getSasDefinitionsWithServiceResponseAsync, getSasDefinitionsWithServiceResponseAsync, getSasDefinitionWithServiceResponseAsync, getSecret, getSecretAsync, getSecretAsync, getSecrets, getSecrets, getSecretsAsync, getSecretsAsync, getSecretsAsync, getSecretsAsync, getSecretsNext, getSecretsNextAsync, getSecretsNextAsync, getSecretsNextWithServiceResponseAsync, getSecretsWithServiceResponseAsync, getSecretsWithServiceResponseAsync, getSecretVersions, getSecretVersions, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsAsync, getSecretVersionsNext, getSecretVersionsNextAsync, getSecretVersionsNextAsync, getSecretVersionsNextWithServiceResponseAsync, getSecretVersionsWithServiceResponseAsync, getSecretVersionsWithServiceResponseAsync, getSecretWithServiceResponseAsync, getStorageAccount, getStorageAccountAsync, getStorageAccountAsync, getStorageAccounts, getStorageAccounts, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsAsync, getStorageAccountsNext, getStorageAccountsNextAsync, getStorageAccountsNextAsync, getStorageAccountsNextWithServiceResponseAsync, getStorageAccountsWithServiceResponseAsync, getStorageAccountsWithServiceResponseAsync, getStorageAccountWithServiceResponseAsync, importCertificate, importCertificate, importCertificateAsync, importCertificateAsync, importCertificateAsync, importCertificateAsync, importCertificateWithServiceResponseAsync, importCertificateWithServiceResponseAsync, importKey, importKey, importKeyAsync, importKeyAsync, importKeyAsync, importKeyAsync, importKeyWithServiceResponseAsync, importKeyWithServiceResponseAsync, longRunningOperationRetryTimeout, mergeCertificate, mergeCertificate, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateAsync, mergeCertificateWithServiceResponseAsync, mergeCertificateWithServiceResponseAsync, purgeDeletedCertificate, purgeDeletedCertificateAsync, purgeDeletedCertificateAsync, purgeDeletedCertificateWithServiceResponseAsync, purgeDeletedKey, purgeDeletedKeyAsync, purgeDeletedKeyAsync, purgeDeletedKeyWithServiceResponseAsync, purgeDeletedSecret, purgeDeletedSecretAsync, purgeDeletedSecretAsync, purgeDeletedSecretWithServiceResponseAsync, purgeDeletedStorageAccount, purgeDeletedStorageAccountAsync, purgeDeletedStorageAccountAsync, purgeDeletedStorageAccountWithServiceResponseAsync, recoverDeletedCertificate, recoverDeletedCertificateAsync, recoverDeletedCertificateAsync, recoverDeletedCertificateWithServiceResponseAsync, recoverDeletedKey, recoverDeletedKeyAsync, recoverDeletedKeyAsync, recoverDeletedKeyWithServiceResponseAsync, recoverDeletedSasDefinition, recoverDeletedSasDefinitionAsync, recoverDeletedSasDefinitionAsync, recoverDeletedSasDefinitionWithServiceResponseAsync, recoverDeletedSecret, recoverDeletedSecretAsync, recoverDeletedSecretAsync, recoverDeletedSecretWithServiceResponseAsync, recoverDeletedStorageAccount, recoverDeletedStorageAccountAsync, recoverDeletedStorageAccountAsync, recoverDeletedStorageAccountWithServiceResponseAsync, regenerateStorageAccountKey, regenerateStorageAccountKeyAsync, regenerateStorageAccountKeyAsync, regenerateStorageAccountKeyWithServiceResponseAsync, restoreCertificate, restoreCertificateAsync, restoreCertificateAsync, restoreCertificateWithServiceResponseAsync, restoreKey, restoreKeyAsync, restoreKeyAsync, restoreKeyWithServiceResponseAsync, restoreSecret, restoreSecretAsync, restoreSecretAsync, restoreSecretWithServiceResponseAsync, restoreStorageAccount, restoreStorageAccountAsync, restoreStorageAccountAsync, restoreStorageAccountWithServiceResponseAsync, setCertificateContacts, setCertificateContactsAsync, setCertificateContactsAsync, setCertificateContactsWithServiceResponseAsync, setCertificateIssuer, setCertificateIssuer, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerAsync, setCertificateIssuerWithServiceResponseAsync, setCertificateIssuerWithServiceResponseAsync, setSasDefinition, setSasDefinition, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionAsync, setSasDefinitionWithServiceResponseAsync, setSasDefinitionWithServiceResponseAsync, setSecret, setSecret, setSecretAsync, setSecretAsync, setSecretAsync, setSecretAsync, setSecretWithServiceResponseAsync, setSecretWithServiceResponseAsync, setStorageAccount, setStorageAccount, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountAsync, setStorageAccountWithServiceResponseAsync, setStorageAccountWithServiceResponseAsync, sign, signAsync, signAsync, signWithServiceResponseAsync, unwrapKey, unwrapKeyAsync, unwrapKeyAsync, unwrapKeyWithServiceResponseAsync, updateCertificate, updateCertificate, updateCertificateAsync, updateCertificateAsync, updateCertificateAsync, updateCertificateAsync, updateCertificateIssuer, updateCertificateIssuer, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerAsync, updateCertificateIssuerWithServiceResponseAsync, updateCertificateIssuerWithServiceResponseAsync, updateCertificateOperation, updateCertificateOperationAsync, updateCertificateOperationAsync, updateCertificateOperationWithServiceResponseAsync, updateCertificatePolicy, updateCertificatePolicyAsync, updateCertificatePolicyAsync, updateCertificatePolicyWithServiceResponseAsync, updateCertificateWithServiceResponseAsync, updateCertificateWithServiceResponseAsync, updateKey, updateKey, updateKeyAsync, updateKeyAsync, updateKeyAsync, updateKeyAsync, updateKeyWithServiceResponseAsync, updateKeyWithServiceResponseAsync, updateSasDefinition, updateSasDefinition, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionAsync, updateSasDefinitionWithServiceResponseAsync, updateSasDefinitionWithServiceResponseAsync, updateSecret, updateSecret, updateSecretAsync, updateSecretAsync, updateSecretAsync, updateSecretAsync, updateSecretWithServiceResponseAsync, updateSecretWithServiceResponseAsync, updateStorageAccount, updateStorageAccount, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountAsync, updateStorageAccountWithServiceResponseAsync, updateStorageAccountWithServiceResponseAsync, userAgent, verify, verifyAsync, verifyAsync, verifyWithServiceResponseAsync, withAcceptLanguage, withGenerateClientRequestId, withLongRunningOperationRetryTimeout, wrapKey, wrapKeyAsync, wrapKeyAsync, wrapKeyWithServiceResponseAsync
-
-
-
-
Method Detail
-
retrofit
retrofit2.Retrofit retrofit()
- Returns:
- the Retrofit instance.
-
httpClient
okhttp3.OkHttpClient httpClient()
- Returns:
- the HTTP client.
-
serializerAdapter
com.microsoft.rest.protocol.SerializerAdapter<?> serializerAdapter()
- Returns:
- the adapter to a Jackson
ObjectMapper
.
-
initializeService
void initializeService()
Initializes the service.
-
restClient
com.microsoft.rest.RestClient restClient()
Description copied from interface:KeyVaultClientBase
Gets the REST client.- Specified by:
restClient
in interfaceKeyVaultClientBase
- Returns:
- the
RestClient
instance.
-
createKey
KeyBundle createKey(CreateKeyRequest createKeyRequest)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. Authorization: Requires the keys/create permission.- Parameters:
createKeyRequest
- the grouped properties for creating a key request- Returns:
- the KeyBundle if successful.
-
createKey
KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bytes. For example, 1024 or 2048.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the KeyBundle object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
createKeyAsync
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. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. Authorization: Requires the keys/create permission.- Parameters:
createKeyRequest
- the grouped properties for creating a key requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
createKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bytes. For example, 1024 or 2048.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createKeyAsync
rx.Observable<KeyBundle> createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bytes. For example, 1024 or 2048.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createKeyWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<KeyBundle>> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List<JsonWebKeyOperation> keyOps, KeyAttributes keyAttributes, Map<String,String> tags)
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.keyName
- The name for the new key. The system will generate the version name for the new key.kty
- The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct'keySize
- The key size in bytes. For example, 1024 or 2048.keyOps
- the List<JsonWebKeyOperation> valuekeyAttributes
- the KeyAttributes valuetags
- Application specific metadata in the form of key-value pairs.- Returns:
- the observable to the KeyBundle object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
importKey
KeyBundle importKey(ImportKeyRequest importKeyRequest)
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. Authorization: requires the keys/import permission.- Parameters:
importKeyRequest
- the grouped properties for importing a key request- Returns:
- the KeyBundle if successful.
-
importKeyAsync
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. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. Authorization: requires the keys/import permission.- Parameters:
importKeyRequest
- the grouped properties for importing a key requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateKey
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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission.- Parameters:
updateKeyRequest
- the grouped properties for updating a key request- Returns:
- the KeyBundle if successful.
-
updateKeyAsync
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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission.- Parameters:
updateKeyRequest
- the grouped properties for updating a key requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getKey
KeyBundle getKey(String keyIdentifier)
Gets the 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.- Parameters:
keyIdentifier
- The full key identifier- Returns:
- the KeyBundle if successful.
-
getKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync(String keyIdentifier, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the 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.- Parameters:
keyIdentifier
- The full key identifierserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getKey
KeyBundle getKey(String vaultBaseUrl, String keyName)
Gets the 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.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netkeyName
- The name of the key- Returns:
- the KeyBundle if successful.
-
getKeyAsync
com.microsoft.rest.ServiceFuture<KeyBundle> getKeyAsync(String vaultBaseUrl, String keyName, com.microsoft.rest.ServiceCallback<KeyBundle> serviceCallback)
Gets the 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.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
listKeyVersions
com.microsoft.azure.PagedList<KeyItem> listKeyVersions(String vaultBaseUrl, String keyName)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netkeyName
- The name of the key- Returns:
- the PagedList<KeyItem> if successful.
-
listKeyVersionsAsync
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. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
listKeyVersions
com.microsoft.azure.PagedList<KeyItem> listKeyVersions(String vaultBaseUrl, String keyName, Integer maxresults)
Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission.- Parameters:
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.- Returns:
- the PagedList<KeyItem> if successful.
-
listKeyVersionsAsync
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. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
listKeys
com.microsoft.azure.PagedList<KeyItem> listKeys(String vaultBaseUrl)
List keys in the specified vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net- Returns:
- the PagedList<KeyItem> if successful.
-
listKeysAsync
com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeysAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listKeys
com.microsoft.azure.PagedList<KeyItem> listKeys(String vaultBaseUrl, Integer maxresults)
List keys in the specified vault.- Parameters:
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.- Returns:
- the PagedList<KeyItem> if successful.
-
listKeysAsync
com.microsoft.rest.ServiceFuture<List<KeyItem>> listKeysAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<KeyItem> serviceCallback)
List keys in the specified vault.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
wrapKeyAsync
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.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the key to be wrappedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
unwrapKey
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.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the key to be unwrapped- Returns:
- the KeyOperationResult if successful.
-
unwrapKeyAsync
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.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the key to be unwrappedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
wrapKey
KeyOperationResult wrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Wraps a symmetric key using the specified key.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the key to be wrapped- Returns:
- the KeyOperationResult if successful.
-
encrypt
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.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be encrypted- Returns:
- the KeyOperationResult if successful.
-
encryptAsync
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.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be encryptedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
decrypt
KeyOperationResult decrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value)
Decrypts a single block of encrypted data.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be decrypted- Returns:
- the KeyOperationResult if successful.
-
decryptAsync
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.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be decryptedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
sign
KeyOperationResult sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value)
Creates a signature from a digest using the specified key.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be signed- Returns:
- the KeyOperationResult if successful.
-
signAsync
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.- Parameters:
keyIdentifier
- The full key identifieralgorithm
- algorithm identifiervalue
- the content to be signedserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
verify
KeyVerifyResult verify(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
Verifies a signature using the specified key.- Parameters:
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 verified- Returns:
- the KeyVerifyResult if successful.
-
verifyAsync
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.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
setSecret
SecretBundle setSecret(SetSecretRequest setSecretRequest)
Sets a secret in the specified vault.- Parameters:
setSecretRequest
- the grouped properties for setting a secret request- Returns:
- the SecretBundle if successful.
-
setSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> setSecretAsync(SetSecretRequest setSecretRequest, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Sets a secret in the specified vault.- Parameters:
setSecretRequest
- the grouped properties for setting a secret requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateSecret
SecretBundle updateSecret(UpdateSecretRequest updateSecretRequest)
Updates the attributes associated with a specified secret in a given key vault.- Parameters:
updateSecretRequest
- the grouped properties for updating a secret request- Returns:
- the SecretBundle if successful.
-
updateSecretAsync
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.- Parameters:
updateSecretRequest
- the grouped properties for updating a secret requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getSecret
SecretBundle getSecret(String secretIdentifier)
Get a specified secret from a given key vault.- Parameters:
secretIdentifier
- The URL for the secret.- Returns:
- the SecretBundle if successful.
-
getSecretAsync
com.microsoft.rest.ServiceFuture<SecretBundle> getSecretAsync(String secretIdentifier, com.microsoft.rest.ServiceCallback<SecretBundle> serviceCallback)
Get a specified secret from a given key vault.- Parameters:
secretIdentifier
- The URL for the secret.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getSecret
SecretBundle getSecret(String vaultBaseUrl, String secretName)
Get a specified secret from a given key vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netsecretName
- The name of the secret in the given vault- Returns:
- the SecretBundle if successful.
-
getSecretAsync
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.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
listSecrets
com.microsoft.azure.PagedList<SecretItem> listSecrets(String vaultBaseUrl)
List secrets in the specified vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net- Returns:
- the PagedList<SecretItem> if successful.
-
listSecretsAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretsAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in the specified vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listSecrets
com.microsoft.azure.PagedList<SecretItem> listSecrets(String vaultBaseUrl, Integer maxresults)
List secrets in the specified vault.- Parameters:
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.- Returns:
- the PagedList<SecretItem> if successful.
-
listSecretsAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretsAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List secrets in the specified vault.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
listSecretVersions
com.microsoft.azure.PagedList<SecretItem> listSecretVersions(String vaultBaseUrl, String secretName)
List the versions of the specified secret.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netsecretName
- The name of the secret in the given vault- Returns:
- the PagedList<SecretItem> if successful.
-
listSecretVersionsAsync
com.microsoft.rest.ServiceFuture<List<SecretItem>> listSecretVersionsAsync(String vaultBaseUrl, String secretName, com.microsoft.azure.ListOperationCallback<SecretItem> serviceCallback)
List the versions of the specified secret.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
listSecretVersions
com.microsoft.azure.PagedList<SecretItem> listSecretVersions(String vaultBaseUrl, String secretName, Integer maxresults)
List the versions of the specified secret.- Parameters:
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.- Returns:
- the PagedList<SecretItem> if successful.
-
listSecretVersionsAsync
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.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
getCertificates
com.microsoft.azure.PagedList<CertificateItem> getCertificates(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<CertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getCertificatesAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> getCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- 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.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesAsync
rx.Observable<com.microsoft.azure.Page<CertificateItem>> getCertificatesAsync(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getCertificatesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<CertificateItem>>> getCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<CertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listCertificates
com.microsoft.azure.PagedList<CertificateItem> listCertificates(String vaultBaseUrl)
List certificates in the specified vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net- Returns:
- the PagedList<CertificateItem> if successful.
-
listCertificatesAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificatesAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in the specified vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificates
com.microsoft.azure.PagedList<CertificateItem> listCertificates(String vaultBaseUrl, Integer maxresults)
List certificates in the specified vault.- Parameters:
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.- Returns:
- the PagedList<CertificateItem> if successful.
-
listCertificatesAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List certificates in the specified vault.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
listCertificateIssuers
com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers(String vaultBaseUrl)
List certificate issuers for the specified vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.net- Returns:
- the PagedList<CertificateIssuerItem> if successful.
-
listCertificateIssuersAsync
com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> listCertificateIssuersAsync(String vaultBaseUrl, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for the specified vault.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificateIssuers
com.microsoft.azure.PagedList<CertificateIssuerItem> listCertificateIssuers(String vaultBaseUrl, Integer maxresults)
List certificate issuers for the specified vault.- Parameters:
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.- Returns:
- the PagedList<CertificateIssuerItem> if successful.
-
listCertificateIssuersAsync
com.microsoft.rest.ServiceFuture<List<CertificateIssuerItem>> listCertificateIssuersAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<CertificateIssuerItem> serviceCallback)
List certificate issuers for the specified vault.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
setCertificateIssuer
IssuerBundle setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest)
Sets the certificate contacts for the specified vault.- Parameters:
setCertificateIssuerRequest
- the grouped properties for setting a certificate issuer request- Returns:
- the IssuerBundle if successful.
-
setCertificateIssuerAsync
com.microsoft.rest.ServiceFuture<IssuerBundle> setCertificateIssuerAsync(SetCertificateIssuerRequest setCertificateIssuerRequest, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Sets the certificate contacts for the specified vault.- Parameters:
setCertificateIssuerRequest
- the grouped properties for setting a certificate issuer requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateCertificateIssuer
IssuerBundle updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest)
Updates the specified certificate issuer.- Parameters:
updateCertificateIssuerRequest
- the grouped properties for updating a certificate issuer request- Returns:
- the IssuerBundle if successful.
-
updateCertificateIssuerAsync
com.microsoft.rest.ServiceFuture<IssuerBundle> updateCertificateIssuerAsync(UpdateCertificateIssuerRequest updateCertificateIssuerRequest, com.microsoft.rest.ServiceCallback<IssuerBundle> serviceCallback)
Updates the specified certificate issuer.- Parameters:
updateCertificateIssuerRequest
- the grouped properties for updating a certificate issuer requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if callback is null
-
createCertificate
CertificateOperation createCertificate(CreateCertificateRequest createCertificateRequest)
Creates a new certificate version. If this is the first version, the certificate resource is created.- Parameters:
createCertificateRequest
- the grouped properties for creating a certificate request- Returns:
- the CertificateOperation if successful.
-
createCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateOperation> createCertificateAsync(CreateCertificateRequest createCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Creates a new certificate version. If this is the first version, the certificate resource is created.- Parameters:
createCertificateRequest
- the grouped properties for creating a certificate requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
importCertificate
CertificateBundle importCertificate(ImportCertificateRequest importCertificateRequest)
Imports a certificate into the specified vault.- Parameters:
importCertificateRequest
- the grouped properties for importing a certificate request- Returns:
- the CertificateBundle if successful.
-
importCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> importCertificateAsync(ImportCertificateRequest importCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Imports a certificate into the specified vault.- Parameters:
importCertificateRequest
- the grouped properties for importing a certificate requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
listCertificateVersions
com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions(String vaultBaseUrl, String certificateName)
List the versions of a certificate.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificate- Returns:
- the PagedList<CertificateItem> if successful.
-
listCertificateVersionsAsync
com.microsoft.rest.ServiceFuture<List<CertificateItem>> listCertificateVersionsAsync(String vaultBaseUrl, String certificateName, com.microsoft.azure.ListOperationCallback<CertificateItem> serviceCallback)
List the versions of a certificate.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
listCertificateVersions
com.microsoft.azure.PagedList<CertificateItem> listCertificateVersions(String vaultBaseUrl, String certificateName, Integer maxresults)
List the versions of a certificate.- Parameters:
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.- Returns:
- the PagedList<CertificateItem> if successful.
-
listCertificateVersionsAsync
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.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
updateCertificatePolicy
CertificatePolicy updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest)
Updates the policy for a certificate. Set appropriate members in the certificatePolicy that must be updated. Leave others as null.- Parameters:
updateCertificatePolicyRequest
- the grouped properties for updating a certificate policy request- Returns:
- the CertificatePolicy if successful.
-
updateCertificatePolicyAsync
com.microsoft.rest.ServiceFuture<CertificatePolicy> updateCertificatePolicyAsync(UpdateCertificatePolicyRequest updateCertificatePolicyRequest, com.microsoft.rest.ServiceCallback<CertificatePolicy> serviceCallback)
Updates the policy for a certificate. Set appropriate members in the certificatePolicy that must be updated. Leave others as null.- Parameters:
updateCertificatePolicyRequest
- the grouped properties for updating a certificate policy requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
updateCertificate
CertificateBundle updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the attributes associated with the specified certificate.- Parameters:
updateCertificateRequest
- the grouped properties for updating a certificate request- Returns:
- the CertificateBundle if successful.
-
updateCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Updates the attributes associated with the specified certificate.- Parameters:
updateCertificateRequest
- the grouped properties for updating a certificate requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getCertificate
CertificateBundle getCertificate(String certificateIdentifier)
Gets information about a specified certificate.- Parameters:
certificateIdentifier
- The certificate identifier- Returns:
- the CertificateBundle if successful.
-
getCertificateAsync
com.microsoft.rest.ServiceFuture<CertificateBundle> getCertificateAsync(String certificateIdentifier, com.microsoft.rest.ServiceCallback<CertificateBundle> serviceCallback)
Gets information about a specified certificate.- Parameters:
certificateIdentifier
- The certificate identifierserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getCertificate
CertificateBundle getCertificate(String vaultBaseUrl, String certificateName)
Gets information about a specified certificate.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificate in the given vault- Returns:
- the CertificateBundle if successful.
-
updateCertificateOperation
CertificateOperation updateCertificateOperation(UpdateCertificateOperationRequest updateCertificateOperationRequest)
Updates a certificate operation.- Parameters:
updateCertificateOperationRequest
- the grouped properties for updating a certificate operation request- Returns:
- the CertificateOperation if successful.
-
updateCertificateOperationAsync
com.microsoft.rest.ServiceFuture<CertificateOperation> updateCertificateOperationAsync(UpdateCertificateOperationRequest updateCertificateOperationRequest, com.microsoft.rest.ServiceCallback<CertificateOperation> serviceCallback)
Updates a certificate operation.- Parameters:
updateCertificateOperationRequest
- the grouped properties for updating a certificate operation requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
mergeCertificate
CertificateBundle mergeCertificate(MergeCertificateRequest mergeCertificateRequest)
Merges a certificate or a certificate chain with a key pair existing on the server.- Parameters:
mergeCertificateRequest
- the grouped properties for merging a certificate request- Returns:
- the CertificateBundle if successful.
-
mergeCertificateAsync
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.- Parameters:
mergeCertificateRequest
- the grouped properties for merging a certificate requestserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object
-
getPendingCertificateSigningRequest
String getPendingCertificateSigningRequest(String vaultBaseUrl, String certificateName)
Gets the pending certificate signing request response.- Parameters:
vaultBaseUrl
- The vault name, e.g. https://myvault.vault.azure.netcertificateName
- The name of the certificate- Returns:
- the String if successful.
-
getPendingCertificateSigningRequestAsync
com.microsoft.rest.ServiceFuture<String> getPendingCertificateSigningRequestAsync(String vaultBaseUrl, String certificateName, com.microsoft.rest.ServiceCallback<String> serviceCallback)
Gets the pending certificate signing request response.- Parameters:
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.- Returns:
- the
ServiceFuture
object
-
getDeletedCertificates
com.microsoft.azure.PagedList<DeletedCertificateItem> getDeletedCertificates(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the PagedList<DeletedCertificateItem> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationKeyVaultErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedCertificatesAsync
com.microsoft.rest.ServiceFuture<List<DeletedCertificateItem>> getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults, com.microsoft.azure.ListOperationCallback<DeletedCertificateItem> serviceCallback)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- 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.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesAsync
rx.Observable<com.microsoft.azure.Page<DeletedCertificateItem>> getDeletedCertificatesAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getDeletedCertificatesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<DeletedCertificateItem>>> getDeletedCertificatesWithServiceResponseAsync(String vaultBaseUrl, Integer maxresults)
Lists the deleted certificates in the specified vault currently available for recovery. The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.- Parameters:
vaultBaseUrl
- The vault name, for example https://myvault.vault.azure.net.maxresults
- Maximum number of results to return in a page. If not specified the service will return up to 25 results.- Returns:
- the observable to the PagedList<DeletedCertificateItem> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-