Interface KEStore<V extends KERecord>

  • All Superinterfaces:
    Map<edu.uiuc.ncsa.security.core.Identifier,​V>, edu.uiuc.ncsa.security.core.Store<V>
    All Known Implementing Classes:
    KEFileStore, KEMemoryStore, KESQLStore

    public interface KEStore<V extends KERecord>
    extends edu.uiuc.ncsa.security.core.Store<V>
    • Method Detail

      • getByKID

        KERecord getByKID​(String kid)
        For a given key id (kid) find an return. Key ids are unique in the database. This may be null if there is no such KERecord.
        Parameters:
        kid -
        Returns:
      • getKIDs

        HashSet<String> getKIDs()
        Get all of the key ids used in this store.
        Returns:
      • getCurrentKeys

        edu.uiuc.ncsa.security.util.jwk.JSONWebKeys getCurrentKeys​(VirtualIssuer vi)
        Gets the currently active keys for a given virtual issuer. Note that the virtual issuer for the server is OA2SE#SERVER_VI_ID. A current key is defined as having not expired and being valid.
        Parameters:
        vi -
        Returns:
      • getCurrentKeys

        edu.uiuc.ncsa.security.util.jwk.JSONWebKeys getCurrentKeys()
        Get all currently active keys.
        Returns:
      • getByVI

        edu.uiuc.ncsa.security.core.util.IdentifiableMap<KERecord> getByVI​(VirtualIssuer vi)
        Return valid Key Records for a given virtual issuer. This means that they have no expired and are valid. The identifier is the ID of the KERecord.
        Parameters:
        vi -
        Returns:
      • getByVI

        edu.uiuc.ncsa.security.core.util.IdentifiableMap<KERecord> getByVI​(VirtualIssuer vi,
                                                                           boolean validKeysOnly)