1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:22 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | SignJar (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.SignJar class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="SignJar (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Sequential.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Sleep.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="SignJar.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
85 | <BR>
|
---|
86 | Class SignJar</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
|
---|
91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.SignJar</B>
|
---|
92 | </PRE>
|
---|
93 | <HR>
|
---|
94 | <DL>
|
---|
95 | <DT>public class <B>SignJar</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></DL>
|
---|
96 |
|
---|
97 | <P>
|
---|
98 | Signs JAR or ZIP files with the javasign command line tool. The
|
---|
99 | tool detailed dependency checking: files are only signed if they
|
---|
100 | are not signed. The <tt>signjar</tt> attribute can point to the file to
|
---|
101 | generate; if this file exists then
|
---|
102 | its modification date is used as a cue as to whether to resign any JAR file.
|
---|
103 | <P>
|
---|
104 |
|
---|
105 | <P>
|
---|
106 | <DL>
|
---|
107 | <DT><B>Since:</B></DT>
|
---|
108 | <DD>Ant 1.1</DD>
|
---|
109 | </DL>
|
---|
110 | <HR>
|
---|
111 |
|
---|
112 | <P>
|
---|
113 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
114 |
|
---|
115 |
|
---|
116 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
117 |
|
---|
118 | <A NAME="field_summary"><!-- --></A>
|
---|
119 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
120 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
121 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
122 | <B>Field Summary</B></FONT></TD>
|
---|
123 | </TR>
|
---|
124 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
125 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
126 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
127 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#alias">alias</A></B></CODE>
|
---|
128 |
|
---|
129 | <BR>
|
---|
130 | The alias of signer.</TD>
|
---|
131 | </TR>
|
---|
132 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
133 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
134 | <CODE>protected java.util.Vector</CODE></FONT></TD>
|
---|
135 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#filesets">filesets</A></B></CODE>
|
---|
136 |
|
---|
137 | <BR>
|
---|
138 | the filesets of the jars to sign</TD>
|
---|
139 | </TR>
|
---|
140 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
141 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
142 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
143 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#internalsf">internalsf</A></B></CODE>
|
---|
144 |
|
---|
145 | <BR>
|
---|
146 | </TD>
|
---|
147 | </TR>
|
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
149 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
150 | <CODE>protected java.io.File</CODE></FONT></TD>
|
---|
151 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#jar">jar</A></B></CODE>
|
---|
152 |
|
---|
153 | <BR>
|
---|
154 | The name of the jar file.</TD>
|
---|
155 | </TR>
|
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
158 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
159 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#keypass">keypass</A></B></CODE>
|
---|
160 |
|
---|
161 | <BR>
|
---|
162 | </TD>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
166 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
167 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#lazy">lazy</A></B></CODE>
|
---|
168 |
|
---|
169 | <BR>
|
---|
170 | Whether to assume a jar which has an appropriate .SF file in is already
|
---|
171 | signed.</TD>
|
---|
172 | </TR>
|
---|
173 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
175 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
176 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#sectionsonly">sectionsonly</A></B></CODE>
|
---|
177 |
|
---|
178 | <BR>
|
---|
179 | </TD>
|
---|
180 | </TR>
|
---|
181 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
183 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
184 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#sigfile">sigfile</A></B></CODE>
|
---|
185 |
|
---|
186 | <BR>
|
---|
187 | </TD>
|
---|
188 | </TR>
|
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
191 | <CODE>protected java.io.File</CODE></FONT></TD>
|
---|
192 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#signedjar">signedjar</A></B></CODE>
|
---|
193 |
|
---|
194 | <BR>
|
---|
195 | </TD>
|
---|
196 | </TR>
|
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
199 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#storepass">storepass</A></B></CODE>
|
---|
201 |
|
---|
202 | <BR>
|
---|
203 | </TD>
|
---|
204 | </TR>
|
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
207 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
208 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#storetype">storetype</A></B></CODE>
|
---|
209 |
|
---|
210 | <BR>
|
---|
211 | </TD>
|
---|
212 | </TR>
|
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
215 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
216 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#verbose">verbose</A></B></CODE>
|
---|
217 |
|
---|
218 | <BR>
|
---|
219 | </TD>
|
---|
220 | </TR>
|
---|
221 | </TABLE>
|
---|
222 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
223 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
224 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
225 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
226 | </TR>
|
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
228 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
|
---|
229 | </TR>
|
---|
230 | </TABLE>
|
---|
231 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
232 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
233 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
234 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
235 | </TR>
|
---|
236 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
237 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
238 | </TR>
|
---|
239 | </TABLE>
|
---|
240 |
|
---|
241 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
242 |
|
---|
243 | <A NAME="constructor_summary"><!-- --></A>
|
---|
244 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
245 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
246 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
247 | <B>Constructor Summary</B></FONT></TD>
|
---|
248 | </TR>
|
---|
249 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
250 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#SignJar()">SignJar</A></B>()</CODE>
|
---|
251 |
|
---|
252 | <BR>
|
---|
253 | </TD>
|
---|
254 | </TR>
|
---|
255 | </TABLE>
|
---|
256 |
|
---|
257 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
258 |
|
---|
259 | <A NAME="method_summary"><!-- --></A>
|
---|
260 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
261 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
262 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
263 | <B>Method Summary</B></FONT></TD>
|
---|
264 | </TR>
|
---|
265 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
266 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
267 | <CODE> void</CODE></FONT></TD>
|
---|
268 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#addFileset(org.apache.tools.ant.types.FileSet)">addFileset</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> set)</CODE>
|
---|
269 |
|
---|
270 | <BR>
|
---|
271 | Adds a set of files to sign</TD>
|
---|
272 | </TR>
|
---|
273 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
274 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
275 | <CODE> void</CODE></FONT></TD>
|
---|
276 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#execute()">execute</A></B>()</CODE>
|
---|
277 |
|
---|
278 | <BR>
|
---|
279 | sign the jar(s)</TD>
|
---|
280 | </TR>
|
---|
281 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
283 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
284 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#isSigned(java.io.File)">isSigned</A></B>(java.io.File file)</CODE>
|
---|
285 |
|
---|
286 | <BR>
|
---|
287 | test for a file being signed, by looking for a signature in the META-INF
|
---|
288 | directory</TD>
|
---|
289 | </TR>
|
---|
290 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
292 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
293 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#isUpToDate(java.io.File, java.io.File)">isUpToDate</A></B>(java.io.File jarFile,
|
---|
294 | java.io.File signedjarFile)</CODE>
|
---|
295 |
|
---|
296 | <BR>
|
---|
297 | </TD>
|
---|
298 | </TR>
|
---|
299 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
300 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
301 | <CODE> void</CODE></FONT></TD>
|
---|
302 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setAlias(java.lang.String)">setAlias</A></B>(java.lang.String alias)</CODE>
|
---|
303 |
|
---|
304 | <BR>
|
---|
305 | the alias to sign under; required</TD>
|
---|
306 | </TR>
|
---|
307 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
308 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
309 | <CODE> void</CODE></FONT></TD>
|
---|
310 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setInternalsf(boolean)">setInternalsf</A></B>(boolean internalsf)</CODE>
|
---|
311 |
|
---|
312 | <BR>
|
---|
313 | Flag to include the .SF file inside the signature;
|
---|
314 | optional; default false</TD>
|
---|
315 | </TR>
|
---|
316 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
317 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
318 | <CODE> void</CODE></FONT></TD>
|
---|
319 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setJar(java.io.File)">setJar</A></B>(java.io.File jar)</CODE>
|
---|
320 |
|
---|
321 | <BR>
|
---|
322 | the jar file to sign; required</TD>
|
---|
323 | </TR>
|
---|
324 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
325 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
326 | <CODE> void</CODE></FONT></TD>
|
---|
327 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setKeypass(java.lang.String)">setKeypass</A></B>(java.lang.String keypass)</CODE>
|
---|
328 |
|
---|
329 | <BR>
|
---|
330 | password for private key (if different); optional</TD>
|
---|
331 | </TR>
|
---|
332 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
333 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
334 | <CODE> void</CODE></FONT></TD>
|
---|
335 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setKeystore(java.lang.String)">setKeystore</A></B>(java.lang.String keystore)</CODE>
|
---|
336 |
|
---|
337 | <BR>
|
---|
338 | keystore location; required</TD>
|
---|
339 | </TR>
|
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
342 | <CODE> void</CODE></FONT></TD>
|
---|
343 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setLazy(boolean)">setLazy</A></B>(boolean lazy)</CODE>
|
---|
344 |
|
---|
345 | <BR>
|
---|
346 | flag to control whether the presence of a signature
|
---|
347 | file means a JAR is signed;
|
---|
348 | optional, default false</TD>
|
---|
349 | </TR>
|
---|
350 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
351 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
352 | <CODE> void</CODE></FONT></TD>
|
---|
353 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setMaxmemory(java.lang.String)">setMaxmemory</A></B>(java.lang.String max)</CODE>
|
---|
354 |
|
---|
355 | <BR>
|
---|
356 | Set the maximum memory to be used by the jarsigner process</TD>
|
---|
357 | </TR>
|
---|
358 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
359 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
360 | <CODE> void</CODE></FONT></TD>
|
---|
361 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setSectionsonly(boolean)">setSectionsonly</A></B>(boolean sectionsonly)</CODE>
|
---|
362 |
|
---|
363 | <BR>
|
---|
364 | flag to compute hash of entire manifest;
|
---|
365 | optional, default false</TD>
|
---|
366 | </TR>
|
---|
367 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
368 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
369 | <CODE> void</CODE></FONT></TD>
|
---|
370 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setSigfile(java.lang.String)">setSigfile</A></B>(java.lang.String sigfile)</CODE>
|
---|
371 |
|
---|
372 | <BR>
|
---|
373 | name of .SF/.DSA file; optional</TD>
|
---|
374 | </TR>
|
---|
375 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
376 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
377 | <CODE> void</CODE></FONT></TD>
|
---|
378 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setSignedjar(java.io.File)">setSignedjar</A></B>(java.io.File signedjar)</CODE>
|
---|
379 |
|
---|
380 | <BR>
|
---|
381 | name of signed JAR file; optional</TD>
|
---|
382 | </TR>
|
---|
383 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
384 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
385 | <CODE> void</CODE></FONT></TD>
|
---|
386 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setStorepass(java.lang.String)">setStorepass</A></B>(java.lang.String storepass)</CODE>
|
---|
387 |
|
---|
388 | <BR>
|
---|
389 | password for keystore integrity; required</TD>
|
---|
390 | </TR>
|
---|
391 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
392 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
393 | <CODE> void</CODE></FONT></TD>
|
---|
394 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setStoretype(java.lang.String)">setStoretype</A></B>(java.lang.String storetype)</CODE>
|
---|
395 |
|
---|
396 | <BR>
|
---|
397 | keystore type; optional</TD>
|
---|
398 | </TR>
|
---|
399 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
400 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
401 | <CODE> void</CODE></FONT></TD>
|
---|
402 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SignJar.html#setVerbose(boolean)">setVerbose</A></B>(boolean verbose)</CODE>
|
---|
403 |
|
---|
404 | <BR>
|
---|
405 | Enable verbose output when signing
|
---|
406 | ; optional: default false</TD>
|
---|
407 | </TR>
|
---|
408 | </TABLE>
|
---|
409 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
410 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
411 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
412 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
413 | </TR>
|
---|
414 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
415 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
|
---|
416 | </TR>
|
---|
417 | </TABLE>
|
---|
418 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
419 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
420 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
421 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
422 | </TR>
|
---|
423 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
424 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
425 | </TR>
|
---|
426 | </TABLE>
|
---|
427 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
428 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
429 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
430 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
431 | </TR>
|
---|
432 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
433 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
434 | </TR>
|
---|
435 | </TABLE>
|
---|
436 |
|
---|
437 | <P>
|
---|
438 |
|
---|
439 | <!-- ============ FIELD DETAIL =========== -->
|
---|
440 |
|
---|
441 | <A NAME="field_detail"><!-- --></A>
|
---|
442 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
443 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
444 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
445 | <B>Field Detail</B></FONT></TD>
|
---|
446 | </TR>
|
---|
447 | </TABLE>
|
---|
448 |
|
---|
449 | <A NAME="jar"><!-- --></A><H3>
|
---|
450 | jar</H3>
|
---|
451 | <PRE>
|
---|
452 | protected java.io.File <B>jar</B></PRE>
|
---|
453 | <DL>
|
---|
454 | <DD>The name of the jar file.
|
---|
455 | <P>
|
---|
456 | <DL>
|
---|
457 | </DL>
|
---|
458 | </DL>
|
---|
459 | <HR>
|
---|
460 |
|
---|
461 | <A NAME="alias"><!-- --></A><H3>
|
---|
462 | alias</H3>
|
---|
463 | <PRE>
|
---|
464 | protected java.lang.String <B>alias</B></PRE>
|
---|
465 | <DL>
|
---|
466 | <DD>The alias of signer.
|
---|
467 | <P>
|
---|
468 | <DL>
|
---|
469 | </DL>
|
---|
470 | </DL>
|
---|
471 | <HR>
|
---|
472 |
|
---|
473 | <A NAME="storepass"><!-- --></A><H3>
|
---|
474 | storepass</H3>
|
---|
475 | <PRE>
|
---|
476 | protected java.lang.String <B>storepass</B></PRE>
|
---|
477 | <DL>
|
---|
478 | <DL>
|
---|
479 | </DL>
|
---|
480 | </DL>
|
---|
481 | <HR>
|
---|
482 |
|
---|
483 | <A NAME="storetype"><!-- --></A><H3>
|
---|
484 | storetype</H3>
|
---|
485 | <PRE>
|
---|
486 | protected java.lang.String <B>storetype</B></PRE>
|
---|
487 | <DL>
|
---|
488 | <DL>
|
---|
489 | </DL>
|
---|
490 | </DL>
|
---|
491 | <HR>
|
---|
492 |
|
---|
493 | <A NAME="keypass"><!-- --></A><H3>
|
---|
494 | keypass</H3>
|
---|
495 | <PRE>
|
---|
496 | protected java.lang.String <B>keypass</B></PRE>
|
---|
497 | <DL>
|
---|
498 | <DL>
|
---|
499 | </DL>
|
---|
500 | </DL>
|
---|
501 | <HR>
|
---|
502 |
|
---|
503 | <A NAME="sigfile"><!-- --></A><H3>
|
---|
504 | sigfile</H3>
|
---|
505 | <PRE>
|
---|
506 | protected java.lang.String <B>sigfile</B></PRE>
|
---|
507 | <DL>
|
---|
508 | <DL>
|
---|
509 | </DL>
|
---|
510 | </DL>
|
---|
511 | <HR>
|
---|
512 |
|
---|
513 | <A NAME="signedjar"><!-- --></A><H3>
|
---|
514 | signedjar</H3>
|
---|
515 | <PRE>
|
---|
516 | protected java.io.File <B>signedjar</B></PRE>
|
---|
517 | <DL>
|
---|
518 | <DL>
|
---|
519 | </DL>
|
---|
520 | </DL>
|
---|
521 | <HR>
|
---|
522 |
|
---|
523 | <A NAME="verbose"><!-- --></A><H3>
|
---|
524 | verbose</H3>
|
---|
525 | <PRE>
|
---|
526 | protected boolean <B>verbose</B></PRE>
|
---|
527 | <DL>
|
---|
528 | <DL>
|
---|
529 | </DL>
|
---|
530 | </DL>
|
---|
531 | <HR>
|
---|
532 |
|
---|
533 | <A NAME="internalsf"><!-- --></A><H3>
|
---|
534 | internalsf</H3>
|
---|
535 | <PRE>
|
---|
536 | protected boolean <B>internalsf</B></PRE>
|
---|
537 | <DL>
|
---|
538 | <DL>
|
---|
539 | </DL>
|
---|
540 | </DL>
|
---|
541 | <HR>
|
---|
542 |
|
---|
543 | <A NAME="sectionsonly"><!-- --></A><H3>
|
---|
544 | sectionsonly</H3>
|
---|
545 | <PRE>
|
---|
546 | protected boolean <B>sectionsonly</B></PRE>
|
---|
547 | <DL>
|
---|
548 | <DL>
|
---|
549 | </DL>
|
---|
550 | </DL>
|
---|
551 | <HR>
|
---|
552 |
|
---|
553 | <A NAME="filesets"><!-- --></A><H3>
|
---|
554 | filesets</H3>
|
---|
555 | <PRE>
|
---|
556 | protected java.util.Vector <B>filesets</B></PRE>
|
---|
557 | <DL>
|
---|
558 | <DD>the filesets of the jars to sign
|
---|
559 | <P>
|
---|
560 | <DL>
|
---|
561 | </DL>
|
---|
562 | </DL>
|
---|
563 | <HR>
|
---|
564 |
|
---|
565 | <A NAME="lazy"><!-- --></A><H3>
|
---|
566 | lazy</H3>
|
---|
567 | <PRE>
|
---|
568 | protected boolean <B>lazy</B></PRE>
|
---|
569 | <DL>
|
---|
570 | <DD>Whether to assume a jar which has an appropriate .SF file in is already
|
---|
571 | signed.
|
---|
572 | <P>
|
---|
573 | <DL>
|
---|
574 | </DL>
|
---|
575 | </DL>
|
---|
576 |
|
---|
577 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
578 |
|
---|
579 | <A NAME="constructor_detail"><!-- --></A>
|
---|
580 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
581 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
582 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
583 | <B>Constructor Detail</B></FONT></TD>
|
---|
584 | </TR>
|
---|
585 | </TABLE>
|
---|
586 |
|
---|
587 | <A NAME="SignJar()"><!-- --></A><H3>
|
---|
588 | SignJar</H3>
|
---|
589 | <PRE>
|
---|
590 | public <B>SignJar</B>()</PRE>
|
---|
591 | <DL>
|
---|
592 | </DL>
|
---|
593 |
|
---|
594 | <!-- ============ METHOD DETAIL ========== -->
|
---|
595 |
|
---|
596 | <A NAME="method_detail"><!-- --></A>
|
---|
597 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
598 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
599 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
600 | <B>Method Detail</B></FONT></TD>
|
---|
601 | </TR>
|
---|
602 | </TABLE>
|
---|
603 |
|
---|
604 | <A NAME="setMaxmemory(java.lang.String)"><!-- --></A><H3>
|
---|
605 | setMaxmemory</H3>
|
---|
606 | <PRE>
|
---|
607 | public void <B>setMaxmemory</B>(java.lang.String max)</PRE>
|
---|
608 | <DL>
|
---|
609 | <DD>Set the maximum memory to be used by the jarsigner process
|
---|
610 | <P>
|
---|
611 | <DD><DL>
|
---|
612 | <DT><B>Parameters:</B><DD><CODE>max</CODE> - a string indicating the maximum memory according to the
|
---|
613 | JVM conventions (e.g. 128m is 128 Megabytes)</DL>
|
---|
614 | </DD>
|
---|
615 | </DL>
|
---|
616 | <HR>
|
---|
617 |
|
---|
618 | <A NAME="setJar(java.io.File)"><!-- --></A><H3>
|
---|
619 | setJar</H3>
|
---|
620 | <PRE>
|
---|
621 | public void <B>setJar</B>(java.io.File jar)</PRE>
|
---|
622 | <DL>
|
---|
623 | <DD>the jar file to sign; required
|
---|
624 | <P>
|
---|
625 | <DD><DL>
|
---|
626 | </DL>
|
---|
627 | </DD>
|
---|
628 | </DL>
|
---|
629 | <HR>
|
---|
630 |
|
---|
631 | <A NAME="setAlias(java.lang.String)"><!-- --></A><H3>
|
---|
632 | setAlias</H3>
|
---|
633 | <PRE>
|
---|
634 | public void <B>setAlias</B>(java.lang.String alias)</PRE>
|
---|
635 | <DL>
|
---|
636 | <DD>the alias to sign under; required
|
---|
637 | <P>
|
---|
638 | <DD><DL>
|
---|
639 | </DL>
|
---|
640 | </DD>
|
---|
641 | </DL>
|
---|
642 | <HR>
|
---|
643 |
|
---|
644 | <A NAME="setKeystore(java.lang.String)"><!-- --></A><H3>
|
---|
645 | setKeystore</H3>
|
---|
646 | <PRE>
|
---|
647 | public void <B>setKeystore</B>(java.lang.String keystore)</PRE>
|
---|
648 | <DL>
|
---|
649 | <DD>keystore location; required
|
---|
650 | <P>
|
---|
651 | <DD><DL>
|
---|
652 | </DL>
|
---|
653 | </DD>
|
---|
654 | </DL>
|
---|
655 | <HR>
|
---|
656 |
|
---|
657 | <A NAME="setStorepass(java.lang.String)"><!-- --></A><H3>
|
---|
658 | setStorepass</H3>
|
---|
659 | <PRE>
|
---|
660 | public void <B>setStorepass</B>(java.lang.String storepass)</PRE>
|
---|
661 | <DL>
|
---|
662 | <DD>password for keystore integrity; required
|
---|
663 | <P>
|
---|
664 | <DD><DL>
|
---|
665 | </DL>
|
---|
666 | </DD>
|
---|
667 | </DL>
|
---|
668 | <HR>
|
---|
669 |
|
---|
670 | <A NAME="setStoretype(java.lang.String)"><!-- --></A><H3>
|
---|
671 | setStoretype</H3>
|
---|
672 | <PRE>
|
---|
673 | public void <B>setStoretype</B>(java.lang.String storetype)</PRE>
|
---|
674 | <DL>
|
---|
675 | <DD>keystore type; optional
|
---|
676 | <P>
|
---|
677 | <DD><DL>
|
---|
678 | </DL>
|
---|
679 | </DD>
|
---|
680 | </DL>
|
---|
681 | <HR>
|
---|
682 |
|
---|
683 | <A NAME="setKeypass(java.lang.String)"><!-- --></A><H3>
|
---|
684 | setKeypass</H3>
|
---|
685 | <PRE>
|
---|
686 | public void <B>setKeypass</B>(java.lang.String keypass)</PRE>
|
---|
687 | <DL>
|
---|
688 | <DD>password for private key (if different); optional
|
---|
689 | <P>
|
---|
690 | <DD><DL>
|
---|
691 | </DL>
|
---|
692 | </DD>
|
---|
693 | </DL>
|
---|
694 | <HR>
|
---|
695 |
|
---|
696 | <A NAME="setSigfile(java.lang.String)"><!-- --></A><H3>
|
---|
697 | setSigfile</H3>
|
---|
698 | <PRE>
|
---|
699 | public void <B>setSigfile</B>(java.lang.String sigfile)</PRE>
|
---|
700 | <DL>
|
---|
701 | <DD>name of .SF/.DSA file; optional
|
---|
702 | <P>
|
---|
703 | <DD><DL>
|
---|
704 | </DL>
|
---|
705 | </DD>
|
---|
706 | </DL>
|
---|
707 | <HR>
|
---|
708 |
|
---|
709 | <A NAME="setSignedjar(java.io.File)"><!-- --></A><H3>
|
---|
710 | setSignedjar</H3>
|
---|
711 | <PRE>
|
---|
712 | public void <B>setSignedjar</B>(java.io.File signedjar)</PRE>
|
---|
713 | <DL>
|
---|
714 | <DD>name of signed JAR file; optional
|
---|
715 | <P>
|
---|
716 | <DD><DL>
|
---|
717 | </DL>
|
---|
718 | </DD>
|
---|
719 | </DL>
|
---|
720 | <HR>
|
---|
721 |
|
---|
722 | <A NAME="setVerbose(boolean)"><!-- --></A><H3>
|
---|
723 | setVerbose</H3>
|
---|
724 | <PRE>
|
---|
725 | public void <B>setVerbose</B>(boolean verbose)</PRE>
|
---|
726 | <DL>
|
---|
727 | <DD>Enable verbose output when signing
|
---|
728 | ; optional: default false
|
---|
729 | <P>
|
---|
730 | <DD><DL>
|
---|
731 | </DL>
|
---|
732 | </DD>
|
---|
733 | </DL>
|
---|
734 | <HR>
|
---|
735 |
|
---|
736 | <A NAME="setInternalsf(boolean)"><!-- --></A><H3>
|
---|
737 | setInternalsf</H3>
|
---|
738 | <PRE>
|
---|
739 | public void <B>setInternalsf</B>(boolean internalsf)</PRE>
|
---|
740 | <DL>
|
---|
741 | <DD>Flag to include the .SF file inside the signature;
|
---|
742 | optional; default false
|
---|
743 | <P>
|
---|
744 | <DD><DL>
|
---|
745 | </DL>
|
---|
746 | </DD>
|
---|
747 | </DL>
|
---|
748 | <HR>
|
---|
749 |
|
---|
750 | <A NAME="setSectionsonly(boolean)"><!-- --></A><H3>
|
---|
751 | setSectionsonly</H3>
|
---|
752 | <PRE>
|
---|
753 | public void <B>setSectionsonly</B>(boolean sectionsonly)</PRE>
|
---|
754 | <DL>
|
---|
755 | <DD>flag to compute hash of entire manifest;
|
---|
756 | optional, default false
|
---|
757 | <P>
|
---|
758 | <DD><DL>
|
---|
759 | </DL>
|
---|
760 | </DD>
|
---|
761 | </DL>
|
---|
762 | <HR>
|
---|
763 |
|
---|
764 | <A NAME="setLazy(boolean)"><!-- --></A><H3>
|
---|
765 | setLazy</H3>
|
---|
766 | <PRE>
|
---|
767 | public void <B>setLazy</B>(boolean lazy)</PRE>
|
---|
768 | <DL>
|
---|
769 | <DD>flag to control whether the presence of a signature
|
---|
770 | file means a JAR is signed;
|
---|
771 | optional, default false
|
---|
772 | <P>
|
---|
773 | <DD><DL>
|
---|
774 | </DL>
|
---|
775 | </DD>
|
---|
776 | </DL>
|
---|
777 | <HR>
|
---|
778 |
|
---|
779 | <A NAME="addFileset(org.apache.tools.ant.types.FileSet)"><!-- --></A><H3>
|
---|
780 | addFileset</H3>
|
---|
781 | <PRE>
|
---|
782 | public void <B>addFileset</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> set)</PRE>
|
---|
783 | <DL>
|
---|
784 | <DD>Adds a set of files to sign
|
---|
785 | <P>
|
---|
786 | <DD><DL>
|
---|
787 | <DT><B>Since:</B></DT>
|
---|
788 | <DD>Ant 1.4</DD>
|
---|
789 | </DL>
|
---|
790 | </DD>
|
---|
791 | </DL>
|
---|
792 | <HR>
|
---|
793 |
|
---|
794 | <A NAME="execute()"><!-- --></A><H3>
|
---|
795 | execute</H3>
|
---|
796 | <PRE>
|
---|
797 | public void <B>execute</B>()
|
---|
798 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
799 | <DL>
|
---|
800 | <DD>sign the jar(s)
|
---|
801 | <P>
|
---|
802 | <DD><DL>
|
---|
803 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
804 | </DD>
|
---|
805 | <DD><DL>
|
---|
806 |
|
---|
807 | <DT><B>Throws:</B>
|
---|
808 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if something goes wrong with the build</DL>
|
---|
809 | </DD>
|
---|
810 | </DL>
|
---|
811 | <HR>
|
---|
812 |
|
---|
813 | <A NAME="isUpToDate(java.io.File, java.io.File)"><!-- --></A><H3>
|
---|
814 | isUpToDate</H3>
|
---|
815 | <PRE>
|
---|
816 | protected boolean <B>isUpToDate</B>(java.io.File jarFile,
|
---|
817 | java.io.File signedjarFile)</PRE>
|
---|
818 | <DL>
|
---|
819 | <DD><DL>
|
---|
820 | </DL>
|
---|
821 | </DD>
|
---|
822 | </DL>
|
---|
823 | <HR>
|
---|
824 |
|
---|
825 | <A NAME="isSigned(java.io.File)"><!-- --></A><H3>
|
---|
826 | isSigned</H3>
|
---|
827 | <PRE>
|
---|
828 | protected boolean <B>isSigned</B>(java.io.File file)</PRE>
|
---|
829 | <DL>
|
---|
830 | <DD>test for a file being signed, by looking for a signature in the META-INF
|
---|
831 | directory
|
---|
832 | <P>
|
---|
833 | <DD><DL>
|
---|
834 | <DT><B>Parameters:</B><DD><CODE>file</CODE> -
|
---|
835 | <DT><B>Returns:</B><DD>true if the file is signed</DL>
|
---|
836 | </DD>
|
---|
837 | </DL>
|
---|
838 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
839 | <HR>
|
---|
840 |
|
---|
841 |
|
---|
842 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
843 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
844 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
845 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
846 | <TR>
|
---|
847 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
848 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
849 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
850 | <TR ALIGN="center" VALIGN="top">
|
---|
851 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
852 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
853 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
854 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
855 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
856 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
857 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
858 | </TR>
|
---|
859 | </TABLE>
|
---|
860 | </TD>
|
---|
861 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
862 | </EM>
|
---|
863 | </TD>
|
---|
864 | </TR>
|
---|
865 |
|
---|
866 | <TR>
|
---|
867 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
868 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Sequential.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
869 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Sleep.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
870 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
871 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
872 | <A HREF="SignJar.html" target="_top"><B>NO FRAMES</B></A>
|
---|
873 | <SCRIPT type="text/javascript">
|
---|
874 | <!--
|
---|
875 | if(window==top) {
|
---|
876 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
877 | }
|
---|
878 | //-->
|
---|
879 | </SCRIPT>
|
---|
880 | <NOSCRIPT>
|
---|
881 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
882 | </NOSCRIPT>
|
---|
883 |
|
---|
884 | </FONT></TD>
|
---|
885 | </TR>
|
---|
886 | <TR>
|
---|
887 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
888 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
889 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
890 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
891 | </TR>
|
---|
892 | </TABLE>
|
---|
893 | <A NAME="skip-navbar_bottom"></A>
|
---|
894 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
895 |
|
---|
896 | <HR>
|
---|
897 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
898 | </BODY>
|
---|
899 | </HTML>
|
---|