QSslCertificate::serialNumber - strange encoding



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.