Interface Encryption.Builder

    • Method Detail

      • constantInitializationVector

        Encryption.Builder constantInitializationVector​(String constantInitializationVector)

        A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).

        Parameters:
        constantInitializationVector - A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionMethod

        Encryption.Builder encryptionMethod​(EncryptionMethod encryptionMethod)

        The encryption method to use.

        Parameters:
        encryptionMethod - The encryption method to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyRotationIntervalSeconds

        Encryption.Builder keyRotationIntervalSeconds​(Integer keyRotationIntervalSeconds)

        The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.

        The following example setting causes the service to rotate keys every thirty minutes: 1800

        Parameters:
        keyRotationIntervalSeconds - The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.

        The following example setting causes the service to rotate keys every thirty minutes: 1800

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • spekeKeyProvider

        Encryption.Builder spekeKeyProvider​(SpekeKeyProvider spekeKeyProvider)

        The parameters for the SPEKE key provider.

        Parameters:
        spekeKeyProvider - The parameters for the SPEKE key provider.
        Returns:
        Returns a reference to this object so that method calls can be chained together.