| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final DigestAlgorithm | |
| public static final int | |
| public static final int | |
| private final int | |
| private final int | |
| private final BigInteger | |
| private final BigInteger | |
| private final byte[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | DSADomainParametersGenerationParameterSpec(int
desired length of prime P in bits (the effective key size). L, int desired length of prime Q in bits. N, int certainty level for prime number generation. certainty)Construct without a usage index, this will do a random construction of G. |
| public | DSADomainParametersGenerationParameterSpec(int
desired length of prime P in bits (the effective key size). L, int desired length of prime Q in bits. N, int certainty level for prime number generation. certainty, int a valid usage index. usageIndex)Construct for a specific usage index - this has the effect of using verifiable canonical generation of G. |
| public | DSADomainParametersGenerationParameterSpec(BigInteger
the prime p. p, BigInteger the sub-prime q. q)Construct using a specific value of p and q - this will do a random construction of g. |
| public | DSADomainParametersGenerationParameterSpec(BigInteger
the prime p. p, BigInteger the sub-prime q. q, byte[] the seed used to generate p and q. seed, int a valid usage index. usageIndex)Construct using a specific value of p and q, but with a seed and usageIndex as well - this has the effect of using verifiable canonical generation of G. |
| private | DSADomainParametersGenerationParameterSpec(DigestAlgorithm digestAlgorithm, int L, int N, int certainty, BigInteger p, BigInteger q, byte[] seed, int usageIndex)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public DigestAlgorithm | |
| public int | |
| public int | |
| public BigInteger | |
| public BigInteger | |
| public byte[] | |
| public int | |
| public DSADomainParametersGenerationParameterSpec | Returns: a new parameters generator spec.the specific digest algorithm to use. digestAlgorithm)Create a spec which also specifies a specific digest algorithm to use for parameters generation. |
| certainty | back to summary |
|---|---|
| private final int certainty | |
| digestAlgorithm | back to summary |
|---|---|
| private final DigestAlgorithm digestAlgorithm | |
| DIGITAL_SIGNATURE_USAGE | back to summary |
|---|---|
| public static final int DIGITAL_SIGNATURE_USAGE | |
| KEY_ESTABLISHMENT_USAGE | back to summary |
|---|---|
| public static final int KEY_ESTABLISHMENT_USAGE | |
| l | back to summary |
|---|---|
| private final int l | |
| n | back to summary |
|---|---|
| private final int n | |
| p | back to summary |
|---|---|
| private final BigInteger p | |
| q | back to summary |
|---|---|
| private final BigInteger q | |
| seed | back to summary |
|---|---|
| private final byte[] seed | |
| usageIndex | back to summary |
|---|---|
| private final int usageIndex | |
| DSADomainParametersGenerationParameterSpec | back to summary |
|---|---|
| public DSADomainParametersGenerationParameterSpec(int L, int N, int certainty) Construct without a usage index, this will do a random construction of G.
| |
| DSADomainParametersGenerationParameterSpec | back to summary |
|---|---|
| public DSADomainParametersGenerationParameterSpec(int L, int N, int certainty, int usageIndex) Construct for a specific usage index - this has the effect of using verifiable canonical generation of G.
| |
| DSADomainParametersGenerationParameterSpec | back to summary |
|---|---|
| public DSADomainParametersGenerationParameterSpec(BigInteger p, BigInteger q) Construct using a specific value of p and q - this will do a random construction of g.
| |
| DSADomainParametersGenerationParameterSpec | back to summary |
|---|---|
| public DSADomainParametersGenerationParameterSpec(BigInteger p, BigInteger q, byte[] seed, int usageIndex) Construct using a specific value of p and q, but with a seed and usageIndex as well - this has the effect of using verifiable canonical generation of G.
| |
| DSADomainParametersGenerationParameterSpec | back to summary |
|---|---|
| private DSADomainParametersGenerationParameterSpec(DigestAlgorithm digestAlgorithm, int L, int N, int certainty, BigInteger p, BigInteger q, byte[] seed, int usageIndex) | |
| getCertainty | back to summary |
|---|---|
| public int getCertainty() | |
| getDigestAlgorithm | back to summary |
|---|---|
| public DigestAlgorithm getDigestAlgorithm() | |
| getL | back to summary |
|---|---|
| public int getL() | |
| getN | back to summary |
|---|---|
| public int getN() | |
| getP | back to summary |
|---|---|
| public BigInteger getP() | |
| getQ | back to summary |
|---|---|
| public BigInteger getQ() | |
| getSeed | back to summary |
|---|---|
| public byte[] getSeed() | |
| getUsageIndex | back to summary |
|---|---|
| public int getUsageIndex() | |
| withDigestAlgorithm | back to summary |
|---|---|
| public DSADomainParametersGenerationParameterSpec withDigestAlgorithm(DigestAlgorithm digestAlgorithm) Create a spec which also specifies a specific digest algorithm to use for parameters generation.
| |