def crypt(stream, parameters):
    """
        Method to encrypt streams using a PDF security handler (NOT IMPLEMENTED YET)

        @param stream: A PDF stream
        @return: A tuple (status,statusContent), where statusContent is the encrypted PDF stream in case status = 0 or an error in case status = -1
    """
    if parameters is None or parameters == {}:
        return 0, stream
    elif '/Name' not in parameters or parameters['/Name'] is None:
        return 0, stream
    else:
        cryptFilterName = parameters['/Name'].getValue()
        if cryptFilterName == 'Identity':
            return 0, stream
        else:
            return -1, 'Crypt not supported yet'
