Interface Decrypter<DEC,ENC,EXC extends DecryptionException>

Type Parameters:
DEC - The type of the decrypted data.
ENC - The type of the encrypted data.
EXC - The specific type of the DecryptionException being thrown.
All Superinterfaces:
org.refcodes.mixin.Disposable
All Known Subinterfaces:
Crypter<ENC,DEC,ENCEXC,DECEXC>
All Known Implementing Classes:
PasswordTextDecrypter

public interface Decrypter<DEC,ENC,EXC extends DecryptionException> extends org.refcodes.mixin.Disposable
Plain interface for providing straight forward decryption functionality as of toDecrypted(Object) and for forcing your plain functionality to provide a bridge to the Java Cryptographic Extension (JCE) framework's CipherSpi as of toDecrypted(byte[], int, int, byte[], int). This way you can use your algorithms outside the JCE framework. This may be necessary when your Java's security settings prevent running your own JCE extensions from inside an (Oracle-) unsigned JAR.