KickJava   Java API By Example, From Geeks To Geeks.

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


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  * @version $Id: CmsCAServiceInfo.java,v 1.1 2006/12/27 11:13:56 anatom Exp $
26  */

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

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

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

57     public CmsCAServiceInfo(int status, boolean renew){
58       super(status, renew);
59     }
60
61 }
62
Popular Tags