Code example for SignatureException

0
 
            return sig;
        } 
        catch (Exception e)
        { 
            throw new SignatureException(e.toString());
        } 
    } 
 
    protected boolean engineVerify( 
        byte[]  sigBytes) 
        throws SignatureException 
    { 
        boolean yes = signer.verifySignature(sigBytes);
 
        return yes;
    } 
 
    protected void engineSetParameter( 
        AlgorithmParameterSpec params)