Results 1 to 2 of 2

Thread: Getting p12 certificates already installed in system.

  1. #1
    Join Date
    Feb 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Getting p12 certificates already installed in system.

    Hi all,

    I made some research in Google and was unable to find the way to get CA certificates already installed in system

    My problem is that my application should pass authentication through swissID authentication system.
    SwissID provides with USB key which stores certificates. When user inserts USB to socket windows/MAC automatically installs p12 certificates to system.
    My problem is that I can't find way to get this certificates from OS and pass them to NetworkAccessManager.

    Any help is appreciate.

    Thanks
    Best Regards
    Taron Sargsyan

  2. #2
    Join Date
    Feb 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Getting p12 certificates already installed in system.

    What I was looking for was QList QSslConfiguration::caCertificates ();
    >>
    From Qt4 documentation.
    Returns this connection's CA certificate database. The CA certificate database is used by the socket during the handshake phase to validate the peer's certificate. It can be moodified prior to the handshake with addCaCertificate(), addCaCertificates(), and setCaCertificates().

Similar Threads

  1. SSLServer + certificates
    By eleanor in forum Qt Programming
    Replies: 1
    Last Post: 5th April 2016, 21:09
  2. Replies: 1
    Last Post: 5th October 2009, 17:40
  3. SSL handshaking without certificates
    By palas in forum Qt Programming
    Replies: 6
    Last Post: 5th August 2008, 23:46
  4. can i have both qt3 and qt4 installed
    By illuzioner in forum Installation and Deployment
    Replies: 1
    Last Post: 8th June 2007, 09:50
  5. No printer installed..?
    By Cutey in forum Qt Programming
    Replies: 2
    Last Post: 24th February 2007, 12:08

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.