public interface Key extends Indexable, HasInner<com.azure.security.keyvault.keys.models.KeyVaultKey>, HasId, HasName, Updatable<Key.Update>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Key.Definition
Container interface for all the definitions.
|
static interface |
Key.DefinitionStages
Grouping of key definition stages.
|
static interface |
Key.Update
The template for a key update operation, containing all the settings that can be modified.
|
static interface |
Key.UpdateStages
Grouping of key update stages.
|
static interface |
Key.UpdateWithCreate
The template for a key vault update operation, with a new key version to be created.
|
static interface |
Key.UpdateWithImport
The template for a key vault update operation, with a new key version to be imported.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
backup() |
Mono<byte[]> |
backupAsync() |
byte[] |
decrypt(com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm,
byte[] content)
Decrypts a single block of encrypted data.
|
Mono<byte[]> |
decryptAsync(com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm,
byte[] content)
Decrypts a single block of encrypted data.
|
byte[] |
encrypt(com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm,
byte[] content)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
|
Mono<byte[]> |
encryptAsync(com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm,
byte[] content)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
|
com.azure.security.keyvault.keys.models.KeyProperties |
getAttributes() |
com.azure.security.keyvault.keys.models.JsonWebKey |
getJsonWebKey() |
Map<String,String> |
getTags() |
boolean |
isManaged() |
Iterable<Key> |
listVersions() |
Flux<Key> |
listVersionsAsync() |
byte[] |
sign(com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm,
byte[] digest)
Creates a signature from a digest.
|
Mono<byte[]> |
signAsync(com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm,
byte[] digest)
Creates a signature from a digest.
|
byte[] |
unwrapKey(com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm algorithm,
byte[] key)
Unwraps a symmetric key wrapped originally by this Key Vault key.
|
Mono<byte[]> |
unwrapKeyAsync(com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm algorithm,
byte[] key)
Unwraps a symmetric key wrapped originally by this Key Vault key.
|
boolean |
verify(com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm,
byte[] digest,
byte[] signature)
Verifies a signature from a digest.
|
Mono<Boolean> |
verifyAsync(com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm,
byte[] digest,
byte[] signature)
Verifies a signature from a digest.
|
byte[] |
wrapKey(com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm algorithm,
byte[] key)
Wraps a symmetric key using the specified algorithm.
|
Mono<byte[]> |
wrapKeyAsync(com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm algorithm,
byte[] key)
Wraps a symmetric key using the specified algorithm.
|
innercom.azure.security.keyvault.keys.models.JsonWebKey getJsonWebKey()
com.azure.security.keyvault.keys.models.KeyProperties getAttributes()
Map<String,String> getTags()
boolean isManaged()
Iterable<Key> listVersions()
Flux<Key> listVersionsAsync()
byte[] backup()
Mono<byte[]> backupAsync()
byte[] encrypt(com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm,
byte[] content)
algorithm - the JWK encryption algorithmcontent - the content to be encryptedMono<byte[]> encryptAsync(com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm, byte[] content)
algorithm - the JWK encryption algorithmcontent - the content to be encryptedbyte[] decrypt(com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm,
byte[] content)
algorithm - the JWK encryption algorithmcontent - the content to be decryptedMono<byte[]> decryptAsync(com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm, byte[] content)
algorithm - the JWK encryption algorithmcontent - the content to be decryptedbyte[] sign(com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm,
byte[] digest)
algorithm - the JWK signing algorithmdigest - the content to be signedMono<byte[]> signAsync(com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm, byte[] digest)
algorithm - the JWK signing algorithmdigest - the content to be signedboolean verify(com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm,
byte[] digest,
byte[] signature)
algorithm - the JWK signing algorithmdigest - the content to be signedsignature - the signature to verifyMono<Boolean> verifyAsync(com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm, byte[] digest, byte[] signature)
algorithm - the JWK signing algorithmdigest - the content to be signedsignature - the signature to verifybyte[] wrapKey(com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm algorithm,
byte[] key)
algorithm - the JWK encryption algorithmkey - the symmetric key to wrapMono<byte[]> wrapKeyAsync(com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm algorithm, byte[] key)
algorithm - the JWK encryption algorithmkey - the symmetric key to wrapbyte[] unwrapKey(com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm algorithm,
byte[] key)
algorithm - the JWK encryption algorithmkey - the key to unwrapMono<byte[]> unwrapKeyAsync(com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm algorithm, byte[] key)
algorithm - the JWK encryption algorithmkey - the key to unwrapCopyright © 2020. All rights reserved.