T
- the parameters type associated with the final implementation of this factory.public abstract class FipsSymmetricOperatorFactory<T extends Parameters> extends java.lang.Object implements SymmetricOperatorFactory<T>
Modifier and Type | Method and Description |
---|---|
abstract FipsInputDecryptor<T> |
createInputDecryptor(SymmetricKey key,
T parameter)
Return a decryptor that operates on an input stream.
|
abstract FipsOutputDecryptor<T> |
createOutputDecryptor(SymmetricKey key,
T parameter)
Return a decryptor that operates on an output stream.
|
abstract FipsOutputEncryptor<T> |
createOutputEncryptor(SymmetricKey key,
T parameter)
Return an encryptor that operates on an output stream.
|
public abstract FipsOutputEncryptor<T> createOutputEncryptor(SymmetricKey key, T parameter)
SymmetricOperatorFactory
createOutputEncryptor
in interface SymmetricOperatorFactory<T extends Parameters>
key
- the key to initialize the encryptor with.parameter
- the parameters to use to initialize the encryptor.public abstract FipsOutputDecryptor<T> createOutputDecryptor(SymmetricKey key, T parameter)
SymmetricOperatorFactory
createOutputDecryptor
in interface SymmetricOperatorFactory<T extends Parameters>
key
- the key to initialize the encryptor with.parameter
- the parameters to use to initialize the encryptor.public abstract FipsInputDecryptor<T> createInputDecryptor(SymmetricKey key, T parameter)
SymmetricOperatorFactory
createInputDecryptor
in interface SymmetricOperatorFactory<T extends Parameters>
key
- the key to initialize the encryptor with.parameter
- the parameters to use to initialize the encryptor.