Skip to content

Instance Method

remove(kid:)

Removes the key with the selected KID from the collection. If the default matches, that one is also removed.
@discardableResult func remove(kid: JWKIdentifier) -> Bool

Parameters

kid

The KID identifying the signer to the collection.

Return Value

True if the key was found and removed, false otherwise.