【发布时间】:2015-10-05 09:52:02
【问题描述】:
我一直在使用 https://github.com/ideawu/Objective-C-RSA/blob/master/RSA.m 对于 RSA 加密,但在 iOS 9 中,kefRef 返回 nil,适用于 iOS 8。应该进行哪些更改?
SecKeyRef keyRef = nil;
status = SecItemCopyMatching((__bridge CFDictionaryRef)privateKey,(CFTypeRef *)&keyRef);
if(status != noErr){
return nil;
}
return keyRef;
【问题讨论】:
标签: ios objective-c encryption ios8 ios9