Type Method
certificate(pem:)
Creates RSAKey from public certificate pem file.
static func certificate(pem string: String) throws -> RSAKey
Discussion
Certificate pem files look like:
-----BEGIN CERTIFICATE-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC0cOtPjzABybjzm3fCg1aCYwnx
...
aX4rbSL49Z3dAQn8vQIDAQAB
-----END CERTIFICATE-----
This key can only be used to verify JWTs.