Interface PrivateKeyAttributesV2.Builder

  • Method Details

    • cryptoProviders

      PrivateKeyAttributesV2.Builder cryptoProviders(Collection<String> cryptoProviders)

      Defines the cryptographic providers used to generate the private key.

      Parameters:
      cryptoProviders - Defines the cryptographic providers used to generate the private key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cryptoProviders

      PrivateKeyAttributesV2.Builder cryptoProviders(String... cryptoProviders)

      Defines the cryptographic providers used to generate the private key.

      Parameters:
      cryptoProviders - Defines the cryptographic providers used to generate the private key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keySpec

      Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.

      Parameters:
      keySpec - Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • keySpec

      Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.

      Parameters:
      keySpec - Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • minimalKeyLength

      PrivateKeyAttributesV2.Builder minimalKeyLength(Integer minimalKeyLength)

      Set the minimum key length of the private key.

      Parameters:
      minimalKeyLength - Set the minimum key length of the private key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.