Package | Description |
---|---|
com.azure.security.keyvault.keys |
Package containing classes for creating
KeyAsyncClient and
KeyClient to perform operations on Azure Key Vault. |
com.azure.security.keyvault.keys.models |
Package containing classes used for representing keys, deleted keys and their attributes in
Azure Key Vault.
|
Modifier and Type | Method and Description |
---|---|
KeyVaultKey |
KeyClient.createKey(String name,
KeyType keyType)
Creates a new key and stores it in the key vault.
|
Mono<KeyVaultKey> |
KeyAsyncClient.createKey(String name,
KeyType keyType)
Creates a new key and stores it in the key vault.
|
Modifier and Type | Field and Description |
---|---|
static KeyType |
KeyType.EC
Static value EC for KeyType.
|
static KeyType |
KeyType.EC_HSM
Static value EC-HSM for KeyType.
|
static KeyType |
KeyType.OCT
Static value oct for KeyType.
|
static KeyType |
KeyType.RSA
Static value RSA for KeyType.
|
static KeyType |
KeyType.RSA_HSM
Static value RSA-HSM for KeyType.
|
Modifier and Type | Method and Description |
---|---|
static KeyType |
KeyType.fromString(String name)
Creates or finds a KeyType from its string representation.
|
KeyType |
KeyVaultKey.getKeyType()
Get the key type of the key
|
KeyType |
JsonWebKey.getKeyType()
Get the kty value.
|
KeyType |
CreateKeyOptions.getKeyType()
Get the key type.
|
Constructor and Description |
---|
CreateKeyOptions(String name,
KeyType keyType)
Creates instance of KeyCreateOptions with
name as key name and keyType as type of the key. |
Copyright © 2020 Microsoft Corporation. All rights reserved.