-
- 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 afactory
to create instances ofCryptor
for asymmetric cryptography. Please use typesafe methodsnewEncryptor
for encryption andnewDecryptor
for 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 Decryptor
newDecryptorUnsafe(Key decryptionKey)
Please use typesafenewEncryptor
method instead to avoid mistakes (passing wrongKey
).Encryptor
newEncryptorUnsafe(Key encryptionKey)
Please use typesafenewDecryptor
method instead to avoid mistakes (passing wrongKey
).
-