@Override
    protected void onPostExecute(byte[] result) {
        if (super.getSignatureListener() == null) {
            return;
        }

        if (result != null) {
            super.file.setSignature(result);
            super.file.setLastSignedDate(new Date());

            StringBuilder str = new StringBuilder();
            str.append("Sign file :");
            str.append(super.file.getFile().getName());
            str.append(" [DONE]");

            super.getSignatureListener().setProcessInformation(str.toString());

            super.getSignatureListener().setResult(result);
        }
    }