¡@

Home 

2014/10/15 ¤U¤È 10:04:58

iphone Programming Glossary: certs

UIWebView to view self signed websites (No private api, not NSURLConnection) - is it possible?

http://stackoverflow.com/questions/11573164/uiwebview-to-view-self-signed-websites-no-private-api-not-nsurlconnection-i

As the server is using a self signed certificate we cannot use just UIWebView as it doesn't allow for using self certs. Instead we stop the request in this method below create an NSURLConnection which can allow self certs via the delegate.. for using self certs. Instead we stop the request in this method below create an NSURLConnection which can allow self certs via the delegate methods which UIWebView does not have authenticate using NSURLConnection then use another UIWebView to..

get pfx file included in a mobilecertificate in iOS

http://stackoverflow.com/questions/11718305/get-pfx-file-included-in-a-mobilecertificate-in-ios

myIdentity myTrust SecCertificateRef myCertificate SecIdentityCopyCertificate myIdentity myCertificate const void certs myCertificate CFArrayRef certsArray CFArrayCreate NULL certs 1 NULL NSURLCredential credential NSURLCredential credentialWithIdentity.. myCertificate SecIdentityCopyCertificate myIdentity myCertificate const void certs myCertificate CFArrayRef certsArray CFArrayCreate NULL certs 1 NULL NSURLCredential credential NSURLCredential credentialWithIdentity myIdentity certificates.. myIdentity myCertificate const void certs myCertificate CFArrayRef certsArray CFArrayCreate NULL certs 1 NULL NSURLCredential credential NSURLCredential credentialWithIdentity myIdentity certificates NSArray myCertificate..

iPhone: How to create a SecKeyRef from a public key file (PEM)

http://stackoverflow.com/questions/1595013/iphone-how-to-create-a-seckeyref-from-a-public-key-file-pem

NSData myCertData .... SecCertificateRef cert SecCertificateCreateWithData kCFAllocatorDefault myCertData CFArrayRef certs CFArrayCreate kCFAllocatorDefault const void cert 1 NULL SecTrustRef trust SecTrustCreateWithCertificates certs policy trust.. certs CFArrayCreate kCFAllocatorDefault const void cert 1 NULL SecTrustRef trust SecTrustCreateWithCertificates certs policy trust SecTrustResultType trustResult SecTrustEvaluate trust trustResult SecKeyRef pub_key_leaf SecTrustCopyPublicKey..

IPhone app with SSL client certs

http://stackoverflow.com/questions/2037172/iphone-app-with-ssl-client-certs

app with SSL client certs I'm building an iphone app that needs to access a web service over https using client certificates. If I put the client.. and make the https call largely thanks to stackoverflow.com . However I need a way to distribute the app without any certs and leave it to the user to provide his own certificate. I thought I would just do that by instructing the user to import..

Cannot view Quicktime movies over HTTPS in Safari or UIWebView

http://stackoverflow.com/questions/4660189/cannot-view-quicktime-movies-over-https-in-safari-or-uiwebview

discussion but no resolution http discussions.apple.com thread.jspa messageID 12908818 I am not using self signed certs my machine has a registered SSL cert and I pushed both the GoDaddy intermediate cert and the normal cert to my iPad 4.2.1..

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

easily #import Security Security.h #import CommonCrypto CommonDigest.h From there you can iterate the full array of certs and compare it to something like a SHA1 of the challenge's server trust reference way #1 iOS built in SecTrustRef trust.. trust array if err errSecSuccess do something smarter here obviously logging would be a start abort CFArrayRef certs NULL err SecTrustCopyCustomAnchorCertificates trust certs if err errSecSuccess again better choices needed abort CFIndex.. here obviously logging would be a start abort CFArrayRef certs NULL err SecTrustCopyCustomAnchorCertificates trust certs if err errSecSuccess again better choices needed abort CFIndex cnt CFArrayGetCount certs loop and compare 'em for int i..

Creating a combo box for the iPhone

http://stackoverflow.com/questions/533231/creating-a-combo-box-for-the-iphone

Running xcodebuild from a forked terminal

http://stackoverflow.com/questions/577750/running-xcodebuild-from-a-forked-terminal

the keychain first security unlock keychain Users yannooo Library Keychains login.keychain I've also tried to put my certs in the System's keychain and it was working. My final solution was to put all my iPhone related certs in a dedicated keychain.. tried to put my certs in the System's keychain and it was working. My final solution was to put all my iPhone related certs in a dedicated keychain named iPhone.keychain using the Keychain Access application security list keychains s Users yannooo..

Locking the Fields in MFMailComposeViewController

http://stackoverflow.com/questions/6284599/locking-the-fields-in-mfmailcomposeviewcontroller

is the email subject line testMsg.wantsSecure YES smtp.gmail.com doesn't work without TLS Only do this for self signed certs testMsg.validateSSLChain NO testMsg.delegate self email contents NSString bodyMessage NSString stringWithFormat @ This is..

Apple MDM Vendor CSR Signing

http://stackoverflow.com/questions/8501039/apple-mdm-vendor-csr-signing

certificate from http www.apple.com appleca AppleIncRootCertificate.cer then use below command to convert these three certs to PEM format one by one which will be read by program as the PushCertCertificateChain openssl x509 inform der in AppleWWDRCA.cer..

How to manage Enterprise Distribution certificate expiration?

http://stackoverflow.com/questions/9216485/how-to-manage-enterprise-distribution-certificate-expiration