BMPClearKeyConfiguration


@interface BMPClearKeyConfiguration : BMPDRMConfiguration

Represents a ClearKey configuration.

  • An array of objects representing the decryption keys.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nonnull)
        NSArray<BMPDecryptionKey *> *decryptionKeys;

    Swift

    var decryptionKeys: [DecryptionKey] { get set }
  • Creates a new BMPClearKeyConfiguration based on the given decryption keys.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDecryptionKeys:
        (nonnull NSArray<BMPDecryptionKey *> *)decryptionKeys;

    Swift

    init(decryptionKeys: [DecryptionKey])

    Parameters

    decryptionKeys

    The decryption keys to use for the ClearKey configuration.

    Return Value

    A ClearKey configuration which contains the given decryption keys for content decryption.