-
- All Superinterfaces:
AbstractCryptoFactory
- All Known Subinterfaces:
AsymmetricCryptorFactory<PR,PU>,SymmetricCryptorFactory<K>
- All Known Implementing Classes:
AsymmetricAccess,AsymmetricAccessEcBc,AsymmetricCryptorFactoryImpl,CryptorFactoryImpl,Curve25519,PbeAccess,Rsa,Secp256k1,SymmetricAccess,SymmetricCryptorFactoryImpl
public interface CryptorFactory extends AbstractCryptoFactory
Abstract interface for afactoryto create instances ofCryptorfor asymmetric cryptography. Please use typesafe methodsnewEncryptorfor encryption andnewDecryptorfor decryption from the according sub-interfaces instead ofnewEncryptorUnsafe(Key)andnewDecryptorUnsafe(Key).- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecryptornewDecryptorUnsafe(Key decryptionKey)Please use typesafenewEncryptormethod instead to avoid mistakes (passing wrongKey).EncryptornewEncryptorUnsafe(Key encryptionKey)Please use typesafenewDecryptormethod instead to avoid mistakes (passing wrongKey).
-