|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for different encoding formats for DSA signatures.
Method Summary | |
java.math.BigInteger[] |
decode(java.math.BigInteger n,
byte[] encoding)
Decode the (r, s) pair of a DSA signature. |
byte[] |
encode(java.math.BigInteger n,
java.math.BigInteger r,
java.math.BigInteger s)
Encode the (r, s) pair of a DSA signature. |
Method Detail |
public java.math.BigInteger[] decode(java.math.BigInteger n, byte[] encoding) throws java.io.IOException
n
- the order of the group that r, s belong to.encoding
- an encoding of the (r, s) pair of a DSA signature.
java.io.IOException
public byte[] encode(java.math.BigInteger n, java.math.BigInteger r, java.math.BigInteger s) throws java.io.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.
java.io.IOException
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |