IDsaEncoding
An interface for different encoding formats for DSA signatures.
using Org.BouncyCastle.Math;
namespace Org.BouncyCastle.Crypto.Signers
{
public interface IDsaEncoding
{
BigInteger[] Decode(BigInteger n, byte[] encoding);
byte[] Encode(BigInteger n, BigInteger r, BigInteger s);
int GetMaxEncodingSize(BigInteger n);
}
}