PublicKeyCreator
class PublicKeyCreator : IPublicKeyCreator
Manages public key creation
-
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.
-
Undocumented
Declaration
Swift
private func lengthField(of valueField: [UInt8]) -> [UInt8]
PublicKeyCreator Class Reference