UnwrapKey Method

Unwraps a symmetric key.


public func unwrapKey(keyName: String, algorithm: String) throws -> Void


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.

Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Keys 2020 macOS Edition - Version 20.0 [Build 7876]