KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

33        
34     public XKMSCAServiceInfo(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     public XKMSCAServiceInfo(int status,
46             String JavaDoc subjectdn,
47             String JavaDoc subjectaltname,
48             String JavaDoc keyspec,
49             String JavaDoc keyalgorithm,
50             List JavaDoc xkmscertchain) {
51         super(status, subjectdn, subjectaltname, keyspec, keyalgorithm, xkmscertchain);
52     }
53     
54     /*
55      * Used when updating existing services, only status is used.
56      */

57     public XKMSCAServiceInfo(int status, boolean renew){
58       super(status, renew);
59     }
60     
61     public List JavaDoc getXKMSSignerCertificatePath(){ return super.getCertificatePath();}
62
63 }
64
Popular Tags