diff --git a/src/share/classes/com/sun/jarsigner/ContentSigner.java b/src/share/classes/com/sun/jarsigner/ContentSigner.java index 1a29bf7ca339a952333ef3daf7186841eb766530..0446ab405b0243a5bd2cce0d96cdd2d7be12297d 100644 --- a/src/share/classes/com/sun/jarsigner/ContentSigner.java +++ b/src/share/classes/com/sun/jarsigner/ContentSigner.java @@ -37,6 +37,7 @@ import java.security.cert.CertificateException; * @author Vincent Ryan */ +@jdk.Exported public abstract class ContentSigner { /** diff --git a/src/share/classes/com/sun/jarsigner/package-info.java b/src/share/classes/com/sun/jarsigner/package-info.java new file mode 100644 index 0000000000000000000000000000000000000000..554d4c7b076caad108fb1b55da258a11760b2a0f --- /dev/null +++ b/src/share/classes/com/sun/jarsigner/package-info.java @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +/** + * This package comprises the interfaces and classes used to define the + * signing mechanism used by the jarsigner tool. + *

+ * Clients may override the default signing mechanism of the jarsigner + * tool by supplying an alternative implementation of + * {@link com.sun.jarsigner.ContentSigner}. + */ + +@jdk.Exported +package com.sun.jarsigner; diff --git a/src/share/classes/com/sun/jarsigner/package.html b/src/share/classes/com/sun/jarsigner/package.html deleted file mode 100644 index b00d655d9a20a51c3da47c850bc904eb1eb0cfb3..0000000000000000000000000000000000000000 --- a/src/share/classes/com/sun/jarsigner/package.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - Jarsigner Signing Mechanism Package - - -This package comprises the interfaces and classes used to define the -signing mechanism used by the jarsigner tool. -

-Clients may override the default signing mechanism of the jarsigner -tool by supplying an alternative implementation of -{@link com.sun.jarsigner.ContentSigner}. - -