Interface Key.DefinitionStages.WithKeySize
- All Known Subinterfaces:
Key.Definition,Key.DefinitionStages.WithCreate
- Enclosing interface:
- Key.DefinitionStages
public static interface Key.DefinitionStages.WithKeySize
The stage of a key definition allowing to specify the key size.
-
Method Summary
Modifier and TypeMethodDescriptionwithKeyCurveName(com.azure.security.keyvault.keys.models.KeyCurveName keyCurveName) Specifies the name of the key curve for elliptic-curve key to create.withKeySize(int size) Specifies the size of the RSA key to create.
-
Method Details
-
withKeySize
Specifies the size of the RSA key to create.- Parameters:
size- the size of the key in integer- Returns:
- the next stage of the definition
-
withKeyCurveName
Key.DefinitionStages.WithCreate withKeyCurveName(com.azure.security.keyvault.keys.models.KeyCurveName keyCurveName) Specifies the name of the key curve for elliptic-curve key to create.- Parameters:
keyCurveName- name of the key curve- Returns:
- the next stage of the definition
-