0

I need to get the public keys of a secured website programmatically with swift

In openssl i can get public key with this command:

openssl s_client -connect the.host.name:443 | openssl x509 -pubkey -noout

How can do this in swift code?

ps: I need .der file

ARASHz4
  • 301
  • 1
  • 14

0 Answers0