jdk/src/share/classes/sun/security/x509/AlgIdDSA.java
changeset 21278 ef8a3a2a72f2
parent 19375 cdfdb9c0590e
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   111     /**
   111     /**
   112      * Constructs a DSS/DSA Algorithm ID from unsigned integers that
   112      * Constructs a DSS/DSA Algorithm ID from unsigned integers that
   113      * define the algorithm parameters.  Those integers are encoded
   113      * define the algorithm parameters.  Those integers are encoded
   114      * as big-endian byte arrays.
   114      * as big-endian byte arrays.
   115      *
   115      *
   116      * @param p the DSS/DSA paramter "P"
   116      * @param p the DSS/DSA parameter "P"
   117      * @param q the DSS/DSA paramter "Q"
   117      * @param q the DSS/DSA parameter "Q"
   118      * @param g the DSS/DSA paramter "G"
   118      * @param g the DSS/DSA parameter "G"
   119      */
   119      */
   120     public AlgIdDSA (byte p [], byte q [], byte g [])
   120     public AlgIdDSA (byte p [], byte q [], byte g [])
   121     throws IOException
   121     throws IOException
   122     {
   122     {
   123         this (new BigInteger (1, p),
   123         this (new BigInteger (1, p),
   128     /**
   128     /**
   129      * Constructs a DSS/DSA Algorithm ID from numeric parameters.
   129      * Constructs a DSS/DSA Algorithm ID from numeric parameters.
   130      * If all three are null, then the parameters portion of the algorithm id
   130      * If all three are null, then the parameters portion of the algorithm id
   131      * is set to null.  See note in header regarding use.
   131      * is set to null.  See note in header regarding use.
   132      *
   132      *
   133      * @param p the DSS/DSA paramter "P"
   133      * @param p the DSS/DSA parameter "P"
   134      * @param q the DSS/DSA paramter "Q"
   134      * @param q the DSS/DSA parameter "Q"
   135      * @param g the DSS/DSA paramter "G"
   135      * @param g the DSS/DSA parameter "G"
   136      */
   136      */
   137     public AlgIdDSA (BigInteger p, BigInteger q, BigInteger g)
   137     public AlgIdDSA (BigInteger p, BigInteger q, BigInteger g)
   138     {
   138     {
   139         super (DSA_oid);
   139         super (DSA_oid);
   140 
   140