- cipher
- the cipher initialized for decrypting the encrypted data.
Documentation for this section has not yet been entered.
Type Reason Java.Security.Spec.InvalidKeySpecException if the specified cipher is not suited to decrypt the encrypted data. Java.Lang.NullPointerException if cipher is null.
Returns the PKCS8EncodedKeySpec object extracted from the encrypted data.
The cipher must be initialize in either Cipher.DECRYPT_MODE or Cipher.UNWRAP_MODE with the same parameters and key used for encrypting this.