BMPDecryptionKey

Objective-C

@interface BMPDecryptionKey : NSObject <NSCopying, BMPJsonable>
/** The key identifier for the decryption key in hex string format. */
@property (nonatomic, copy, nullable) NSString *kid;
/** The decryption key in hex string format. */
@property (nonatomic, copy, nonnull) NSString *key;
/// :nodoc:
- (instancetype)init NS_UNAVAILABLE;
/// :nodoc:
+ (instancetype)new NS_UNAVAILABLE;
/**
 Creates a new BMPDecryptionKey based on the given key identifier (KID) and key.

 @param kid The key identifier in hex string format.
 @param key The decryption key in hex string format.
 @return A new decryption key initialized with KID and key.
 */
- (instancetype)initWithKid:(nullable NSString *)kid key:(NSString *)key NS_DESIGNATED_INITIALIZER;
@end

Swift

class DecryptionKey : NSObject, NSCopying, BMPJsonable

Undocumented

  • kid

    The key identifier for the decryption key in hex string format.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *kid;

    Swift

    var kid: String? { get set }
  • key

    The decryption key in hex string format.

    Declaration

    Objective-C

    @property (nonatomic, copy, nonnull) NSString *key;

    Swift

    var key: String { get set }
  • Creates a new BMPDecryptionKey based on the given key identifier (KID) and key.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithKid:(nullable NSString *)kid
                                    key:(nonnull NSString *)key;

    Swift

    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.