addUserId (method)
Adds the specified user Id to the current key.
Syntax
- (void)addUserId:(NSString*)userId;
public func addUserId(_ userId: String) throws -> Void
Remarks
The key's passphrase is required for this operation and may be specified via KeyPassphrase or through the KeyPassphrase event.
The UserId format is:
FirstName LastName (Comment) <Email>Not all values are required when selecting or generating a key, but at least FirstName or Email are required.