key (property)
The symmetric key to use for encryption.
Syntax
@property (nonatomic,readwrite,assign,getter=key,setter=setKey:) NSData* key; - (NSData*)key; - (void)setKey:(NSData*)newKey;
public var key: Data { get {...}
set {...} }
Remarks
Use this property to provide a symmetric key to use for encryption. If the symmetric key is provided, an output message of EncryptedData type will be formed. The recipient of this message will need to have the same key to decrypt it.