Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSslCertificate::serialNumber - strange encoding

QSslCertificate::serialNumber - strange encoding

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 339 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marek
    wrote on last edited by
    #1

    Hi

    If I ask for serial number of the certificate:

    QSslCertificate::serialNumber()
    

    I get QByteArray size 5 with something like: 14:57 - according to docs this is hexadecimal format
    This is for certificate number: Serial Number: 5207 (0x1457)

    How should I decode this into int number 5207 ? This colon inside QByteArray seems to be the problem. Why there is colon ?

    Best Regards
    Marek

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved