function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deepika S 33Deepika S 33 

X509EncodedKeySpec - REST API Integration

I have to convert the java class into apex  for API Integration.
I stuck with to create a public key. The Public key file is in PEM File format. By using RSA I have to convert to apex class. 

What is the equivalent code for X509EncodedKeySpec & keyFactory Java method in apex class to create a public key using RSA Algorithm? 
SwethaSwetha (Salesforce Developers) 
HI Deepika,
I've come across related posts that might help