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