Post

Replies

Boosts

Views

Activity

Reply to SecKeyCopyExternalRepresentation returns -25260
https://developer.apple.com/forums/thread/658107 The above mentioned thread provides a solution to a similar issue. You can export the private key in encrypted PEM format with the flag kSecItemPemArmour and later decrypt it using OpenSSL APIs such as, EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u); Share and Enjoy — Subhash
1d