public InputStream getInputStream()

in src/java/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryTemplate.java [70:88]


    public InputStream getInputStream(InputStream is, String decryptionMode) throws GeneralSecurityException, IOException 
    {

        InputStream result = null;

        if( "auto".equalsIgnoreCase(decryptionMode) )
        {
            result = getSmartInputStream(is);
        }
        else if( "true".equalsIgnoreCase(decryptionMode) )
        {
            result = getInputStream(is);
        }
        else
        {
            result = is;
        }
        return result;
    }