Advertisement
kotoroshinoto

Untitled

Oct 21st, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #include <QSslSocket>
  2. #include <iostream>
  3. #include <QList>
  4.  
  5. int main(){
  6. QList<QSslCertificate> derp=QSslSocket::systemCaCertificates();
  7. while(derp.size() > 0){
  8. QSslCertificate cancer=derp.first();
  9. derp.pop_front();
  10. //qDebug() << cancer.issuerInfoAttributes();
  11. QString cancerwords=cancer.toText();
  12. if(cancerwords.contains("Starfield")){
  13. qDebug() << cancerwords;
  14. }
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement