KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > core > model > ca > store > CertReqHistory


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 package org.ejbca.core.model.ca.store;
14
15 import java.io.Serializable JavaDoc;
16 import java.util.Date JavaDoc;
17
18 import org.ejbca.core.model.ra.UserDataVO;
19
20
21
22
23 /**
24  * Value object class containing the data stored in the
25  * CertReqHistory Entity Bean. See constructor for details of its fields.
26  *
27  * @author Philip Vendil
28  * @version $Id: CertReqHistory.java,v 1.2 2006/01/26 14:17:58 anatom Exp $
29  * @see org.ejbca.core.ejb.ca.store.CertReqHistoryDataBean
30  */

31
32 public class CertReqHistory implements Serializable JavaDoc{
33     private String JavaDoc fingerprint;
34     private String JavaDoc serialNumber;
35     private String JavaDoc issuerDN;
36     private String JavaDoc username;
37     private Date JavaDoc timestamp;
38     private UserDataVO userDataVO;
39     
40     /**
41      * @param fingerprint the PK of the certificate in the CertificateDataBean
42      * @param serialNumber of the certificate
43      * @param issuerDN DN of the CA issuing the certificate
44      * @param username of the user used in the certificate request.
45      * @param timestamp when the certicate was created.
46      * @param userDataVO the userdata used to create the certificate.
47      */

48     public CertReqHistory(String JavaDoc fingerprint, String JavaDoc serialNumber,
49             String JavaDoc issuerDN, String JavaDoc username, Date JavaDoc timestamp,
50             UserDataVO userDataVO) {
51         super();
52         this.fingerprint = fingerprint;
53         this.serialNumber = serialNumber;
54         this.issuerDN = issuerDN;
55         this.username = username;
56         this.timestamp = timestamp;
57         this.userDataVO = userDataVO;
58     }
59     /**
60      * @return Returns the issuerDN.
61      */

62     public String JavaDoc getFingerprint() {
63         return fingerprint;
64     }
65     /**
66      * @return Returns the issuerDN.
67      */

68     public String JavaDoc getIssuerDN() {
69         return issuerDN;
70     }
71     /**
72      * @return Returns the serialNumber.
73      */

74     public String JavaDoc getSerialNumber() {
75         return serialNumber;
76     }
77     /**
78      * @return Returns the timestamp.
79      */

80     public Date JavaDoc getTimestamp() {
81         return timestamp;
82     }
83     /**
84      * @return Returns the userAdminData.
85      */

86     public UserDataVO getUserDataVO() {
87         return userDataVO;
88     }
89     /**
90      * @return Returns the username.
91      */

92     public String JavaDoc getUsername() {
93         return username;
94     }
95     
96
97 }
98
Popular Tags