| Modifier and Type | Method and Description |
|---|---|
| public BigInteger[] | Returns: the (r, s) of a DSA signature, stored in an array of exactly two elements, r followed by s.the order of the group that r, s belong to. n, byte[] an encoding of the (r, s) pair of a DSA signature. encoding)Decode the (r, s) pair of a DSA signature. |
| public byte[] | Returns: an encoding of the DSA signature given by the provided (r, s) pair.the order of the group that r, s belong to. n, BigInteger the r value of a DSA signature. r, BigInteger the s value of a DSA signature. s)Encode the (r, s) pair of a DSA signature. |
| decode | back to summary |
|---|---|
| public BigInteger[] decode(BigInteger n, byte[] encoding) throws IOException Decode the (r, s) pair of a DSA signature.
| |
| encode | back to summary |
|---|---|
| public byte[] encode(BigInteger n, BigInteger r, BigInteger s) throws IOException Encode the (r, s) pair of a DSA signature.
| |