Package pygar.identity_authority

This package implements the system component responsible for identities as represented via public key encryption.

The package builds on java.security.KeyStore and uses that class to store keys and certificates. The package adds access methods that are particular to our system. For that reason, we hide a lot of the generality and complexity of the java.security utilities in order to have a convenient and concise way to express our code.

At the present time, the classes in this package are considered and annotated as @Dangerous because we have not defined anyway to ensure the security of the facility. In particular, there are passwords running around in clear text. These need to be eliminated in future releases.

  • Interface Summary 
    Interface Description
    IdentifyOthers<NameType,​KeyType>
    This interface describes the component that will provide a public identifer for an agent.
    IdentifySelf<NameType,​KeyType>
    This interface describes the component that will retrieve the private key for an agent.
  • Class Summary 
    Class Description
    KeyStoreAccess  
  • Enum Summary 
    Enum Description
    KeyStoreType
    An enumeration for the types of keys in the system.
  • Exception Summary 
    Exception Description
    KeyNotFound
    The KeyNotFound exception is thrown when an access to a KeyStore fails to find a key.