Uses of Class
org.refcodes.security.EncryptionException
-
-
Uses of EncryptionException in org.refcodes.security
Classes in org.refcodes.security with type parameters of type EncryptionException Modifier and Type Interface Description interface
Crypter<ENC,DEC,ENCEXC extends EncryptionException,DECEXC extends DecryptionException>
interface
Encrypter<ENC,DEC,EXC extends EncryptionException>
Plain interface for providing straight forward encryption functionality as ofEncrypter.toEncrypted(Object)
and for forcing your plain functionality to provide a bridge to the Java Cryptographic Extension (JCE) framework'sCipherSpi
as ofEncrypter.toEncrypted(byte[], int, int, byte[], int)
.Fields in org.refcodes.security with type parameters of type EncryptionException Modifier and Type Field Description protected Encrypter<byte[],byte[],EncryptionException>
EncryptionOutputStream. _encrypter
Methods in org.refcodes.security that throw EncryptionException Modifier and Type Method Description default int
Encrypter. encrypt(byte[] aBuffer)
This method encrypts the provided buffer.default int
Encrypter. encrypt(byte[] aBuffer, int aOffset, int aLength)
This method encrypts the provided buffer beginning at the given offset and the given number of bytes.int
Encrypter. toEncrypted(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
.ENC
Encrypter. toEncrypted(DEC aInput)
You pass in data of a given type and you get encrypted data of (another) given type.Constructor parameters in org.refcodes.security with type arguments of type EncryptionException Constructor Description EncryptionOutputStream(OutputStream aOutputStream, Encrypter<byte[],byte[],EncryptionException> aEncrypter)
Constructs theEncryptionOutputStream
by wrapping the givenOutputStream
for the providedEncrypter
to be applied on the bytes to be written.
-