Package pygar.identity_authority
Interface IdentifyOthers<NameType,KeyType>
public interface IdentifyOthers<NameType,KeyType>
This interface describes the component that will provide a public
identifer for an agent. In the simplest case, the agent is identified by
name and the identifier that will be returned for the name is the PKE
public key associated with the name. The interface should hide the details
of connecting with trusted identity authorities.
-
Method Summary
Modifier and Type Method Description KeyType
getPublicKey(NameType name)
The primary operation of the interface obtains a Public Key for Public Key Encryption that is associated with the name.
-
Method Details
-
getPublicKey
The primary operation of the interface obtains a Public Key for Public Key Encryption that is associated with the name.- Parameters:
name
- The name or other identifier for the agent.- Returns:
- The public key associated with the name.
-