Package org.jmrtd.lds
Class PACEInfo.DHCParameterSpec
- java.lang.Object
-
- javax.crypto.spec.DHParameterSpec
-
- org.jmrtd.lds.PACEInfo.DHCParameterSpec
-
- All Implemented Interfaces:
AlgorithmParameterSpec
- Enclosing class:
- PACEInfo
public static class PACEInfo.DHCParameterSpec extends DHParameterSpec
A DH parameter specification which also keeps track of the prime order of the subgroup generated by the generator.- Version:
- $Revision: 1850 $
- Author:
- The JMRTD team ([email protected])
-
-
Constructor Summary
Constructors Constructor Description DHCParameterSpec(BigInteger p, BigInteger g, BigInteger q)
Creates a parameter specification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigInteger
getQ()
Returns the prime order of subgroup generated byg
.-
Methods inherited from class javax.crypto.spec.DHParameterSpec
getG, getL, getP
-
-
-
-
Constructor Detail
-
DHCParameterSpec
public DHCParameterSpec(BigInteger p, BigInteger g, BigInteger q)
Creates a parameter specification.- Parameters:
p
- the primeg
- the generatorq
- the prime order of subgroup generated byg
-
-
Method Detail
-
getQ
public BigInteger getQ()
Returns the prime order of subgroup generated byg
.- Returns:
- the prime order of subgroup generated by
g
-
-