Original: The nature of the information they require to do so depends on the encryption technique they might use.
Simplified: In their most usual implementation, each user applies to a "certificate authority" for a digital certificate which serves for other users as a correct (termed: non-tamperable) authentication of identity.