1   /*
2    * Copyright �, Aegeus Technology Limited.
3    * All rights reserved.
4    */
5   package jsdsi.certstore;
6   
7   import java.util.Collection;
8   
9   import jsdsi.CertSelector;
10  import jsdsi.Certificate;
11  
12  
13  /***
14   * Data Access Object interface for CertStores
15   * @author Sean Radford
16   * @version $Revision: 1.1.4.2 $ $Date: 2004/12/12 17:01:39 $
17   */
18  public interface CertificateDAO {
19      
20      /***
21       * Optional operation for storing a certificate.
22       * @param certificate the certificate to be stored.
23       * @throws UnsupportedOperationException if not supported by the implementing DAO.
24       */
25      public void store(Certificate certificate);
26      
27      /***
28       * Retrieves a collection of certificates from a store.
29       * @param selector to select certificates to retrieve
30       * @return the collection of certificates
31       */
32      public Collection retrieve(CertSelector selector);
33      
34  }
This page was automatically generated by Maven