fromIosEncoded

Tries to decode a private key as exported from iOS. EC keys are exported as padded raw bytes. RSA keys are exported using PKCS#1 encoding