How can I validate a signature using OCSP?

I need to manage signed PDF documents. It was very easy to create a java prog to create and sign a PDF document (using itext).
I use the certificate from my Belgium Identity card for signature. Fine.
My problem is when reading the sign document.
On most PC, I see the signature with a yellow question mark (identity of the signer is unknown) which is not fine.
On some PC, when the signed document is opened, I see a real time connection to "http://ocsp.eid.belgiulm.be" and the signature appears with a green check which is very fine. That what I want.
What 'and how) are the required configuration to force this OCSP check?
I am using Adobe Reader 9 (v 9.4.1)
Thanks

The validation is currently done on both PC. That not the problem.
But on the first one, the validation fails because the "Identity of the signer is unknown"
On my second PC, the validation is done using OCSP (I see a realtime connection to "ocsp.eid.belgium.be") resulting in a successfull validation.
I would like TO FORCE OCSP VALIDATION on both PC. But I have no idea on how to force this OCSP validation. By chance, it happens on the first PC but I do not know why?

Similar Messages

  • How can I validate a date using sql

    How can I validate a date using sql or pl/sql
    select to_date('01/01/2009','mm/dd/yyyy') from dual this is a good date
    but how can I check for a bad date
    select to_date('0a/01/2009','mm/dd/yyyy') from dual
    Howard

    William Robertson wrote:
    It'll be complicated in pure SQL, as you'll have to parse out day, month and year and then validate the day against the month and year bearing in mind the rules for leap years. It would be simpler to write a PL/SQL function and call that.Nah, not that complicated, you just need to generate a calender to validate against.
    SQL> ed
    Wrote file afiedt.buf
      1  with yrs as (select rownum-1 as yr from dual connect by rownum <= 100)
      2      ,mnth as (select rownum as mn, case when rownum in (4,6,9,11) then 30
      3                            when rownum = 2 then 28
      4                       else 31
      5                       end as dy
      6                from dual
      7                connect by rownum <= 12)
      8      ,cent as (select (rownum-1) as cen from dual connect by rownum <= 21)
      9      ,cal as (select cen, yr, mn,
    10                      case when ((yr = 0 and mod(cen,400) = 0)
    11                             or (mod(yr,4) = 0 and yr > 0))
    12                            and mn = 2 then dy+1
    13                      else dy
    14                      end as dy
    15               from cent, yrs, mnth)
    16  --
    17      ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    18  --
    19  select case when cal.cen is null then 'Invalid Date'
    20              when not regexp_like(dt,'^[0-9]{1,2}[\/.-_][0-9]{1,2}[\/.-_][0-9]{4}$') then 'Invalid Date'
    21         else dt
    22         end as dt
    23  from dt left outer join
    24               cal on (to_number(regexp_substr(dt,'[0-9]+')) between 1 and cal.dy
    25                   and to_number(regexp_substr(dt,'[0-9]+',1,2)) = cal.mn
    26                   and floor(to_number(regexp_substr(dt,'[0-9]+',1,3))/100) = cal.cen
    27*                  and to_number(substr(regexp_substr(dt,'[0-9]+',1,3),-2)) = cal.yr)
    SQL> /
    Enter value for date_dd_mm_yyyy: a1/02/2008
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select 'a1/02/2008' as dt from dual)
    DT
    Invalid Date
    SQL> /
    Enter value for date_dd_mm_yyyy: 01/02/2008
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '01/02/2008' as dt from dual)
    DT
    01/02/2008
    SQL> /
    Enter value for date_dd_mm_yyyy: 29/02/2008
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '29/02/2008' as dt from dual)
    DT
    29/02/2008
    SQL> /
    Enter value for date_dd_mm_yyyy: 30/02/2008
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '30/02/2008' as dt from dual)
    DT
    Invalid Date
    SQL> /
    Enter value for date_dd_mm_yyyy: 29/02/2009
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '29/02/2009' as dt from dual)
    DT
    Invalid Date
    SQL> /
    Enter value for date_dd_mm_yyyy: 28/02/2009
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '28/02/2009' as dt from dual)
    DT
    28/02/2009
    SQL> /
    Enter value for date_dd_mm_yyyy: 0a/01/2009
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '0a/01/2009' as dt from dual)
    DT
    Invalid Date
    SQL> /
    Enter value for date_dd_mm_yyyy: 00/01/2009
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '00/01/2009' as dt from dual)
    DT
    Invalid Date
    SQL>

  • How can I remove a signature on a PDF file that I created using Preview on iMac computer??

    How can I remove a signature on a PDF file that I created using Preview on iMac computer??  I inadvertently hit the icon on the Preview tool bar with an xS and a line through it.  There is my signature in the middle of the PDF file I was editing.  How do I get rid of it?  Cannot select it.  Cannot find any tools that allow me to delete it.  The Preview documentation tells how to create and apply a signature, but not how to remove it.  I think when a signature is added the doucment becomes locked from any editing.

    Hey needadobehelp10,
    Using Adobe Acrobat/Reader, you can simply change your PDF view settings under "View > Page Display > Single Page View"
    Is this really you wish for?
    Please let me know.
    Regards,
    Anubha

  • How can I keep my signature on the left side when using rtl on mail application

    I'm writing in Hebrew & English on apple Mail application on OS X /mountain Lion.
    When I'm starting to write a mail in HEBREW it's automatically move the signature to the right side which I don't like it because my signature is in English (My Hebrew is a why better from my English ; )
    How can I keep the signature on the left side as default?
    Hope to get your support in this issue.
    Thanks in advance,
    Joni.

    Joni11 wrote:
    How could i do this?
    Sorry, I don't know.  But have you already tried selecting your sig and using the usual alignment tools?  It seems to work for me when used in the new message pane.

  • How can i make a signature by using lightroom? , is it possible?

    how can i make a signature by using lightroom? , is it possible?

    To can create a text identity plate in LR but to create a graphical version
    requires Photoshop

  • How can I set a signature on my text messages?

    How can I set a signature on my text messages?

    I have iphone4, recently changed my phone number.  Prior to the change all of my outgoing sms showed my name and phone number.  Since I changed the number have not been able to show the new number on outgoing texts. So I don't understand why my number showed before but unable to add it now.....?
    I lost a lot of data when I changed the number so I performed a back-up restore, which restored the data I lost.  But now my text messages are showing my old phone number.....!!
    Any idea how I can change so the new number is displayed?
    I use texting a lot more than I do email with my phone. 

  • How can I put the signature into the data file.

    Hi all,
    I want to put the signature into the data file, mean the data file will be on the top and the signature will be at the buttom.how can i do that?
    Thanks.
    example:-
    dataFile.txt
    Name=...
    Address=...
    Signature=6A07C70E....123FEAB(Hex)

    Thanks for your reply.
    First, i have a keypair (public key and private key).
    I use the private key to initialize the Signature and
    use the Signature to sign a data file ( dataFile.txt) .
    So when i need to comfirm the data file not being modify
    I have to verify the data file with the Signature and the public key.
    I hardcoded the public key in my program so my client (receiver of data)
    need only the Signature file and the data file (2 files).
    So how can i combine the Signature file and the data file into 1 file?

  • Please suggest how can we verify file format using SSIS 2008 .

    We have ragged files placed in directory which need to be loaded into DB. Before loading we need to validate the file format before loading.
    The file schema is as follows.
    01 XREF_RCD.
    05 XR_JOB PIC X(4).
    05 XR_PHASE PIC X(2).
    05 XR_DATE PIC X(6).
    05 XR_ST_CHECK_NO PIC S9(8)
    05 XR_END_CHECK_NO PIC S9(8)
    05 XR_ST_SERIAL PIC S9(8)
    05 XR_END_SERIAL PIC S9(8)
    05 XR_AMOUNT PIC S9(7)V99
    05 XR_ISSUE_DATE PIC X(6).
    05 XR_CONTENT_FLAG PIC X.
    05 XR_XREF_CARD_PROCESSED PIC X.
    Could you please suggest how can we validate using SSIS 2008  and
    invalid value in header (alpha character for numeric field), more than 20% of records with errors, format is not correct also need to validated.

    Before we load the data we need to verify  invalid value in header (alpha character for numeric field),
    more than 20% of records with errors,
    format is not correct (values starting or ending in wrong position),  if the above validation pass then only the data can be loaded.  please suggest how can we achieve in SSIS .  The FileFormat and filedata is available below.  
    please find the file contents.
    49530110050230088937300889393008893730088939000036714100506
    54000110050230089190300894103008919030089410000066614100506
    73880110050230090564300907593009056430090759000104503100506
    73880110050230090564300907593009056430090759000104503100506
    45980110050230088829300888793008882930088879000033453100506
    58160110050230089820300898263008982030089826000058278100506
    41680110050130088623300886413008862330088641000035877100506
    41680110050241683471416834714168347141683471000000949100505
    82900110050230093642300936633009364230093663000069407100506
    54520110050230089411300894193008941130089419000048629100506
    83580110050230093664300936683009366430093668000083136100506
    56320110050230089556300895613008955630089561000073072100506
    74160110050230090760300907983009076030090798000099724100506
    57920110050230089562300895823008956230089582000079256100506
    45950110050230088649300888283008864930088828000185937100506
    81770110050230092335300928073009233530092807000118370100506
    70760110050230089827300899233008982730089923000083451100506
    74200110050230090799300908493009079930090849000047305100506
    84450110050230093699300937153009369930093715000076723100506
    83930110050230093669300936983009366930093698000043699100506
    75120110050230091002300910043009100230091004000034908100506
    10100110050230088620300886223008862030088622000194662100506
    79600110050230091402300914093009140230091409000119741100506
    58110110050230089583300897633008958330089763000140539100506
    58117710050230089764300897643008976430089764000047663100506
    52460110050230088940300891893008894030089189000097617100506
    48820110050230088928300889343008892830088934000142420100506
    48824110050230088935300889363008893530088936000144862100506
    82810110050230093510300936413009351030093641000156790100506
    76090110050230091060300911413009106030091141000111451100506
    74210110050230090850300909943009085030090994000130955100506
    75760110050230091030300910323009103030091032000075843100506
    File Layout
     XR_JOB PIC X(4).
     XR_PHASE PIC X(2).
     XR_DATE PIC X(6).
     XR_ST_CHECK_NO PIC S9(8) 
    XR_END_CHECK_NO PIC S9(8) 
    XR_ST_SERIAL PIC S9(8)
    XR_END_SERIAL PIC S9(8) 
    XR_AMOUNT PIC S9(7)V99 
    XR_ISSUE_DATE PIC X(6).
     XR_CONTENT_FLAG PIC X.
     XR_XREF_CARD_PROCESSED PIC X

  • How can i validate an untouched cell and change bground color if error

    Hi ,
    three questions
    1. I can validate data in cells in setValueAt method but the cell data will be validated only if user click on that cell.
    how can i validate another cell if user does not even touch it.
    2. and if error how can i change background color.
    3. i have JTextField for column as cell editor/renderer. To change the data user have to double click on cell. How can I make it to click once to edit the value in the cell.
    Thanks in advance for help.

    how can i validate another cell if user does not even touch it.
    Why would you want to validate a cell if a user doesn't change it?for example user clicked Add row, and i added a row in the table with blank information...so .all cells in the new row have blanks, so if user does not enter the data in the second column... which he did not touch...i want to catch it and produce error
    How can I make it to click once to edit the value in the cell.
    Something like this:
    DefaultCellEditor dce = (DefaultCellEditor)table.getDefaultEditor(Object.class);
    dce.setClickCountToStart(3);Thank you..
    Read this section from the Swing tutorial on "How to Use Tables" for more information:
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

  • How can I validate my XSD programatically ?

    Hi,
    I know how to validate XML against an XSD. But how can I validate an XSD itself? i.e Programatically press the "validate" button in XML Spy.
    I have tried validating it against http://www.w3.org/2001/XMLSchema.xsd . But this does not work for imports. i,e MySchema.xsd imports CommonSchema.xsd and uses CommonSchemas element definitions.
    When I validate against XMLSchema.xsd it does not check the imports.. i.e i can delete an import statement and its still valid - and in this case it obviously shouldnt be.
    Anyone any ideas?
    Cheers,
    Alan

    Hi Caffaine,
    sounds like a difficult problem... I tried to do something similar to this a few years ago under Java 1.3, and I can tell you that you'll have a couple of problems.
    1) ResourceBundles are a type of cache, so the one you load first is the one you are stuck with for the remainder of the program execution. The only ways around that AFAIK is to either author your own non-static ResourceBundle, or to have the user re-execute the client every time they want to change locales (neither of which is particularly appealing). Not sure if anything in Tiger has rectified this, but I don't think it has.
    This also means that your server will be stuck in a certain locale. Probably the best thing to do would be to write your clients so that all information heading back to the server heads there in Unicode, so that you're dealing with a common encoding on the server side. This means no bytes or chars. Strings would be the thing to use.
    2) AFAIK, Java has no way of programatically changing the Windows input locale. Though if I am wrong, someone please correct me!
    Hope that helps!
    Martin Hughes

  • How can i validate a path

    hi experts,
    how can i validate a path... i tried to use cl_gui_frontend_services=>directory_exist
    but it gives me an error
    for a local path and an app server path??
    thx in advance

    Hi Carlos,
    you follow the below coding, where you will get to separate validation
    for presentation server & application server file path.
    FORM present_validation .
      DATA: lw_check TYPE c,
            lw_file TYPE string.
      IF po_psv IS INITIAL.
        IF sy-ucomm = 'ONLI' OR sy-ucomm = space.
          MESSAGE  'Please input the file name' TYPE lc_e.
        ENDIF.
      ELSE.
        lw_file = po_psv.
        lw_check = cl_gui_frontend_services=>file_exist( lw_file ).
        IF lw_check IS INITIAL.
          MESSAGE  'Please input the correct file path' TYPE lc_e.
        ENDIF.
      ENDIF.
    ENDFORM.                    " PRESENT_VALIDATION
    FORM application_validation .
      DATA: lw_file TYPE string.
      lw_file = po_asv.
      IF po_asv IS INITIAL.
        IF sy-ucomm = 'ONLI' OR sy-ucomm = space.
          MESSAGE  'Please input the file name' TYPE lc_e.
        ENDIF.
      ELSE.
        OPEN DATASET lw_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
        IF sy-subrc NE 0.
          MESSAGE  'Please input the correct file path' TYPE lc_e.
        ENDIF.
      ENDIF.
    ENDFORM.                    " APPLICATION_VALIDATION
    Hope this can solve your problems.
    Regards,
    Tutun

  • How can I validate data after writing and over reboot/powercycle?

    Hi,
    How can I validate data after writes are done? How can I validate data after reboot or powercycle of the machine is done?
    What are the options I should give while running vdbench? When should I use -v, -vq, -vt, -v -j, -vq -j, -vq -jr, -v -jr options?

    Please look for the "Data Validation and Journaling' chapter in the documentation.
    Henk.

  • How can i validate on ALV grid for the user

    Dear Freinds,
                     I have developed one custom report using ALV Grid program , as per the requirement i have to enter on the
    data and when i press the value save the program sumits the data into my custom table . Till here every thing is fine
    but one particular field i have declared as Char1 in my internal table , on the ALV output it is allowing me to enter
    more than one character   eg : it is allowing me to enter as Hyderabad .........even though i have declared as char 1 in the internal table ....however it is saving in the database table as H only that is correct.......but it is giving confusion to user
    i want to validate that user shouldnt allow to enter more than one character in the alv output of the input field .
    Please could any one let me know how can i validate.
    regard
    divya

    Hi,
    check  that field length in the final internal table .
    might be that filed lenth in final internal table declartion is more than 1 char.
    regards,
    Rama reddy
    Edited by: ram reddy on Jul 15, 2009 7:57 AM

  • How can my wife and I use our two iTunes account on one iPad

    How can my wife and I use our two iTunes accounts on one IPad

    Unfortunately it will be difficult. iPads are personal devices like phones and done have credentials. You can of course log out of and into the app store to download purchased apps but the iPad will then have all the apps of both your wife and you (though you could put these into folders I guess).
    /H

  • I have two Apple ID, how can I delete one and use the email address associates to the main one?

    I have two Apple ID, how can I delete one and use the email address associates to the main one?

    If you abandon one of the Apple IDs you will also basically be abandoning any content that you have acquired with that Apple ID. Content can only be updated and re-downloaded with the Apple ID that was used to buy it. Apple will not combine the content of Apple IDs and Apple will not transfer the content from one Apple ID to another Apple ID.

