View Javadoc
1 /* 2 * Copyright �, Aegeus Technology Limited. 3 * All rights reserved. 4 */ 5 package jsdsi.certstore; 6 7 import java.security.cert.CollectionCertStoreParameters; 8 import java.util.Collection; 9 10 11 /*** 12 * <code>java.security.cert.CertStoreParameters</code> implementation for use with JSDSI. 13 * 14 * @author Sean Radford 15 * @version $Revision: 1.1.4.2 $ $Date: 2004/12/12 17:01:39 $ 16 */ 17 public class JsdsiCertStoreParameters extends CollectionCertStoreParameters { 18 19 private CertificateDAO dao; 20 21 /*** 22 * Constructor 23 * @param dao the {@link CertificateDAO} that the CertStore should use. 24 */ 25 public JsdsiCertStoreParameters(CertificateDAO dao) { 26 super(); 27 this.dao = dao; 28 } 29 30 31 /*** 32 * Constructor 33 * @param dao the {@link CertificateDAO} that the CertStore should use. 34 * @param collection a collection of certificates to place in the store 35 */ 36 public JsdsiCertStoreParameters(CertificateDAO dao, Collection collection) { 37 super(collection); 38 this.dao = dao; 39 } 40 41 /*** 42 * @see java.lang.Object#clone() 43 */ 44 public Object clone() { 45 return super.clone(); 46 } 47 48 /*** 49 * @return the dao the {@link CertificateDAO} for use by the CertStore 50 */ 51 public CertificateDAO getDao() { 52 return dao; 53 } 54 55 }

This page was automatically generated by Maven