Module io.github.mmm.crypto
Class AsymmetricCryptorConfig<PR extends PrivateKey,PU extends PublicKey>
- java.lang.Object
-
- io.github.mmm.crypto.CryptoConfig
-
- io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
-
- io.github.mmm.crypto.crypt.CryptorConfig
-
- io.github.mmm.crypto.asymmetric.crypt.AsymmetricCryptorConfig<PR,PU>
-
- Type Parameters:
PR
- type ofPrivateKey
.PU
- type ofPublicKey
.
- All Implemented Interfaces:
CryptoAlgorithm
,AbstractGetNonceSize
- Direct Known Subclasses:
AsymmetricCryptorConfigEcIes
,AsymmetricCryptorConfigRsa
public abstract class AsymmetricCryptorConfig<PR extends PrivateKey,PU extends PublicKey> extends CryptorConfig
- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
algorithm
-
Fields inherited from class io.github.mmm.crypto.CryptoConfig
provider
-
-
Constructor Summary
Constructors Constructor Description AsymmetricCryptorConfig(CipherTransformation transformation, int nonceSize, SecurityProvider provider)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBidirectional()
-
Methods inherited from class io.github.mmm.crypto.crypt.CryptorConfig
getNonceSize, getTransformation, isCreateRandomNonce
-
Methods inherited from class io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
getAlgorithm
-
Methods inherited from class io.github.mmm.crypto.CryptoConfig
getProvider
-
-
-
-
Constructor Detail
-
AsymmetricCryptorConfig
public AsymmetricCryptorConfig(CipherTransformation transformation, int nonceSize, SecurityProvider provider)
The constructor.- Parameters:
transformation
- thetransfomation
for theCipher
.nonceSize
- thenonce size
.provider
- theSecurityProvider
.
-
-