标签: ios objective-c encryption ios8 ios9
SecKeyRef keyRef = nil; status = SecItemCopyMatching((__bridge CFDictionaryRef)privateKey,(CFTypeRef *)&keyRef); if(status != noErr){ return nil; } return keyRef;
答案 0 :(得分:0)
问题在于使用了公钥。
https://forums.developer.apple.com/thread/15129