Next: , Previous: RSA key parameters, Up: Used S-expressions


6.2.2 DSA key parameters

A DSA private key is described by this S-expression:

     (private-key
       (dsa
         (p p-mpi)
         (q q-mpi)
         (g g-mpi)
         (y y-mpi)
         (x x-mpi)))
p-mpi
DSA prime p.
q-mpi
DSA group order q (which is a prime divisor of p-1).
g-mpi
DSA group generator g.
y-mpi
DSA public key value y = g^x \bmod p.
x-mpi
DSA secret exponent x.

The public key is similar with "private-key" replaced by "public-key" and no x-mpi.