@Beta(value=V1_6_0) public interface Key extends Indexable, HasInner<com.microsoft.azure.keyvault.models.KeyBundle>, 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 |
---|---|
com.microsoft.azure.keyvault.models.KeyAttributes |
attributes() |
byte[] |
backup() |
rx.Observable<byte[]> |
backupAsync() |
byte[] |
decrypt(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm,
byte[] content)
Decrypts a single block of encrypted data.
|
rx.Observable<byte[]> |
decryptAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm,
byte[] content)
Decrypts a single block of encrypted data.
|
byte[] |
encrypt(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm,
byte[] content)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
|
rx.Observable<byte[]> |
encryptAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm,
byte[] content)
Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
|
com.microsoft.azure.keyvault.webkey.JsonWebKey |
jsonWebKey() |
PagedList<Key> |
listVersions() |
rx.Observable<Key> |
listVersionsAsync() |
boolean |
managed() |
byte[] |
sign(com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm algorithm,
byte[] digest)
Creates a signature from a digest.
|
rx.Observable<byte[]> |
signAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm algorithm,
byte[] digest)
Creates a signature from a digest.
|
Map<String,String> |
tags() |
byte[] |
unwrapKey(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm,
byte[] key)
Unwraps a symmetric key wrapped originally by this Key Vault key.
|
rx.Observable<byte[]> |
unwrapKeyAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm,
byte[] key)
Unwraps a symmetric key wrapped originally by this Key Vault key.
|
boolean |
verify(com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm algorithm,
byte[] digest,
byte[] signature)
Verifies a signature from a digest.
|
rx.Observable<Boolean> |
verifyAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm algorithm,
byte[] digest,
byte[] signature)
Verifies a signature from a digest.
|
byte[] |
wrapKey(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm,
byte[] key)
Wraps a symmetric key using the specified algorithm.
|
rx.Observable<byte[]> |
wrapKeyAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm,
byte[] key)
Wraps a symmetric key using the specified algorithm.
|
key
inner
id
com.microsoft.azure.keyvault.webkey.JsonWebKey jsonWebKey()
com.microsoft.azure.keyvault.models.KeyAttributes attributes()
Map<String,String> tags()
boolean managed()
PagedList<Key> listVersions()
rx.Observable<Key> listVersionsAsync()
byte[] backup()
rx.Observable<byte[]> backupAsync()
byte[] encrypt(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm, byte[] content)
algorithm
- the JWK encryption algorithmcontent
- the content to be encryptedrx.Observable<byte[]> encryptAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm, byte[] content)
algorithm
- the JWK encryption algorithmcontent
- the content to be encryptedbyte[] decrypt(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm, byte[] content)
algorithm
- the JWK encryption algorithmcontent
- the content to be decryptedrx.Observable<byte[]> decryptAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm, byte[] content)
algorithm
- the JWK encryption algorithmcontent
- the content to be decryptedbyte[] sign(com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm algorithm, byte[] digest)
algorithm
- the JWK signing algorithmdigest
- the content to be signedrx.Observable<byte[]> signAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm algorithm, byte[] digest)
algorithm
- the JWK signing algorithmdigest
- the content to be signedboolean verify(com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
algorithm
- the JWK signing algorithmdigest
- the content to be signedsignature
- the signature to verifyrx.Observable<Boolean> verifyAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature)
algorithm
- the JWK signing algorithmdigest
- the content to be signedsignature
- the signature to verifybyte[] wrapKey(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm, byte[] key)
algorithm
- the JWK encryption algorithmkey
- the symmetric key to wraprx.Observable<byte[]> wrapKeyAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm, byte[] key)
algorithm
- the JWK encryption algorithmkey
- the symmetric key to wrapbyte[] unwrapKey(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm, byte[] key)
algorithm
- the JWK encryption algorithmkey
- the key to unwraprx.Observable<byte[]> unwrapKeyAsync(com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm algorithm, byte[] key)
algorithm
- the JWK encryption algorithmkey
- the key to unwrapCopyright © 2019. All rights reserved.