public interface DecryptToken
CryptoContainer.decrypt(DecryptToken, Certificate, String, File)
.Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] pin1,
byte[] data,
boolean ecc)
Perform the actual decryption.
|
byte[] decrypt(byte[] pin1, byte[] data, boolean ecc) throws CryptoException
pin1
- PIN1 code.data
- Data to sign.ecc
- Whether it is an elliptic curve certificate.Pin1InvalidException
- When PIN1 verification fails.CryptoException
- When something besides PIN1 verification fails.