10. The method of claim 1 , wherein: said receiving comprises receiving a peer identity export call having the one or more corresponding call parameters comprising the identity name, a password to be used to encrypt identity information, at least one export option flag, and a pointer to a location to which a pointer to exported identity information will be placed; and said returning comprises returning to the application program a value indicative of the success/failure of the peer identity export call.
1. A method comprising: providing an application program interface for use by an application program of a resolution protocol to manage peer-to-peer identities, the application program of the resolution protocol and a server process being on a same node of a peer-to-peer network; receiving, at the server process on the same node, a peer identity create call having a plurality of call parameters comprising a classifier, a peer-to-peer friendly name, a handle to a container in which a key pair exists, and a pointer to a location to which an identity name should be returned; parsing, at the server process, the peer identity create call to retrieve the plurality of call parameters; returning to the application program a value indicative of a success or failure of the peer identity create call; the server process being configured to receive a peer identity delete call configured to delete one or more of certificates, private keys, or group information associated with a deleted identity; and the server process further being configured to receive a peer identity enumerate call configured to: enumerate peer identities including a parameter comprising a pointer to a location where a handle to an enumeration object is returned; and enumerate groups associated with the peer identity including parameters comprising a name of an identity for which groups will be enumerated, and a pointer to the location where a handle to an enumeration object is returned.