]> WPIA git - gigi.git/blob - src/org/cacert/gigi/pages/account/certs/CertificateDisplay.templ
fix: ResultSet.getDate is often wrong as it fetches day-precision times
[gigi.git] / src / org / cacert / gigi / pages / account / certs / CertificateDisplay.templ
1 <table>
2 <? if($support) {?>
3
4   <tr>
5     <th colspan="2"><?=_Support Info?>:</th>
6   </tr>
7
8   <tr>
9     <td><?=$type?>:</td>
10     <td><a href="<?=$link?>"><?=$name?></a></td>
11   </tr>
12 <? } ?>
13
14
15   <tr>
16     <th colspan="2"><?=_X.509 Info?>:</th>
17   </tr>
18
19   <tr>
20     <td><?=_Profile?>:</td>
21     <td><?=$profile?></td>
22   </tr
23
24   <tr>
25     <td><?=_Serial Number?>:</td>
26     <td><?=$serial?></td>
27   </tr
28
29 <? if($support) {?>
30   <tr>
31     <td><?=_Trustchain?>:</td>
32     <td>
33     <? foreach($trustchain) { ?>
34       <?=_issued by?> <code><?=$name?></code>
35     <? } ?>
36     </td>
37   </tr>
38 <? } else { ?>
39   <tr>
40     <td valign="top"><?=_Certificate and Chain?>:</td>
41     <td>
42         <a href='<?=$serial?>.crt'><?=_PEM encoded Certificate?></a>
43         <? foreach($trustchain) { ?>
44             <?=_issued by?> <a href='<?=$link?>'><?=$name?></a>
45         <? } ?>*<br/>
46         <a href='<?=$serial?>.crt?chain'><?=_PEM encoded Certificate Chain?></a><br/>
47         <a href='<?=$serial?>.crt?chain&noAnchor'><?=_PEM encoded Certificate Chain (Excluding Anchor)?></a><br/>
48         <a href='<?=$serial?>.crt?chain&noLeaf'><?=_PEM encoded Certificate Chain (Excluding Leaf)?></a><br/>
49         <a href='<?=$serial?>.cer'><?=_DER encoded Certificate?></a><br/>
50         <a href='<?=$serial?>.cer?install&chain'><?=_Install into browser.?></a><br/>
51         <a href='<?=$serial?>.cer?install'><?=_Install into browser (Chrome)?></a>. <?=_Please ensure that the intermediate certificates listed above are installed prior to installing the certificate.?>*<br/><br/>
52         * <?=_For information on how to install the root certificates into the truststore of your browser take a look at the !'<a href="https://wiki.cacert.org/FAQ/CSR">'FAQ!'</a>'!?>
53         
54     </td>
55   </tr>
56 <? } ?>
57
58   <tr>
59     <th colspan="2"><?=_Validity?>:</th>
60   </tr>
61
62   <tr>
63     <td><?=_Status?>:</td>
64     <td><?=$status?></td>
65   </tr>
66
67   <tr>
68     <td><?=_Issue Date?>:</td>
69     <td><?=$issued?></td>
70   </tr>
71
72   <tr>
73     <td><?=_Expire Date?>:</td>
74     <td><?=$expire?></td>
75   </tr>
76
77   <tr>
78     <td><?=_Revocation Date?>:</td>
79     <td><?=$revoked?></td>
80   </tr>
81
82   <tr>
83     <th colspan="2"><?=_Certificate Info?>:</th>
84   </tr>
85
86   <tr>
87     <td><?=_Fingerprint?>:</td>
88     <td><?=$fingerprint?></td>
89   </tr>
90
91   <tr>
92     <td valign="top"><?=_Certificate (PEM)?>:</td>
93     <td><pre><?=$cert?></pre></td>
94   </tr>
95
96   <tr>
97     <th colspan="2"><?=_Certificate Details?>:</th>
98   </tr>
99
100   <tr>
101     <td><?=_Login enabled?>:</td>
102     <td><?=$login?></td>
103   </tr>
104
105   <tr>
106     <td><?=_Digest?>:</td>
107     <td><?=$digest?></td>
108   </tr>
109
110   <tr>
111     <td><?=_Distinguished Name (DN)?>:</td>
112     <td><?=$DN?></td>
113   </tr>
114
115   <tr>
116     <td><?=_Subject Alternative Names (SAN)?>:</td>
117     <td>
118     <? foreach($san) { ?>
119       <?=$entry?>
120     <? } ?>
121     </td>
122   </tr>
123
124 </table>
125 <? if($revokeForm) {?>
126 <?=$revokeForm?>
127 <? } ?>