unwrapKey (method)
Unwraps a symmetric key.
Syntax
- (void)unwrapKey:(NSString*)keyName :(NSString*)algorithm;
public func unwrapKey(_ keyName: String, _ algorithm: String) throws -> Void
Remarks
This method unwraps (i.e., decrypts) a symmetric key using the key specified by KeyName and the given Algorithm.
This method functions exactly the same way as the Decrypt method, except that it requires the keys/unwrapKey permission instead of the keys/decrypt permission. Refer to the Decrypt method's documentation for more information.