|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.AlgorithmParameterGeneratorSpi
public abstract class AlgorithmParameterGeneratorSpi
AlgorithmParameterGeneratorSpi is the Service Provider Interface for the AlgorithmParameterGenerator class. This class is used to generate the algorithm parameters for a specific algorithm.
Constructor Summary | |
---|---|
AlgorithmParameterGeneratorSpi()
Constructs a new AlgorithmParameterGeneratorSpi |
Method Summary | |
---|---|
protected abstract AlgorithmParameters |
engineGenerateParameters()
Generate a new set of AlgorithmParameters. |
protected abstract void |
engineInit(AlgorithmParameterSpec genParamSpec,
SecureRandom random)
Initializes the parameter generator with the specified AlgorithmParameterSpec and SecureRandom classes. |
protected abstract void |
engineInit(int size,
SecureRandom random)
Initializes the parameter generator with the specified size and SecureRandom |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlgorithmParameterGeneratorSpi()
Method Detail |
---|
protected abstract void engineInit(int size, SecureRandom random)
size
- the size( in number of bits)random
- the SecureRandom class to use for randomnessprotected abstract void engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterException
genParamSpec
- the AlgorithmParameterSpec class to userandom
- the SecureRandom class to use for randomness
InvalidAlgorithmParameterException
- genParamSpec is invalidprotected abstract AlgorithmParameters engineGenerateParameters()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |