public abstract class AbstractCryptoAlgorithmWithRandom extends AbstractCryptoAlgorithmWithProvider
CryptoAlgorithmImpl with ability to create| Modifier and Type | Field and Description |
|---|---|
private RandomFactory |
randomFactory |
provider| Constructor and Description |
|---|
AbstractCryptoAlgorithmWithRandom(SecurityProvider provider,
RandomFactory randomFactory)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected SecureRandom |
createSecureRandom() |
protected RandomFactory |
getRandomFactory() |
getProvidercreationFailedException, creationFailedException, creationFailedException, creationFailedException, getAlgorithm, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlgorithmprivate final RandomFactory randomFactory
public AbstractCryptoAlgorithmWithRandom(SecurityProvider provider, RandomFactory randomFactory)
provider - the SecurityProvider.randomFactory - the RandomFactory to use.protected RandomFactory getRandomFactory()
RandomFactory.protected SecureRandom createSecureRandom()
SecureRandom.RandomFactory.newSecureRandom()Copyright © 2001–2019 mmm-Team. All rights reserved.