Class CmafEncryption

    • Method Detail

      • constantInitializationVector

        public final String constantInitializationVector()
        An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
        Returns:
        An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
      • keyRotationIntervalSeconds

        public final Integer keyRotationIntervalSeconds()
        Time (in seconds) between each encryption key rotation.
        Returns:
        Time (in seconds) between each encryption key rotation.
      • spekeKeyProvider

        public final SpekeKeyProvider spekeKeyProvider()
        Returns the value of the SpekeKeyProvider property for this object.
        Returns:
        The value of the SpekeKeyProvider property for this object.
      • 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)