Class TrackOutput.CryptoData

  • Enclosing interface:
    TrackOutput

    public static final class TrackOutput.CryptoData
    extends Object
    Holds data required to decrypt a sample.
    • Field Detail

      • cryptoMode

        @CryptoMode
        public final int cryptoMode
        The encryption mode used for the sample.
      • encryptionKey

        public final byte[] encryptionKey
        The encryption key associated with the sample. Its contents must not be modified.
      • encryptedBlocks

        public final int encryptedBlocks
        The number of encrypted blocks in the encryption pattern, 0 if pattern encryption does not apply.
      • clearBlocks

        public final int clearBlocks
        The number of clear blocks in the encryption pattern, 0 if pattern encryption does not apply.
    • Method Detail

      • equals

        public boolean equals​(@Nullable
                              Object obj)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object