Interface PrivateKeyAttributesV3.Builder

    • Method Detail

      • cryptoProviders

        PrivateKeyAttributesV3.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

        PrivateKeyAttributesV3.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

        PrivateKeyAttributesV3.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

        PrivateKeyAttributesV3.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
      • keyUsageProperty

        PrivateKeyAttributesV3.Builder keyUsageProperty​(KeyUsageProperty keyUsageProperty)

        The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.

        Parameters:
        keyUsageProperty - The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimalKeyLength

        PrivateKeyAttributesV3.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.