Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これで、公開鍵を含む証明書ができました。iPhone SDK プログラミングでそこから公開鍵を取得し、公開鍵を使用して RSA で文字列を暗号化します。私は何をすべきか?
SecKeyRef publicKeyReference = NULL; NSMutableDictionary* queryPublicKey; SecItemCopyMatching((CFDictionaryRef)queryPublicKey, (CFTypeRef *)&publicKeyReference);
publicKeyReference - 公開鍵の表現です。queryPublicKey - 証明書の表現です。SecItemCopyMatching - 証明書から公開鍵を取得できる機能!