Package org.bouncycastle.crypto.fips
Class FipsAgreementFactory<T extends Parameters>
- java.lang.Object
-
- org.bouncycastle.crypto.fips.FipsAgreementFactory<T>
-
- Type Parameters:
T- the parameters type associated with the final implementation of this factory.
- All Implemented Interfaces:
AgreementFactory<T>
- Direct Known Subclasses:
FipsDH.DHAgreementFactory,FipsDH.DHUAgreementFactory,FipsDH.MQVAgreementFactory,FipsEC.DHAgreementFactory,FipsEC.DHUAgreementFactory,FipsEC.MQVAgreementFactory
public abstract class FipsAgreementFactory<T extends Parameters> extends java.lang.Object implements AgreementFactory<T>
Base class for the approved mode AgreementFactory implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract FipsAgreement<T>createAgreement(AsymmetricPrivateKey key, T parameters)Return an initialised agreement set up for the passed in key.
-
-
-
Method Detail
-
createAgreement
public abstract FipsAgreement<T> createAgreement(AsymmetricPrivateKey key, T parameters)
Description copied from interface:AgreementFactoryReturn an initialised agreement set up for the passed in key.- Specified by:
createAgreementin interfaceAgreementFactory<T extends Parameters>- Parameters:
key- the key to base the agreement on.parameters- agreement parameters.- Returns:
- an initialised Agreement.
-
-