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
DecryptionKey
based on the given key identifier (KID) and key.Declaration
Swift
public init(kid: String?, key: String)
Parameters
kid
The key identifier in hex string format.
key
The decryption key in hex string format.
Return Value
A new decryption key initialized with KID and key.