BMPClearKeyConfiguration

Objective-C


@interface BMPClearKeyConfiguration : BMPDRMConfiguration

Swift

class ClearKeyConfiguration : DRMConfiguration

Represents a ClearKey configuration.

  • An array of objects representing the decryption keys.

    Declaration

    Objective-C

    @property (nonatomic, copy, 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.