public interface DSAEncoding
| Modifier and Type | Method and Description |
|---|---|
BigInteger[] |
decode(BigInteger n,
byte[] encoding)
Decode the (r, s) pair of a DSA signature.
|
byte[] |
encode(BigInteger n,
BigInteger r,
BigInteger s)
Encode the (r, s) pair of a DSA signature.
|
BigInteger[] decode(BigInteger n, byte[] encoding) throws IOException
n - the order of the group that r, s belong to.encoding - an encoding of the (r, s) pair of a DSA signature.IOExceptionbyte[] encode(BigInteger n, BigInteger r, BigInteger s) throws IOException
n - the order of the group that r, s belong to.r - the r value of a DSA signature.s - the s value of a DSA signature.IOExceptionCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.