TakeScoop/SwiftyRSA

Error: .asn1ParsingFailed(Couldn't parse the ASN1 key data..)

usman-tdsoftware-zz opened this issue · 0 comments

I am trying to decode and facing an error (The operation couldn’t be completed. (SwiftyRSA.SwiftyRSAError error 14.)) (Couldn't parse the ASN1 key data... asn1ParsingFailed) at the following line of code.

let privateKey = try PrivateKey(pemEncoded: key)