KickJava   Java API By Example, From Geeks To Geeks.

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


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
18 import org.apache.log4j.Logger;
19 import org.w3c.dom.Document JavaDoc;
20
21 /**
22  * Class used when requesting XMKS related services from a CA.
23  *
24  * @author Philip Vendil
25  * @version $Id: XKMSCAServiceRequest.java,v 1.1 2006/12/22 09:20:46 herrvendil Exp $
26  */

27 public class XKMSCAServiceRequest extends ExtendedCAServiceRequest implements Serializable JavaDoc {
28     
29     public static final Logger m_log = Logger.getLogger(XKMSCAServiceRequest.class);
30     
31     private Document JavaDoc doc = null;
32     private String JavaDoc id = null;
33     private boolean sign = false;
34     private boolean encrypt = false;
35
36     
37     /** Constructor for XKMSCAServiceRequest
38      */

39     public XKMSCAServiceRequest(Document JavaDoc doc, String JavaDoc id, boolean sign, boolean encrypt) {
40         this.doc = doc;
41         this.id = id;
42         this.sign = sign;
43         this.encrypt = encrypt;
44     }
45     public Document JavaDoc getDoc() {
46         return doc;
47     }
48     public String JavaDoc getId(){
49         return id;
50     }
51     public boolean isSign() {
52         return sign;
53     }
54     public boolean isEncrypt() {
55         return encrypt;
56     }
57
58
59
60 }
61
Popular Tags