Merge "fix: general cleanup. Remove CipherInfo as it is not compatible with java-11"
[gigi.git] / src / club / wpia / gigi / pages / account / certs / CertificateDisplay.templ
1 <table class="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         <?=_PEM encoded Certificate?> (<a href='<?=$serial?>.crt' download>CRT</a>/<a href='<?=$serial?>.pem' download>PEM</a>)
43         <? foreach($trustchain) { ?>
44             <?=_issued by?> <a href='<?=$link?>'><?=$name?></a>
45         <? } ?><br/>
46         <?=_PEM encoded Certificate Chain?> (<a href='<?=$serial?>.crt?chain'  download>CRT</a>/<a href='<?=$serial?>.pem?chain' download>PEM</a>)<br/>
47         <?=_PEM encoded Certificate Chain (Excluding Anchor)?> (<a href='<?=$serial?>.crt?chain&noAnchor' download>CRT</a>/<a href='<?=$serial?>.pem?chain&noAnchor' download>PEM</a>)<br/>
48         <?=_PEM encoded Certificate Chain (Excluding Leaf)?> (<a href='<?=$serial?>.crt?chain&noLeaf' download>CRT</a>/<a href='<?=$serial?>.pem?chain&noLeaf' download>PEM</a>)<br/>
49         <?=_DER encoded Certificate?> (<a href='<?=$serial?>.cer' download>CER</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 !(/kb/rootcert)root certificate page in the FAQ!'</a>'!?>.</br>
53         <?=_For the different variants of the certificate and chain take a look at the !(/kb/certs)certificate page in the FAQ!'</a>'!?>.
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 SHA-1?>:</td>
88     <td><?=$fingerprintSHA1?></td>
89   </tr>
90   <tr>
91     <td><?=_Fingerprint SHA-256?>:</td>
92     <td><?=$fingerprintSHA256?></td>
93   </tr>
94   <tr>
95     <td valign="top"><?=_Certificate (PEM)?>:</td>
96     <td><pre><?=$cert?></pre></td>
97   </tr>
98
99   <tr>
100     <th colspan="2"><?=_Certificate Details?>:</th>
101   </tr>
102
103   <tr>
104     <td><?=_Login enabled?>:</td>
105     <td><?=$login?></td>
106   </tr>
107
108   <tr>
109     <td><?=_Digest?>:</td>
110     <td><?=$digest?></td>
111   </tr>
112
113   <tr>
114     <td><?=_Distinguished Name (DN)?>:</td>
115     <td><?=$DN?></td>
116   </tr>
117
118   <tr>
119     <td><?=_Subject Alternative Names (SAN)?>:</td>
120     <td>
121     <? foreach($san) { ?>
122       <?=$entry?>
123     <? } ?>
124     </td>
125   </tr>
126
127 </table>
128 <? if($revokeForm) {?>
129 <?=$revokeForm?>
130 <? } ?>