public class PKCS11RandomNoSetSeedSpi extends PKCS11RandomSpi
pkcs11OperationInitialized_, session_, SOFTWARE_SECURE_RANDOM_ALGORITHM, softwareDelegate_, tokenManager_, useSoftwareDelegation_
Constructor and Description |
---|
PKCS11RandomNoSetSeedSpi()
This default constructor always links this random class to the first provider instance, because
there are no means in the JCE to find out our provider instance.
|
PKCS11RandomNoSetSeedSpi(TokenManager tokenManager)
This constructor links this random class to the given token manager.
|
Modifier and Type | Method and Description |
---|---|
protected void |
engineSetSeed(byte[] seedBytes)
Reseeds this random object if it uses a software delegate to process the requests; if it uses
the token, any given seed bytes are ignored.
|
engineGenerateSeed, engineNextBytes, finalize, finalizePkcs11Operation, getSoftwareDelegateAlgorithm, initialize, initializePkcs11Operation, initializeSession, initializeSoftwareDelegate, isSupportedBy
public PKCS11RandomNoSetSeedSpi() throws IAIKPkcs11Exception
IAIKPkcs11Exception
- If there is no IAIKPkcs11 instance available.public PKCS11RandomNoSetSeedSpi(TokenManager tokenManager) throws IAIKPkcs11Exception
tokenManager
- The manager of the token we use for random generation.IAIKPkcs11Exception
- If there is no IAIKPkcs11 instance available.protected void engineSetSeed(byte[] seedBytes) throws IAIKPkcs11Exception
engineSetSeed
in class PKCS11RandomSpi
seedBytes
- The seed bytes.IAIKPkcs11Exception
- If seeding the random fails.IAIK JavaSecurity Website https://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. Version 1.9.4