Uses of Class
org.refcodes.security.DecryptionException
-
-
Uses of DecryptionException in org.refcodes.security
Classes in org.refcodes.security with type parameters of type DecryptionException Modifier and Type Interface Description interface
Crypter<ENC,DEC,ENCEXC extends EncryptionException,DECEXC extends DecryptionException>
interface
Decrypter<DEC,ENC,EXC extends DecryptionException>
Plain interface for providing straight forward decryption functionality as ofDecrypter.toDecrypted(Object)
and for forcing your plain functionality to provide a bridge to the Java Cryptographic Extension (JCE) framework'sCipherSpi
as ofDecrypter.toDecrypted(byte[], int, int, byte[], int)
.Methods in org.refcodes.security that throw DecryptionException Modifier and Type Method Description default int
Decrypter. decrypt(byte[] aBuffer)
This method decrypts the provided buffer.default int
Decrypter. decrypt(byte[] aBuffer, int aOffset, int aLength)
This method decrypts the provided buffer beginning at the given offset and the given number of bytes.int
Decrypter. toDecrypted(byte[] aBuffer, int aOffset, int aLength, byte[] aOutBuffer, int aOutOffset)
For compatibility with the java.security framework, especially to be integrated in a sub-class of theCipherSpi
.DEC
Decrypter. toDecrypted(ENC aInput)
You pass in data of a given type and you get decrypted data of (another) given type.Constructor parameters in org.refcodes.security with type arguments of type DecryptionException Constructor Description DecryptionInputStream(InputStream aInputStream, Decrypter<byte[],byte[],DecryptionException> aDecrypter)
Constructs theDecryptionInputStream
by wrapping the givenInputStream
for the providedDecrypter
to be applied on the bytes to be read.
-