IPublicKeyCreator
protocol IPublicKeyCreator
Protocol specifies method which should be implemented by object which creates public key.
-
Creates public key
Declaration
Swift
func createPublicKey(modulus: String, exponent: String) -> SecKey?Parameters
modulusString value obtained from the jwks url.
exponentString value obtained from the jwks url.
Return Value
Public key is returned on success or nil on failure.
IPublicKeyCreator Protocol Reference