Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QSslSocket>
- #include <iostream>
- #include <QList>
- int main(){
- QList<QSslCertificate> derp=QSslSocket::systemCaCertificates();
- while(derp.size() > 0){
- QSslCertificate cancer=derp.first();
- derp.pop_front();
- //qDebug() << cancer.issuerInfoAttributes();
- QString cancerwords=cancer.toText();
- if(cancerwords.contains("Starfield")){
- qDebug() << cancerwords;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement