Package javacard.security
Interface PrimalityTestParamSpec
-
- All Superinterfaces:
AlgorithmParameterSpec
public interface PrimalityTestParamSpec extends AlgorithmParameterSpec
ThePrimalityTestParamSpecinterface can be used for key pair generation (e.g RSA) for configuring the primality test algorithm.- Since:
- 3.1
- See Also:
KeyPair.genKeyPair(AlgorithmParameterSpec)
-
-
Field Summary
Fields Modifier and Type Field Description static shortFERMAT_TESTDefines the Fermat probabilistic primality teststatic shortMILLER_RABIN_TESTDefines the Miller Rabin probabilistic primality test
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description shortgetRounds()Gets the number of rounds to perform primality test.shortgetType()Returns the constant defining the primality test to use
-
-
-
Field Detail
-
MILLER_RABIN_TEST
static final short MILLER_RABIN_TEST
Defines the Miller Rabin probabilistic primality test- See Also:
- Constant Field Values
-
FERMAT_TEST
static final short FERMAT_TEST
Defines the Fermat probabilistic primality test- See Also:
- Constant Field Values
-
-