Code example for SignatureException

0
            sig[0] = new BigInteger(1, r);
            sig[1] = new BigInteger(1, s);
        } 
        catch (Exception e)
        { 
            throw new SignatureException("error decoding signature bytes.");
        } 
 
        return signer.verifySignature(hash, sig[0], sig[1]);
    } 
 
    protected void engineSetParameter( 
        AlgorithmParameterSpec params)
    { 
        throw new UnsupportedOperationException("engineSetParameter unsupported");
    } 
 
    /** 
     * @deprecated replaced with <a href = "#engineSetParameter(java.security.spec.AlgorithmParameterSpec)"> 
     */