It would be really great, if you could add support for SSL pinning with public keys as is possible with AFNetworking. AFNetworking supports both pinning with certificates or public keys.
Certificate pinning is great if you already have a CA signed certificate. But if you want to generate a couple of Certificate Signing Requets (CSR) for later use, you could use those to extract their public keys. That way you do not need to buy costly certificates just for the case that you may need to switch them (they do expire sooner or later!).
It would be really great, if you could add support for SSL pinning with public keys as is possible with AFNetworking. AFNetworking supports both pinning with certificates or public keys.
Certificate pinning is great if you already have a CA signed certificate. But if you want to generate a couple of Certificate Signing Requets (CSR) for later use, you could use those to extract their public keys. That way you do not need to buy costly certificates just for the case that you may need to switch them (they do expire sooner or later!).