Interface PrivateKeyAttributesV2.Builder

    • Method Detail

      • 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

        PrivateKeyAttributesV2.Builder keySpec​(String 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, KeySpec
      • keySpec

        PrivateKeyAttributesV2.Builder keySpec​(KeySpec 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, KeySpec
      • 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.