Maybe you are looking for

  • Bug in Archive & Network Copy

    Today using time capsule i've noticed some bugs in the archive of finder. When I zip up a large amount of files (all together ~50,000 files and 1.4GB) the archive progress window starts at 0KB and counts up to 1.4GB coinciding with the progress bar.

  • JDBC Connection Using ColdFusion DataSource

    We are using ColdFusion MX 6 and oracle 10g. I am trying to code a JAVA JDBC database connection class by simplely pass ColdFusion datasouce name. i.e, instead of passing URL, user id and password, I hope my JAVA class can recognize ColdFusion dataso

  • Transaction in a BP in more than one currencies

    Hello Experts, I have made few transaction with BP > Vendor in one currency, now I have a requirement of making a trancsaction in Swiss Frank another currency. Can we change the crrency ? Help Required, Regards,

  • Data View properties doesn't contain a Miscellaneous - Display Search Box option

    When I create a List View via the web  and edit the web part I have a Miscellaneous - Display Search Box option. When I insert a Data View via SharePoint Designer 2013 I don't see that option.  Is there a work around? Thanks, Dwight

  • Complete Newbie- MacBook

    Ok I just opened a business recently and decided to try and become Mac "literate". I just bought the MacBook Pro. I am not familiar at all with this OS or Apple. Is there a book for dummies or something along those lines that will teach me the basics