KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
19  * Class used when delevering CMS service response from a CA.
20  *
21  * @version $Id: CmsCAServiceResponse.java,v 1.2 2006/12/28 13:51:15 anatom Exp $
22  */

23 public class CmsCAServiceResponse extends ExtendedCAServiceResponse implements Serializable JavaDoc {
24                  
25     /**
26      * Determines if a de-serialized file is compatible with this class.
27      *
28      * Maintainers must change this value if and only if the new version
29      * of this class is not compatible with old versions. See Sun docs
30      * for <a HREF=http://java.sun.com/products/jdk/1.1/docs/guide
31      * /serialization/spec/version.doc.html> details. </a>
32      */

33     private static final long serialVersionUID = 7704310763496240017L;
34
35     private byte[] doc = null;
36     
37         
38     public CmsCAServiceResponse(byte[] doc) {
39         this.doc = doc;
40     }
41            
42     public byte[] getCmsDocument() { return this.doc; }
43         
44 }
45
Popular Tags