public static final class FipsTripleDES.OperatorFactory extends FipsSymmetricOperatorFactory<FipsTripleDES.Parameters>
Constructor and Description |
---|
OperatorFactory() |
Modifier and Type | Method and Description |
---|---|
FipsInputDecryptor<FipsTripleDES.Parameters> |
createInputDecryptor(SymmetricKey key,
FipsTripleDES.Parameters parameters)
Return a decryptor that operates on an input stream.
|
FipsOutputDecryptor<FipsTripleDES.Parameters> |
createOutputDecryptor(SymmetricKey key,
FipsTripleDES.Parameters parameters)
Return a decryptor that operates on an output stream.
|
FipsOutputEncryptor<FipsTripleDES.Parameters> |
createOutputEncryptor(SymmetricKey key,
FipsTripleDES.Parameters parameters)
Return an encryptor that operates on an output stream.
|
public FipsOutputEncryptor<FipsTripleDES.Parameters> createOutputEncryptor(SymmetricKey key, FipsTripleDES.Parameters parameters)
SymmetricOperatorFactory
createOutputEncryptor
in interface SymmetricOperatorFactory<FipsTripleDES.Parameters>
createOutputEncryptor
in class FipsSymmetricOperatorFactory<FipsTripleDES.Parameters>
key
- the key to initialize the encryptor with.parameters
- the parameters to use to initialize the encryptor.public FipsOutputDecryptor<FipsTripleDES.Parameters> createOutputDecryptor(SymmetricKey key, FipsTripleDES.Parameters parameters)
SymmetricOperatorFactory
createOutputDecryptor
in interface SymmetricOperatorFactory<FipsTripleDES.Parameters>
createOutputDecryptor
in class FipsSymmetricOperatorFactory<FipsTripleDES.Parameters>
key
- the key to initialize the encryptor with.parameters
- the parameters to use to initialize the encryptor.public FipsInputDecryptor<FipsTripleDES.Parameters> createInputDecryptor(SymmetricKey key, FipsTripleDES.Parameters parameters)
SymmetricOperatorFactory
createInputDecryptor
in interface SymmetricOperatorFactory<FipsTripleDES.Parameters>
createInputDecryptor
in class FipsSymmetricOperatorFactory<FipsTripleDES.Parameters>
key
- the key to initialize the encryptor with.parameters
- the parameters to use to initialize the encryptor.