DSAEncoder (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.jcajce.provider.asymmetric.util

## Interface DSAEncoder

-     public interface DSAEncoder

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.math.BigInteger[]` | `decode(byte[] sig)`
    `byte[]` | `encode(java.math.BigInteger r, java.math.BigInteger s)`

- - ### Method Detail

    - #### encode

          byte[] encode(java.math.BigInteger r,
                      java.math.BigInteger s)
                        throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### decode

          java.math.BigInteger[] decode(byte[] sig)
                                        throws java.io.IOException

      Throws:
        `java.io.IOException`