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 Details

    • withKeySize

      Key.DefinitionStages.WithCreate withKeySize(int size)
      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(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