¡@

Home 

2014/10/15 ¤U¤È 10:11:39

iphone Programming Glossary: mycert

iPhone: HTTPS client cert authentication

http://stackoverflow.com/questions/1460626/iphone-https-client-cert-authentication

ofType @ cer NSData certData NSData alloc initWithContentsOfFile certPath SecIdentityRef myIdentity SecCertificateRef myCert SecCertificateCreateWithData NULL CFDataRef certData certData release SecCertificateRef certArray 1 myCert CFArrayRef myCerts.. myCert SecCertificateCreateWithData NULL CFDataRef certData certData release SecCertificateRef certArray 1 myCert CFArrayRef myCerts CFArrayCreate NULL void certArray 1 NULL CFRelease myCert NSURLCredential credential NSURLCredential.. SecCertificateCreateWithData NULL CFDataRef certData certData release SecCertificateRef certArray 1 myCert CFArrayRef myCerts CFArrayCreate NULL void certArray 1 NULL CFRelease myCert NSURLCredential credential NSURLCredential credentialWithIdentity..

Does SecTrustEvaluate() look for root certificates in the application keychain?

http://stackoverflow.com/questions/4669255/does-sectrustevaluate-look-for-root-certificates-in-the-application-keychain

pathForResource @ my.cert ofType @ der NSData derData NSData dataWithContentsOfFile path SecCertificateRef myCert SecCertificateCreateWithData NULL CFDataRef derData CFMutableArrayRef array CFArrayCreateMutable NULL 1 NULL CFArrayInsertValueAtIndex.. NULL CFDataRef derData CFMutableArrayRef array CFArrayCreateMutable NULL 1 NULL CFArrayInsertValueAtIndex array 0 myCert err SecTrustSetAnchorCertificates trust array if err errSecSuccess do something smarter here obviously logging would be..

UIStoryboardPopoverSegue opening multiple windows on button touch

http://stackoverflow.com/questions/7758837/uistoryboardpopoversegue-opening-multiple-windows-on-button-touch