- key
- the secret key to get the specification from.
- keySpec
- the target key specification class.
Documentation for this section has not yet been entered.
Type Reason Java.Security.Spec.InvalidKeySpecException if the specified secret key cannot be transformed into the requested key specification.
Returns the key specification of the specified secret key.