IT. Expert System.

Android Reference

MediaCodec.CryptoInfo


android.media

Class MediaCodec.CryptoInfo

  • Enclosing class:
    MediaCodec


    public static final class MediaCodec.CryptoInfo
    extends Object
    Metadata describing the structure of a (at least partially) encrypted input sample. A buffer's data is considered to be partitioned into "subSamples", each subSample starts with a (potentially empty) run of plain, unencrypted bytes followed by a (also potentially empty) run of encrypted bytes. numBytesOfClearData can be null to indicate that all data is encrypted. This information encapsulates per-sample metadata as outlined in ISO/IEC FDIS 23001-7:2011 "Common encryption in ISO base media file format files".
    • Field Detail

      • numSubSamples

        public int numSubSamples
        The number of subSamples that make up the buffer's contents.
      • numBytesOfClearData

        public int[] numBytesOfClearData
        The number of leading unencrypted bytes in each subSample.
      • numBytesOfEncryptedData

        public int[] numBytesOfEncryptedData
        The number of trailing encrypted bytes in each subSample.
      • key

        public byte[] key
        A 16-byte opaque key
      • iv

        public byte[] iv
        A 16-byte initialization vector
    • Constructor Detail

      • MediaCodec.CryptoInfo

        public MediaCodec.CryptoInfo()
    • Method Detail

      • set

        public void set(int newNumSubSamples,
               int[] newNumBytesOfClearData,
               int[] newNumBytesOfEncryptedData,
               byte[] newKey,
               byte[] newIV,
               int newMode)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 275 / 158855609. Delta: 0.03565 с