Key.DefinitionStages.WithKey Interface
public static interface Key.DefinitionStages.WithKey
The stage of a key definition allowing to specify whether to create a key or to import a key.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withKeyTypeToCreate(KeyType keyType)
Specifies a key type to create a new key. |
abstract
With |
withLocalKeyToImport(JsonWebKey key)
Specifies an existing key to import. |
Method Details
withKeyTypeToCreate
public abstract Key.DefinitionStages.WithCreate withKeyTypeToCreate(KeyType keyType)
Specifies a key type to create a new key.
Parameters:
keyType
- the JWK type to create
Returns:
the next stage of the definition
withLocalKeyToImport
public abstract Key.DefinitionStages.WithImport withLocalKeyToImport(JsonWebKey key)
Specifies an existing key to import.
Parameters:
key
- the existing JWK to import
Returns:
the next stage of the definition
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java