Code example for InvalidAlgorithmParameterException

Methods: toString

0
        int                 opmode,
        Key                 key,
        SecureRandom        random) 
    throws InvalidKeyException 
    { 
        try 
        { 
            engineInit(opmode, key, (AlgorithmParameterSpec)null, random);
        } 
        catch (InvalidAlgorithmParameterException e)
        { 
            // this shouldn't happen 
            throw new RuntimeException("Eeeek! " + e.toString(), e);
        } 
    } 
 
    protected byte[] engineUpdate( 
        byte[]  input,
        int     inputOffset,
        int     inputLen) 
    {