1 2 3 4 5 6 7 8 9 10 11 12 13
package org.bouncycastle.jcajce.provider.asymmetric.util; import java.io.IOException; import java.math.BigInteger; public interface DSAEncoder { byte[] encode(BigInteger r, BigInteger s) throws IOException; BigInteger[] decode(byte[] sig) throws IOException; }