Package: android.hardware.drm@1.1

ICryptoFactory

interface ICryptoFactory extends @1.0::ICryptoFactory

ICryptoFactory is the main entry point for interacting with a vendor's crypto HAL to create crypto plugins.Crypto plugins create crypto sessions which are used by a codec to decrypt protected video content.

The 1.1 factory must always create 1.0 ICryptoPlugin interfaces, which are returned via the 1.0 createPlugin method.

The ICryptoFactory hal is required because all top-level interfaces have to be updated in a minor uprev.