public class AESEncryptorFactory extends java.lang.Object implements EncryptorFactory
Factory class for constructing AES Encryptor instances.
AES, DES| Constructor and Description |
|---|
AESEncryptorFactory() |
| Modifier and Type | Method and Description |
|---|---|
Encryptor |
messageEncryptor(java.security.Key key)
Returns an
Encryptor instance usable for message encryption. |
Encryptor |
streamEncryptor(java.security.Key key)
Returns an
Encryptor instance usable for stream encryption. |
public final Encryptor messageEncryptor(java.security.Key key)
EncryptorFactoryReturns an Encryptor instance usable for message encryption.
messageEncryptor in interface EncryptorFactorypublic final Encryptor streamEncryptor(java.security.Key key)
EncryptorFactoryReturns an Encryptor instance usable for stream encryption.
streamEncryptor in interface EncryptorFactory