KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > core > model > ca > caadmin > extendedcaservices > OCSPCAServiceInfo


1 /*************************************************************************
2  * *
3  * EJBCA: The OpenSource Certificate Authority *
4  * *
5  * This software is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU Lesser General Public *
7  * License as published by the Free Software Foundation; either *
8  * version 2.1 of the License, or any later version. *
9  * *
10  * See terms of license at gnu.org. *
11  * *
12  *************************************************************************/

13  
14 package org.ejbca.core.model.ca.caadmin.extendedcaservices;
15
16 import java.io.Serializable JavaDoc;
17 import java.util.List JavaDoc;
18
19
20
21 /**
22  * Class used mostly when creating service. Also used when info about the services
23  * is neesed
24  *
25  *
26  * @version $Id: OCSPCAServiceInfo.java,v 1.3 2006/12/27 11:13:56 anatom Exp $
27  */

28 public class OCSPCAServiceInfo extends BaseSigningCAServiceInfo implements Serializable JavaDoc {
29        
30     /**
31      * Used when creating new service.
32      */

33        
34     public OCSPCAServiceInfo(int status,
35                              String JavaDoc subjectdn,
36                              String JavaDoc subjectaltname,
37                              String JavaDoc keyspec,
38                              String JavaDoc keyalgorithm){
39       super(status, subjectdn, subjectaltname, keyspec, keyalgorithm);
40     }
41     
42     /**
43      * Used when returning information from service
44      */

45        
46     public OCSPCAServiceInfo(int status,
47                              String JavaDoc subjectdn,
48                              String JavaDoc subjectaltname,
49                              String JavaDoc keyspec,
50                              String JavaDoc keyalgorithm,
51                              List JavaDoc ocspcertpath){
52       super(status, subjectdn, subjectaltname, keyspec, keyalgorithm, ocspcertpath);
53     }
54     
55     /*
56      * Used when updating existing services, only status is used.
57      */

58     public OCSPCAServiceInfo(int status, boolean renew){
59       super(status, renew);
60     }
61     
62     public List JavaDoc getOCSPSignerCertificatePath(){ return super.getCertificatePath();}
63     
64     
65
66 }
67
Popular Tags