jdk/src/jdk.dev/share/classes/sun/security/tools/jarsigner/TimestampedSigner.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
138 params.getTSADigestAlg()); |
138 params.getTSADigestAlg()); |
139 } |
139 } |
140 |
140 |
141 /** |
141 /** |
142 * Examine the certificate for a Subject Information Access extension |
142 * Examine the certificate for a Subject Information Access extension |
143 * (<a href="http://www.ietf.org/rfc/rfc3280.txt">RFC 3280</a>). |
143 * (<a href="http://tools.ietf.org/html/rfc5280">RFC 5280</a>). |
144 * The extension's <tt>accessMethod</tt> field should contain the object |
144 * The extension's <tt>accessMethod</tt> field should contain the object |
145 * identifier defined for timestamping: 1.3.6.1.5.5.7.48.3 and its |
145 * identifier defined for timestamping: 1.3.6.1.5.5.7.48.3 and its |
146 * <tt>accessLocation</tt> field should contain an HTTP or HTTPS URL. |
146 * <tt>accessLocation</tt> field should contain an HTTP or HTTPS URL. |
147 * |
147 * |
148 * @param tsaCertificate An X.509 certificate for the TSA. |
148 * @param tsaCertificate An X.509 certificate for the TSA. |