DecryptionKey
@objcMembers
@objc(BMPDecryptionKey)
public final class DecryptionKey : NSObject, NSCopying
Represents a decryption key for a ClearKey DRM config
-
The key identifier for the decryption key in hex string format.
Declaration
Swift
public var kid: String? -
The decryption key in hex string format.
Declaration
Swift
public var key: String -
Creates a new
DecryptionKeybased on the given key identifier (KID) and key.Declaration
Swift
public init(kid: String?, key: String)Parameters
kidThe key identifier in hex string format.
keyThe decryption key in hex string format.
Return Value
A new decryption key initialized with KID and key.
DecryptionKey Class Reference