Package org.jmrtd.lds

Class 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: 1765 $
    Author:
    The JMRTD team ([email protected])
    • Constructor Detail

      • DHCParameterSpec

        public DHCParameterSpec​(BigInteger p,
                                BigInteger g,
                                BigInteger q)
        Creates a parameter specification.
        Parameters:
        p - the prime
        g - the generator
        q - the prime order of subgroup generated by g
    • Method Detail

      • getQ

        public BigInteger getQ()
        Returns the prime order of subgroup generated by g.
        Returns:
        the prime order of subgroup generated by g