public static final class ElGamal.KeyWrapOperatorFactory extends java.lang.Object implements KeyWrapOperatorFactory<ElGamal.WrapParameters,AsymmetricDHKey>
| Constructor and Description |
|---|
KeyWrapOperatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters> |
createKeyUnwrapper(AsymmetricDHKey key,
ElGamal.WrapParameters parameters)
Create a key un-wrapper using the passed in key and parameters.
|
KeyWrapperUsingSecureRandom<ElGamal.WrapParameters> |
createKeyWrapper(AsymmetricDHKey key,
ElGamal.WrapParameters parameters)
Create a key wrapper using the passed in key and parameters.
|
public KeyWrapperUsingSecureRandom<ElGamal.WrapParameters> createKeyWrapper(AsymmetricDHKey key, ElGamal.WrapParameters parameters)
KeyWrapOperatorFactorycreateKeyWrapper in interface KeyWrapOperatorFactory<ElGamal.WrapParameters,AsymmetricDHKey>key - the key to initialize the wrapper with.parameters - the parameters to initialize the wrapper with.public KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters> createKeyUnwrapper(AsymmetricDHKey key, ElGamal.WrapParameters parameters)
KeyWrapOperatorFactorycreateKeyUnwrapper in interface KeyWrapOperatorFactory<ElGamal.WrapParameters,AsymmetricDHKey>key - the key to initialize the un-wrapper with.parameters - the parameters to initialize the un-wrapper with.