- key
- the key to wrap.
Documentation for this section has not yet been entered.
Type Reason Javax.Crypto.IllegalBlockSizeException if the size of the resulting bytes is not a multiple of the cipher block size. Java.Security.InvalidKeyException if this cipher instance cannot wrap this key.
Wraps a key using this cipher instance. This method has been added to this class (for backwards compatibility, it cannot be abstract). If this method is not overridden, it throws an UnsupportedOperationException.