Class EncryptionContractConfiguration

    • Method Detail

      • presetSpeke20Audio

        public final PresetSpeke20Audio presetSpeke20Audio()

        A collection of audio encryption presets.

        Value description:

        • PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in your stream.

        • PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.

        • PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.

        • SHARED - Use the same content key for all of the audio and video tracks in your stream.

        • UNENCRYPTED - Don't encrypt any of the audio tracks in your stream.

        If the service returns an enum value that is not available in the current SDK version, presetSpeke20Audio will return PresetSpeke20Audio.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from presetSpeke20AudioAsString().

        Returns:
        A collection of audio encryption presets.

        Value description:

        • PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in your stream.

        • PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.

        • PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.

        • SHARED - Use the same content key for all of the audio and video tracks in your stream.

        • UNENCRYPTED - Don't encrypt any of the audio tracks in your stream.

        See Also:
        PresetSpeke20Audio
      • presetSpeke20AudioAsString

        public final String presetSpeke20AudioAsString()

        A collection of audio encryption presets.

        Value description:

        • PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in your stream.

        • PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.

        • PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.

        • SHARED - Use the same content key for all of the audio and video tracks in your stream.

        • UNENCRYPTED - Don't encrypt any of the audio tracks in your stream.

        If the service returns an enum value that is not available in the current SDK version, presetSpeke20Audio will return PresetSpeke20Audio.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from presetSpeke20AudioAsString().

        Returns:
        A collection of audio encryption presets.

        Value description:

        • PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in your stream.

        • PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.

        • PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.

        • SHARED - Use the same content key for all of the audio and video tracks in your stream.

        • UNENCRYPTED - Don't encrypt any of the audio tracks in your stream.

        See Also:
        PresetSpeke20Audio
      • presetSpeke20Video

        public final PresetSpeke20Video presetSpeke20Video()

        A collection of video encryption presets.

        Value description:

        • PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream.

        • PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.

        • PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • SHARED - Use the same content key for all of the video and audio tracks in your stream.

        • UNENCRYPTED - Don't encrypt any of the video tracks in your stream.

        If the service returns an enum value that is not available in the current SDK version, presetSpeke20Video will return PresetSpeke20Video.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from presetSpeke20VideoAsString().

        Returns:
        A collection of video encryption presets.

        Value description:

        • PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream.

        • PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.

        • PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • SHARED - Use the same content key for all of the video and audio tracks in your stream.

        • UNENCRYPTED - Don't encrypt any of the video tracks in your stream.

        See Also:
        PresetSpeke20Video
      • presetSpeke20VideoAsString

        public final String presetSpeke20VideoAsString()

        A collection of video encryption presets.

        Value description:

        • PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream.

        • PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.

        • PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • SHARED - Use the same content key for all of the video and audio tracks in your stream.

        • UNENCRYPTED - Don't encrypt any of the video tracks in your stream.

        If the service returns an enum value that is not available in the current SDK version, presetSpeke20Video will return PresetSpeke20Video.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from presetSpeke20VideoAsString().

        Returns:
        A collection of video encryption presets.

        Value description:

        • PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream.

        • PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.

        • PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

        • PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

        • SHARED - Use the same content key for all of the video and audio tracks in your stream.

        • UNENCRYPTED - Don't encrypt any of the video tracks in your stream.

        See Also:
        PresetSpeke20Video
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)