summaryrefslogtreecommitdiff
path: root/java/openjdk7/files/patch-7u51-b30
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk7/files/patch-7u51-b30')
-rw-r--r--java/openjdk7/files/patch-7u51-b3031693
1 files changed, 31693 insertions, 0 deletions
diff --git a/java/openjdk7/files/patch-7u51-b30 b/java/openjdk7/files/patch-7u51-b30
new file mode 100644
index 000000000000..976298c71863
--- /dev/null
+++ b/java/openjdk7/files/patch-7u51-b30
@@ -0,0 +1,31693 @@
+--- ./.hgtags Tue Oct 08 09:06:41 2013 -0700
++++ ./.hgtags Thu Dec 19 09:00:36 2013 -0800
+@@ -357,6 +357,8 @@
+ 3af81bfe320c12758234233da6fa27c3c0ffcdc4 jdk7u40-b42
+ 1d53bd8fd2a62bcf336727ebec377ef7498dd4a6 jdk7u40-b43
+ dc1e099cd62d250b4a997ce694b47fe2f50d2905 jdk7u40-b60
++6359fa34199c9619dfec0f41d2eb22a4083ce610 jdk7u40-b61
++a2605cf03226ce2fef7a899ce41521c654300975 jdk7u40-b62
+ 07e41ff8674c9438cb1124cf78eed8636ed5d4fa jdk7u45-b02
+ 23c983c352a170d7a5fb7d703081daf1816d257a jdk7u45-b03
+ 1018a8ab686da6c1be22bec3ab9d01b2dc206333 jdk7u45-b04
+@@ -374,3 +376,19 @@
+ f2479abad143d2d9f33b6c872890ca0c5dd52530 jdk7u45-b16
+ 6fd67e0287a9893ea1f0090fe127f18a7e235148 jdk7u45-b17
+ f0cdb08a4624a623bdd178b04c4bf5a2fa4dc39a jdk7u45-b18
++82f1f76c44124c31cb1151833fc15c13547ab280 jdk7u45-b30
++f4373de4b75ba8d7f7a5d9c1f77e7884d9064b7e jdk7u45-b31
++f2479abad143d2d9f33b6c872890ca0c5dd52530 jdk7u51-b00
++c5822e1d1baa9625ee4e54b8e83a9bf529c883fc jdk7u51-b01
++f750621fb31b8f6462b803b47bbf84f05cd5174a jdk7u51-b02
++dafd6c301c979ece6493dfb52e09e46bc81b7285 jdk7u51-b03
++8bc2f477bba4ccecaf46a52877e429342ab9c5bc jdk7u51-b04
++1604b330bf9629da5cac02af8582717dd431032e jdk7u51-b05
++15c531ebb19c21a5b565ce887c790d3855b461ef jdk7u51-b06
++75f0610e93bf6f51b3674fbbbe16f648ceb34d29 jdk7u51-b07
++467fc49c32dd8e3dd940ad0e5934a65fc7fb60ec jdk7u51-b08
++73ebe4e4f20e1d5db72c5cd673c65ffa09259982 jdk7u51-b09
++9868efbea4290f4359a6a54d722f2cb79ef634a9 jdk7u51-b10
++573c4cfca7dda548463bb84330bddfd07fe1183f jdk7u51-b11
++df53ec7eb789e7dec375a685dce1fa5cf63618b4 jdk7u51-b12
++6c778574d87336a2e55156544af92ce2de799696 jdk7u51-b13
+--- ./corba/.hgtags Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/.hgtags Thu Dec 19 09:00:44 2013 -0800
+@@ -359,6 +359,8 @@
+ b4a480a039bc19b27bfb5fcbbbf75e651d2718b7 jdk7u40-b42
+ e29ea0b297e519010e661603a07bb8d48fa904a2 jdk7u40-b43
+ 08737d863a7aa5eb39374b26c9585e1770affe92 jdk7u40-b60
++504acad3372298a79c231696d805f00f3beb2362 jdk7u40-b61
++c9c225fb19c3aa6e1242c051833ecc69d00b7aa1 jdk7u40-b62
+ 4f54264ca4df2fc50fbb9bb2654dad97776d10ac jdk7u45-b01
+ 1a1a1dedf437c50797a49c21a12161a79c761757 jdk7u45-b02
+ 3a2cca8c2f209b533af6c1201cc8aee43628e578 jdk7u45-b03
+@@ -377,3 +379,19 @@
+ b1f069eb48edfa6fb7428dc045a53e287215ef4a jdk7u45-b16
+ 8b8793f06c56e343962b473bc0fb79f23b8be734 jdk7u45-b17
+ 80f65a8f58500ef5d93ddf4426d9c1909b79fadf jdk7u45-b18
++a15e4a54504471f1e34a494ed66235870722a0f5 jdk7u45-b30
++b7fb35bbe70d88eced3725b6e9070ad0b5b621ad jdk7u45-b31
++b1f069eb48edfa6fb7428dc045a53e287215ef4a jdk7u51-b00
++8d884cf2e8cce92d532950de2c7283d9804f9e58 jdk7u51-b01
++327035fbb0433927c1b1af2bc0bcb84e7827f1b9 jdk7u51-b02
++3c186a6d2b86ec4c6cfb093969d5f4e4a6ef6a98 jdk7u51-b03
++6969598640b2a4731634669eb1402a6af5772b44 jdk7u51-b04
++b18c17608d944028724858e1f768fb0a59dc8220 jdk7u51-b05
++863d69d3dee00e7958ed1014e7600cc08f2655e7 jdk7u51-b06
++3f6dfcad33acb0251c60facb6b5e8dbff41a4114 jdk7u51-b07
++00c7d4007a2f22deb05753bbd2d36f0ce43ac786 jdk7u51-b08
++bb45667f58f57f96c00551db26ab281bd101e892 jdk7u51-b09
++eecfc296009b81934a329e7ce42a53484093f611 jdk7u51-b10
++a26d0e8ab1027e70ae1ded8ede0086a0a4a10256 jdk7u51-b11
++55a509ccc0e4ed49e311c7ecf2ed29a908bc1d6b jdk7u51-b12
++e2f0036f712aa636cfd55334ac21ea7ca2587a7b jdk7u51-b13
+--- ./corba/make/Makefile Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/make/Makefile Thu Dec 19 09:00:44 2013 -0800
+@@ -160,7 +160,7 @@
+ #
+ # CORBA
+ #
+-SUBDIRS = tools javax org sun com
++SUBDIRS = tools sun/rmi javax org sun com
+
+ build:
+ $(SUBDIRS-loop)
+--- ./corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java Thu Dec 19 09:00:44 2013 -0800
+@@ -82,11 +82,18 @@
+ super((ORB)orb);
+ }
+
+- public org.omg.CORBA.portable.InputStream create_input_stream()
+- {
+- return new AnyInputStream(
+- (com.sun.corba.se.impl.encoding.EncapsInputStream)
+- super.create_input_stream());
++ public org.omg.CORBA.portable.InputStream create_input_stream() {
++ final org.omg.CORBA.portable.InputStream is = super
++ .create_input_stream();
++ AnyInputStream aIS = AccessController
++ .doPrivileged(new PrivilegedAction<AnyInputStream>() {
++ @Override
++ public AnyInputStream run() {
++ return new AnyInputStream(
++ (com.sun.corba.se.impl.encoding.EncapsInputStream) is);
++ }
++ });
++ return aIS;
+ }
+ }
+
+--- ./corba/src/share/classes/com/sun/corba/se/impl/encoding/EncapsInputStream.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/encoding/EncapsInputStream.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2001, 2013, 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
+@@ -36,11 +36,10 @@
+ import com.sun.corba.se.impl.protocol.giopmsgheaders.Message;
+
+ import com.sun.corba.se.spi.orb.ORB;
+-
+ import com.sun.corba.se.spi.logging.CORBALogDomains;
+-
+ import com.sun.corba.se.impl.logging.ORBUtilSystemException;
+
++import sun.corba.EncapsInputStreamFactory;
+ /**
+ * Encapsulations are supposed to explicitly define their
+ * code sets and GIOP version. The original resolution to issue 2784
+@@ -148,7 +147,7 @@
+ }
+
+ public CDRInputStream dup() {
+- return new EncapsInputStream(this);
++ return EncapsInputStreamFactory.newEncapsInputStream(this);
+ }
+
+ protected CodeSetConversion.BTCConverter createCharBTCConverter() {
+--- ./corba/src/share/classes/com/sun/corba/se/impl/encoding/EncapsOutputStream.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/encoding/EncapsOutputStream.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2001, 2013, 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
+@@ -39,6 +39,8 @@
+ import com.sun.corba.se.impl.protocol.giopmsgheaders.Message;
+ import com.sun.corba.se.impl.orbutil.ORBConstants;
+
++import sun.corba.EncapsInputStreamFactory;
++
+ /**
+ * Encapsulations are supposed to explicitly define their
+ * code sets and GIOP version. The original resolution to issue 2784
+@@ -107,11 +109,11 @@
+ public org.omg.CORBA.portable.InputStream create_input_stream() {
+ freeInternalCaches();
+
+- return new EncapsInputStream(orb(),
+- getByteBuffer(),
+- getSize(),
+- isLittleEndian(),
+- getGIOPVersion());
++ return EncapsInputStreamFactory.newEncapsInputStream(orb(),
++ getByteBuffer(),
++ getSize(),
++ isLittleEndian(),
++ getGIOPVersion());
+ }
+
+ protected CodeSetConversion.CTBConverter createCharCTBConverter() {
+--- ./corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeInputStream.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeInputStream.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2002, 2013, 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
+@@ -64,6 +64,8 @@
+ import com.sun.corba.se.impl.encoding.CDROutputStream;
+ import com.sun.corba.se.impl.encoding.MarshalInputStream;
+
++import sun.corba.EncapsInputStreamFactory;
++
+ public class TypeCodeInputStream extends EncapsInputStream implements TypeCodeReader
+ {
+ private Map typeMap = null;
+@@ -157,11 +159,13 @@
+
+ // create an encapsulation using the marshal buffer
+ if (is instanceof CDRInputStream) {
+- encap = new TypeCodeInputStream((ORB)_orb, encapBuffer, encapBuffer.length,
+- ((CDRInputStream)is).isLittleEndian(),
+- ((CDRInputStream)is).getGIOPVersion());
++ encap = EncapsInputStreamFactory.newTypeCodeInputStream((ORB) _orb,
++ encapBuffer, encapBuffer.length,
++ ((CDRInputStream) is).isLittleEndian(),
++ ((CDRInputStream) is).getGIOPVersion());
+ } else {
+- encap = new TypeCodeInputStream((ORB)_orb, encapBuffer, encapBuffer.length);
++ encap = EncapsInputStreamFactory.newTypeCodeInputStream((ORB) _orb,
++ encapBuffer, encapBuffer.length);
+ }
+ encap.setEnclosingInputStream(is);
+ encap.makeEncapsulation();
+--- ./corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeOutputStream.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeOutputStream.java Thu Dec 19 09:00:44 2013 -0800
+@@ -61,6 +61,8 @@
+ import java.math.BigInteger;
+ import java.nio.ByteBuffer;
+
++import sun.corba.EncapsInputStreamFactory;
++
+ public final class TypeCodeOutputStream extends EncapsOutputStream
+ {
+ private OutputStream enclosure = null;
+@@ -77,9 +79,9 @@
+
+ public org.omg.CORBA.portable.InputStream create_input_stream()
+ {
+- //return new TypeCodeInputStream((ORB)orb(), getByteBuffer(), getIndex(), isLittleEndian());
+- TypeCodeInputStream tcis
+- = new TypeCodeInputStream((ORB)orb(), getByteBuffer(), getIndex(), isLittleEndian(), getGIOPVersion());
++ TypeCodeInputStream tcis = EncapsInputStreamFactory
++ .newTypeCodeInputStream((ORB) orb(), getByteBuffer(),
++ getIndex(), isLittleEndian(), getGIOPVersion());
+ //if (TypeCodeImpl.debug) {
+ //System.out.println("Created TypeCodeInputStream " + tcis + " with no parent");
+ //tcis.printBuffer();
+--- ./corba/src/share/classes/com/sun/corba/se/impl/interceptors/CDREncapsCodec.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/interceptors/CDREncapsCodec.java Thu Dec 19 09:00:44 2013 -0800
+@@ -33,6 +33,8 @@
+ import com.sun.corba.se.spi.ior.iiop.GIOPVersion;
+ import com.sun.corba.se.spi.logging.CORBALogDomains;
+
++import sun.corba.EncapsInputStreamFactory;
++
+ import com.sun.corba.se.impl.corba.AnyImpl;
+ import com.sun.corba.se.impl.encoding.EncapsInputStream;
+ import com.sun.corba.se.impl.encoding.EncapsOutputStream;
+@@ -193,8 +195,9 @@
+ // it is turned into a FormatMismatch exception.
+
+ try {
+- EncapsInputStream cdrIn = new EncapsInputStream( orb, data,
+- data.length, giopVersion );
++ EncapsInputStream cdrIn = EncapsInputStreamFactory.newEncapsInputStream( orb, data,
++ data.length, giopVersion );
++
+
+ cdrIn.consumeEndian();
+
+--- ./corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1998, 2013, 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
+@@ -370,7 +370,7 @@
+ * @exception IOException Any of the usual Input/Output related exceptions.
+ * @since JDK1.1
+ */
+- public final Object readObjectDelegate() throws IOException
++ public final synchronized Object readObjectDelegate() throws IOException
+ {
+ try {
+
+@@ -389,7 +389,7 @@
+ }
+ }
+
+- final Object simpleReadObject(Class clz,
++ final synchronized Object simpleReadObject(Class clz,
+ String repositoryID,
+ com.sun.org.omg.SendingContext.CodeBase sender,
+ int offset)
+@@ -461,7 +461,7 @@
+ return obj;
+ }
+
+- public final void simpleSkipObject(String repositoryID,
++ public final synchronized void simpleSkipObject(String repositoryID,
+ com.sun.org.omg.SendingContext.CodeBase sender)
+ /* throws OptionalDataException, ClassNotFoundException, IOException */
+ {
+@@ -559,7 +559,7 @@
+ * objects.
+ * @since JDK1.1
+ */
+- public final void defaultReadObjectDelegate()
++ final synchronized void defaultReadObjectDelegate()
+ /* throws IOException, ClassNotFoundException, NotActiveException */
+ {
+ try {
+@@ -988,7 +988,7 @@
+ }
+ }
+
+- private Object inputObject(Class clz,
++ private synchronized Object inputObject(Class clz,
+ String repositoryID,
+ com.sun.org.omg.SendingContext.CodeBase sender,
+ int offset)
+@@ -1317,7 +1317,7 @@
+ * a form of custom marshaling.
+ *
+ */
+- private Object inputObjectUsingFVD(Class clz,
++ private synchronized Object inputObjectUsingFVD(Class clz,
+ String repositoryID,
+ com.sun.org.omg.SendingContext.CodeBase sender,
+ int offset)
+--- ./corba/src/share/classes/com/sun/corba/se/impl/io/InputStreamHook.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/io/InputStreamHook.java Thu Dec 19 09:00:44 2013 -0800
+@@ -201,7 +201,7 @@
+ readObjectState.endDefaultReadObject(this);
+ }
+
+- public abstract void defaultReadObjectDelegate();
++ abstract void defaultReadObjectDelegate();
+
+ abstract void readFields(java.util.Map fieldToValueMap)
+ throws java.io.InvalidClassException, java.io.StreamCorruptedException,
+--- ./corba/src/share/classes/com/sun/corba/se/impl/ior/EncapsulationUtility.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/ior/EncapsulationUtility.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2000, 2013, 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
+@@ -47,6 +47,8 @@
+ import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
+ import com.sun.corba.se.impl.encoding.EncapsInputStream ;
+
++import sun.corba.EncapsInputStreamFactory;
++
+ /**
+ * This static utility class contains various utility methods for reading and
+ * writing CDR encapsulations.
+@@ -108,8 +110,8 @@
+ static public InputStream getEncapsulationStream( InputStream is )
+ {
+ byte[] data = readOctets( is ) ;
+- EncapsInputStream result = new EncapsInputStream( is.orb(), data,
+- data.length ) ;
++ EncapsInputStream result = EncapsInputStreamFactory.newEncapsInputStream( is.orb(), data,
++ data.length ) ;
+ result.consumeEndian() ;
+ return result ;
+ }
+--- ./corba/src/share/classes/com/sun/corba/se/impl/ior/ObjectKeyFactoryImpl.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/ior/ObjectKeyFactoryImpl.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2000, 2013, 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
+@@ -49,6 +49,8 @@
+ import com.sun.corba.se.impl.logging.IORSystemException ;
+
+ import com.sun.corba.se.impl.encoding.EncapsInputStream ;
++import sun.corba.EncapsInputStreamFactory;
++
+
+ /** Based on the magic and scid, return the appropriate
+ * ObjectKeyTemplate. Expects to be called with a valid
+@@ -217,7 +219,7 @@
+ public ObjectKey create( byte[] key )
+ {
+ OctetSeqHolder osh = new OctetSeqHolder() ;
+- EncapsInputStream is = new EncapsInputStream( orb, key, key.length ) ;
++ EncapsInputStream is = EncapsInputStreamFactory.newEncapsInputStream( orb, key, key.length );
+
+ ObjectKeyTemplate oktemp = create( is, fullKey, osh ) ;
+ if (oktemp == null)
+--- ./corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java Thu Dec 19 09:00:44 2013 -0800
+@@ -70,6 +70,8 @@
+ import com.sun.corba.se.impl.encoding.EncapsInputStream ;
+ import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
+
++import sun.corba.EncapsInputStreamFactory;
++
+ import com.sun.corba.se.impl.util.JDKBridge;
+
+ import com.sun.corba.se.impl.logging.IORSystemException;
+@@ -170,8 +172,8 @@
+ throw wrapper.invalidTaggedProfile() ;
+ }
+
+- EncapsInputStream istr = new EncapsInputStream((ORB)orb, profile.profile_data,
+- profile.profile_data.length);
++ EncapsInputStream istr = EncapsInputStreamFactory.newEncapsInputStream((ORB)orb, profile.profile_data,
++ profile.profile_data.length);
+ istr.consumeEndian();
+ init( istr ) ;
+ }
+--- ./corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/StubFactoryDynamicBase.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/StubFactoryDynamicBase.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2013, 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
+@@ -25,6 +25,7 @@
+
+ package com.sun.corba.se.impl.presentation.rmi ;
+
++import java.io.SerializablePermission;
+ import java.lang.reflect.InvocationHandler ;
+ import java.lang.reflect.Proxy ;
+
+@@ -38,11 +39,18 @@
+ {
+ protected final ClassLoader loader ;
+
+- public StubFactoryDynamicBase( PresentationManager.ClassData classData,
+- ClassLoader loader )
+- {
+- super( classData ) ;
++ private static Void checkPermission() {
++ SecurityManager sm = System.getSecurityManager();
++ if (sm != null) {
++ sm.checkPermission(new SerializablePermission(
++ "enableSubclassImplementation"));
++ }
++ return null;
++ }
+
++ private StubFactoryDynamicBase(Void unused,
++ PresentationManager.ClassData classData, ClassLoader loader) {
++ super(classData);
+ // this.loader must not be null, or the newProxyInstance call
+ // will fail.
+ if (loader == null) {
+@@ -55,5 +63,11 @@
+ }
+ }
+
++ public StubFactoryDynamicBase( PresentationManager.ClassData classData,
++ ClassLoader loader )
++ {
++ this (checkPermission(), classData, loader);
++ }
++
+ public abstract org.omg.CORBA.Object makeStub() ;
+ }
+--- ./corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryProxyImpl.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryProxyImpl.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2013, 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
+@@ -25,14 +25,23 @@
+
+ package com.sun.corba.se.impl.presentation.rmi;
+
++import java.security.AccessController;
++import java.security.PrivilegedAction;
++
+ import com.sun.corba.se.spi.presentation.rmi.PresentationManager ;
+
+ public class StubFactoryFactoryProxyImpl extends StubFactoryFactoryDynamicBase
+ {
+ public PresentationManager.StubFactory makeDynamicStubFactory(
+- PresentationManager pm, PresentationManager.ClassData classData,
+- ClassLoader classLoader )
++ PresentationManager pm, final PresentationManager.ClassData classData,
++ final ClassLoader classLoader )
+ {
+- return new StubFactoryProxyImpl( classData, classLoader ) ;
++ return AccessController
++ .doPrivileged(new PrivilegedAction<StubFactoryProxyImpl>() {
++ @Override
++ public StubFactoryProxyImpl run() {
++ return new StubFactoryProxyImpl(classData, classLoader);
++ }
++ });
+ }
+ }
+--- ./corba/src/share/classes/com/sun/corba/se/impl/protocol/CorbaClientRequestDispatcherImpl.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/protocol/CorbaClientRequestDispatcherImpl.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2001, 2013, 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
+@@ -115,6 +115,7 @@
+
+ import java.util.concurrent.ConcurrentMap;
+ import java.util.concurrent.ConcurrentHashMap;
++import sun.corba.EncapsInputStreamFactory;
+
+ /**
+ * ClientDelegate is the RMI client-side subcontract or representation
+@@ -847,8 +848,8 @@
+ }
+ byte[] data = ((UnknownServiceContext)sc).getData();
+ EncapsInputStream in =
+- new EncapsInputStream((ORB)messageMediator.getBroker(),
+- data, data.length);
++ EncapsInputStreamFactory.newEncapsInputStream((ORB)messageMediator.getBroker(),
++ data, data.length);
+ in.consumeEndian();
+
+ String msg =
+--- ./corba/src/share/classes/com/sun/corba/se/impl/protocol/SharedCDRClientRequestDispatcherImpl.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/protocol/SharedCDRClientRequestDispatcherImpl.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2003, 2013, 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
+@@ -36,7 +36,8 @@
+ import java.util.Iterator;
+ import java.rmi.RemoteException;
+ import java.nio.ByteBuffer;
+-
++import java.security.AccessController;
++import java.security.PrivilegedAction;
+ import javax.rmi.CORBA.Util;
+ import javax.rmi.CORBA.Tie;
+
+@@ -111,6 +112,7 @@
+ import com.sun.corba.se.impl.protocol.giopmsgheaders.ProfileAddr;
+ import com.sun.corba.se.impl.protocol.giopmsgheaders.ReferenceAddr;
+ import com.sun.corba.se.impl.transport.CorbaContactInfoListIteratorImpl;
++import com.sun.corba.se.impl.protocol.giopmsgheaders.Message;
+ import com.sun.corba.se.impl.util.JDKBridge;
+
+ /**
+@@ -156,10 +158,17 @@
+
+ ByteBufferWithInfo bbwi = cdrOutputObject.getByteBufferWithInfo();
+ cdrOutputObject.getMessageHeader().setSize(bbwi.byteBuffer, bbwi.getSize());
+-
+- CDRInputObject cdrInputObject =
+- new CDRInputObject(orb, null, bbwi.byteBuffer,
+- cdrOutputObject.getMessageHeader());
++ final ORB inOrb = orb;
++ final ByteBuffer inBuffer = bbwi.byteBuffer;
++ final Message inMsg = cdrOutputObject.getMessageHeader();
++ CDRInputObject cdrInputObject = AccessController
++ .doPrivileged(new PrivilegedAction<CDRInputObject>() {
++ @Override
++ public CDRInputObject run() {
++ return new CDRInputObject(inOrb, null, inBuffer,
++ inMsg);
++ }
++ });
+ messageMediator.setInputObject(cdrInputObject);
+ cdrInputObject.setMessageMediator(messageMediator);
+
+@@ -192,9 +201,17 @@
+ cdrOutputObject = (CDROutputObject) messageMediator.getOutputObject();
+ bbwi = cdrOutputObject.getByteBufferWithInfo();
+ cdrOutputObject.getMessageHeader().setSize(bbwi.byteBuffer, bbwi.getSize());
+- cdrInputObject =
+- new CDRInputObject(orb, null, bbwi.byteBuffer,
+- cdrOutputObject.getMessageHeader());
++ final ORB inOrb2 = orb;
++ final ByteBuffer inBuffer2 = bbwi.byteBuffer;
++ final Message inMsg2 = cdrOutputObject.getMessageHeader();
++ cdrInputObject = AccessController
++ .doPrivileged(new PrivilegedAction<CDRInputObject>() {
++ @Override
++ public CDRInputObject run() {
++ return new CDRInputObject(inOrb2, null, inBuffer2,
++ inMsg2);
++ }
++ });
+ messageMediator.setInputObject(cdrInputObject);
+ cdrInputObject.setMessageMediator(messageMediator);
+
+--- ./corba/src/share/classes/com/sun/corba/se/impl/resolver/INSURLOperationImpl.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/impl/resolver/INSURLOperationImpl.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1998, 2013, 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
+@@ -36,6 +36,8 @@
+ import org.omg.CosNaming.NamingContextExt ;
+ import org.omg.CosNaming.NamingContextExtHelper ;
+
++import sun.corba.EncapsInputStreamFactory;
++
+ import com.sun.corba.se.spi.ior.IOR;
+ import com.sun.corba.se.spi.ior.IORTemplate;
+ import com.sun.corba.se.spi.ior.ObjectKey;
+@@ -114,8 +116,8 @@
+ buf[j] = (byte)((ORBUtility.hexOf(str.charAt(i)) << UN_SHIFT) & 0xF0);
+ buf[j] |= (byte)(ORBUtility.hexOf(str.charAt(i+1)) & 0x0F);
+ }
+- EncapsInputStream s = new EncapsInputStream(orb, buf, buf.length,
+- orb.getORBData().getGIOPVersion());
++ EncapsInputStream s = EncapsInputStreamFactory.newEncapsInputStream(orb, buf, buf.length,
++ orb.getORBData().getGIOPVersion());
+ s.consumeEndian();
+ return s.read_Object() ;
+ }
+--- ./corba/src/share/classes/com/sun/corba/se/spi/orbutil/proxy/CompositeInvocationHandlerImpl.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/spi/orbutil/proxy/CompositeInvocationHandlerImpl.java Thu Dec 19 09:00:44 2013 -0800
+@@ -89,4 +89,6 @@
+ sm.checkPermission(perm);
+ }
+ }
++
++ private static final long serialVersionUID = 4571178305984833743L;
+ }
+--- ./corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ServiceContexts.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ServiceContexts.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1999, 2013, 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
+@@ -58,6 +58,9 @@
+ import com.sun.corba.se.impl.util.Utility ;
+ import com.sun.corba.se.impl.logging.ORBUtilSystemException ;
+
++import sun.corba.EncapsInputStreamFactory;
++
++
+ public class ServiceContexts {
+ private static boolean isDebugging( OutputStream os )
+ {
+@@ -198,11 +201,11 @@
+ // Note: As of Jan 2001, no standard OMG or Sun service contexts
+ // ship wchar data or are defined as using anything but GIOP 1.0 CDR.
+ EncapsInputStream eis
+- = new EncapsInputStream(orb,
+- data,
+- data.length,
+- giopVersion,
+- codeBase);
++ = EncapsInputStreamFactory.newEncapsInputStream(orb,
++ data,
++ data.length,
++ giopVersion,
++ codeBase);
+ eis.consumeEndian();
+
+ // Now the input stream passed to a ServiceContext
+--- ./corba/src/share/classes/com/sun/tools/corba/se/idl/idl_ja.prp Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/com/sun/tools/corba/se/idl/idl_ja.prp Thu Dec 19 09:00:44 2013 -0800
+@@ -110,7 +110,7 @@
+ ParseException.badCustom=%0 (\u884C%1): forward\u5024\u5BA3\u8A00\u306Fcustom\u3068\u3057\u3066\u5BA3\u8A00\u3067\u304D\u307E\u305B\u3093\u3002\n%2\n%3
+ ParseException.badRepIDAlreadyAssigned=%0 (\u884C%1): \u578B%2\u306B\u306F\u3001\u524D\u306EID\u30D7\u30E9\u30B0\u30DE\u30FB\u30C7\u30A3\u30EC\u30AF\u30C6\u30A3\u30D6\u306E\u30EA\u30DD\u30B8\u30C8\u30EAID\u304C\u3059\u3067\u306B\u5272\u308A\u5F53\u3066\u3089\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4
+ ParseException.badRepIDForm=%0 (\u884C%1): \u30EA\u30DD\u30B8\u30C8\u30EAID '%2'\u306E\u5F62\u5F0F\u306F'<format>:<string>'\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n%3\n%4
+-ParseException.badRepIDPrefix=%0 (\u884C%1): \u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9%2\u306B\u306F\u3001'%4'\u3067\u306F\u306A\u304F\u30EA\u30DD\u30B8\u30C8\u30EAID\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9`%3'\u304C\u5FC5\u8981\u3067\u3059\u3002\n%5\n%6
++ParseException.badRepIDPrefix=%0 (\u884C%1): \u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9%2\u306B\u306F\u3001'%4'\u3067\u306F\u306A\u304F\u30EA\u30DD\u30B8\u30C8\u30EAID\u63A5\u982D\u8F9E`%3'\u304C\u5FC5\u8981\u3067\u3059\u3002\n%5\n%6
+ ParseException.badState=%0 (\u884C%1): %2\u306F\u30B9\u30C6\u30FC\u30C8\u30D5\u30EB\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u3067\u304D\u307E\u305B\u3093\u3002\u8907\u6570\u306E\u30B9\u30C6\u30FC\u30C8\u30D5\u30EB\u89AA\u304C\u3042\u308A\u307E\u3059\u3002\n%3\n%4
+ ParseException.branchLabel=%0 (\u884C%1): case %2\u306F\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4
+ ParseException.branchName=%0 (\u884C%1): %2\u3068\u3044\u3046\u540D\u524D\u306E\u5206\u5C90\u306F\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4
+--- ./corba/src/share/classes/javax/rmi/CORBA/Stub.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/javax/rmi/CORBA/Stub.java Thu Dec 19 09:00:44 2013 -0800
+@@ -61,13 +61,11 @@
+ private transient StubDelegate stubDelegate = null;
+ private static Class stubDelegateClass = null;
+ private static final String StubClassKey = "javax.rmi.CORBA.StubClass";
+- private static final String defaultStubImplName = "com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl";
+
+ static {
+- Object stubDelegateInstance = (Object) createDelegateIfSpecified(StubClassKey, defaultStubImplName);
++ Object stubDelegateInstance = createDelegate(StubClassKey);
+ if (stubDelegateInstance != null)
+ stubDelegateClass = stubDelegateInstance.getClass();
+-
+ }
+
+
+@@ -207,7 +205,7 @@
+ // are in different packages and the visibility needs to be package for
+ // security reasons. If you know a better solution how to share this code
+ // then remove it from PortableRemoteObject. Also in Util.java
+- private static Object createDelegateIfSpecified(String classKey, String defaultClassName) {
++ private static Object createDelegate(String classKey) {
+ String className = (String)
+ AccessController.doPrivileged(new GetPropertyAction(classKey));
+ if (className == null) {
+@@ -218,7 +216,7 @@
+ }
+
+ if (className == null) {
+- className = defaultClassName;
++ return new com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl();
+ }
+
+ try {
+--- ./corba/src/share/classes/javax/rmi/CORBA/Util.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/javax/rmi/CORBA/Util.java Thu Dec 19 09:00:44 2013 -0800
+@@ -60,14 +60,11 @@
+ public class Util {
+
+ // This can only be set at static initialization time (no sync necessary).
+- private static javax.rmi.CORBA.UtilDelegate utilDelegate = null;
++ private static final javax.rmi.CORBA.UtilDelegate utilDelegate;
+ private static final String UtilClassKey = "javax.rmi.CORBA.UtilClass";
+- private static final String defaultUtilImplName =
+-"com.sun.corba.se.impl.javax.rmi.CORBA.Util";
+
+ static {
+- utilDelegate = (javax.rmi.CORBA.UtilDelegate)
+- createDelegateIfSpecified(UtilClassKey, defaultUtilImplName);
++ utilDelegate = (javax.rmi.CORBA.UtilDelegate)createDelegate(UtilClassKey);
+ }
+
+ private Util(){}
+@@ -338,9 +335,7 @@
+ // are in different packages and the visibility needs to be package for
+ // security reasons. If you know a better solution how to share this code
+ // then remove it from PortableRemoteObject. Also in Stub.java
+- private static Object createDelegateIfSpecified(String classKey,
+- String defaultClassName)
+- {
++ private static Object createDelegate(String classKey) {
+ String className = (String)
+ AccessController.doPrivileged(new GetPropertyAction(classKey));
+ if (className == null) {
+@@ -351,7 +346,7 @@
+ }
+
+ if (className == null) {
+- className = defaultClassName;
++ return new com.sun.corba.se.impl.javax.rmi.CORBA.Util();
+ }
+
+ try {
+--- ./corba/src/share/classes/javax/rmi/PortableRemoteObject.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/javax/rmi/PortableRemoteObject.java Thu Dec 19 09:00:44 2013 -0800
+@@ -65,17 +65,14 @@
+ */
+ public class PortableRemoteObject {
+
+- private static javax.rmi.CORBA.PortableRemoteObjectDelegate proDelegate = null;
++ private static final javax.rmi.CORBA.PortableRemoteObjectDelegate proDelegate;
+
+ private static final String PortableRemoteObjectClassKey =
+ "javax.rmi.CORBA.PortableRemoteObjectClass";
+
+- private static final String defaultPortableRemoteObjectImplName =
+- "com.sun.corba.se.impl.javax.rmi.PortableRemoteObject";
+-
+ static {
+ proDelegate = (javax.rmi.CORBA.PortableRemoteObjectDelegate)
+- createDelegateIfSpecified(PortableRemoteObjectClassKey);
++ createDelegate(PortableRemoteObjectClassKey);
+ }
+
+ /**
+@@ -181,7 +178,7 @@
+ // are in different packages and the visibility needs to be package for
+ // security reasons. If you know a better solution how to share this code
+ // then remove it from here.
+- private static Object createDelegateIfSpecified(String classKey) {
++ private static Object createDelegate(String classKey) {
+ String className = (String)
+ AccessController.doPrivileged(new GetPropertyAction(classKey));
+ if (className == null) {
+@@ -191,7 +188,7 @@
+ }
+ }
+ if (className == null) {
+- className = defaultPortableRemoteObjectImplName;
++ return new com.sun.corba.se.impl.javax.rmi.PortableRemoteObject();
+ }
+
+ try {
+--- ./corba/src/share/classes/org/omg/CORBA/ORB.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/org/omg/CORBA/ORB.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1995, 2013, 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
+@@ -174,15 +174,6 @@
+ private static final String ORBSingletonClassKey = "org.omg.CORBA.ORBSingletonClass";
+
+ //
+- // The last resort fallback ORB implementation classes in case
+- // no ORB implementation class is dynamically configured through
+- // properties or applet parameters. Change these values to
+- // vendor-specific class names.
+- //
+- private static final String defaultORB = "com.sun.corba.se.impl.orb.ORBImpl";
+- private static final String defaultORBSingleton = "com.sun.corba.se.impl.orb.ORBSingleton";
+-
+- //
+ // The global instance of the singleton ORB implementation which
+ // acts as a factory for typecodes for generated Helper classes.
+ // TypeCodes should be immutable since they may be shared across
+@@ -294,10 +285,12 @@
+ String className = getSystemProperty(ORBSingletonClassKey);
+ if (className == null)
+ className = getPropertyFromFile(ORBSingletonClassKey);
+- if (className == null)
+- className = defaultORBSingleton;
+-
+- singleton = create_impl(className);
++ if ((className == null) ||
++ (className.equals("com.sun.corba.se.impl.orb.ORBSingleton"))) {
++ singleton = new com.sun.corba.se.impl.orb.ORBSingleton();
++ } else {
++ singleton = create_impl(className);
++ }
+ }
+ return singleton;
+ }
+@@ -347,10 +340,13 @@
+ className = getSystemProperty(ORBClassKey);
+ if (className == null)
+ className = getPropertyFromFile(ORBClassKey);
+- if (className == null)
+- className = defaultORB;
++ if ((className == null) ||
++ (className.equals("com.sun.corba.se.impl.orb.ORBImpl"))) {
++ orb = new com.sun.corba.se.impl.orb.ORBImpl();
++ } else {
++ orb = create_impl(className);
++ }
+
+- orb = create_impl(className);
+ orb.set_parameters(args, props);
+ return orb;
+ }
+@@ -375,10 +371,13 @@
+ className = getSystemProperty(ORBClassKey);
+ if (className == null)
+ className = getPropertyFromFile(ORBClassKey);
+- if (className == null)
+- className = defaultORB;
++ if ((className == null) ||
++ (className.equals("com.sun.corba.se.impl.orb.ORBImpl"))) {
++ orb = new com.sun.corba.se.impl.orb.ORBImpl();
++ } else {
++ orb = create_impl(className);
++ }
+
+- orb = create_impl(className);
+ orb.set_parameters(app, props);
+ return orb;
+ }
+--- ./corba/src/share/classes/org/omg/CORBA_2_3/portable/InputStream.java Tue Oct 08 09:06:43 2013 -0700
++++ ./corba/src/share/classes/org/omg/CORBA_2_3/portable/InputStream.java Thu Dec 19 09:00:44 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1998, 2013, 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
+@@ -31,6 +31,10 @@
+
+ package org.omg.CORBA_2_3.portable;
+
++import java.io.SerializablePermission;
++import java.security.AccessController;
++import java.security.PrivilegedAction;
++
+ /**
+ * InputStream provides for the reading of all of the mapped IDL types
+ * from the stream. It extends org.omg.CORBA.portable.InputStream. This
+@@ -43,6 +47,43 @@
+
+ public abstract class InputStream extends org.omg.CORBA.portable.InputStream {
+
++
++ private static final String ALLOW_SUBCLASS_PROP = "jdk.corba.allowInputStreamSubclass";
++
++ private static final boolean allowSubclass = AccessController.doPrivileged(
++ new PrivilegedAction<Boolean>() {
++ @Override
++ public Boolean run() {
++ String prop = System.getProperty(ALLOW_SUBCLASS_PROP);
++ return prop == null ? false :
++ (prop.equalsIgnoreCase("false") ? false : true);
++ }
++ });
++
++ private static Void checkPermission() {
++ SecurityManager sm = System.getSecurityManager();
++ if (sm != null) {
++ if (!allowSubclass)
++ sm.checkPermission(new
++ SerializablePermission("enableSubclassImplementation"));
++ }
++ return null;
++ }
++
++ private InputStream(Void ignore) { }
++
++ /**
++ * Create a new instance of this class.
++ *
++ * throw SecurityException if SecurityManager is installed and
++ * enableSubclassImplementation SerializablePermission
++ * is not granted or jdk.corba.allowOutputStreamSubclass system
++ * property is either not set or is set to 'false'
++ */
++ public InputStream() {
++ this(checkPermission());
++ }
++
+ /**
+ * Unmarshalls a value type from the input stream.
+ * @return the value type unmarshalled from the input stream
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./corba/src/share/classes/sun/corba/EncapsInputStreamFactory.java Thu Dec 19 09:00:44 2013 -0800
+@@ -0,0 +1,153 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++package sun.corba;
++
++import java.nio.ByteBuffer;
++import java.security.AccessController;
++import java.security.PrivilegedAction;
++
++
++import com.sun.corba.se.impl.encoding.EncapsInputStream;
++import com.sun.corba.se.impl.encoding.TypeCodeInputStream;
++import com.sun.corba.se.impl.protocol.giopmsgheaders.Message;
++import com.sun.corba.se.pept.protocol.MessageMediator;
++import com.sun.corba.se.spi.ior.iiop.GIOPVersion;
++import com.sun.corba.se.spi.orb.ORB;
++import com.sun.org.omg.SendingContext.CodeBase;
++
++public class EncapsInputStreamFactory {
++
++ public static EncapsInputStream newEncapsInputStream(
++ final org.omg.CORBA.ORB orb, final byte[] buf, final int size,
++ final boolean littleEndian, final GIOPVersion version) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() {
++ @Override
++ public EncapsInputStream run() {
++ return new EncapsInputStream(orb, buf, size,
++ littleEndian, version);
++ }
++ });
++ }
++
++ public static EncapsInputStream newEncapsInputStream(
++ final org.omg.CORBA.ORB orb, final ByteBuffer byteBuffer,
++ final int size, final boolean littleEndian,
++ final GIOPVersion version) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() {
++ @Override
++ public EncapsInputStream run() {
++ return new EncapsInputStream(orb, byteBuffer, size,
++ littleEndian, version);
++ }
++ });
++ }
++
++ public static EncapsInputStream newEncapsInputStream(
++ final org.omg.CORBA.ORB orb, final byte[] data, final int size) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() {
++ @Override
++ public EncapsInputStream run() {
++ return new EncapsInputStream(orb, data, size);
++ }
++ });
++ }
++
++ public static EncapsInputStream newEncapsInputStream(
++ final EncapsInputStream eis) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() {
++ @Override
++ public EncapsInputStream run() {
++ return new EncapsInputStream(eis);
++ }
++ });
++ }
++
++ public static EncapsInputStream newEncapsInputStream(
++ final org.omg.CORBA.ORB orb, final byte[] data, final int size,
++ final GIOPVersion version) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() {
++ @Override
++ public EncapsInputStream run() {
++ return new EncapsInputStream(orb, data, size, version);
++ }
++ });
++ }
++
++ public static EncapsInputStream newEncapsInputStream(
++ final org.omg.CORBA.ORB orb, final byte[] data, final int size,
++ final GIOPVersion version, final CodeBase codeBase) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() {
++ @Override
++ public EncapsInputStream run() {
++ return new EncapsInputStream(orb, data, size, version,
++ codeBase);
++ }
++ });
++ }
++
++ public static TypeCodeInputStream newTypeCodeInputStream(
++ final org.omg.CORBA.ORB orb, final byte[] buf, final int size,
++ final boolean littleEndian, final GIOPVersion version) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<TypeCodeInputStream>() {
++ @Override
++ public TypeCodeInputStream run() {
++ return new TypeCodeInputStream(orb, buf, size,
++ littleEndian, version);
++ }
++ });
++ }
++
++ public static TypeCodeInputStream newTypeCodeInputStream(
++ final org.omg.CORBA.ORB orb, final ByteBuffer byteBuffer,
++ final int size, final boolean littleEndian,
++ final GIOPVersion version) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<TypeCodeInputStream>() {
++ @Override
++ public TypeCodeInputStream run() {
++ return new TypeCodeInputStream(orb, byteBuffer, size,
++ littleEndian, version);
++ }
++ });
++ }
++
++ public static TypeCodeInputStream newTypeCodeInputStream(
++ final org.omg.CORBA.ORB orb, final byte[] data, final int size) {
++ return AccessController
++ .doPrivileged(new PrivilegedAction<TypeCodeInputStream>() {
++ @Override
++ public TypeCodeInputStream run() {
++ return new TypeCodeInputStream(orb, data, size);
++ }
++ });
++ }
++}
+--- ./hotspot/.hgtags Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/.hgtags Thu Dec 19 09:00:51 2013 -0800
+@@ -568,6 +568,8 @@
+ b8d8caf6df744d5342b5d284376a005e86c0b108 hs24-b56
+ eceae04782438987cd747e1c76e4085f50b43a18 jdk7u40-b43
+ af1fc2868a2b919727bfbb0858449bd991bbee4a jdk7u40-b60
++efaa26fb6de2ecb8506fb8b785a429d040e96768 jdk7u40-b61
++df6f37a7311d35072a07c1425a7aadee469a09b6 jdk7u40-b62
+ 5fb434aa203c32b4551167b922a70e79831ffdf4 jdk7u45-b01
+ f2039061ba49de742ae88cc3123fd1237965d665 jdk7u45-b02
+ d6fd3f84a30ce82a37fc39b6e5e9d73bd8054ab2 jdk7u45-b03
+@@ -586,3 +588,19 @@
+ 429884602206fcf5314c8b953c06d54d337558ca jdk7u45-b16
+ 0c0dc384915cafd9bfaa2fe5792a629a22d1b990 jdk7u45-b17
+ 12374864c655a2cefb0d65caaacf215d5365ec5f jdk7u45-b18
++3677c8cc3c89c0fa608f485b84396e4cf755634b jdk7u45-b30
++520b7b3d9153c1407791325946b07c5c222cf0d6 jdk7u45-b31
++429884602206fcf5314c8b953c06d54d337558ca jdk7u51-b00
++68f03ff066f2341b89b52a6d6e21ae09de008351 jdk7u51-b01
++67910a581eca113847c5320c49436a9816c5d5c6 jdk7u51-b02
++4138fb11955a528e5ee5448d9c6c8e88e0e268b2 jdk7u51-b03
++683458c333ced92d515daa1b9bcdb5be679e535a jdk7u51-b04
++ed2db7a82229e7adbfe8a8166bf98f3ef4a09be5 jdk7u51-b05
++fec027762cf37d033d82d5b3725020f40c771690 jdk7u51-b06
++f673c581ebf91073b5bbdbdc5e4d4407910fa006 jdk7u51-b07
++b0a355aae00427e74cc0b89697c7c7f6fb520176 jdk7u51-b08
++4f56f2e206fd878809f70ca06f4bc21563a7c530 jdk7u51-b09
++1b7aaef3df78970c9a5ef5cc353ca927241555ee jdk7u51-b10
++1f11dff734af98f5bf11d4fceeda221ab1416971 jdk7u51-b11
++dee2a38ef6b26534c44c550ef4da2c3146c612c2 jdk7u51-b12
++6c6a2299029ad02fa2820b8ff8c61c2bbcae799c jdk7u51-b13
+--- ./hotspot/make/hotspot_version Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/make/hotspot_version Thu Dec 19 09:00:51 2013 -0800
+@@ -34,8 +34,8 @@
+ HOTSPOT_VM_COPYRIGHT=Copyright 2013
+
+ HS_MAJOR_VER=24
+-HS_MINOR_VER=45
+-HS_BUILD_NUMBER=08
++HS_MINOR_VER=51
++HS_BUILD_NUMBER=03
+
+ JDK_MAJOR_VER=1
+ JDK_MINOR_VER=7
+--- ./hotspot/src/os/linux/vm/os_linux.cpp Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/src/os/linux/vm/os_linux.cpp Thu Dec 19 09:00:51 2013 -0800
+@@ -2696,6 +2696,14 @@
+ alignment_hint, exec, strerror(err), err);
+ }
+
++static void warn_fail_commit_memory(char* addr, size_t size,
++ size_t alignment_hint, bool exec,
++ int err, const char* msg) {
++ warning("INFO: os::commit_memory(" PTR_FORMAT ", " SIZE_FORMAT
++ ", " SIZE_FORMAT ", %d) failed; error='%s' (errno=%d); %s", addr, size,
++ alignment_hint, exec, strerror(err), err, msg);
++}
++
+ // NOTE: Linux kernel does not really reserve the pages for us.
+ // All it does is to check if there are enough free pages
+ // left at the time of mmap(). This could be a potential
+@@ -2746,6 +2754,8 @@
+ #define MADV_HUGEPAGE 14
+ #endif
+
++volatile jint os::Linux::num_largepage_commit_fails = 0;
++
+ int os::Linux::commit_memory_impl(char* addr, size_t size,
+ size_t alignment_hint, bool exec) {
+ int err;
+@@ -2770,7 +2780,9 @@
+ // from the loss. For now, we just issue a warning and we don't
+ // call vm_exit_out_of_memory(). This issue is being tracked by
+ // JBS-8007074.
+- warn_fail_commit_memory(addr, size, alignment_hint, exec, err);
++ Atomic::inc(&os::Linux::num_largepage_commit_fails);
++ warn_fail_commit_memory(addr, size, alignment_hint, exec, err,
++ "Cannot allocate large pages, falling back to regular pages");
+ // vm_exit_out_of_memory(size, "committing reserved memory.");
+ }
+ // Fall through and try to use small pages
+--- ./hotspot/src/os/linux/vm/os_linux.hpp Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/src/os/linux/vm/os_linux.hpp Thu Dec 19 09:00:51 2013 -0800
+@@ -100,6 +100,7 @@
+
+ public:
+ static bool _stack_is_executable;
++ static volatile jint num_largepage_commit_fails;
+ static void *dlopen_helper(const char *name, char *ebuf, int ebuflen);
+ static void *dll_load_in_vmthread(const char *name, char *ebuf, int ebuflen);
+
+--- ./hotspot/src/share/vm/prims/methodHandles.cpp Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/src/share/vm/prims/methodHandles.cpp Thu Dec 19 09:00:51 2013 -0800
+@@ -175,30 +175,32 @@
+ }
+
+ oop MethodHandles::init_method_MemberName(oop mname_oop, methodOop m, bool do_dispatch,
+- klassOop receiver_limit) {
++ klassOop resolved_klass) {
+ AccessFlags mods = m->access_flags();
+ int flags = (jushort)( mods.as_short() & JVM_RECOGNIZED_METHOD_MODIFIERS );
+ int vmindex = methodOopDesc::nonvirtual_vtable_index; // implies never any dispatch
+- klassOop mklass = m->method_holder();
+- if (receiver_limit == NULL)
+- receiver_limit = mklass;
++ bool is_itable_call = false;
++ klassOop m_klass = m->method_holder();
++ // resolved_klass is a copy of CallInfo::resolved_klass, if available
++ if (resolved_klass == NULL)
++ resolved_klass = m_klass;
+ if (m->is_initializer()) {
+ flags |= IS_CONSTRUCTOR | (JVM_REF_invokeSpecial << REFERENCE_KIND_SHIFT);
+ } else if (mods.is_static()) {
+ flags |= IS_METHOD | (JVM_REF_invokeStatic << REFERENCE_KIND_SHIFT);
+- } else if (receiver_limit != mklass &&
+- !Klass::cast(receiver_limit)->is_subtype_of(mklass)) {
++ } else if (resolved_klass != m_klass &&
++ !Klass::cast(resolved_klass)->is_subtype_of(m_klass)) {
+ return NULL; // bad receiver limit
+- } else if (Klass::cast(receiver_limit)->is_interface() &&
+- Klass::cast(mklass)->is_interface()) {
++ } else if (Klass::cast(resolved_klass)->is_interface() &&
++ Klass::cast(m_klass)->is_interface()) {
+ flags |= IS_METHOD | (JVM_REF_invokeInterface << REFERENCE_KIND_SHIFT);
+- receiver_limit = mklass; // ignore passed-in limit; interfaces are interconvertible
+ vmindex = klassItable::compute_itable_index(m);
+- } else if (mklass != receiver_limit && Klass::cast(mklass)->is_interface()) {
++ is_itable_call = true;
++ } else if (m_klass != resolved_klass && Klass::cast(m_klass)->is_interface()) {
+ flags |= IS_METHOD | (JVM_REF_invokeVirtual << REFERENCE_KIND_SHIFT);
+ // it is a miranda method, so m->vtable_index is not what we want
+ ResourceMark rm;
+- klassVtable* vt = instanceKlass::cast(receiver_limit)->vtable();
++ klassVtable* vt = instanceKlass::cast(resolved_klass)->vtable();
+ vmindex = vt->index_of_miranda(m->name(), m->signature());
+ } else if (!do_dispatch || m->can_be_statically_bound()) {
+ flags |= IS_METHOD | (JVM_REF_invokeSpecial << REFERENCE_KIND_SHIFT);
+@@ -207,10 +209,36 @@
+ vmindex = m->vtable_index();
+ }
+
++ if (vmindex >= 0 && !is_itable_call) {
++ if (Klass::cast(m_klass)->is_interface()) {
++ // This is a vtable call to an interface method (abstract "miranda method").
++ // The vtable index is meaningless without a class (not interface) receiver type, so get one.
++ // (LinkResolver should help us figure this out.)
++ KlassHandle m_klass_non_interface = resolved_klass;
++ if (m_klass_non_interface->is_interface()) {
++ m_klass_non_interface = SystemDictionary::Object_klass();
++#ifdef ASSERT
++ { ResourceMark rm;
++ methodOop m2 = m_klass_non_interface->vtable()->method_at(vmindex);
++ assert(m->name() == m2->name() && m->signature() == m2->signature(),
++ err_msg("at %d, %s != %s", vmindex,
++ m->name_and_sig_as_C_string(), m2->name_and_sig_as_C_string()));
++ }
++#endif //ASSERT
++ }
++ if (!m->is_public()) {
++ assert(m->is_public(), "virtual call must be to public interface method");
++ return NULL; // elicit an error later in product build
++ }
++ assert(Klass::cast(resolved_klass)->is_subtype_of(m_klass_non_interface()), "virtual call must be type-safe");
++ m_klass = m_klass_non_interface();
++ }
++ }
++
+ java_lang_invoke_MemberName::set_flags(mname_oop, flags);
+ java_lang_invoke_MemberName::set_vmtarget(mname_oop, m);
+ java_lang_invoke_MemberName::set_vmindex(mname_oop, vmindex); // vtable/itable index
+- java_lang_invoke_MemberName::set_clazz(mname_oop, Klass::cast(receiver_limit)->java_mirror());
++ java_lang_invoke_MemberName::set_clazz(mname_oop, Klass::cast(m_klass)->java_mirror());
+ // Note: name and type can be lazily computed by resolve_MemberName,
+ // if Java code needs them as resolved String and MethodType objects.
+ // The clazz must be eagerly stored, because it provides a GC
+@@ -571,7 +599,7 @@
+ // An unresolved member name is a mere symbolic reference.
+ // Resolving it plants a vmtarget/vmindex in it,
+ // which refers dirctly to JVM internals.
+-Handle MethodHandles::resolve_MemberName(Handle mname, TRAPS) {
++Handle MethodHandles::resolve_MemberName(Handle mname, KlassHandle caller, TRAPS) {
+ Handle empty;
+ assert(java_lang_invoke_MemberName::is_instance(mname()), "");
+
+@@ -650,21 +678,49 @@
+ if (ref_kind == JVM_REF_invokeStatic) {
+ //do_dispatch = false; // no need, since statics are never dispatched
+ LinkResolver::resolve_static_call(result,
+- defc, name, type, KlassHandle(), false, false, THREAD);
++ defc, name, type, caller, caller.not_null(), false, THREAD);
+ } else if (ref_kind == JVM_REF_invokeInterface) {
+ LinkResolver::resolve_interface_call(result, Handle(), defc,
+- defc, name, type, KlassHandle(), false, false, THREAD);
++ defc, name, type, caller, caller.not_null(), false, THREAD);
+ } else if (mh_invoke_id != vmIntrinsics::_none) {
+ assert(!is_signature_polymorphic_static(mh_invoke_id), "");
+ LinkResolver::resolve_handle_call(result,
+- defc, name, type, KlassHandle(), THREAD);
++ defc, name, type, caller, THREAD);
+ } else if (ref_kind == JVM_REF_invokeSpecial) {
+ do_dispatch = false; // force non-virtual linkage
+ LinkResolver::resolve_special_call(result,
+- defc, name, type, KlassHandle(), false, THREAD);
++ defc, name, type, caller, caller.not_null(), THREAD);
++ // CR 8029533:
++ // As a corner case, invokespecial can return a method *below* its resolved_klass.
++ // Since method search *starts* at the resolved_klass, the eventual
++ // method is almost always in a supertype *above* the resolved_klass.
++ // This pattern breaks when an invokespecial "over-reaches" beyond an
++ // immediate super to a method overridden by a super class.
++ // In that case, the selected method will be below the resolved_klass.
++ // (This is the behavior enabled by the famous ACC_SUPER classfile flag.)
++ //
++ // Downstream of this code, we make assumptions about resolved_klass being below m.
++ // (See init_method_MemberName, the comment "bad receiver limit".)
++ // We basically want to patch result._resolved_klass to be m.method_holder().
++ // The simplest way to get this happier outcome is to re-resolve.
++ if (!HAS_PENDING_EXCEPTION &&
++ caller.not_null() &&
++ result.resolved_method().not_null()) {
++ // this is the m_klass value that will be checked later:
++ klassOop m_klass = result.resolved_method()->method_holder();
++ if (m_klass != result.resolved_klass()() &&
++ Klass::cast(m_klass)->is_subtype_of(result.resolved_klass()())) {
++ KlassHandle adjusted_defc(THREAD, m_klass);
++ LinkResolver::resolve_special_call(result,
++ adjusted_defc, name, type, caller, caller.not_null(), THREAD);
++ assert(HAS_PENDING_EXCEPTION // if there is something like an OOM, pass it up to caller
++ || result.resolved_method()->method_holder() == adjusted_defc(),
++ "same method, different resolved_klass");
++ }
++ }
+ } else if (ref_kind == JVM_REF_invokeVirtual) {
+ LinkResolver::resolve_virtual_call(result, Handle(), defc,
+- defc, name, type, KlassHandle(), false, false, THREAD);
++ defc, name, type, caller, caller.not_null(), false, THREAD);
+ } else {
+ assert(false, err_msg("ref_kind=%d", ref_kind));
+ }
+@@ -681,7 +737,7 @@
+ assert(!HAS_PENDING_EXCEPTION, "");
+ if (name == vmSymbols::object_initializer_name()) {
+ LinkResolver::resolve_special_call(result,
+- defc, name, type, KlassHandle(), false, THREAD);
++ defc, name, type, caller, caller.not_null(), THREAD);
+ } else {
+ break; // will throw after end of switch
+ }
+@@ -1025,7 +1081,12 @@
+ if (VerifyMethodHandles && caller_jh != NULL &&
+ java_lang_invoke_MemberName::clazz(mname()) != NULL) {
+ klassOop reference_klass = java_lang_Class::as_klassOop(java_lang_invoke_MemberName::clazz(mname()));
+- if (reference_klass != NULL) {
++ if (reference_klass != NULL && Klass::cast(reference_klass)->oop_is_objArray()) {
++ reference_klass = objArrayKlass::cast(reference_klass)->bottom_klass();
++ }
++
++ // Reflection::verify_class_access can only handle instance classes.
++ if (reference_klass != NULL && Klass::cast(reference_klass)->oop_is_instance()) {
+ // Emulate LinkResolver::check_klass_accessability.
+ klassOop caller = java_lang_Class::as_klassOop(JNIHandles::resolve_non_null(caller_jh));
+ if (!Reflection::verify_class_access(caller,
+@@ -1036,7 +1097,11 @@
+ }
+ }
+
+- Handle resolved = MethodHandles::resolve_MemberName(mname, CHECK_NULL);
++ KlassHandle caller(THREAD,
++ caller_jh == NULL ? (klassOop) NULL :
++ java_lang_Class::as_klassOop(JNIHandles::resolve_non_null(caller_jh)));
++ Handle resolved = MethodHandles::resolve_MemberName(mname, caller, CHECK_NULL);
++
+ if (resolved.is_null()) {
+ int flags = java_lang_invoke_MemberName::flags(mname());
+ int ref_kind = (flags >> REFERENCE_KIND_SHIFT) & REFERENCE_KIND_MASK;
+--- ./hotspot/src/share/vm/prims/methodHandles.hpp Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/src/share/vm/prims/methodHandles.hpp Thu Dec 19 09:00:51 2013 -0800
+@@ -51,12 +51,12 @@
+
+ public:
+ // working with member names
+- static Handle resolve_MemberName(Handle mname, TRAPS); // compute vmtarget/vmindex from name/type
++ static Handle resolve_MemberName(Handle mname, KlassHandle caller, TRAPS); // compute vmtarget/vmindex from name/type
+ static void expand_MemberName(Handle mname, int suppress, TRAPS); // expand defc/name/type if missing
+ static Handle new_MemberName(TRAPS); // must be followed by init_MemberName
+ static oop init_MemberName(oop mname_oop, oop target_oop); // compute vmtarget/vmindex from target
+ static oop init_method_MemberName(oop mname_oop, methodOop m, bool do_dispatch,
+- klassOop receiver_limit);
++ klassOop resolved_klass);
+ static oop init_field_MemberName(oop mname_oop, klassOop field_holder,
+ AccessFlags mods, oop type, oop name,
+ intptr_t offset, bool is_setter = false);
+--- ./hotspot/src/share/vm/runtime/os.cpp Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/src/share/vm/runtime/os.cpp Thu Dec 19 09:00:51 2013 -0800
+@@ -1139,9 +1139,6 @@
+ "%/lib/jce.jar:"
+ "%/lib/charsets.jar:"
+ "%/lib/jfr.jar:"
+-#ifdef __APPLE__
+- "%/lib/JObjC.jar:"
+-#endif
+ "%/classes";
+ char* sysclasspath = format_boot_path(classpath_format, home, home_len, fileSep, pathSep);
+ if (sysclasspath == NULL) return false;
+--- ./hotspot/src/share/vm/runtime/reflection.cpp Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/src/share/vm/runtime/reflection.cpp Thu Dec 19 09:00:51 2013 -0800
+@@ -460,7 +460,7 @@
+ // doesn't have a classloader.
+ if ((current_class == NULL) ||
+ (current_class == new_class) ||
+- (instanceKlass::cast(new_class)->is_public()) ||
++ (Klass::cast(new_class)->is_public()) ||
+ is_same_class_package(current_class, new_class)) {
+ return true;
+ }
+--- ./hotspot/src/share/vm/services/gcNotifier.cpp Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/src/share/vm/services/gcNotifier.cpp Thu Dec 19 09:00:51 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2011, 2013, 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
+@@ -209,11 +209,11 @@
+ GCNotificationRequest *request = getRequest();
+ if (request != NULL) {
+ NotificationMark nm(request);
+- Handle objGcInfo = createGcInfo(request->gcManager, request->gcStatInfo, THREAD);
++ Handle objGcInfo = createGcInfo(request->gcManager, request->gcStatInfo, CHECK);
+
+- Handle objName = java_lang_String::create_from_platform_dependent_str(request->gcManager->name(), CHECK);
+- Handle objAction = java_lang_String::create_from_platform_dependent_str(request->gcAction, CHECK);
+- Handle objCause = java_lang_String::create_from_platform_dependent_str(request->gcCause, CHECK);
++ Handle objName = java_lang_String::create_from_str(request->gcManager->name(), CHECK);
++ Handle objAction = java_lang_String::create_from_str(request->gcAction, CHECK);
++ Handle objCause = java_lang_String::create_from_str(request->gcCause, CHECK);
+
+ klassOop k = Management::sun_management_GarbageCollectorImpl_klass(CHECK);
+ instanceKlassHandle gc_mbean_klass(THREAD, k);
+--- ./hotspot/src/share/vm/utilities/vmError.cpp Tue Oct 08 09:06:48 2013 -0700
++++ ./hotspot/src/share/vm/utilities/vmError.cpp Thu Dec 19 09:00:51 2013 -0800
+@@ -698,6 +698,18 @@
+ st->cr();
+ }
+
++#ifdef LINUX
++ STEP(193, "(printing large pages allocation errors)")
++
++ if (_verbose) {
++ jint largepage_failures = os::Linux::num_largepage_commit_fails;
++ if (largepage_failures > 0) {
++ st->print_cr("Large page allocation failures have occurred " INT32_FORMAT " times", largepage_failures);
++ st->cr();
++ }
++ }
++#endif
++
+ STEP(195, "(printing code cache information)" )
+
+ if (_verbose && Universe::is_fully_initialized()) {
+--- ./jaxp/.hgtags Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/.hgtags Thu Dec 19 09:01:08 2013 -0800
+@@ -359,6 +359,8 @@
+ 66363323f14d85d4ab28e883a3323b9d72dea5fd jdk7u40-b42
+ c0bd71414ea513f54f23965936a837fca093ac91 jdk7u40-b43
+ 91bc4534851265291bb3b16452a0968d6909979f jdk7u40-b60
++c500d4ec41ff2117eabfa33e640b6df2f21deb3d jdk7u40-b61
++9e3f8ab9d17be6b1a4a097fcc5bc5412013d3e86 jdk7u40-b62
+ 1a7e2024963d3a8d6cde209de0967ac43418b82a jdk7u45-b01
+ 72b314bf2ee171bec2157f737ba3bf77fbdf1118 jdk7u45-b02
+ 399c58bf22ad35a3527a286123497615100746b2 jdk7u45-b03
+@@ -377,3 +379,19 @@
+ 0a8b95184728548be4b20876e05f76e0262e4195 jdk7u45-b16
+ 2586d303503b5bb6fd39dc0ce572d6e858caf41c jdk7u45-b17
+ 4beb90ab48f7fd46c7a9afbe66f8cccb230699ba jdk7u45-b18
++a456c78a50e201a65c9f63565c8291b84a4fbd32 jdk7u45-b30
++3c34f244296e98d8ebb94973c752f3395612391a jdk7u45-b31
++0a8b95184728548be4b20876e05f76e0262e4195 jdk7u51-b00
++2450ace952f45202e5a3fd4f6a8356a196fe029e jdk7u51-b01
++68def851cc6b17944756f1986734b323d8569571 jdk7u51-b02
++0df316a3b3111427500a86f3282293dd566ae936 jdk7u51-b03
++42be8e6266ab1733a890b21cf6cd6c2e1a48972d jdk7u51-b04
++0655a95d16094971df14171e1c5f841c3a6bd081 jdk7u51-b05
++13a15fc9b6bf7ac065958e038648fbe9952fd9fa jdk7u51-b06
++8e4523e579bf86e514b9c82843b440cb79606b41 jdk7u51-b07
++783ceae9b7369168216d5344475d92de910351e8 jdk7u51-b08
++7875c882a7516366147bffcaaea550c4089f2fc7 jdk7u51-b09
++65798d05674dc9453c5935c018d012b11c8697f8 jdk7u51-b10
++70b5691c44d2830efd4301856e6223fa43894462 jdk7u51-b11
++807946db29f42477e8d8390be01c7e27280bc85c jdk7u51-b12
++114654a331e2f97a048d7ed43d06d7512e20e2c1 jdk7u51-b13
+--- ./jaxp/src/com/sun/org/apache/xalan/internal/lib/ExsltStrings.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xalan/internal/lib/ExsltStrings.java Thu Dec 19 09:01:08 2013 -0800
+@@ -52,6 +52,8 @@
+ */
+ public class ExsltStrings extends ExsltBase
+ {
++ static final String JDK_DEFAULT_DOM = "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl";
++
+ /**
+ * The str:align function aligns a string within another string.
+ * <p>
+@@ -225,7 +227,7 @@
+ token = str.substring(fromIndex);
+ }
+
+- Document doc = DocumentHolder.m_doc;
++ Document doc = getDocument();
+ synchronized (doc)
+ {
+ Element element = doc.createElement("token");
+@@ -289,7 +291,7 @@
+ {
+ StringTokenizer lTokenizer = new StringTokenizer(toTokenize, delims);
+
+- Document doc = DocumentHolder.m_doc;
++ Document doc = getDocument();
+ synchronized (doc)
+ {
+ while (lTokenizer.hasMoreTokens())
+@@ -305,7 +307,7 @@
+ else
+ {
+
+- Document doc = DocumentHolder.m_doc;
++ Document doc = getDocument();
+ synchronized (doc)
+ {
+ for (int i = 0; i < toTokenize.length(); i++)
+@@ -327,31 +329,23 @@
+ {
+ return tokenize(toTokenize, " \t\n\r");
+ }
++
+ /**
+- * This class is not loaded until first referenced (see Java Language
+- * Specification by Gosling/Joy/Steele, section 12.4.1)
+- *
+- * The static members are created when this class is first referenced, as a
+- * lazy initialization not needing checking against null or any
+- * synchronization.
+- *
++ * @return an instance of DOM Document
+ */
+- private static class DocumentHolder
+- {
+- // Reuse the Document object to reduce memory usage.
+- private static final Document m_doc;
+- static {
+- try
+- {
+- m_doc =DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
++ private static Document getDocument()
++ {
++ try
++ {
++ if (System.getSecurityManager() == null) {
++ return DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
++ } else {
++ return DocumentBuilderFactory.newInstance(JDK_DEFAULT_DOM, null).newDocumentBuilder().newDocument();
+ }
+-
+- catch(ParserConfigurationException pce)
+- {
+- throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce);
+- }
+-
++ }
++ catch(ParserConfigurationException pce)
++ {
++ throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce);
+ }
+ }
+-
+ }
+--- ./jaxp/src/com/sun/org/apache/xalan/internal/lib/Extensions.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xalan/internal/lib/Extensions.java Thu Dec 19 09:01:08 2013 -0800
+@@ -56,6 +56,7 @@
+ */
+ public class Extensions
+ {
++ static final String JDK_DEFAULT_DOM = "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl";
+ /**
+ * Constructor Extensions
+ *
+@@ -114,23 +115,14 @@
+
+ // This no longer will work right since the DTM.
+ // Document myDoc = myProcessor.getContextNode().getOwnerDocument();
+- try
+- {
+- DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+- DocumentBuilder db = dbf.newDocumentBuilder();
+- Document myDoc = db.newDocument();
++ Document myDoc = getDocument();
+
+- Text textNode = myDoc.createTextNode(textNodeValue);
+- DocumentFragment docFrag = myDoc.createDocumentFragment();
++ Text textNode = myDoc.createTextNode(textNodeValue);
++ DocumentFragment docFrag = myDoc.createDocumentFragment();
+
+- docFrag.appendChild(textNode);
++ docFrag.appendChild(textNode);
+
+- return new NodeSet(docFrag);
+- }
+- catch(ParserConfigurationException pce)
+- {
+- throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce);
+- }
++ return new NodeSet(docFrag);
+ }
+ }
+
+@@ -249,8 +241,7 @@
+ public static NodeList tokenize(String toTokenize, String delims)
+ {
+
+- Document doc = DocumentHolder.m_doc;
+-
++ Document doc = getDocument();
+
+ StringTokenizer lTokenizer = new StringTokenizer(toTokenize, delims);
+ NodeSet resultSet = new NodeSet();
+@@ -308,17 +299,7 @@
+ public static Node checkEnvironment(ExpressionContext myContext)
+ {
+
+- Document factoryDocument;
+- try
+- {
+- DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+- DocumentBuilder db = dbf.newDocumentBuilder();
+- factoryDocument = db.newDocument();
+- }
+- catch(ParserConfigurationException pce)
+- {
+- throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce);
+- }
++ Document factoryDocument = getDocument();
+
+ Node resultNode = null;
+ try
+@@ -391,30 +372,21 @@
+ }
+
+ /**
+- * This class is not loaded until first referenced (see Java Language
+- * Specification by Gosling/Joy/Steele, section 12.4.1)
+- *
+- * The static members are created when this class is first referenced, as a
+- * lazy initialization not needing checking against null or any
+- * synchronization.
+- *
++ * @return an instance of DOM Document
+ */
+- private static class DocumentHolder
+- {
+- // Reuse the Document object to reduce memory usage.
+- private static final Document m_doc;
+- static
++ private static Document getDocument()
++ {
++ try
+ {
+- try
+- {
+- m_doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
++ if (System.getSecurityManager() == null) {
++ return DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
++ } else {
++ return DocumentBuilderFactory.newInstance(JDK_DEFAULT_DOM, null).newDocumentBuilder().newDocument();
+ }
+-
+- catch(ParserConfigurationException pce)
+- {
+- throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce);
+- }
+-
++ }
++ catch(ParserConfigurationException pce)
++ {
++ throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce);
+ }
+ }
+ }
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java Thu Dec 19 09:01:08 2013 -0800
+@@ -44,6 +44,7 @@
+ import com.sun.org.apache.xerces.internal.impl.XMLErrorReporter;
+ import com.sun.org.apache.xerces.internal.impl.XMLEntityHandler;
+ import com.sun.org.apache.xerces.internal.impl.Constants;
++import com.sun.org.apache.xerces.internal.utils.XMLLimitAnalyzer;
+ import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager;
+ import com.sun.xml.internal.stream.Entity;
+
+@@ -262,6 +263,11 @@
+ fEntityManager.startDTDEntity(inputSource);
+ } // setInputSource(XMLInputSource)
+
++
++ public void setLimitAnalyzer(XMLLimitAnalyzer limitAnalyzer) {
++ fLimitAnalyzer = limitAnalyzer;
++ }
++
+ /**
+ * Scans the external subset of the document.
+ *
+@@ -1625,10 +1631,10 @@
+ XMLString literal = fString;
+ XMLString literal2 = fString;
+ int countChar = 0;
+- if (fLimitAnalyzer == null && fSecurityManager != null) {
+- fLimitAnalyzer = fSecurityManager.getLimitAnalyzer();
++ if (fLimitAnalyzer == null ) {
++ fLimitAnalyzer = new XMLLimitAnalyzer();
++ }
+ fLimitAnalyzer.startEntity(entityName);
+- }
+
+ if (fEntityScanner.scanLiteral(quote, fString) != quote) {
+ fStringBuffer.clear();
+@@ -2145,6 +2151,8 @@
+ // set starting state
+ setScannerState(SCANNER_STATE_TEXT_DECL);
+ //new SymbolTable());
++
++ fLimitAnalyzer = new XMLLimitAnalyzer();
+ }
+
+ /**
+@@ -2164,18 +2172,18 @@
+ */
+ private void checkLimit(String entityName, int len) {
+ if (fLimitAnalyzer == null) {
+- fLimitAnalyzer = fSecurityManager.getLimitAnalyzer();
++ fLimitAnalyzer = new XMLLimitAnalyzer();
+ }
+ fLimitAnalyzer.addValue(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT, entityName, len);
+- if (fSecurityManager.isOverLimit(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT)) {
+- fSecurityManager.debugPrint();
++ if (fSecurityManager.isOverLimit(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT, fLimitAnalyzer)) {
++ fSecurityManager.debugPrint(fLimitAnalyzer);
+ reportFatalError("MaxEntitySizeLimit", new Object[]{entityName,
+ fLimitAnalyzer.getValue(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT),
+ fSecurityManager.getLimit(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT),
+ fSecurityManager.getStateLiteral(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT)});
+ }
+- if (fSecurityManager.isOverLimit(XMLSecurityManager.Limit.TOTAL_ENTITY_SIZE_LIMIT)) {
+- fSecurityManager.debugPrint();
++ if (fSecurityManager.isOverLimit(XMLSecurityManager.Limit.TOTAL_ENTITY_SIZE_LIMIT, fLimitAnalyzer)) {
++ fSecurityManager.debugPrint(fLimitAnalyzer);
+ reportFatalError("TotalEntitySizeLimit",
+ new Object[]{fLimitAnalyzer.getTotalValue(XMLSecurityManager.Limit.TOTAL_ENTITY_SIZE_LIMIT),
+ fSecurityManager.getLimit(XMLSecurityManager.Limit.TOTAL_ENTITY_SIZE_LIMIT),
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java Thu Dec 19 09:01:08 2013 -0800
+@@ -569,32 +569,13 @@
+
+ // xerces features
+ fReportCdataEvent = componentManager.getFeature(Constants.STAX_REPORT_CDATA_EVENT, true);
+-
+ fSecurityManager = (XMLSecurityManager)componentManager.getProperty(Constants.SECURITY_MANAGER, null);
+- fLimitAnalyzer = fSecurityManager.getLimitAnalyzer();
+-
+- fElementAttributeLimit = (fSecurityManager != null)?
+- fSecurityManager.getLimit(XMLSecurityManager.Limit.ELEMENT_ATTRIBUTE_LIMIT):0;
+-
+ fNotifyBuiltInRefs = componentManager.getFeature(NOTIFY_BUILTIN_REFS, false);
+
+ Object resolver = componentManager.getProperty(ENTITY_RESOLVER, null);
+ fExternalSubsetResolver = (resolver instanceof ExternalSubsetResolver) ?
+ (ExternalSubsetResolver) resolver : null;
+
+- // initialize vars
+- fMarkupDepth = 0;
+- fCurrentElement = null;
+- fElementStack.clear();
+- fHasExternalDTD = false;
+- fStandaloneSet = false;
+- fStandalone = false;
+- fInScanContent = false;
+- //skipping algorithm
+- fShouldSkip = false;
+- fAdd = false;
+- fSkip = false;
+-
+ //attribute
+ fReadingAttributes = false;
+ //xxx: external entities are supported in Xerces
+@@ -606,9 +587,6 @@
+ // setup Driver
+ setScannerState(SCANNER_STATE_CONTENT);
+ setDriver(fContentDriver);
+- fEntityStore = fEntityManager.getEntityStore();
+-
+- dtdGrammarUtil = null;
+
+ // JAXP 1.5 features and properties
+ XMLSecurityPropertyManager spm = (XMLSecurityPropertyManager)
+@@ -617,6 +595,7 @@
+
+ fStrictURI = componentManager.getFeature(STANDARD_URI_CONFORMANT, false);
+
++ resetCommon();
+ //fEntityManager.test();
+ } // reset(XMLComponentManager)
+
+@@ -630,17 +609,7 @@
+ fNamespaces = ((Boolean)propertyManager.getProperty(XMLInputFactory.IS_NAMESPACE_AWARE)).booleanValue();
+ fNotifyBuiltInRefs = false ;
+
+- // initialize vars
+- fMarkupDepth = 0;
+- fCurrentElement = null;
+- fShouldSkip = false;
+- fAdd = false;
+- fSkip = false;
+- fElementStack.clear();
+ //fElementStack2.clear();
+- fHasExternalDTD = false;
+- fStandaloneSet = false;
+- fStandalone = false;
+ //fReplaceEntityReferences = true;
+ //fSupportExternalEntities = true;
+ Boolean bo = (Boolean)propertyManager.getProperty(XMLInputFactoryImpl.IS_REPLACING_ENTITY_REFERENCES);
+@@ -661,20 +630,43 @@
+ //we dont need to do this -- nb.
+ //setScannerState(SCANNER_STATE_CONTENT);
+ //setDriver(fContentDriver);
+- fEntityStore = fEntityManager.getEntityStore();
+ //fEntityManager.test();
+
+- dtdGrammarUtil = null;
+-
+ // JAXP 1.5 features and properties
+ XMLSecurityPropertyManager spm = (XMLSecurityPropertyManager)
+ propertyManager.getProperty(XML_SECURITY_PROPERTY_MANAGER);
+ fAccessExternalDTD = spm.getValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD);
+
+ fSecurityManager = (XMLSecurityManager)propertyManager.getProperty(Constants.SECURITY_MANAGER);
+- fLimitAnalyzer = fSecurityManager.getLimitAnalyzer();
++ resetCommon();
+ } // reset(XMLComponentManager)
+
++ void resetCommon() {
++ // initialize vars
++ fMarkupDepth = 0;
++ fCurrentElement = null;
++ fElementStack.clear();
++ fHasExternalDTD = false;
++ fStandaloneSet = false;
++ fStandalone = false;
++ fInScanContent = false;
++ //skipping algorithm
++ fShouldSkip = false;
++ fAdd = false;
++ fSkip = false;
++
++ fEntityStore = fEntityManager.getEntityStore();
++ dtdGrammarUtil = null;
++
++ if (fSecurityManager != null) {
++ fElementAttributeLimit = fSecurityManager.getLimit(XMLSecurityManager.Limit.ELEMENT_ATTRIBUTE_LIMIT);
++ } else {
++ fElementAttributeLimit = 0;
++ }
++ fLimitAnalyzer = new XMLLimitAnalyzer();
++ fEntityManager.setLimitAnalyzer(fLimitAnalyzer);
++ }
++
+ /**
+ * Returns a list of feature identifiers that are recognized by
+ * this component. This method may return null if no features
+@@ -1328,7 +1320,7 @@
+ fAttributes.getLength() > fElementAttributeLimit){
+ fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN,
+ "ElementAttributeLimit",
+- new Object[]{rawname, new Integer(fAttributes.getLength()) },
++ new Object[]{rawname, fElementAttributeLimit },
+ XMLErrorReporter.SEVERITY_FATAL_ERROR );
+ }
+
+@@ -3163,15 +3155,15 @@
+ protected void checkLimit(XMLStringBuffer buffer) {
+ if (fLimitAnalyzer.isTracking(fCurrentEntityName)) {
+ fLimitAnalyzer.addValue(Limit.GENEAL_ENTITY_SIZE_LIMIT, fCurrentEntityName, buffer.length);
+- if (fSecurityManager.isOverLimit(Limit.GENEAL_ENTITY_SIZE_LIMIT)) {
+- fSecurityManager.debugPrint();
++ if (fSecurityManager.isOverLimit(Limit.GENEAL_ENTITY_SIZE_LIMIT, fLimitAnalyzer)) {
++ fSecurityManager.debugPrint(fLimitAnalyzer);
+ reportFatalError("MaxEntitySizeLimit", new Object[]{fCurrentEntityName,
+ fLimitAnalyzer.getValue(Limit.GENEAL_ENTITY_SIZE_LIMIT),
+ fSecurityManager.getLimit(Limit.GENEAL_ENTITY_SIZE_LIMIT),
+ fSecurityManager.getStateLiteral(Limit.GENEAL_ENTITY_SIZE_LIMIT)});
+ }
+- if (fSecurityManager.isOverLimit(Limit.TOTAL_ENTITY_SIZE_LIMIT)) {
+- fSecurityManager.debugPrint();
++ if (fSecurityManager.isOverLimit(Limit.TOTAL_ENTITY_SIZE_LIMIT, fLimitAnalyzer)) {
++ fSecurityManager.debugPrint(fLimitAnalyzer);
+ reportFatalError("TotalEntitySizeLimit",
+ new Object[]{fLimitAnalyzer.getTotalValue(Limit.TOTAL_ENTITY_SIZE_LIMIT),
+ fSecurityManager.getLimit(Limit.TOTAL_ENTITY_SIZE_LIMIT),
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentScannerImpl.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentScannerImpl.java Thu Dec 19 09:01:08 2013 -0800
+@@ -1090,6 +1090,8 @@
+
+ ((XMLDTDScannerImpl)fDTDScanner).reset(fPropertyManager);
+ }
++
++ fDTDScanner.setLimitAnalyzer(fLimitAnalyzer);
+ do {
+ again = false;
+ switch (fScannerState) {
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.java Thu Dec 19 09:01:08 2013 -0800
+@@ -1297,8 +1297,8 @@
+ if(fLimitAnalyzer != null) {
+ fLimitAnalyzer.addValue(entityExpansionIndex, name, 1);
+ }
+- if( fSecurityManager != null && fSecurityManager.isOverLimit(entityExpansionIndex)){
+- fSecurityManager.debugPrint();
++ if( fSecurityManager != null && fSecurityManager.isOverLimit(entityExpansionIndex, fLimitAnalyzer)){
++ fSecurityManager.debugPrint(fLimitAnalyzer);
+ fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN,"EntityExpansionLimitExceeded",
+ new Object[]{fSecurityManager.getLimitValueByIndex(entityExpansionIndex)},
+ XMLErrorReporter.SEVERITY_FATAL_ERROR );
+@@ -1367,7 +1367,7 @@
+ if (fLimitAnalyzer != null) {
+ fLimitAnalyzer.endEntity(XMLSecurityManager.Limit.GENEAL_ENTITY_SIZE_LIMIT, fCurrentEntity.name);
+ if (fCurrentEntity.name.equals("[xml]")) {
+- fSecurityManager.debugPrint();
++ fSecurityManager.debugPrint(fLimitAnalyzer);
+ }
+ }
+ fCurrentEntity.close();
+@@ -1436,7 +1436,6 @@
+ fAccessExternalDTD = spm.getValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD);
+
+ fSecurityManager = (XMLSecurityManager)propertyManager.getProperty(SECURITY_MANAGER);
+- fLimitAnalyzer = fSecurityManager.getLimitAnalyzer();
+
+ // initialize state
+ //fStandalone = false;
+@@ -1498,7 +1497,6 @@
+ fStaxEntityResolver = (StaxEntityResolverWrapper)componentManager.getProperty(STAX_ENTITY_RESOLVER, null);
+ fValidationManager = (ValidationManager)componentManager.getProperty(VALIDATION_MANAGER, null);
+ fSecurityManager = (XMLSecurityManager)componentManager.getProperty(SECURITY_MANAGER, null);
+- fLimitAnalyzer = fSecurityManager.getLimitAnalyzer();
+ entityExpansionIndex = fSecurityManager.getIndex(Constants.JDK_ENTITY_EXPANSION_LIMIT);
+
+ // JAXP 1.5 feature
+@@ -1656,7 +1654,6 @@
+ if (suffixLength == Constants.SECURITY_MANAGER_PROPERTY.length() &&
+ propertyId.endsWith(Constants.SECURITY_MANAGER_PROPERTY)) {
+ fSecurityManager = (XMLSecurityManager)value;
+- fLimitAnalyzer = fSecurityManager.getLimitAnalyzer();
+ }
+ }
+
+@@ -1667,6 +1664,11 @@
+ fAccessExternalDTD = spm.getValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD);
+ }
+ }
++
++ public void setLimitAnalyzer(XMLLimitAnalyzer fLimitAnalyzer) {
++ this.fLimitAnalyzer = fLimitAnalyzer;
++ }
++
+ /**
+ * Returns a list of property identifiers that are recognized by
+ * this component. This method may return null if no properties
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLNSDocumentScannerImpl.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLNSDocumentScannerImpl.java Thu Dec 19 09:01:08 2013 -0800
+@@ -256,7 +256,7 @@
+ fAttributes.getLength() > fElementAttributeLimit){
+ fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN,
+ "ElementAttributeLimit",
+- new Object[]{rawname, new Integer(fAttributes.getLength()) },
++ new Object[]{rawname, fElementAttributeLimit },
+ XMLErrorReporter.SEVERITY_FATAL_ERROR );
+ }
+
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_ja.properties Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_ja.properties Thu Dec 19 09:01:08 2013 -0800
+@@ -261,7 +261,7 @@
+ MSG_DUPLICATE_ATTDEF = \u5C5E\u6027"{1}"\u306F\u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u5BFE\u3057\u3066\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002
+ MSG_ELEMENT_ALREADY_DECLARED = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306F\u8907\u6570\u56DE\u5BA3\u8A00\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002
+ MSG_ELEMENT_NOT_DECLARED = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002
+- MSG_GRAMMAR_NOT_FOUND = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304C\u7121\u52B9\u3067\u3059\u3002\u69CB\u6587\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002
++ MSG_GRAMMAR_NOT_FOUND = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304C\u7121\u52B9\u3067\u3059: \u69CB\u6587\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002
+ MSG_ELEMENT_WITH_ID_REQUIRED = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u306F\u8B58\u5225\u5B50"{0}"\u3092\u6301\u3064\u8981\u7D20\u304C\u5FC5\u8981\u3067\u3059\u3002
+ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u3078\u306E\u53C2\u7167\u306F\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002
+ MSG_FIXED_ATTVALUE_INVALID = \u5024"{2}"\u3092\u6301\u3064\u5C5E\u6027"{1}"\u306B\u306F\u3001"{3}"\u306E\u5024\u304C\u5FC5\u8981\u3067\u3059\u3002
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLLimitAnalyzer.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLLimitAnalyzer.java Thu Dec 19 09:01:08 2013 -0800
+@@ -77,7 +77,6 @@
+ }
+ }
+
+- private XMLSecurityManager securityManager;
+ /**
+ * Max value accumulated for each property
+ */
+@@ -101,8 +100,7 @@
+ * Default constructor. Establishes default values for known security
+ * vulnerabilities.
+ */
+- public XMLLimitAnalyzer(XMLSecurityManager securityManager) {
+- this.securityManager = securityManager;
++ public XMLLimitAnalyzer() {
+ values = new int[Limit.values().length];
+ totalValue = new int[Limit.values().length];
+ names = new String[Limit.values().length];
+@@ -221,7 +219,7 @@
+ }
+ }
+
+- public void debugPrint() {
++ public void debugPrint(XMLSecurityManager securityManager) {
+ Formatter formatter = new Formatter();
+ System.out.println(formatter.format("%30s %15s %15s %15s %30s",
+ "Property","Limit","Total size","Size","Entity Name"));
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLSecurityManager.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLSecurityManager.java Thu Dec 19 09:01:08 2013 -0800
+@@ -148,7 +148,6 @@
+ private boolean[] isSet;
+
+
+- private XMLLimitAnalyzer limitAnalyzer;
+ /**
+ * Index of the special entityCountInfo property
+ */
+@@ -169,7 +168,6 @@
+ * @param secureProcessing
+ */
+ public XMLSecurityManager(boolean secureProcessing) {
+- limitAnalyzer = new XMLLimitAnalyzer(this);
+ values = new int[Limit.values().length];
+ states = new State[Limit.values().length];
+ isSet = new boolean[Limit.values().length];
+@@ -249,13 +247,15 @@
+ if (index == indexEntityCountInfo) {
+ printEntityCountInfo = (String)value;
+ } else {
+- int temp = 0;
+- try {
++ int temp;
++ if (Integer.class.isAssignableFrom(value.getClass())) {
++ temp = ((Integer)value).intValue();
++ } else {
+ temp = Integer.parseInt((String) value);
+ if (temp < 0) {
+ temp = 0;
+ }
+- } catch (NumberFormatException e) {}
++ }
+ setLimit(index, state, temp);
+ }
+ }
+@@ -387,8 +387,9 @@
+ * @param size the size (count or length) of the entity
+ * @return true if the size is over the limit, false otherwise
+ */
+- public boolean isOverLimit(Limit limit, String entityName, int size) {
+- return isOverLimit(limit.ordinal(), entityName, size);
++ public boolean isOverLimit(Limit limit, String entityName, int size,
++ XMLLimitAnalyzer limitAnalyzer) {
++ return isOverLimit(limit.ordinal(), entityName, size, limitAnalyzer);
+ }
+
+ /**
+@@ -400,7 +401,8 @@
+ * @param size the size (count or length) of the entity
+ * @return true if the size is over the limit, false otherwise
+ */
+- public boolean isOverLimit(int index, String entityName, int size) {
++ public boolean isOverLimit(int index, String entityName, int size,
++ XMLLimitAnalyzer limitAnalyzer) {
+ if (values[index] == NO_LIMIT) {
+ return false;
+ }
+@@ -418,11 +420,11 @@
+ * @param size the size (count or length) of the entity
+ * @return true if the size is over the limit, false otherwise
+ */
+- public boolean isOverLimit(Limit limit) {
+- return isOverLimit(limit.ordinal());
++ public boolean isOverLimit(Limit limit, XMLLimitAnalyzer limitAnalyzer) {
++ return isOverLimit(limit.ordinal(), limitAnalyzer);
+ }
+
+- public boolean isOverLimit(int index) {
++ public boolean isOverLimit(int index, XMLLimitAnalyzer limitAnalyzer) {
+ if (values[index] == NO_LIMIT) {
+ return false;
+ }
+@@ -436,29 +438,12 @@
+ }
+ }
+
+- public void debugPrint() {
++ public void debugPrint(XMLLimitAnalyzer limitAnalyzer) {
+ if (printEntityCountInfo.equals(Constants.JDK_YES)) {
+- limitAnalyzer.debugPrint();
++ limitAnalyzer.debugPrint(this);
+ }
+ }
+
+- /**
+- * Return the limit analyzer
+- *
+- * @return the limit analyzer
+- */
+- public XMLLimitAnalyzer getLimitAnalyzer() {
+- return limitAnalyzer;
+- }
+-
+- /**
+- * Set limit analyzer
+- *
+- * @param analyzer a limit analyzer
+- */
+- public void setLimitAnalyzer(XMLLimitAnalyzer analyzer) {
+- limitAnalyzer = analyzer;
+- }
+
+ /**
+ * Indicate if a property is set explicitly
+--- ./jaxp/src/com/sun/org/apache/xerces/internal/xni/parser/XMLDTDScanner.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xerces/internal/xni/parser/XMLDTDScanner.java Thu Dec 19 09:01:08 2013 -0800
+@@ -20,6 +20,7 @@
+
+ package com.sun.org.apache.xerces.internal.xni.parser;
+
++import com.sun.org.apache.xerces.internal.utils.XMLLimitAnalyzer;
+ import java.io.IOException;
+ import com.sun.org.apache.xerces.internal.xni.XNIException;
+
+@@ -95,4 +96,5 @@
+ public boolean scanDTDExternalSubset(boolean complete)
+ throws IOException, XNIException;
+
++ public void setLimitAnalyzer(XMLLimitAnalyzer limitAnalyzer);
+ } // interface XMLDTDScanner
+--- ./jaxp/src/com/sun/org/apache/xml/internal/resolver/CatalogManager.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xml/internal/resolver/CatalogManager.java Thu Dec 19 09:01:08 2013 -0800
+@@ -24,20 +24,17 @@
+ package com.sun.org.apache.xml.internal.resolver;
+
+ import com.sun.org.apache.xerces.internal.utils.SecuritySupport;
++import com.sun.org.apache.xml.internal.resolver.helpers.BootstrapResolver;
++import com.sun.org.apache.xml.internal.resolver.helpers.Debug;
+ import java.io.InputStream;
+-
++import java.net.MalformedURLException;
+ import java.net.URL;
+-import java.net.MalformedURLException;
+-
+ import java.util.MissingResourceException;
+ import java.util.PropertyResourceBundle;
+ import java.util.ResourceBundle;
+ import java.util.StringTokenizer;
+ import java.util.Vector;
+-
+-import com.sun.org.apache.xml.internal.resolver.helpers.Debug;
+-import com.sun.org.apache.xml.internal.resolver.helpers.BootstrapResolver;
+-import com.sun.org.apache.xml.internal.resolver.Catalog;
++import sun.reflect.misc.ReflectUtil;
+
+ /**
+ * CatalogManager provides an interface to the catalog properties.
+@@ -687,7 +684,7 @@
+ catalog = new Catalog();
+ } else {
+ try {
+- catalog = (Catalog) Class.forName(catalogClassName).newInstance();
++ catalog = (Catalog) ReflectUtil.forName(catalogClassName).newInstance();
+ } catch (ClassNotFoundException cnfe) {
+ debug.message(1,"Catalog class named '"
+ + catalogClassName
+--- ./jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/DOMCatalogReader.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/DOMCatalogReader.java Thu Dec 19 09:01:08 2013 -0800
+@@ -23,24 +23,21 @@
+
+ package com.sun.org.apache.xml.internal.resolver.readers;
+
+-import java.util.Hashtable;
++import com.sun.org.apache.xml.internal.resolver.Catalog;
++import com.sun.org.apache.xml.internal.resolver.CatalogException;
++import com.sun.org.apache.xml.internal.resolver.helpers.Namespaces;
+ import java.io.IOException;
+ import java.io.InputStream;
++import java.net.MalformedURLException;
+ import java.net.URL;
+ import java.net.URLConnection;
+-import java.net.MalformedURLException;
+-
++import java.util.Hashtable;
++import javax.xml.parsers.DocumentBuilder;
+ import javax.xml.parsers.DocumentBuilderFactory;
+-import javax.xml.parsers.DocumentBuilder;
+ import javax.xml.parsers.ParserConfigurationException;
+-
+-import com.sun.org.apache.xml.internal.resolver.Catalog;
+-import com.sun.org.apache.xml.internal.resolver.CatalogException;
+-import com.sun.org.apache.xml.internal.resolver.readers.CatalogReader;
+-import com.sun.org.apache.xml.internal.resolver.helpers.Namespaces;
+-
++import org.w3c.dom.*;
+ import org.xml.sax.SAXException;
+-import org.w3c.dom.*;
++import sun.reflect.misc.ReflectUtil;
+
+ /**
+ * A DOM-based CatalogReader.
+@@ -199,7 +196,7 @@
+ DOMCatalogParser domParser = null;
+
+ try {
+- domParser = (DOMCatalogParser) Class.forName(domParserClass).newInstance();
++ domParser = (DOMCatalogParser) ReflectUtil.forName(domParserClass).newInstance();
+ } catch (ClassNotFoundException cnfe) {
+ catalog.getCatalogManager().debug.message(1, "Cannot load XML Catalog Parser class", domParserClass);
+ throw new CatalogException(CatalogException.UNPARSEABLE);
+--- ./jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/SAXCatalogReader.java Tue Oct 08 09:06:57 2013 -0700
++++ ./jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/SAXCatalogReader.java Thu Dec 19 09:01:08 2013 -0800
+@@ -23,19 +23,21 @@
+
+ package com.sun.org.apache.xml.internal.resolver.readers;
+
+-import java.util.Hashtable;
++import com.sun.org.apache.xml.internal.resolver.Catalog;
++import com.sun.org.apache.xml.internal.resolver.CatalogException;
++import com.sun.org.apache.xml.internal.resolver.CatalogManager;
++import com.sun.org.apache.xml.internal.resolver.helpers.Debug;
++import java.io.FileNotFoundException;
+ import java.io.IOException;
+-import java.io.FileNotFoundException;
+ import java.io.InputStream;
++import java.net.MalformedURLException;
+ import java.net.URL;
+ import java.net.URLConnection;
+-import java.net.MalformedURLException;
+ import java.net.UnknownHostException;
+-
++import java.util.Hashtable;
+ import javax.xml.parsers.ParserConfigurationException;
++import javax.xml.parsers.SAXParser;
+ import javax.xml.parsers.SAXParserFactory;
+-import javax.xml.parsers.SAXParser;
+-
+ import org.xml.sax.AttributeList;
+ import org.xml.sax.Attributes;
+ import org.xml.sax.ContentHandler;
+@@ -45,12 +47,7 @@
+ import org.xml.sax.Locator;
+ import org.xml.sax.Parser;
+ import org.xml.sax.SAXException;
+-
+-import com.sun.org.apache.xml.internal.resolver.Catalog;
+-import com.sun.org.apache.xml.internal.resolver.CatalogManager;
+-import com.sun.org.apache.xml.internal.resolver.CatalogException;
+-import com.sun.org.apache.xml.internal.resolver.readers.CatalogReader;
+-import com.sun.org.apache.xml.internal.resolver.helpers.Debug;
++import sun.reflect.misc.ReflectUtil;
+
+ /**
+ * A SAX-based CatalogReader.
+@@ -246,7 +243,7 @@
+ }
+ parser.parse(new InputSource(is), spHandler);
+ } else {
+- Parser parser = (Parser) Class.forName(parserClass).newInstance();
++ Parser parser = (Parser) ReflectUtil.forName(parserClass).newInstance();
+ parser.setDocumentHandler(this);
+ if (bResolver != null) {
+ parser.setEntityResolver(bResolver);
+@@ -352,7 +349,7 @@
+
+ try {
+ saxParser = (SAXCatalogParser)
+- Class.forName(saxParserClass).newInstance();
++ ReflectUtil.forName(saxParserClass).newInstance();
+
+ saxParser.setCatalog(catalog);
+ saxParser.startDocument();
+@@ -413,7 +410,7 @@
+
+ try {
+ saxParser = (SAXCatalogParser)
+- Class.forName(saxParserClass).newInstance();
++ ReflectUtil.forName(saxParserClass).newInstance();
+
+ saxParser.setCatalog(catalog);
+ saxParser.startDocument();
+--- ./jaxws/.hgtags Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/.hgtags Thu Dec 19 09:01:10 2013 -0800
+@@ -359,6 +359,8 @@
+ 89f6c9663d75d9e4b672aed16f885b84232e9c93 jdk7u40-b42
+ 3ee85b3793de16855e20272336a3565af8477b6b jdk7u40-b43
+ cbeef786ce489096c39ec5effee4f8f9e770b4af jdk7u40-b60
++4ee34d2cf2d84d0e1f5f20381ade525665ae424c jdk7u40-b61
++b42a4cb742cf76f6c02d105349a7e8111ab8d68b jdk7u40-b62
+ 000becfcb945d8592cfdef6ef1704b532af56762 jdk7u45-b01
+ 817632baca26f7566e36c7708455494c15113d88 jdk7u45-b02
+ f65baba9400aec6cb29bc06b3139623bb4663225 jdk7u45-b03
+@@ -377,3 +379,19 @@
+ 5524cced32d3959d95ed414add230273bc10c38d jdk7u45-b16
+ a8baf22b5972e269a97f7b3b7eec2ad63a8c5aed jdk7u45-b17
+ 65b0f3ccdc8bcff0d79e1b543a8cefb817529b3f jdk7u45-b18
++c32c6a662d18d7195fc02125178c7543ce09bb00 jdk7u45-b30
++6802a1c098c48b2c8336e06f1565254759025bab jdk7u45-b31
++5524cced32d3959d95ed414add230273bc10c38d jdk7u51-b00
++db9e3328f393313e52cbf3fee5236aa2429028d0 jdk7u51-b01
++92a4787cb3617005a329fb49247c550e8d7eb47a jdk7u51-b02
++2240523feb968d7921e22f6730c299246a4125d0 jdk7u51-b03
++c4f7cc35e47a4db7f380d62127dd2b49713f5552 jdk7u51-b04
++f8f0617c0310b638855add08df58c5b9cd7e2dcb jdk7u51-b05
++49fc29e8890c52e771beb3fd9bf3cbb9ecbf5f5e jdk7u51-b06
++da128632f015df99d0f6a53547484dbe44f722fb jdk7u51-b07
++71a314d55844bd6fe18aed56ce065b8df5c5cb82 jdk7u51-b08
++3b53d5ea0aec473b637cd0e49f227304bac848a7 jdk7u51-b09
++53a566a724e59f31bbd25a6a21f0f36adb36e82b jdk7u51-b10
++708507f4795cad1f0cf7e19ff2dc16fe9d441754 jdk7u51-b11
++7c7c2ea4b6808d0abf7fd48d11440d75b0c08d3a jdk7u51-b12
++81a1b110f70c37d2c2f0de7c0ef3bd2d04aba475 jdk7u51-b13
+--- ./jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/APTNavigator.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/APTNavigator.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -71,8 +71,7 @@
+ *
+ * @author Kohsuke Kawaguchi (kk@kohsuke.org)
+ */
+-public class APTNavigator implements Navigator<TypeMirror,TypeDeclaration,FieldDeclaration,MethodDeclaration> {
+-
++public final class APTNavigator implements Navigator<TypeMirror,TypeDeclaration,FieldDeclaration,MethodDeclaration> {
+ private final AnnotationProcessorEnvironment env;
+
+ private final PrimitiveType primitiveByte;
+@@ -277,8 +276,9 @@
+ return clazz.getPackage().getQualifiedName();
+ }
+
+- public TypeDeclaration findClass(String className, TypeDeclaration referencePoint) {
+- return env.getTypeDeclaration(className);
++ @Override
++ public TypeDeclaration loadObjectFactory(TypeDeclaration referencePoint, String packageName) {
++ return env.getTypeDeclaration(packageName + ".ObjectFactory");
+ }
+
+ public boolean isBridgeMethod(MethodDeclaration method) {
+--- ./jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/EagerNType.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/EagerNType.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -30,7 +30,6 @@
+ import com.sun.codemodel.internal.JType;
+ import com.sun.tools.internal.xjc.outline.Aspect;
+ import com.sun.tools.internal.xjc.outline.Outline;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+
+ /**
+ * @author Kohsuke Kawaguchi
+@@ -69,6 +68,6 @@
+ }
+
+ public String fullName() {
+- return Navigator.REFLECTION.getTypeName(t);
++ return Utils.REFLECTION_NAVIGATOR.getTypeName(t);
+ }
+ }
+--- ./jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/NavigatorImpl.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/NavigatorImpl.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -56,7 +56,7 @@
+ EagerNType ent = (EagerNType) nt;
+ if (base instanceof EagerNClass) {
+ EagerNClass enc = (EagerNClass) base;
+- return create(REFLECTION.getBaseClass(ent.t, enc.c));
++ return create(Utils.REFLECTION_NAVIGATOR.getBaseClass(ent.t, enc.c));
+ }
+ // lazy class can never be a base type of an eager type
+ return null;
+@@ -176,7 +176,7 @@
+ public NType getTypeArgument(NType nt, int i) {
+ if (nt instanceof EagerNType) {
+ EagerNType ent = (EagerNType) nt;
+- return create(REFLECTION.getTypeArgument(ent.t,i));
++ return create(Utils.REFLECTION_NAVIGATOR.getTypeArgument(ent.t,i));
+ }
+ if (nt instanceof NClassByJClass) {
+ NClassByJClass nnt = (NClassByJClass) nt;
+@@ -189,7 +189,7 @@
+ public boolean isParameterizedType(NType nt) {
+ if (nt instanceof EagerNType) {
+ EagerNType ent = (EagerNType) nt;
+- return REFLECTION.isParameterizedType(ent.t);
++ return Utils.REFLECTION_NAVIGATOR.isParameterizedType(ent.t);
+ }
+ if (nt instanceof NClassByJClass) {
+ NClassByJClass nnt = (NClassByJClass) nt;
+@@ -303,8 +303,8 @@
+ throw new UnsupportedOperationException();
+ }
+
+- public NClass findClass(String className, NClass referencePoint) {
+- // TODO: implement this method later
++ @Override
++ public NClass loadObjectFactory(NClass referencePoint, String pkg) {
+ throw new UnsupportedOperationException();
+ }
+
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/Utils.java Thu Dec 19 09:01:10 2013 -0800
+@@ -0,0 +1,85 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package com.sun.tools.internal.xjc.model.nav;
++
++import com.sun.xml.internal.bind.v2.model.nav.Navigator;
++
++import java.lang.reflect.Field;
++import java.lang.reflect.InvocationTargetException;
++import java.lang.reflect.Method;
++import java.lang.reflect.Type;
++import java.util.logging.Level;
++import java.util.logging.Logger;
++
++/**
++ * Utils class.
++ *
++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages.
++ *
++ * Has *package private* access to avoid inappropriate usage.
++ */
++/* package */ final class Utils {
++
++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName());
++
++ /**
++ * static ReflectionNavigator field to avoid usage of reflection every time we use it.
++ */
++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR;
++
++ static { // we statically initializing REFLECTION_NAVIGATOR property
++ Class refNav = null;
++ try {
++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator");
++ //noinspection unchecked
++ Method getInstance = refNav.getDeclaredMethod("getInstance");
++ getInstance.setAccessible(true);
++ //noinspection unchecked
++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null);
++ } catch (ClassNotFoundException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("Can't find ReflectionNavigator class");
++ } catch (InvocationTargetException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception");
++ } catch (NoSuchMethodException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found");
++ } catch (IllegalAccessException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible");
++ } catch (SecurityException e) {
++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e);
++ throw e;
++ }
++ }
++
++ /**
++ * private constructor to avoid util class instantiating
++ */
++ private Utils() {
++ }
++}
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/JAXBRIContext.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/JAXBRIContext.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -45,7 +45,6 @@
+ import com.sun.xml.internal.bind.api.impl.NameConverter;
+ import com.sun.xml.internal.bind.v2.ContextFactory;
+ import com.sun.xml.internal.bind.v2.model.annotation.RuntimeAnnotationReader;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeTypeInfoSet;
+
+ /**
+@@ -404,7 +403,7 @@
+ * @since 2.0 FCS
+ */
+ public static @Nullable Type getBaseType(@NotNull Type type, @NotNull Class baseType) {
+- return Navigator.REFLECTION.getBaseClass(type,baseType);
++ return Utils.REFLECTION_NAVIGATOR.getBaseClass(type, baseType);
+ }
+
+
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/TypeReference.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/TypeReference.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -31,8 +31,6 @@
+
+ import javax.xml.namespace.QName;
+
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+-
+ /**
+ * A reference to a JAXB-bound type.
+ *
+@@ -104,11 +102,10 @@
+ // if we are to reinstitute this check, check JAXB annotations only
+ // assert annotations.length==0; // not designed to work with adapters.
+
+- Type base = Navigator.REFLECTION.getBaseClass(type, Collection.class);
++ Type base = Utils.REFLECTION_NAVIGATOR.getBaseClass(type, Collection.class);
+ if(base==null)
+ return this; // not a collection
+
+- return new TypeReference(tagName,
+- Navigator.REFLECTION.getTypeArgument(base,0));
++ return new TypeReference(tagName, Utils.REFLECTION_NAVIGATOR.getTypeArgument(base,0));
+ }
+ }
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/Utils.java Thu Dec 19 09:01:10 2013 -0800
+@@ -0,0 +1,85 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package com.sun.xml.internal.bind.api;
++
++import com.sun.xml.internal.bind.v2.model.nav.Navigator;
++
++import java.lang.reflect.Field;
++import java.lang.reflect.InvocationTargetException;
++import java.lang.reflect.Method;
++import java.lang.reflect.Type;
++import java.util.logging.Level;
++import java.util.logging.Logger;
++
++/**
++ * Utils class.
++ *
++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages.
++ *
++ * Has *package private* access to avoid inappropriate usage.
++ */
++/* package */ final class Utils {
++
++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName());
++
++ /**
++ * static ReflectionNavigator field to avoid usage of reflection every time we use it.
++ */
++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR;
++
++ static { // we statically initializing REFLECTION_NAVIGATOR property
++ Class refNav = null;
++ try {
++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator");
++ //noinspection unchecked
++ Method getInstance = refNav.getDeclaredMethod("getInstance");
++ getInstance.setAccessible(true);
++ //noinspection unchecked
++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null);
++ } catch (ClassNotFoundException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("Can't find ReflectionNavigator class");
++ } catch (InvocationTargetException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception");
++ } catch (NoSuchMethodException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found");
++ } catch (IllegalAccessException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible");
++ } catch (SecurityException e) {
++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e);
++ throw e;
++ }
++ }
++
++ /**
++ * private constructor to avoid util class instantiating
++ */
++ private Utils() {
++ }
++}
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.java Thu Dec 19 09:01:10 2013 -0800
+@@ -235,7 +235,7 @@
+ String pkg = nav.getPackageName(ci.getClazz());
+ if(!registries.containsKey(pkg)) {
+ // insert the package's object factory
+- C c = loadObjectFactory(ci, pkg);
++ C c = nav.loadObjectFactory(clazz, pkg);
+ if(c!=null)
+ addRegistry(c,(Locatable)p);
+ }
+@@ -264,15 +264,6 @@
+ return r;
+ }
+
+- private C loadObjectFactory(ClassInfoImpl<T, C, F, M> ci, String pkg) {
+- try {
+- return nav.findClass(pkg + ".ObjectFactory", ci.getClazz());
+- } catch (SecurityException ignored) {
+- // treat SecurityException in same way as ClassNotFoundException in this case
+- return null;
+- }
+- }
+-
+ /**
+ * Checks the uniqueness of the type name.
+ */
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeAnyTypeImpl.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeAnyTypeImpl.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -27,7 +27,6 @@
+
+ import java.lang.reflect.Type;
+
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElement;
+ import com.sun.xml.internal.bind.v2.runtime.Transducer;
+
+@@ -36,7 +35,7 @@
+ */
+ final class RuntimeAnyTypeImpl extends AnyTypeImpl<Type,Class> implements RuntimeNonElement {
+ private RuntimeAnyTypeImpl() {
+- super(Navigator.REFLECTION);
++ super(Utils.REFLECTION_NAVIGATOR);
+ }
+
+ public <V> Transducer<V> getTransducer() {
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeElementInfoImpl.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeElementInfoImpl.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -42,7 +42,6 @@
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElement;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeTypeRef;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationException;
+ import com.sun.xml.internal.bind.v2.runtime.Transducer;
+ import com.sun.xml.internal.bind.v2.runtime.reflect.Accessor;
+@@ -122,7 +121,7 @@
+ }
+
+ public Class<? extends JAXBElement> getType() {
+- return Navigator.REFLECTION.erasure(super.getType());
++ return (Class<? extends JAXBElement>) Utils.REFLECTION_NAVIGATOR.erasure(super.getType());
+ }
+
+ public RuntimeClassInfo getScope() {
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeModelBuilder.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeModelBuilder.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -37,8 +37,6 @@
+ import com.sun.xml.internal.bind.v2.model.annotation.Locatable;
+ import com.sun.xml.internal.bind.v2.model.annotation.RuntimeAnnotationReader;
+ import com.sun.xml.internal.bind.v2.model.core.ID;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElement;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElementRef;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo;
+@@ -75,7 +73,7 @@
+ public final @Nullable JAXBContextImpl context;
+
+ public RuntimeModelBuilder(JAXBContextImpl context, RuntimeAnnotationReader annotationReader, Map<Class, Class> subclassReplacements, String defaultNamespaceRemap) {
+- super(annotationReader, Navigator.REFLECTION, subclassReplacements, defaultNamespaceRemap);
++ super(annotationReader, Utils.REFLECTION_NAVIGATOR, subclassReplacements, defaultNamespaceRemap);
+ this.context = context;
+ }
+
+@@ -109,10 +107,6 @@
+ return new RuntimeArrayInfoImpl(this, upstream, (Class)arrayType);
+ }
+
+- public ReflectionNavigator getNavigator() {
+- return (ReflectionNavigator)nav;
+- }
+-
+ @Override
+ protected RuntimeTypeInfoSetImpl createTypeInfoSet() {
+ return new RuntimeTypeInfoSetImpl(reader);
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeTypeInfoSetImpl.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeTypeInfoSetImpl.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -34,9 +34,6 @@
+
+ import com.sun.xml.internal.bind.v2.model.annotation.AnnotationReader;
+ import com.sun.xml.internal.bind.v2.model.core.TypeInfoSet;
+-import com.sun.xml.internal.bind.v2.model.core.NonElement;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElement;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeTypeInfoSet;
+
+@@ -47,7 +44,7 @@
+ */
+ final class RuntimeTypeInfoSetImpl extends TypeInfoSetImpl<Type,Class,Field,Method> implements RuntimeTypeInfoSet {
+ public RuntimeTypeInfoSetImpl(AnnotationReader<Type,Class,Field,Method> reader) {
+- super(Navigator.REFLECTION,reader,RuntimeBuiltinLeafInfoImpl.LEAVES);
++ super(Utils.REFLECTION_NAVIGATOR,reader,RuntimeBuiltinLeafInfoImpl.LEAVES);
+ }
+
+ @Override
+@@ -55,10 +52,6 @@
+ return RuntimeAnyTypeImpl.theInstance;
+ }
+
+- public ReflectionNavigator getNavigator() {
+- return (ReflectionNavigator)super.getNavigator();
+- }
+-
+ public RuntimeNonElement getTypeInfo( Type type ) {
+ return (RuntimeNonElement)super.getTypeInfo(type);
+ }
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Utils.java Thu Dec 19 09:01:10 2013 -0800
+@@ -0,0 +1,85 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package com.sun.xml.internal.bind.v2.model.impl;
++
++import com.sun.xml.internal.bind.v2.model.nav.Navigator;
++
++import java.lang.reflect.Field;
++import java.lang.reflect.InvocationTargetException;
++import java.lang.reflect.Method;
++import java.lang.reflect.Type;
++import java.util.logging.Level;
++import java.util.logging.Logger;
++
++/**
++ * Utils class.
++ *
++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages.
++ *
++ * Has *package private* access to avoid inappropriate usage.
++ */
++/* package */ final class Utils {
++
++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName());
++
++ /**
++ * static ReflectionNavigator field to avoid usage of reflection every time we use it.
++ */
++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR;
++
++ static { // we statically initializing REFLECTION_NAVIGATOR property
++ Class refNav = null;
++ try {
++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator");
++ //noinspection unchecked
++ Method getInstance = refNav.getDeclaredMethod("getInstance");
++ getInstance.setAccessible(true);
++ //noinspection unchecked
++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null);
++ } catch (ClassNotFoundException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("Can't find ReflectionNavigator class");
++ } catch (InvocationTargetException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception");
++ } catch (NoSuchMethodException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found");
++ } catch (IllegalAccessException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible");
++ } catch (SecurityException e) {
++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e);
++ throw e;
++ }
++ }
++
++ /**
++ * private constructor to avoid util class instantiating
++ */
++ private Utils() {
++ }
++}
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/Navigator.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/Navigator.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -240,10 +240,6 @@
+ */
+ T getComponentType(T t);
+
+-
+- /** The singleton instance. */
+- public static final ReflectionNavigator REFLECTION = new ReflectionNavigator();
+-
+ /**
+ * Gets the i-th type argument from a parameterized type.
+ *
+@@ -357,14 +353,14 @@
+ String getPackageName(C clazz);
+
+ /**
+- * Finds the class/interface/enum/annotation of the given name.
++ * Finds ObjectFactory for the given referencePoint.
+ *
+ * @param referencePoint
+ * The class that refers to the specified class.
+ * @return
+ * null if not found.
+ */
+- C findClass(String className, C referencePoint);
++ C loadObjectFactory(C referencePoint, String packageName);
+
+ /**
+ * Returns true if this method is a bridge method as defined in JLS.
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -44,16 +44,19 @@
+ * {@link Navigator} implementation for {@code java.lang.reflect}.
+ *
+ */
+-public final class ReflectionNavigator implements Navigator<Type, Class, Field, Method> {
++/*package*/final class ReflectionNavigator implements Navigator<Type, Class, Field, Method> {
+
+- /**
+- * Singleton.
+- *
+- * Use {@link Navigator#REFLECTION}
+- */
+- ReflectionNavigator() {
++// ---------- Singleton -----------------
++ private static final ReflectionNavigator INSTANCE = new ReflectionNavigator();
++
++ /*package*/static ReflectionNavigator getInstance() { // accessible through reflection from Utils classes
++ return INSTANCE;
+ }
+
++ private ReflectionNavigator() {
++ }
++// ---------------------------------------
++
+ public Class getSuperClass(Class clazz) {
+ if (clazz == Object.class) {
+ return null;
+@@ -64,6 +67,7 @@
+ }
+ return sc;
+ }
++
+ private static final TypeVisitor<Type, Class> baseClassFinder = new TypeVisitor<Type, Class>() {
+
+ public Type onClass(Class c, Class sup) {
+@@ -496,7 +500,7 @@
+ c.getDeclaredConstructor();
+ return true;
+ } catch (NoSuchMethodException e) {
+- return false;
++ return false; // todo: do this WITHOUT exception throw
+ }
+ }
+
+@@ -544,13 +548,15 @@
+ }
+ }
+
+- public Class findClass(String className, Class referencePoint) {
++ @Override
++ public Class loadObjectFactory(Class referencePoint, String pkg) {
++ String clName = pkg + ".ObjectFactory";
++ ClassLoader cl = referencePoint.getClassLoader();
++ if (cl == null)
++ cl = ClassLoader.getSystemClassLoader();
++
+ try {
+- ClassLoader cl = referencePoint.getClassLoader();
+- if (cl == null) {
+- cl = ClassLoader.getSystemClassLoader();
+- }
+- return cl.loadClass(className);
++ return cl.loadClass(clName);
+ } catch (ClassNotFoundException e) {
+ return null;
+ }
+@@ -569,7 +575,7 @@
+ // class Base<T> {
+ // T getX() { ... }
+ // }
+- // to be overrided. Handling this correctly needs a careful implementation
++ // to be overriden. Handling this correctly needs a careful implementation
+
+ String name = method.getName();
+ Class[] params = method.getParameterTypes();
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/runtime/RuntimeTypeInfoSet.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/runtime/RuntimeTypeInfoSet.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -33,8 +33,6 @@
+ import javax.xml.namespace.QName;
+
+ import com.sun.xml.internal.bind.v2.model.core.TypeInfoSet;
+-import com.sun.xml.internal.bind.v2.model.core.NonElement;
+-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator;
+
+ /**
+ * {@link TypeInfoSet} refined for runtime.
+@@ -52,5 +50,4 @@
+ RuntimeElementInfo getElementInfo( Class scope, QName name );
+ Map<QName,? extends RuntimeElementInfo> getElementMappings( Class scope );
+ Iterable<? extends RuntimeElementInfo> getAllElements();
+- ReflectionNavigator getNavigator();
+ }
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/ElementBeanInfoImpl.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/ElementBeanInfoImpl.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -36,7 +36,6 @@
+
+ import com.sun.xml.internal.bind.api.AccessorException;
+ import com.sun.xml.internal.bind.v2.model.core.PropertyKind;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeElementInfo;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo;
+ import com.sun.xml.internal.bind.v2.runtime.property.Property;
+@@ -81,10 +80,10 @@
+ this.property = PropertyFactory.create(grammar,rei.getProperty());
+
+ tagName = rei.getElementName();
+- expectedType = Navigator.REFLECTION.erasure(rei.getContentInMemoryType());
++ expectedType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(rei.getContentInMemoryType());
+ scope = rei.getScope()==null ? JAXBElement.GlobalScope.class : rei.getScope().getClazz();
+
+- Class type = Navigator.REFLECTION.erasure(rei.getType());
++ Class type = (Class) Utils.REFLECTION_NAVIGATOR.erasure(rei.getType());
+ if(type==JAXBElement.class)
+ constructor = null;
+ else {
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -90,7 +90,6 @@
+ import com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl;
+ import com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder;
+ import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeArrayInfo;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeBuiltinLeafInfo;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeClassInfo;
+@@ -358,7 +357,7 @@
+ beanInfoMap.put( e.getKey(), beanInfoMap.get(e.getValue()) );
+
+ // build bridges
+- ReflectionNavigator nav = typeSet.getNavigator();
++ Navigator<Type, Class, Field, Method> nav = typeSet.getNavigator();
+
+ for (TypeReference tr : typeRefs) {
+ XmlJavaTypeAdapter xjta = tr.get(XmlJavaTypeAdapter.class);
+@@ -366,7 +365,7 @@
+ XmlList xl = tr.get(XmlList.class);
+
+ // eventually compute the in-memory type
+- Class erasedType = nav.erasure(tr.type);
++ Class erasedType = (Class) nav.erasure(tr.type);
+
+ if(xjta!=null) {
+ a = new Adapter<Type,Class>(xjta.value(),nav);
+@@ -377,7 +376,7 @@
+ }
+
+ if(a!=null) {
+- erasedType = nav.erasure(a.defaultType);
++ erasedType = (Class) nav.erasure(a.defaultType);
+ }
+
+ Name name = nameBuilder.createElementName(tr.tagName);
+@@ -873,7 +872,7 @@
+ // this is a special class we introduced for JAX-WS that we *don't* want in the schema
+ } else {
+ NonElement<Type,Class> typeInfo = getXmlType(tis,tr);
+- xsdgen.add(tr.tagName, !Navigator.REFLECTION.isPrimitive(tr.type),typeInfo);
++ xsdgen.add(tr.tagName, !tis.getNavigator().isPrimitive(tr.type),typeInfo);
+ }
+ }
+ return xsdgen;
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/Utils.java Thu Dec 19 09:01:10 2013 -0800
+@@ -0,0 +1,85 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package com.sun.xml.internal.bind.v2.runtime;
++
++import com.sun.xml.internal.bind.v2.model.nav.Navigator;
++
++import java.lang.reflect.Field;
++import java.lang.reflect.InvocationTargetException;
++import java.lang.reflect.Method;
++import java.lang.reflect.Type;
++import java.util.logging.Level;
++import java.util.logging.Logger;
++
++/**
++ * Utils class.
++ *
++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages.
++ *
++ * Has *package private* access to avoid inappropriate usage.
++ */
++/* package */ final class Utils {
++
++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName());
++
++ /**
++ * static ReflectionNavigator field to avoid usage of reflection every time we use it.
++ */
++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR;
++
++ static { // we statically initializing REFLECTION_NAVIGATOR property
++ Class refNav = null;
++ try {
++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator");
++ //noinspection unchecked
++ Method getInstance = refNav.getDeclaredMethod("getInstance");
++ getInstance.setAccessible(true);
++ //noinspection unchecked
++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null);
++ } catch (ClassNotFoundException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("Can't find ReflectionNavigator class");
++ } catch (InvocationTargetException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception");
++ } catch (NoSuchMethodException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found");
++ } catch (IllegalAccessException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible");
++ } catch (SecurityException e) {
++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e);
++ throw e;
++ }
++ }
++
++ /**
++ * private constructor to avoid util class instantiating
++ */
++ private Utils() {
++ }
++}
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/ArrayProperty.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/ArrayProperty.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -27,7 +27,6 @@
+
+
+ import com.sun.xml.internal.bind.api.AccessorException;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo;
+ import com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl;
+ import com.sun.xml.internal.bind.v2.runtime.reflect.Accessor;
+@@ -49,7 +48,7 @@
+
+ assert prop.isCollection();
+ lister = Lister.create(
+- Navigator.REFLECTION.erasure(prop.getRawType()),prop.id(),prop.getAdapter());
++ Utils.REFLECTION_NAVIGATOR.erasure(prop.getRawType()),prop.id(),prop.getAdapter());
+ assert lister!=null;
+ acc = prop.getAccessor().optimize(context);
+ assert acc!=null;
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/SingleMapNodeProperty.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/SingleMapNodeProperty.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -42,7 +42,6 @@
+ import com.sun.xml.internal.bind.v2.ClassFactory;
+ import com.sun.xml.internal.bind.v2.util.QNameMap;
+ import com.sun.xml.internal.bind.v2.model.core.PropertyKind;
+-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeMapPropertyInfo;
+ import com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl;
+ import com.sun.xml.internal.bind.v2.runtime.JaxBeanInfo;
+@@ -98,7 +97,8 @@
+ this.valueBeanInfo = context.getOrCreate(prop.getValueType());
+
+ // infer the implementation class
+- Class<ValueT> sig = ReflectionNavigator.REFLECTION.erasure(prop.getRawType());
++ //noinspection unchecked
++ Class<ValueT> sig = (Class<ValueT>) Utils.REFLECTION_NAVIGATOR.erasure(prop.getRawType());
+ mapImplClass = ClassFactory.inferImplClass(sig,knownImplClasses);
+ // TODO: error check for mapImplClass==null
+ // what is the error reporting path for this part of the code?
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/Utils.java Thu Dec 19 09:01:10 2013 -0800
+@@ -0,0 +1,85 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package com.sun.xml.internal.bind.v2.runtime.property;
++
++import com.sun.xml.internal.bind.v2.model.nav.Navigator;
++
++import java.lang.reflect.Field;
++import java.lang.reflect.InvocationTargetException;
++import java.lang.reflect.Method;
++import java.lang.reflect.Type;
++import java.util.logging.Level;
++import java.util.logging.Logger;
++
++/**
++ * Utils class.
++ *
++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages.
++ *
++ * Has *package private* access to avoid inappropriate usage.
++ */
++/* package */ final class Utils {
++
++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName());
++
++ /**
++ * static ReflectionNavigator field to avoid usage of reflection every time we use it.
++ */
++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR;
++
++ static { // we statically initializing REFLECTION_NAVIGATOR property
++ Class refNav = null;
++ try {
++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator");
++ //noinspection unchecked
++ Method getInstance = refNav.getDeclaredMethod("getInstance");
++ getInstance.setAccessible(true);
++ //noinspection unchecked
++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null);
++ } catch (ClassNotFoundException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("Can't find ReflectionNavigator class");
++ } catch (InvocationTargetException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception");
++ } catch (NoSuchMethodException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found");
++ } catch (IllegalAccessException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible");
++ } catch (SecurityException e) {
++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e);
++ throw e;
++ }
++ }
++
++ /**
++ * private constructor to avoid util class instantiating
++ */
++ private Utils() {
++ }
++}
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Accessor.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Accessor.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -48,7 +48,6 @@
+ import com.sun.xml.internal.bind.api.JAXBRIContext;
+ import com.sun.xml.internal.bind.v2.model.core.Adapter;
+ import com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl;
+ import com.sun.xml.internal.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory;
+ import com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader;
+@@ -193,7 +192,7 @@
+
+ public final <T> Accessor<BeanT, T> adapt(Adapter<Type, Class> adapter) {
+ return new AdaptedAccessor<BeanT, ValueT, T>(
+- (Class<T>) Navigator.REFLECTION.erasure(adapter.defaultType),
++ (Class<T>) Utils.REFLECTION_NAVIGATOR.erasure(adapter.defaultType),
+ this,
+ adapter.adapterType);
+ }
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Lister.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Lister.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -51,7 +51,6 @@
+ import com.sun.xml.internal.bind.v2.TODO;
+ import com.sun.xml.internal.bind.v2.model.core.Adapter;
+ import com.sun.xml.internal.bind.v2.model.core.ID;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.bind.v2.runtime.XMLSerializer;
+ import com.sun.xml.internal.bind.v2.runtime.unmarshaller.Patcher;
+ import com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext;
+@@ -116,7 +115,7 @@
+ public static <BeanT,PropT,ItemT,PackT>
+ Lister<BeanT,PropT,ItemT,PackT> create(Type fieldType,ID idness, Adapter<Type,Class> adapter) {
+
+- Class rawType = Navigator.REFLECTION.erasure(fieldType);
++ Class rawType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(fieldType);
+ Class itemType;
+
+ Lister l;
+@@ -125,9 +124,9 @@
+ l = getArrayLister(itemType);
+ } else
+ if( Collection.class.isAssignableFrom(rawType) ) {
+- Type bt = Navigator.REFLECTION.getBaseClass(fieldType,Collection.class);
++ Type bt = Utils.REFLECTION_NAVIGATOR.getBaseClass(fieldType,Collection.class);
+ if(bt instanceof ParameterizedType)
+- itemType = Navigator.REFLECTION.erasure(((ParameterizedType)bt).getActualTypeArguments()[0]);
++ itemType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)bt).getActualTypeArguments()[0]);
+ else
+ itemType = Object.class;
+ l = new CollectionLister(getImplClass(rawType));
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/TransducedAccessor.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/TransducedAccessor.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -39,7 +39,6 @@
+ import com.sun.xml.internal.bind.api.AccessorException;
+ import com.sun.xml.internal.bind.v2.model.core.ID;
+ import com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElementRef;
+ import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo;
+ import com.sun.xml.internal.bind.v2.runtime.Name;
+@@ -144,8 +143,7 @@
+
+ if(prop.isCollection()) {
+ return new ListTransducedAccessorImpl(xducer,prop.getAccessor(),
+- Lister.create(Navigator.REFLECTION.erasure(prop.getRawType()),prop.id(),
+- prop.getAdapter()));
++ Lister.create(Utils.REFLECTION_NAVIGATOR.erasure(prop.getRawType()), prop.id(), prop.getAdapter()));
+ }
+
+ if(prop.id()==ID.IDREF)
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Utils.java Thu Dec 19 09:01:10 2013 -0800
+@@ -0,0 +1,85 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package com.sun.xml.internal.bind.v2.runtime.reflect;
++
++import com.sun.xml.internal.bind.v2.model.nav.Navigator;
++
++import java.lang.reflect.Field;
++import java.lang.reflect.InvocationTargetException;
++import java.lang.reflect.Method;
++import java.lang.reflect.Type;
++import java.util.logging.Level;
++import java.util.logging.Logger;
++
++/**
++ * Utils class.
++ *
++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages.
++ *
++ * Has *package private* access to avoid inappropriate usage.
++ */
++/* package */ final class Utils {
++
++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName());
++
++ /**
++ * static ReflectionNavigator field to avoid usage of reflection every time we use it.
++ */
++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR;
++
++ static { // we statically initializing REFLECTION_NAVIGATOR property
++ Class refNav = null;
++ try {
++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator");
++ //noinspection unchecked
++ Method getInstance = refNav.getDeclaredMethod("getInstance");
++ getInstance.setAccessible(true);
++ //noinspection unchecked
++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null);
++ } catch (ClassNotFoundException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("Can't find ReflectionNavigator class");
++ } catch (InvocationTargetException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception");
++ } catch (NoSuchMethodException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found");
++ } catch (IllegalAccessException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible");
++ } catch (SecurityException e) {
++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e);
++ throw e;
++ }
++ }
++
++ /**
++ * private constructor to avoid util class instantiating
++ */
++ private Utils() {
++ }
++}
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAPFaultBuilder.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAPFaultBuilder.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -59,6 +59,12 @@
+ import java.lang.reflect.Constructor;
+ import java.lang.reflect.Field;
+ import java.lang.reflect.Method;
++import java.lang.reflect.ReflectPermission;
++import java.security.AccessControlContext;
++import java.security.AccessController;
++import java.security.Permissions;
++import java.security.PrivilegedAction;
++import java.security.ProtectionDomain;
+ import java.util.Iterator;
+ import java.util.Map;
+ import java.util.logging.Level;
+@@ -546,10 +552,40 @@
+ // ignore
+ }
+
+- try {
+- JAXB_CONTEXT = (JAXBRIContext)JAXBContext.newInstance(SOAP11Fault.class, SOAP12Fault.class);
+- } catch (JAXBException e) {
+- throw new Error(e); // this must be a bug in our code
++ JAXB_CONTEXT = createJAXBContext();
++ }
++
++ private static JAXBRIContext createJAXBContext() {
++
++ // in jdk runtime doPrivileged is necessary since JAX-WS internal classes are in restricted packages
++ if (isJDKRuntime()) {
++ Permissions permissions = new Permissions();
++ permissions.add(new RuntimePermission("accessClassInPackage.com.sun." + "xml.internal.ws.fault"));
++ permissions.add(new ReflectPermission("suppressAccessChecks"));
++ return AccessController.doPrivileged(
++ new PrivilegedAction<JAXBRIContext>() {
++ @Override
++ public JAXBRIContext run() {
++ try {
++ return (JAXBRIContext) JAXBContext.newInstance(SOAP11Fault.class, SOAP12Fault.class);
++ } catch (JAXBException e) {
++ throw new Error(e);
++ }
++ }
++ },
++ new AccessControlContext(new ProtectionDomain[]{new ProtectionDomain(null, permissions)})
++ );
++
++ } else {
++ try {
++ return (JAXBRIContext) JAXBContext.newInstance(SOAP11Fault.class, SOAP12Fault.class);
++ } catch (JAXBException e) {
++ throw new Error(e);
++ }
+ }
+ }
++
++ private static boolean isJDKRuntime() {
++ return SOAPFaultBuilder.class.getName().contains("internal");
++ }
+ }
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModeler.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModeler.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -28,7 +28,6 @@
+ import com.sun.istack.internal.NotNull;
+ import com.sun.xml.internal.bind.api.CompositeStructure;
+ import com.sun.xml.internal.bind.api.TypeReference;
+-import com.sun.xml.internal.bind.v2.model.nav.Navigator;
+ import com.sun.xml.internal.ws.api.BindingID;
+ import com.sun.xml.internal.ws.api.SOAPVersion;
+ import com.sun.xml.internal.ws.api.model.ExceptionType;
+@@ -735,7 +734,7 @@
+ //set the actual type argument of Holder in the TypeReference
+ if (isHolder) {
+ if(clazzType==Holder.class){
+- clazzType = Navigator.REFLECTION.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]);
++ clazzType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]);
+ }
+ }
+ Mode paramMode = isHolder ? Mode.INOUT : Mode.IN;
+@@ -932,7 +931,7 @@
+ //set the actual type argument of Holder in the TypeReference
+ if (isHolder) {
+ if (clazzType==Holder.class)
+- clazzType = Navigator.REFLECTION.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]);
++ clazzType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]);
+ }
+ Mode paramMode = isHolder ? Mode.INOUT : Mode.IN;
+ for (Annotation annotation : pannotations[pos]) {
+@@ -1172,7 +1171,7 @@
+ //set the actual type argument of Holder in the TypeReference
+ if (isHolder) {
+ if (clazzType==Holder.class)
+- clazzType = Navigator.REFLECTION.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]);
++ clazzType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]);
+ }
+
+ Mode paramMode = isHolder ? Mode.INOUT : Mode.IN;
+@@ -1258,14 +1257,14 @@
+ private Class getAsyncReturnType(Method method, Class returnType) {
+ if(Response.class.isAssignableFrom(returnType)){
+ Type ret = method.getGenericReturnType();
+- return Navigator.REFLECTION.erasure(((ParameterizedType)ret).getActualTypeArguments()[0]);
++ return (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)ret).getActualTypeArguments()[0]);
+ }else{
+ Type[] types = method.getGenericParameterTypes();
+ Class[] params = method.getParameterTypes();
+ int i = 0;
+ for(Class cls : params){
+ if(AsyncHandler.class.isAssignableFrom(cls)){
+- return Navigator.REFLECTION.erasure(((ParameterizedType)types[i]).getActualTypeArguments()[0]);
++ return (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)types[i]).getActualTypeArguments()[0]);
+ }
+ i++;
+ }
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Utils.java Thu Dec 19 09:01:10 2013 -0800
+@@ -0,0 +1,85 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package com.sun.xml.internal.ws.model;
++
++import com.sun.xml.internal.bind.v2.model.nav.Navigator;
++
++import java.lang.reflect.Field;
++import java.lang.reflect.InvocationTargetException;
++import java.lang.reflect.Method;
++import java.lang.reflect.Type;
++import java.util.logging.Level;
++import java.util.logging.Logger;
++
++/**
++ * Utils class.
++ *
++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages.
++ *
++ * Has *package private* access to avoid inappropriate usage.
++ */
++/* package */ final class Utils {
++
++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName());
++
++ /**
++ * static ReflectionNavigator field to avoid usage of reflection every time we use it.
++ */
++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR;
++
++ static { // we statically initializing REFLECTION_NAVIGATOR property
++ Class refNav = null;
++ try {
++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator");
++ //noinspection unchecked
++ Method getInstance = refNav.getDeclaredMethod("getInstance");
++ getInstance.setAccessible(true);
++ //noinspection unchecked
++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null);
++ } catch (ClassNotFoundException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("Can't find ReflectionNavigator class");
++ } catch (InvocationTargetException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception");
++ } catch (NoSuchMethodException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found");
++ } catch (IllegalAccessException e) {
++ e.printStackTrace();
++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible");
++ } catch (SecurityException e) {
++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e);
++ throw e;
++ }
++ }
++
++ /**
++ * private constructor to avoid util class instantiating
++ */
++ private Utils() {
++ }
++}
+--- ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperBeanGenerator.java Tue Oct 08 09:06:59 2013 -0700
++++ ./jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperBeanGenerator.java Thu Dec 19 09:01:10 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -61,7 +61,7 @@
+
+ private static final AbstractWrapperBeanGenerator RUNTIME_GENERATOR =
+ new RuntimeWrapperBeanGenerator(new RuntimeInlineAnnotationReader(),
+- Navigator.REFLECTION, FIELD_FACTORY);
++ Utils.REFLECTION_NAVIGATOR, FIELD_FACTORY);
+
+ private static final class RuntimeWrapperBeanGenerator extends AbstractWrapperBeanGenerator<java.lang.reflect.Type, Class, java.lang.reflect.Method, Field> {
+
+--- ./jdk/.hgtags Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/.hgtags Thu Dec 19 09:01:16 2013 -0800
+@@ -342,6 +342,8 @@
+ b479996d5c924128c3490165b592bf66a3034932 jdk7u40-b42
+ fb25cdef17e9610db5cb89fc35c0c4abef5ad781 jdk7u40-b43
+ ed444a09a5fd32237deaef6e43804e20ba4f6352 jdk7u40-b60
++e045f6a3ad1d9f7b8982418addb3803ab63458f2 jdk7u40-b61
++26cc60a250a0d333b1d5d7a9acb233ad62b2fb0b jdk7u40-b62
+ 55f01444cf58c8004df9a9634c1bd7ff87caa370 jdk7u25-b32
+ b06abd965701459a868e88af9a3e564c0301971c jdk7u45-b01
+ d23a877da2d5dad6520a268c83f183295a9e7299 jdk7u45-b02
+@@ -361,3 +363,19 @@
+ 3c9a6d9eafd31be44b0ade0354e60f5078b417a4 jdk7u45-b16
+ 3a65c1b0c6d15fb24298bcd133d7ab4baa741ae2 jdk7u45-b17
+ c5ca4daec23b5e7f99ac8d684f5016ff8bfebbb0 jdk7u45-b18
++4797f984f6c93c433aa797e9b2d8f904cf083f96 jdk7u45-b30
++8c343a783777b8728cb819938f387db0acf7f3ac jdk7u45-b31
++3c9a6d9eafd31be44b0ade0354e60f5078b417a4 jdk7u51-b00
++d76613074ff357d0664b97b4aaf99fbb65dcec47 jdk7u51-b01
++fb057871f094ebe4906ad6856326768b01a62c45 jdk7u51-b02
++6b3c195c73b051ee3c4a0ac44f050011414ab08b jdk7u51-b03
++96431826ae3a927008c56aeefa1397a33bda3e70 jdk7u51-b04
++8ee582bb96a6b79311d55a7170f42844af77a269 jdk7u51-b05
++594ae80153afaeced6acedff5d37f889a9821690 jdk7u51-b06
++7b84e6514c297861d85ed9457b2260805311d9e8 jdk7u51-b07
++40fca6b57cd81114d4aace3d0469e20274f015c3 jdk7u51-b08
++33ae35eeb5a4c04a4d05351ff68d4021e4cad752 jdk7u51-b09
++4a6e31d94b29c7115235824a6e317289819bb00f jdk7u51-b10
++f0425ecbbb0ca9d8c87c250c19e8f9524b38833d jdk7u51-b11
++f5eee4f1d5b4a1e19febc9c26c863ae853ed6d2e jdk7u51-b12
++d19a89fdfb9b959b8638441d9d396685d6c7ab7b jdk7u51-b13
+--- ./jdk/make/common/Release.gmk Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/common/Release.gmk Thu Dec 19 09:01:16 2013 -0800
+@@ -852,10 +852,6 @@
+ $(BOOT_JAVA_CMD) -jar $(BUILDMETAINDEX_JARFILE) \
+ -o meta-index *.jar
+ @$(CD) $(JRE_IMAGE_DIR)/lib/ext && $(java-vm-cleanup)
+-ifeq ($(PLATFORM), macosx)
+- @#install jobjc, apple mac only
+- $(CP) $(OUTPUTDIR)/JObjC.build/JObjC.jar $(JRE_IMAGE_DIR)/lib/JObjC.jar
+-endif # macosx
+ ifeq ($(PLATFORM), windows)
+ @# Remove certain *.lib files
+ $(CD) $(JRE_IMAGE_DIR)/lib && \
+--- ./jdk/make/java/Makefile Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/java/Makefile Thu Dec 19 09:01:16 2013 -0800
+@@ -57,10 +57,6 @@
+ SUBDIRS += jexec
+ endif # PLATFORM
+
+-ifeq ($(PLATFORM), macosx)
+- SUBDIRS += jobjc
+-endif # PLATFORM
+-
+ include $(BUILDDIR)/common/Subdirs.gmk
+
+ all build clean clobber::
+--- ./jdk/make/java/net/FILES_c.gmk Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/java/net/FILES_c.gmk Thu Dec 19 09:01:16 2013 -0800
+@@ -24,20 +24,21 @@
+ #
+
+ FILES_c = \
+- DatagramPacket.c \
+- InetAddress.c \
+- Inet4Address.c \
+- Inet6Address.c \
+- NetworkInterface.c \
+- InetAddressImplFactory.c \
+- Inet4AddressImpl.c \
+- Inet6AddressImpl.c \
+- SocketInputStream.c \
+- SocketOutputStream.c \
+- net_util.c \
+- net_util_md.c \
+- ResolverConfigurationImpl.c \
+- DefaultProxySelector.c
++ DatagramPacket.c \
++ InetAddress.c \
++ Inet4Address.c \
++ Inet6Address.c \
++ NetworkInterface.c \
++ InetAddressImplFactory.c \
++ Inet4AddressImpl.c \
++ Inet6AddressImpl.c \
++ SocketInputStream.c \
++ SocketOutputStream.c \
++ net_util.c \
++ net_util_md.c \
++ portconfig.c \
++ ResolverConfigurationImpl.c \
++ DefaultProxySelector.c
+
+ ifeq ($(PLATFORM), linux)
+ FILES_c += linux_close.c
+--- ./jdk/make/java/net/Makefile Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/java/net/Makefile Thu Dec 19 09:01:16 2013 -0800
+@@ -83,7 +83,8 @@
+ # Find platform specific native code
+ #
+ vpath %.c $(PLATFORM_SRC)/native/sun/net/dns $(PLATFORM_SRC)/native/sun/net/www/protocol/http/ntlm \
+- $(PLATFORM_SRC)/native/sun/net/sdp $(PLATFORM_SRC)/native/sun/net/spi
++ $(PLATFORM_SRC)/native/sun/net/sdp $(PLATFORM_SRC)/native/sun/net/spi \
++ $(PLATFORM_SRC)/native/sun/net
+
+ #
+ # Include rules
+--- ./jdk/make/java/net/mapfile-vers Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/java/net/mapfile-vers Thu Dec 19 09:01:16 2013 -0800
+@@ -26,84 +26,86 @@
+ # Define public interface.
+
+ SUNWprivate_1.1 {
+- global:
+- JNI_OnLoad;
+- Java_java_net_PlainSocketImpl_socketListen;
+- Java_java_net_PlainDatagramSocketImpl_getTTL;
+- Java_java_net_PlainDatagramSocketImpl_init;
+- Java_java_net_SocketOutputStream_socketWrite0;
+- Java_java_net_PlainSocketImpl_socketCreate;
+- Java_java_net_PlainSocketImpl_socketAvailable;
+- Java_java_net_PlainDatagramSocketImpl_join;
+- Java_java_net_PlainDatagramSocketImpl_socketGetOption;
+- Java_java_net_InetAddress_init;
+- Java_java_net_Inet4Address_init;
+- Java_java_net_Inet6Address_init;
+- Java_java_net_PlainDatagramSocketImpl_setTTL;
+- Java_java_net_PlainDatagramSocketImpl_socketSetOption;
+- Java_java_net_PlainDatagramSocketImpl_bind0;
+- Java_java_net_PlainSocketImpl_socketAccept;
+- Java_java_net_DatagramPacket_init;
+- Java_java_net_PlainDatagramSocketImpl_leave;
+- Java_java_net_SocketInputStream_socketRead0;
+- Java_java_net_InetAddressImplFactory_isIPv6Supported;
+- Java_java_net_Inet4AddressImpl_getLocalHostName;
+- Java_java_net_Inet4AddressImpl_lookupAllHostAddr;
+- Java_java_net_Inet4AddressImpl_getHostByAddr;
+- Java_java_net_Inet4AddressImpl_isReachable0;
+- Java_java_net_Inet6AddressImpl_getLocalHostName;
+- Java_java_net_Inet6AddressImpl_lookupAllHostAddr;
+- Java_java_net_Inet6AddressImpl_getHostByAddr;
+- Java_java_net_Inet6AddressImpl_isReachable0;
+- Java_java_net_NetworkInterface_init;
+- Java_java_net_NetworkInterface_getByName0;
+- Java_java_net_NetworkInterface_getByIndex0;
+- Java_java_net_NetworkInterface_getByInetAddress0;
+- Java_java_net_NetworkInterface_getAll;
+- Java_java_net_NetworkInterface_isUp0;
+- Java_java_net_NetworkInterface_isLoopback0;
+- Java_java_net_NetworkInterface_isP2P0;
+- Java_java_net_NetworkInterface_supportsMulticast0;
+- Java_java_net_NetworkInterface_getMacAddr0;
+- Java_java_net_NetworkInterface_getMTU0;
+- Java_java_net_PlainDatagramSocketImpl_send;
+- Java_java_net_PlainSocketImpl_socketClose0;
+- Java_java_net_SocketOutputStream_init;
+- Java_java_net_PlainDatagramSocketImpl_peek;
+- Java_java_net_PlainDatagramSocketImpl_peekData;
+- Java_java_net_PlainSocketImpl_socketSetOption;
+- Java_java_net_PlainSocketImpl_socketSendUrgentData;
+- Java_java_net_PlainDatagramSocketImpl_datagramSocketCreate;
+- Java_java_net_PlainSocketImpl_socketGetOption;
+- Java_java_net_PlainDatagramSocketImpl_receive0;
+- Java_java_net_PlainDatagramSocketImpl_connect0;
+- Java_java_net_PlainDatagramSocketImpl_disconnect0;
+- Java_java_net_PlainDatagramSocketImpl_datagramSocketClose;
+- Java_java_net_PlainSocketImpl_initProto;
+- Java_java_net_PlainSocketImpl_socketBind;
+- Java_java_net_PlainSocketImpl_socketShutdown;
+- Java_java_net_SocketInputStream_init;
+- Java_java_net_PlainSocketImpl_socketConnect;
+- Java_java_net_PlainDatagramSocketImpl_getTimeToLive;
+- Java_java_net_PlainDatagramSocketImpl_setTimeToLive;
+- Java_sun_net_dns_ResolverConfigurationImpl_localDomain0;
+- Java_sun_net_dns_ResolverConfigurationImpl_fallbackDomain0;
+- Java_sun_net_sdp_SdpSupport_convert0;
+- Java_sun_net_sdp_SdpSupport_create0;
+- Java_sun_net_spi_DefaultProxySelector_init;
+- Java_sun_net_spi_DefaultProxySelector_getSystemProxy;
+- NET_AllocSockaddr;
+- NET_SockaddrToInetAddress;
++ global:
++ JNI_OnLoad;
++ Java_java_net_PlainSocketImpl_socketListen;
++ Java_java_net_PlainDatagramSocketImpl_getTTL;
++ Java_java_net_PlainDatagramSocketImpl_init;
++ Java_java_net_SocketOutputStream_socketWrite0;
++ Java_java_net_PlainSocketImpl_socketCreate;
++ Java_java_net_PlainSocketImpl_socketAvailable;
++ Java_java_net_PlainDatagramSocketImpl_join;
++ Java_java_net_PlainDatagramSocketImpl_socketGetOption;
++ Java_java_net_InetAddress_init;
++ Java_java_net_Inet4Address_init;
++ Java_java_net_Inet6Address_init;
++ Java_java_net_PlainDatagramSocketImpl_setTTL;
++ Java_java_net_PlainDatagramSocketImpl_socketSetOption;
++ Java_java_net_PlainDatagramSocketImpl_bind0;
++ Java_java_net_PlainSocketImpl_socketAccept;
++ Java_java_net_DatagramPacket_init;
++ Java_java_net_PlainDatagramSocketImpl_leave;
++ Java_java_net_SocketInputStream_socketRead0;
++ Java_java_net_InetAddressImplFactory_isIPv6Supported;
++ Java_java_net_Inet4AddressImpl_getLocalHostName;
++ Java_java_net_Inet4AddressImpl_lookupAllHostAddr;
++ Java_java_net_Inet4AddressImpl_getHostByAddr;
++ Java_java_net_Inet4AddressImpl_isReachable0;
++ Java_java_net_Inet6AddressImpl_getLocalHostName;
++ Java_java_net_Inet6AddressImpl_lookupAllHostAddr;
++ Java_java_net_Inet6AddressImpl_getHostByAddr;
++ Java_java_net_Inet6AddressImpl_isReachable0;
++ Java_java_net_NetworkInterface_init;
++ Java_java_net_NetworkInterface_getByName0;
++ Java_java_net_NetworkInterface_getByIndex0;
++ Java_java_net_NetworkInterface_getByInetAddress0;
++ Java_java_net_NetworkInterface_getAll;
++ Java_java_net_NetworkInterface_isUp0;
++ Java_java_net_NetworkInterface_isLoopback0;
++ Java_java_net_NetworkInterface_isP2P0;
++ Java_java_net_NetworkInterface_supportsMulticast0;
++ Java_java_net_NetworkInterface_getMacAddr0;
++ Java_java_net_NetworkInterface_getMTU0;
++ Java_java_net_PlainDatagramSocketImpl_send;
++ Java_java_net_PlainSocketImpl_socketClose0;
++ Java_java_net_SocketOutputStream_init;
++ Java_java_net_PlainDatagramSocketImpl_peek;
++ Java_java_net_PlainDatagramSocketImpl_peekData;
++ Java_java_net_PlainSocketImpl_socketSetOption;
++ Java_java_net_PlainSocketImpl_socketSendUrgentData;
++ Java_java_net_PlainDatagramSocketImpl_datagramSocketCreate;
++ Java_java_net_PlainSocketImpl_socketGetOption;
++ Java_java_net_PlainDatagramSocketImpl_receive0;
++ Java_java_net_PlainDatagramSocketImpl_connect0;
++ Java_java_net_PlainDatagramSocketImpl_disconnect0;
++ Java_java_net_PlainDatagramSocketImpl_datagramSocketClose;
++ Java_java_net_PlainSocketImpl_initProto;
++ Java_java_net_PlainSocketImpl_socketBind;
++ Java_java_net_PlainSocketImpl_socketShutdown;
++ Java_java_net_SocketInputStream_init;
++ Java_java_net_PlainSocketImpl_socketConnect;
++ Java_java_net_PlainDatagramSocketImpl_getTimeToLive;
++ Java_java_net_PlainDatagramSocketImpl_setTimeToLive;
++ Java_sun_net_PortConfig_getLower0;
++ Java_sun_net_PortConfig_getUpper0;
++ Java_sun_net_dns_ResolverConfigurationImpl_localDomain0;
++ Java_sun_net_dns_ResolverConfigurationImpl_fallbackDomain0;
++ Java_sun_net_sdp_SdpSupport_convert0;
++ Java_sun_net_sdp_SdpSupport_create0;
++ Java_sun_net_spi_DefaultProxySelector_init;
++ Java_sun_net_spi_DefaultProxySelector_getSystemProxy;
++ NET_AllocSockaddr;
++ NET_SockaddrToInetAddress;
+ NET_SockaddrEqualsInetAddress;
+- NET_InetAddressToSockaddr;
+- NET_GetPortFromSockaddr;
+- NET_SetSockOpt;
+- NET_GetSockOpt;
+- NET_Bind;
+- NET_MapSocketOption;
+- NET_Wait;
++ NET_InetAddressToSockaddr;
++ NET_GetPortFromSockaddr;
++ NET_SetSockOpt;
++ NET_GetSockOpt;
++ NET_Bind;
++ NET_MapSocketOption;
++ NET_Wait;
+ ipv6_available;
+
+- local:
+- *;
++ local:
++ *;
+ };
+--- ./jdk/make/sun/javazic/tzdata/VERSION Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/VERSION Thu Dec 19 09:01:16 2013 -0800
+@@ -21,4 +21,4 @@
+ # or visit www.oracle.com if you need additional information or have any
+ # questions.
+ #
+-tzdata2013d
++tzdata2013h
+--- ./jdk/make/sun/javazic/tzdata/africa Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/africa Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -474,6 +474,14 @@
+ # (either two days before them or five days after them, so as to fall on
+ # lastFri instead of lastSun).
+
++# From Even Scharning (2013-10-25):
++# The scheduled end of DST in Libya on Friday, October 25, 2013 was
++# cancelled yesterday....
++# http://www.libyaherald.com/2013/10/24/correction-no-time-change-tomorrow/
++#
++# From Paul Eggert (2013-10-25):
++# For now, assume they're reverting to the pre-2012 rules of permanent UTC+2.
++
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule Libya 1951 only - Oct 14 2:00 1:00 S
+ Rule Libya 1952 only - Jan 1 0:00 0 -
+@@ -490,19 +498,21 @@
+ Rule Libya 1987 1989 - Oct 1 0:00 0 -
+ Rule Libya 1997 only - Apr 4 0:00 1:00 S
+ Rule Libya 1997 only - Oct 4 0:00 0 -
+-Rule Libya 2013 max - Mar lastFri 1:00 1:00 S
+-Rule Libya 2013 max - Oct lastFri 2:00 0 -
++Rule Libya 2013 only - Mar lastFri 1:00 1:00 S
++Rule Libya 2013 only - Oct lastFri 2:00 0 -
++
++# The 1996 and 1997 entries are from Shanks & Pottenger;
++# the IATA SSIM data contain some obvious errors.
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone Africa/Tripoli 0:52:44 - LMT 1920
+ 1:00 Libya CE%sT 1959
+ 2:00 - EET 1982
+ 1:00 Libya CE%sT 1990 May 4
+-# The 1996 and 1997 entries are from Shanks & Pottenger;
+-# the IATA SSIM data contain some obvious errors.
+ 2:00 - EET 1996 Sep 30
+ 1:00 Libya CE%sT 1997 Oct 4
+ 2:00 - EET 2012 Nov 10 2:00
+- 1:00 Libya CE%sT
++ 1:00 Libya CE%sT 2013 Oct 25 2:00
++ 2:00 - EET
+
+ # Madagascar
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+@@ -707,15 +717,6 @@
+ # http://www.google.com/search?hl=en&q=Conseil+de+gouvernement+maroc+heure+avance&btnG=Search
+ # </a>
+
+-# From Alex Krivenyshev (2008-05-09):
+-# Is Western Sahara (part which administrated by Morocco) going to follow
+-# Morocco DST changes? Any information? What about other part of
+-# Western Sahara - under administration of POLISARIO Front (also named
+-# SADR Saharawi Arab Democratic Republic)?
+-
+-# From Arthur David Olson (2008-05-09):
+-# XXX--guess that it is only Morocco for now; guess only 2008 for now.
+-
+ # From Steffen Thorsen (2008-08-27):
+ # Morocco will change the clocks back on the midnight between August 31
+ # and September 1. They originally planned to observe DST to near the end
+@@ -881,13 +882,23 @@
+ # transitions would be 2013-07-07 and 2013-08-10; see:
+ # http://www.maroc.ma/en/news/morocco-suspends-daylight-saving-time-july-7-aug10
+
+-# From Paul Eggert (2013-07-03):
++# From Steffen Thorsen (2013-09-28):
++# Morocco extends DST by one month, on very short notice, just 1 day
++# before it was going to end. There is a new decree (2.13.781) for
++# this, where DST from now on goes from last Sunday of March at 02:00
++# to last Sunday of October at 03:00, similar to EU rules. Official
++# source (French):
++# http://www.maroc.gov.ma/fr/actualites/lhoraire-dete-gmt1-maintenu-jusquau-27-octobre-2013
++# Another source (specifying the time for start and end in the decree):
++# http://www.lemag.ma/Heure-d-ete-au-Maroc-jusqu-au-27-octobre_a75620.html
++
++# From Paul Eggert (2013-10-03):
+ # To estimate what the Moroccan government will do in future years,
+-# transition dates for 2014 through 2021 were determined by running
++# transition dates for 2014 through 2038 were determined by running
+ # the following program under GNU Emacs 24.3:
+ #
+ # (let ((islamic-year 1435))
+-# (while (< islamic-year 1444)
++# (while (< islamic-year 1461)
+ # (let ((a
+ # (calendar-gregorian-from-absolute
+ # (calendar-islamic-to-absolute (list 9 1 islamic-year))))
+@@ -902,13 +913,18 @@
+ # (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
+ # (setq islamic-year (+ 1 islamic-year))))
+ #
+-# with the results hand-edited for 2020-2022, when the normal spring-forward
+-# date falls during the estimated Ramadan.
+-#
+-# From 2023 through 2038 Ramadan is not predicted to overlap with
+-# daylight saving time. Starting in 2039 there will be overlap again,
+-# but 32-bit time_t values roll around in 2038 so for now do not worry
+-# about dates after 2038.
++# with spring-forward transitions removed for 2023-2025, when the
++# normal spring-forward date falls during the estimated Ramadan; with
++# all transitions removed for 2026-2035, where the estimated Ramadan
++# falls entirely outside daylight-saving time; and with fall-back
++# transitions removed for 2036-2037, where the normal fall-back
++# date falls during the estimated Ramadan. Normally, the table would
++# stop after 2037 because 32-bit time_t values roll around early in 2038,
++# but that would imply a prediction of perpetual DST after March 2038
++# due to the year-2037 glitches. So, this table instead stops after
++# 2038, the first non-glitchy year after the 32-bit rollover.
++# An advantage of stopping after 2038 is that it lets zic guess
++# TZ='WET0WEST,M3.5.0,M10.5.0/3' for time stamps far in the future.
+
+ # RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+
+@@ -935,12 +951,14 @@
+ Rule Morocco 2010 only - Aug 8 0:00 0 -
+ Rule Morocco 2011 only - Apr 3 0:00 1:00 S
+ Rule Morocco 2011 only - Jul 31 0 0 -
+-Rule Morocco 2012 2019 - Apr lastSun 2:00 1:00 S
+-Rule Morocco 2012 max - Sep lastSun 3:00 0 -
++Rule Morocco 2012 2013 - Apr lastSun 2:00 1:00 S
++Rule Morocco 2012 only - Sep 30 3:00 0 -
+ Rule Morocco 2012 only - Jul 20 3:00 0 -
+ Rule Morocco 2012 only - Aug 20 2:00 1:00 S
+ Rule Morocco 2013 only - Jul 7 3:00 0 -
+ Rule Morocco 2013 only - Aug 10 2:00 1:00 S
++Rule Morocco 2013 2035 - Oct lastSun 3:00 0 -
++Rule Morocco 2014 2022 - Mar lastSun 2:00 1:00 S
+ Rule Morocco 2014 only - Jun 29 3:00 0 -
+ Rule Morocco 2014 only - Jul 29 2:00 1:00 S
+ Rule Morocco 2015 only - Jun 18 3:00 0 -
+@@ -953,20 +971,42 @@
+ Rule Morocco 2018 only - Jun 15 2:00 1:00 S
+ Rule Morocco 2019 only - May 6 3:00 0 -
+ Rule Morocco 2019 only - Jun 5 2:00 1:00 S
++Rule Morocco 2020 only - Apr 24 3:00 0 -
+ Rule Morocco 2020 only - May 24 2:00 1:00 S
++Rule Morocco 2021 only - Apr 13 3:00 0 -
+ Rule Morocco 2021 only - May 13 2:00 1:00 S
++Rule Morocco 2022 only - Apr 3 3:00 0 -
+ Rule Morocco 2022 only - May 3 2:00 1:00 S
+-Rule Morocco 2023 max - Apr lastSun 2:00 1:00 S
++Rule Morocco 2023 only - Apr 22 2:00 1:00 S
++Rule Morocco 2024 only - Apr 10 2:00 1:00 S
++Rule Morocco 2025 only - Mar 31 2:00 1:00 S
++Rule Morocco 2026 max - Mar lastSun 2:00 1:00 S
++Rule Morocco 2036 only - Oct 21 3:00 0 -
++Rule Morocco 2037 only - Oct 11 3:00 0 -
++Rule Morocco 2038 only - Sep 30 3:00 0 -
++Rule Morocco 2038 only - Oct 30 2:00 1:00 S
++Rule Morocco 2038 max - Oct lastSun 3:00 0 -
+
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
+ 0:00 Morocco WE%sT 1984 Mar 16
+ 1:00 - CET 1986
+ 0:00 Morocco WE%sT
++
+ # Western Sahara
++#
++# From Gwillim Law (2013-10-22):
++# A correspondent who is usually well informed about time zone matters
++# ... says that Western Sahara observes daylight saving time, just as
++# Morocco does.
++#
++# From Paul Eggert (2013-10-23):
++# Assume that this has been true since Western Sahara switched to GMT,
++# since most of it was then controlled by Morocco.
++
+ Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan
+ -1:00 - WAT 1976 Apr 14
+- 0:00 - WET
++ 0:00 Morocco WE%sT
+
+ # Mozambique
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+@@ -1123,9 +1163,7 @@
+ 3:00 - EAT
+
+ # South Sudan
+-Zone Africa/Juba 2:06:24 - LMT 1931
+- 2:00 Sudan CA%sT 2000 Jan 15 12:00
+- 3:00 - EAT
++Link Africa/Khartoum Africa/Juba
+
+ # Swaziland
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+--- ./jdk/make/sun/javazic/tzdata/antarctica Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/antarctica Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -39,9 +39,9 @@
+ #
+ # Except for the French entries,
+ # I made up all time zone abbreviations mentioned here; corrections welcome!
+-# FORMAT is `zzz' and GMTOFF is 0 for locations while uninhabited.
++# FORMAT is 'zzz' and GMTOFF is 0 for locations while uninhabited.
+
+-# These rules are stolen from the `southamerica' file.
++# These rules are stolen from the 'southamerica' file.
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule ArgAQ 1964 1966 - Mar 1 0:00 0 -
+ Rule ArgAQ 1964 1966 - Oct 15 0:00 1:00 S
+@@ -251,9 +251,10 @@
+ # Scott Island (never inhabited)
+ #
+ # year-round base
+-# Scott, Ross Island, since 1957-01, is like Antarctica/McMurdo.
++# Scott Base, Ross Island, since 1957-01.
++# See Pacific/Auckland.
+ #
+-# These rules for New Zealand are stolen from the `australasia' file.
++# These rules for New Zealand are stolen from the 'australasia' file.
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule NZAQ 1974 only - Nov 3 2:00s 1:00 D
+ Rule NZAQ 1975 1988 - Oct lastSun 2:00s 1:00 D
+@@ -291,11 +292,11 @@
+ # From Lee Hotz (2001-03-08):
+ # I queried the folks at Columbia who spent the summer at Vostok and this is
+ # what they had to say about time there:
+-# ``in the US Camp (East Camp) we have been on New Zealand (McMurdo)
++# "in the US Camp (East Camp) we have been on New Zealand (McMurdo)
+ # time, which is 12 hours ahead of GMT. The Russian Station Vostok was
+ # 6 hours behind that (although only 2 miles away, i.e. 6 hours ahead
+ # of GMT). This is a time zone I think two hours east of Moscow. The
+-# natural time zone is in between the two: 8 hours ahead of GMT.''
++# natural time zone is in between the two: 8 hours ahead of GMT."
+ #
+ # From Paul Eggert (2001-05-04):
+ # This seems to be hopelessly confusing, so I asked Lee Hotz about it
+@@ -360,16 +361,8 @@
+ -4:00 ChileAQ CL%sT
+ #
+ #
+-# McMurdo, Ross Island, since 1955-12
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone Antarctica/McMurdo 0 - zzz 1956
+- 12:00 NZAQ NZ%sT
+-#
+-# Amundsen-Scott, South Pole, continuously occupied since 1956-11-20
+-#
+-# From Paul Eggert (1996-09-03):
+-# Normally it wouldn't have a separate entry, since it's like the
+-# larger Antarctica/McMurdo since 1970, but it's too famous to omit.
++# McMurdo Station, Ross Island, since 1955-12
++# Amundsen-Scott South Pole Station, continuously occupied since 1956-11-20
+ #
+ # From Chris Carrier (1996-06-27):
+ # Siple, the first commander of the South Pole station,
+@@ -391,4 +384,4 @@
+ # we have to go around and set them back 5 minutes or so.
+ # Maybe if we let them run fast all of the time, we'd get to leave here sooner!!
+ #
+-Link Antarctica/McMurdo Antarctica/South_Pole
++# See 'australasia' for Antarctica/McMurdo.
+--- ./jdk/make/sun/javazic/tzdata/asia Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/asia Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -29,7 +29,7 @@
+ # go ahead and edit the file (and please send any changes to
+ # tz@iana.org for general use in the future).
+
+-# From Paul Eggert (2013-02-21):
++# From Paul Eggert (2013-08-11):
+ #
+ # A good source for time zone historical data outside the U.S. is
+ # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
+@@ -67,11 +67,11 @@
+ # 4:00 GST Gulf*
+ # 5:30 IST India
+ # 7:00 ICT Indochina*
+-# 7:00 WIT west Indonesia
+-# 8:00 CIT central Indonesia
++# 7:00 WIB west Indonesia (Waktu Indonesia Barat)
++# 8:00 WITA central Indonesia (Waktu Indonesia Tengah)
+ # 8:00 CST China
+ # 9:00 CJT Central Japanese Time (1896/1937)*
+-# 9:00 EIT east Indonesia
++# 9:00 WIT east Indonesia (Waktu Indonesia Timur)
+ # 9:00 JST JDT Japan
+ # 9:00 KST KDT Korea
+ # 9:30 CST (Australian) Central Standard Time
+@@ -779,7 +779,7 @@
+ 8:00 - TLT 1942 Feb 21 23:00 # E Timor Time
+ 9:00 - JST 1945 Sep 23
+ 9:00 - TLT 1976 May 3
+- 8:00 - CIT 2000 Sep 17 00:00
++ 8:00 - WITA 2000 Sep 17 00:00
+ 9:00 - TLT
+
+ # India
+@@ -816,36 +816,53 @@
+ # (Hollandia). For now, assume all Indonesian locations other than Jayapura
+ # switched on 1945-09-23.
+ #
++# From Paul Eggert (2013-08-11):
++# Normally the tz database uses English-language abbreviations, but in
++# Indonesia it's typical to use Indonesian-language abbreviations even
++# when writing in English. For example, see the English-language
++# summary published by the Time and Frequency Laboratory of the
++# Research Center for Calibration, Instrumentation and Metrology,
++# Indonesia, <http://time.kim.lipi.go.id/time-eng.php> (2006-09-29).
++# The abbreviations are:
++#
++# WIB - UTC+7 - Waktu Indonesia Barat (Indonesia western time)
++# WITA - UTC+8 - Waktu Indonesia Tengah (Indonesia central time)
++# WIT - UTC+9 - Waktu Indonesia Timur (Indonesia eastern time)
++#
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
++# Java, Sumatra
+ Zone Asia/Jakarta 7:07:12 - LMT 1867 Aug 10
+ # Shanks & Pottenger say the next transition was at 1924 Jan 1 0:13,
+ # but this must be a typo.
+- 7:07:12 - JMT 1923 Dec 31 23:47:12 # Jakarta
++ 7:07:12 - BMT 1923 Dec 31 23:47:12 # Batavia
+ 7:20 - JAVT 1932 Nov # Java Time
+- 7:30 - WIT 1942 Mar 23
++ 7:30 - WIB 1942 Mar 23
+ 9:00 - JST 1945 Sep 23
+- 7:30 - WIT 1948 May
+- 8:00 - WIT 1950 May
+- 7:30 - WIT 1964
+- 7:00 - WIT
++ 7:30 - WIB 1948 May
++ 8:00 - WIB 1950 May
++ 7:30 - WIB 1964
++ 7:00 - WIB
++# west and central Borneo
+ Zone Asia/Pontianak 7:17:20 - LMT 1908 May
+ 7:17:20 - PMT 1932 Nov # Pontianak MT
+- 7:30 - WIT 1942 Jan 29
++ 7:30 - WIB 1942 Jan 29
+ 9:00 - JST 1945 Sep 23
+- 7:30 - WIT 1948 May
+- 8:00 - WIT 1950 May
+- 7:30 - WIT 1964
+- 8:00 - CIT 1988 Jan 1
+- 7:00 - WIT
++ 7:30 - WIB 1948 May
++ 8:00 - WIB 1950 May
++ 7:30 - WIB 1964
++ 8:00 - WITA 1988 Jan 1
++ 7:00 - WIB
++# Sulawesi, Lesser Sundas, east and south Borneo
+ Zone Asia/Makassar 7:57:36 - LMT 1920
+ 7:57:36 - MMT 1932 Nov # Macassar MT
+- 8:00 - CIT 1942 Feb 9
++ 8:00 - WITA 1942 Feb 9
+ 9:00 - JST 1945 Sep 23
+- 8:00 - CIT
++ 8:00 - WITA
++# Maluku Islands, West Papua, Papua
+ Zone Asia/Jayapura 9:22:48 - LMT 1932 Nov
+- 9:00 - EIT 1944 Sep 1
++ 9:00 - WIT 1944 Sep 1
+ 9:30 - CST 1964
+- 9:00 - EIT
++ 9:00 - WIT
+
+ # Iran
+
+@@ -1387,9 +1404,11 @@
+ # until about the same time next year (at least).
+ # http://www.petra.gov.jo/Public_News/Nws_NewsDetails.aspx?NewsID=88950
+ #
+-# From Paul Eggert (2012-10-25):
+-# For now, assume this is just a one-year measure. If it becomes
+-# permanent, we should move Jordan from EET to AST effective tomorrow.
++# From Paul Eggert (2013-09-21):
++# It's looking like this change will be permanent; see
++# Petra News Agency, Cancelling winter saved Jordan $7 million (2013-02-20)
++# <http://www.albawaba.com/business/jordan-winter-electricity--472005>.
++# So move Jordan to UTC+3 as of the abovementioned date.
+
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule Jordan 1973 only - Jun 6 0:00 1:00 S
+@@ -1415,15 +1434,15 @@
+ Rule Jordan 1999 only - Jul 1 0:00s 1:00 S
+ Rule Jordan 1999 2002 - Sep lastFri 0:00s 0 -
+ Rule Jordan 2000 2001 - Mar lastThu 0:00s 1:00 S
+-Rule Jordan 2002 max - Mar lastThu 24:00 1:00 S
++Rule Jordan 2002 2012 - Mar lastThu 24:00 1:00 S
+ Rule Jordan 2003 only - Oct 24 0:00s 0 -
+ Rule Jordan 2004 only - Oct 15 0:00s 0 -
+ Rule Jordan 2005 only - Sep lastFri 0:00s 0 -
+-Rule Jordan 2006 2011 - Oct lastFri 0:00s 0 -
+-Rule Jordan 2013 max - Oct lastFri 0:00s 0 -
++Rule Jordan 2006 2012 - Oct lastFri 0:00s 0 -
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone Asia/Amman 2:23:44 - LMT 1931
+- 2:00 Jordan EE%sT
++ 2:00 Jordan EE%sT 2012 Oct 26 0:00s
++ 3:00 - AST
+
+
+ # Kazakhstan
+@@ -2303,9 +2322,18 @@
+ # http://www.samanews.com/index.php?act=Show&id=154120
+ # http://safa.ps/details/news/99844/%D8%B1%D8%A7%D9%85-%D8%A7%D9%84%D9%84%D9%87-%D8%A8%D8%AF%D8%A1-%D8%A7%D9%84%D8%AA%D9%88%D9%82%D9%8A%D8%AA-%D8%A7%D9%84%D8%B5%D9%8A%D9%81%D9%8A-29-%D8%A7%D9%84%D8%AC%D8%A7%D8%B1%D9%8A.html
+
+-# From Paul Eggert (2013-04-15):
++# From Steffen Thorsen (2013-09-24):
++# The Gaza and West Bank are ending DST Thursday at midnight
++# (2013-09-27 00:00:00) (one hour earlier than last year...).
++# This source in English, says "that winter time will go into effect
++# at midnight on Thursday in the West Bank and Gaza Strip":
++# http://english.wafa.ps/index.php?action=detail&id=23246
++# official source...:
++# http://www.palestinecabinet.gov.ps/ar/Views/ViewDetails.aspx?pid=1252
++
++# From Paul Eggert (2013-09-24):
+ # For future dates, guess the last Thursday in March at 24:00 through
+-# the first Friday on or after September 21 at 01:00. This is consistent with
++# the first Friday on or after September 21 at 00:00. This is consistent with
+ # the predictions in today's editions of the following URLs,
+ # which are for Gaza and Hebron respectively:
+ # http://www.timeanddate.com/worldclock/timezone.html?n=702
+@@ -2336,7 +2364,8 @@
+ Rule Palestine 2011 only - Aug 30 0:00 1:00 S
+ Rule Palestine 2011 only - Sep 30 0:00 0 -
+ Rule Palestine 2012 max - Mar lastThu 24:00 1:00 S
+-Rule Palestine 2012 max - Sep Fri>=21 1:00 0 -
++Rule Palestine 2012 only - Sep 21 1:00 0 -
++Rule Palestine 2013 max - Sep Fri>=21 0:00 0 -
+
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone Asia/Gaza 2:17:52 - LMT 1900 Oct
+--- ./jdk/make/sun/javazic/tzdata/australasia Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/australasia Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -375,16 +375,25 @@
+ # today confirmed that Fiji will start daylight savings at 2 am on Sunday 21st
+ # October 2012 and end at 3 am on Sunday 20th January 2013.
+ # http://www.fiji.gov.fj/index.php?option=com_content&view=article&id=6702&catid=71&Itemid=155
++
++# From the Fijian Government Media Center (2013-08-30) via David Wheeler:
++# Fiji will start daylight savings on Sunday 27th October, 2013 and end at 3am
++# on Sunday 19th January, 2014.... move clocks forward by one hour from 2am
++# http://www.fiji.gov.fj/Media-Center/Press-Releases/DAYLIGHT-SAVING-STARTS-ON-SUNDAY,-27th-OCTOBER-201.aspx
+ #
+-# From Paul Eggert (2012-08-31):
+-# For now, guess a pattern of the penultimate Sundays in October and January.
++# From Paul Eggert (2013-09-09):
++# For now, guess that Fiji springs forward the Sunday before the fourth
++# Monday in October. This matches both recent practice and
++# timeanddate.com's current spring-forward prediction.
++# For the January 2014 transition we guessed right while timeanddate.com
++# guessed wrong, so leave the fall-back prediction alone.
+
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule Fiji 1998 1999 - Nov Sun>=1 2:00 1:00 S
+ Rule Fiji 1999 2000 - Feb lastSun 3:00 0 -
+ Rule Fiji 2009 only - Nov 29 2:00 1:00 S
+ Rule Fiji 2010 only - Mar lastSun 3:00 0 -
+-Rule Fiji 2010 max - Oct Sun>=18 2:00 1:00 S
++Rule Fiji 2010 max - Oct Sun>=21 2:00 1:00 S
+ Rule Fiji 2011 only - Mar Sun>=1 3:00 0 -
+ Rule Fiji 2012 max - Jan Sun>=18 3:00 0 -
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+@@ -510,6 +519,7 @@
+ Zone Pacific/Chatham 12:13:48 - LMT 1957 Jan 1
+ 12:45 Chatham CHA%sT
+
++Link Pacific/Auckland Antarctica/McMurdo
+
+ # Auckland Is
+ # uninhabited; Maori and Moriori, colonial settlers, pastoralists, sealers,
+@@ -759,7 +769,7 @@
+ # 1886-1891; Baker was similar but exact dates are not known.
+ # Inhabited by civilians 1935-1942; U.S. military bases 1943-1944;
+ # uninhabited thereafter.
+-# Howland observed Hawaii Standard Time (UTC-10:30) in 1937;
++# Howland observed Hawaii Standard Time (UT-10:30) in 1937;
+ # see page 206 of Elgen M. Long and Marie K. Long,
+ # Amelia Earhart: the Mystery Solved, Simon & Schuster (2000).
+ # So most likely Howland and Baker observed Hawaii Time from 1935
+@@ -772,8 +782,17 @@
+ # no information; was probably like Pacific/Kiritimati
+
+ # Johnston
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone Pacific/Johnston -10:00 - HST
++#
++# From Paul Eggert (2013-09-03):
++# In his memoirs of June 6th to October 4, 1945
++# <http://www.315bw.org/Herb_Bach.htm> (2005), Herbert C. Bach writes,
++# "We started our letdown to Kwajalein Atoll and landed there at 5:00 AM
++# Johnston time, 1:30 AM Kwajalein time." This was in June 1945, and
++# confirms that Johnston kept the same time as Honolulu in summer 1945.
++# We have no better information, so for now, assume this has been true
++# indefinitely into the past.
++#
++# See 'northamerica' for Pacific/Johnston.
+
+ # Kingman
+ # uninhabited
+--- ./jdk/make/sun/javazic/tzdata/backward Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/backward Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -45,15 +45,17 @@
+ Link America/Argentina/Mendoza America/Mendoza
+ Link America/Rio_Branco America/Porto_Acre
+ Link America/Argentina/Cordoba America/Rosario
+-Link America/St_Thomas America/Virgin
++Link America/Denver America/Shiprock
++Link America/Port_of_Spain America/Virgin
++Link Pacific/Auckland Antarctica/South_Pole
+ Link Asia/Ashgabat Asia/Ashkhabad
++Link Asia/Kolkata Asia/Calcutta
+ Link Asia/Chongqing Asia/Chungking
+ Link Asia/Dhaka Asia/Dacca
+ Link Asia/Kathmandu Asia/Katmandu
+-Link Asia/Kolkata Asia/Calcutta
+ Link Asia/Macau Asia/Macao
++Link Asia/Ho_Chi_Minh Asia/Saigon
+ Link Asia/Jerusalem Asia/Tel_Aviv
+-Link Asia/Ho_Chi_Minh Asia/Saigon
+ Link Asia/Thimphu Asia/Thimbu
+ Link Asia/Makassar Asia/Ujung_Pandang
+ Link Asia/Ulaanbaatar Asia/Ulan_Bator
+@@ -111,10 +113,10 @@
+ Link Pacific/Chatham NZ-CHAT
+ Link America/Denver Navajo
+ Link Asia/Shanghai PRC
++Link Pacific/Pohnpei Pacific/Ponape
+ Link Pacific/Pago_Pago Pacific/Samoa
++Link Pacific/Chuuk Pacific/Truk
+ Link Pacific/Chuuk Pacific/Yap
+-Link Pacific/Chuuk Pacific/Truk
+-Link Pacific/Pohnpei Pacific/Ponape
+ Link Europe/Warsaw Poland
+ Link Europe/Lisbon Portugal
+ Link Asia/Taipei ROC
+--- ./jdk/make/sun/javazic/tzdata/etcetera Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/etcetera Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -54,9 +54,9 @@
+ # even though this is the opposite of what many people expect.
+ # POSIX has positive signs west of Greenwich, but many people expect
+ # positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses
+-# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC
++# the abbreviation "GMT+4" and corresponds to 4 hours behind UT
+ # (i.e. west of Greenwich) even though many people would expect it to
+-# mean 4 hours ahead of UTC (i.e. east of Greenwich).
++# mean 4 hours ahead of UT (i.e. east of Greenwich).
+ #
+ # In the draft 5 of POSIX 1003.1-200x, the angle bracket notation allows for
+ # TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to
+--- ./jdk/make/sun/javazic/tzdata/europe Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/europe Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -65,7 +65,7 @@
+ # </a> (1998-09-21, in Portuguese)
+
+ #
+-# I invented the abbreviations marked `*' in the following table;
++# I invented the abbreviations marked '*' in the following table;
+ # the rest are from earlier versions of this file, or from other sources.
+ # Corrections are welcome!
+ # std dst 2dst
+@@ -119,7 +119,7 @@
+ # and a sketch map showing some of the sightlines involved. One paragraph
+ # of the text said:
+ #
+-# `An old stone obelisk marking a forgotten terrestrial meridian stands
++# 'An old stone obelisk marking a forgotten terrestrial meridian stands
+ # beside the river at Kew. In the 18th century, before time and longitude
+ # was standardised by the Royal Observatory in Greenwich, scholars observed
+ # this stone and the movement of stars from Kew Observatory nearby. They
+@@ -163,7 +163,7 @@
+ # From Paul Eggert (2003-09-27):
+ # Summer Time was first seriously proposed by William Willett (1857-1915),
+ # a London builder and member of the Royal Astronomical Society
+-# who circulated a pamphlet ``The Waste of Daylight'' (1907)
++# who circulated a pamphlet "The Waste of Daylight" (1907)
+ # that proposed advancing clocks 20 minutes on each of four Sundays in April,
+ # and retarding them by the same amount on four Sundays in September.
+ # A bill was drafted in 1909 and introduced in Parliament several times,
+@@ -188,10 +188,10 @@
+ # </a>
+
+ # From Paul Eggert (1996-09-03):
+-# The OED Supplement says that the English originally said ``Daylight Saving''
++# The OED Supplement says that the English originally said "Daylight Saving"
+ # when they were debating the adoption of DST in 1908; but by 1916 this
+ # term appears only in quotes taken from DST's opponents, whereas the
+-# proponents (who eventually won the argument) are quoted as using ``Summer''.
++# proponents (who eventually won the argument) are quoted as using "Summer".
+
+ # From Arthur David Olson (1989-01-19):
+ #
+@@ -231,9 +231,9 @@
+ # which could not be said to run counter to any official description.
+
+ # From Paul Eggert (2000-10-02):
+-# Howse writes (p 157) `DBST' too, but `BDST' seems to have been common
++# Howse writes (p 157) 'DBST' too, but 'BDST' seems to have been common
+ # and follows the more usual convention of putting the location name first,
+-# so we use `BDST'.
++# so we use 'BDST'.
+
+ # Peter Ilieve (1998-04-19) described at length
+ # the history of summer time legislation in the United Kingdom.
+@@ -454,6 +454,8 @@
+ Rule GB-Eire 1990 1995 - Oct Sun>=22 1:00u 0 GMT
+ # Summer Time Order 1997 (S.I. 1997/2982)
+ # See EU for rules starting in 1996.
++#
++# Use Europe/London for Jersey, Guernsey, and the Isle of Man.
+
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone Europe/London -0:01:15 - LMT 1847 Dec 1 0:00s
+@@ -820,7 +822,7 @@
+ 1:00 EU CE%sT
+
+ # Bosnia and Herzegovina
+-# see Serbia
++# See Europe/Belgrade.
+
+ # Bulgaria
+ #
+@@ -848,10 +850,10 @@
+ 2:00 EU EE%sT
+
+ # Croatia
+-# see Serbia
++# See Europe/Belgrade.
+
+ # Cyprus
+-# Please see the `asia' file for Asia/Nicosia.
++# Please see the 'asia' file for Asia/Nicosia.
+
+ # Czech Republic
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+@@ -868,6 +870,7 @@
+ 1:00 C-Eur CE%sT 1944 Sep 17 2:00s
+ 1:00 Czech CE%sT 1979
+ 1:00 EU CE%sT
++# Use Europe/Prague also for Slovakia.
+
+ # Denmark, Faroe Islands, and Greenland
+
+@@ -1031,12 +1034,12 @@
+ # From Peter Ilieve (1996-10-28):
+ # [IATA SSIM (1992/1996) claims that the Baltic republics switch at 01:00s,
+ # but a relative confirms that Estonia still switches at 02:00s, writing:]
+-# ``I do not [know] exactly but there are some little different
++# "I do not [know] exactly but there are some little different
+ # (confusing) rules for International Air and Railway Transport Schedules
+ # conversion in Sunday connected with end of summer time in Estonia....
+ # A discussion is running about the summer time efficiency and effect on
+ # human physiology. It seems that Estonia maybe will not change to
+-# summer time next spring.''
++# summer time next spring."
+
+ # From Peter Ilieve (1998-11-04), heavily edited:
+ # <a href="http://trip.rk.ee/cgi-bin/thw?${BASE}=akt&${OOHTML}=rtd&TA=1998&TO=1&AN=1390">
+@@ -1091,7 +1094,7 @@
+ # Well, here in Helsinki we're just changing from summer time to regular one,
+ # and it's supposed to change at 4am...
+
+-# From Janne Snabb (2010-0715):
++# From Janne Snabb (2010-07-15):
+ #
+ # I noticed that the Finland data is not accurate for years 1981 and 1982.
+ # During these two first trial years the DST adjustment was made one hour
+@@ -1148,7 +1151,7 @@
+
+
+ #
+-# Shank & Pottenger seem to use `24:00' ambiguously; resolve it with Whitman.
++# Shank & Pottenger seem to use '24:00' ambiguously; resolve it with Whitman.
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule France 1916 only - Jun 14 23:00s 1:00 S
+ Rule France 1916 1919 - Oct Sun>=1 23:00s 0 -
+@@ -1438,7 +1441,7 @@
+ # <a href="http://toi.iriti.cnr.it/uk/ienitlt.html">
+ # Day-light Saving Time in Italy (2006-02-03)
+ # </a>
+-# (`FP' below), taken from an Italian National Electrotechnical Institute
++# ('FP' below), taken from an Italian National Electrotechnical Institute
+ # publication. When the three sources disagree, guess who's right, as follows:
+ #
+ # year FP Shanks&P. (S) Whitman (W) Go with:
+@@ -1584,10 +1587,22 @@
+ 2:00 EU EE%sT
+
+ # Liechtenstein
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone Europe/Vaduz 0:38:04 - LMT 1894 Jun
+- 1:00 - CET 1981
+- 1:00 EU CE%sT
++
++# From Paul Eggert (2013-09-09):
++# Shanks & Pottenger say Vaduz is like Zurich.
++
++# From Alois Treindl (2013-09-18):
++# http://www.eliechtensteinensia.li/LIJ/1978/1938-1978/1941.pdf
++# ... confirms on p. 6 that Liechtenstein followed Switzerland in 1941 and 1942.
++# I ... translate only the last two paragraphs:
++# ... during second world war, in the years 1941 and 1942, Liechtenstein
++# introduced daylight saving time, adapting to Switzerland. From 1943 on
++# central European time was in force throughout the year.
++# From a report of the duke's government to the high council,
++# regarding the introduction of a time law, of 31 May 1977.
++
++Link Europe/Zurich Europe/Vaduz
++
+
+ # Lithuania
+
+@@ -1675,7 +1690,7 @@
+ 1:00 EU CE%sT
+
+ # Macedonia
+-# see Serbia
++# See Europe/Belgrade.
+
+ # Malta
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+@@ -1768,7 +1783,7 @@
+ 1:00 EU CE%sT
+
+ # Montenegro
+-# see Serbia
++# See Europe/Belgrade.
+
+ # Netherlands
+
+@@ -1883,7 +1898,7 @@
+ # before 1895, and therefore probably changed the local time somewhere
+ # between 1895 and 1925 (inclusive).
+
+-# From Paul Eggert (2001-05-01):
++# From Paul Eggert (2013-09-04):
+ #
+ # Actually, Jan Mayen was never occupied by Germany during World War II,
+ # so it must have diverged from Oslo time during the war, as Oslo was
+@@ -1894,7 +1909,7 @@
+ # 1941 with a small Norwegian garrison and continued operations despite
+ # frequent air ttacks from Germans. In 1943 the Americans established a
+ # radiolocating station on the island, called "Atlantic City". Possibly
+-# the UTC offset changed during the war, but I think it unlikely that
++# the UT offset changed during the war, but I think it unlikely that
+ # Jan Mayen used German daylight-saving rules.
+ #
+ # Svalbard is more complicated, as it was raided in August 1941 by an
+@@ -1907,9 +1922,8 @@
+ # the German armed forces at the Svalbard weather station code-named
+ # Haudegen did not surrender to the Allies until September 1945.
+ #
+-# All these events predate our cutoff date of 1970. Unless we can
+-# come up with more definitive info about the timekeeping during the
+-# war years it's probably best just do...the following for now:
++# All these events predate our cutoff date of 1970, so use Europe/Oslo
++# for these regions.
+ Link Europe/Oslo Arctic/Longyearbyen
+
+ # Poland
+@@ -2167,7 +2181,7 @@
+ # so we (Novosibirsk) simply did not switch.
+ #
+ # From Andrey A. Chernov (1996-10-04):
+-# `MSK' and `MSD' were born and used initially on Moscow computers with
++# 'MSK' and 'MSD' were born and used initially on Moscow computers with
+ # UNIX-like OSes by several developer groups (e.g. Demos group, Kiae group)....
+ # The next step was the UUCP network, the Relcom predecessor
+ # (used mainly for mail), and MSK/MSD was actively used there.
+@@ -2466,6 +2480,9 @@
+ 11:00 Russia ANA%sT 2011 Mar 27 2:00s
+ 12:00 - ANAT
+
++# San Marino
++# See Europe/Rome.
++
+ # Serbia
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone Europe/Belgrade 1:22:00 - LMT 1884
+@@ -2488,7 +2505,7 @@
+ Link Europe/Prague Europe/Bratislava
+
+ # Slovenia
+-# see Serbia
++# See Europe/Belgrade.
+
+ # Spain
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+@@ -2622,7 +2639,7 @@
+ # and their performance improved enormously. Communities began to keep
+ # mean time in preference to apparent time -- Geneva from 1780 ....
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+-# From Whitman (who writes ``Midnight?''):
++# From Whitman (who writes "Midnight?"):
+ # Rule Swiss 1940 only - Nov 2 0:00 1:00 S
+ # Rule Swiss 1940 only - Dec 31 0:00 0 -
+ # From Shanks & Pottenger:
+@@ -2667,23 +2684,53 @@
+ # The 1940 rules must be deleted.
+ #
+ # One further detail for Switzerland, which is probably out of scope for
+-# most users of tzdata:
+-# The zone file
+-# Zone Europe/Zurich 0:34:08 - LMT 1848 Sep 12
+-# 0:29:44 - BMT 1894 Jun #Bern Mean Time
+-# 1:00 Swiss CE%sT 1981
+-# 1:00 EU CE%sT
++# most users of tzdata: The [Europe/Zurich zone] ...
+ # describes all of Switzerland correctly, with the exception of
+ # the Cantone Geneve (Geneva, Genf). Between 1848 and 1894 Geneve did not
+ # follow Bern Mean Time but kept its own local mean time.
+ # To represent this, an extra zone would be needed.
++#
++# From Alois Treindl (2013-09-11):
++# The Federal regulations say
++# http://www.admin.ch/opc/de/classified-compilation/20071096/index.html
++# ... the meridian for Bern mean time ... is 7 degrees 26'22.50".
++# Expressed in time, it is 0h29m45.5s.
++
++# From Pierre-Yves Berger (2013-09-11):
++# the "Circulaire du conseil federal" (December 11 1893)
++# <http://www.amtsdruckschriften.bar.admin.ch/viewOrigDoc.do?id=10071353> ...
++# clearly states that the [1894-06-01] change should be done at midnight
++# but if no one is present after 11 at night, could be postponed until one
++# hour before the beginning of service.
++
++# From Paul Eggert (2013-09-11):
++# Round BMT to the nearest even second, 0:29:46.
++#
++# We can find no reliable source for Shanks's assertion that all of Switzerland
++# except Geneva switched to Bern Mean Time at 00:00 on 1848-09-12. This book:
++#
++# Jakob Messerli. Gleichmassig, punktlich, schnell: Zeiteinteilung und
++# Zeitgebrauch in der Schweiz im 19. Jahrhundert. Chronos, Zurich 1995,
++# ISBN 3-905311-68-2, OCLC 717570797.
++#
++# suggests that the transition was more gradual, and that the Swiss did not
++# agree about civil time during the transition. The timekeeping it gives the
++# most detail for is postal and telegraph time: here, federal legislation (the
++# "Bundesgesetz uber die Erstellung von elektrischen Telegraphen") passed on
++# 1851-11-23, and an official implementation notice was published 1853-07-16
++# (Bundesblatt 1853, Bd. II, S. 859). On p 72 Messerli writes that in
++# practice since July 1853 Bernese time was used in "all postal and telegraph
++# offices in Switzerland from Geneva to St. Gallen and Basel to Chiasso"
++# (Google translation). For now, model this transition as occurring on
++# 1853-07-16, though it probably occurred at some other date in Zurich, and
++# legal civil time probably changed at still some other transition date.
+
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule Swiss 1941 1942 - May Mon>=1 1:00 1:00 S
+ Rule Swiss 1941 1942 - Oct Mon>=1 2:00 0 -
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone Europe/Zurich 0:34:08 - LMT 1848 Sep 12
+- 0:29:44 - BMT 1894 Jun # Bern Mean Time
++Zone Europe/Zurich 0:34:08 - LMT 1853 Jul 16 # See above comment.
++ 0:29:46 - BMT 1894 Jun # Bern Mean Time
+ 1:00 Swiss CE%sT 1981
+ 1:00 EU CE%sT
+
+@@ -2907,7 +2954,7 @@
+ # From Paul Eggert (2006-03-22):
+ # The _Economist_ (1994-05-28, p 45) reports that central Crimea switched
+ # from Kiev to Moscow time sometime after the January 1994 elections.
+-# Shanks (1999) says ``date of change uncertain'', but implies that it happened
++# Shanks (1999) says "date of change uncertain", but implies that it happened
+ # sometime between the 1994 DST switches. Shanks & Pottenger simply say
+ # 1994-09-25 03:00, but that can't be right. For now, guess it
+ # changed in May.
+@@ -2921,6 +2968,9 @@
+ 3:00 - MSK 1997 Mar lastSun 1:00u
+ 2:00 EU EE%sT
+
++# Vatican City
++# See Europe/Rome.
++
+ ###############################################################################
+
+ # One source shows that Bulgaria, Cyprus, Finland, and Greece observe DST from
+--- ./jdk/make/sun/javazic/tzdata/factory Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/factory Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+--- ./jdk/make/sun/javazic/tzdata/iso3166.tab Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/iso3166.tab Thu Dec 19 09:01:16 2013 -0800
+@@ -1,30 +1,30 @@
+ #
+ # 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.
+ #
+-# <pre>
++# ISO 3166 alpha-2 country codes
++#
+ # This file is in the public domain, so clarified as of
+ # 2009-05-17 by Arthur David Olson.
+-# ISO 3166 alpha-2 country codes
+ #
+ # From Paul Eggert (2013-05-27):
+ #
+@@ -32,7 +32,7 @@
+ # 1. ISO 3166-1 alpha-2 country code, current as of
+ # ISO 3166-1 Newsletter VI-15 (2013-05-10). See: Updates on ISO 3166
+ # http://www.iso.org/iso/home/standards/country_codes/updates_on_iso_3166.htm
+-# 2. The usual English name for the country,
++# 2. The usual English name for the coded region,
+ # chosen so that alphabetic sorting of subsets produces helpful lists.
+ # This is not the same as the English name in the ISO 3166 tables.
+ #
+@@ -46,7 +46,7 @@
+ # to take or endorse any position on legal or territorial claims.
+ #
+ #country-
+-#code country name
++#code name of country, territory, area, or subdivision
+ AD Andorra
+ AE United Arab Emirates
+ AF Afghanistan
+@@ -76,7 +76,7 @@
+ BM Bermuda
+ BN Brunei
+ BO Bolivia
+-BQ Bonaire, St Eustatius & Saba
++BQ Caribbean Netherlands
+ BR Brazil
+ BS Bahamas
+ BT Bhutan
+--- ./jdk/make/sun/javazic/tzdata/leapseconds Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/leapseconds Thu Dec 19 09:01:16 2013 -0800
+@@ -1,37 +1,43 @@
+ #
+ # 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.
+-#
+-# <pre>
+-# This file is in the public domain, so clarified as of
+-# 2009-05-17 by Arthur David Olson.
+
+ # Allowance for leapseconds added to each timezone file.
+
++# This file is in the public domain.
++
++# This file is generated automatically from the data in the public-domain
++# leap-seconds.list file available from most NIST time servers.
++# If the URL <ftp://time.nist.gov/pub/leap-seconds.list> does not work,
++# you should be able to pick up leap-seconds.list from a secondary NIST server.
++# For more about leap-seconds.list, please see
++# The NTP Timescale and Leap Seconds
++# <http://www.eecis.udel.edu/~mills/leap.html>.
++
+ # The International Earth Rotation Service periodically uses leap seconds
+ # to keep UTC to within 0.9 s of UT1
+ # (which measures the true angular orientation of the earth in space); see
+ # Terry J Quinn, The BIPM and the accurate measure of time,
+-# Proc IEEE 79, 7 (July 1991), 894-905.
++# Proc IEEE 79, 7 (July 1991), 894-905 <http://dx.doi.org/10.1109/5.84965>.
+ # There were no leap seconds before 1972, because the official mechanism
+ # accounting for the discrepancy between atomic time and the earth's rotation
+ # did not exist until the early 1970s.
+@@ -42,8 +48,8 @@
+ # or
+ # Leap YEAR MON DAY 23:59:59 - R/S
+
+-# If the leapsecond is Rolling (R) the given time is local time
+-# If the leapsecond is Stationary (S) the given time is UTC
++# If the leapsecond is Rolling (R) the given time is local time.
++# If the leapsecond is Stationary (S) the given time is UTC.
+
+ # Leap YEAR MONTH DAY HH:MM:SS CORR R/S
+ Leap 1972 Jun 30 23:59:60 + S
+@@ -71,53 +77,3 @@
+ Leap 2005 Dec 31 23:59:60 + S
+ Leap 2008 Dec 31 23:59:60 + S
+ Leap 2012 Jun 30 23:59:60 + S
+-
+-# INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)
+-#
+-# SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE
+-#
+-#
+-# SERVICE DE LA ROTATION TERRESTRE
+-# OBSERVATOIRE DE PARIS
+-# 61, Av. de l'Observatoire 75014 PARIS (France)
+-# Tel. : 33 (0) 1 40 51 22 26
+-# FAX : 33 (0) 1 40 51 22 91
+-# e-mail : (E-Mail Removed)
+-# http://hpiers.obspm.fr/eop-pc
+-#
+-# Paris, 5 January 2012
+-#
+-#
+-# Bulletin C 43
+-#
+-# To authorities responsible
+-# for the measurement and
+-# distribution of time
+-#
+-#
+-# UTC TIME STEP
+-# on the 1st of July 2012
+-#
+-#
+-# A positive leap second will be introduced at the end of June 2012.
+-# The sequence of dates of the UTC second markers will be:
+-#
+-# 2012 June 30, 23h 59m 59s
+-# 2012 June 30, 23h 59m 60s
+-# 2012 July 1, 0h 0m 0s
+-#
+-# The difference between UTC and the International Atomic Time TAI is:
+-#
+-# from 2009 January 1, 0h UTC, to 2012 July 1 0h UTC : UTC-TAI = - 34s
+-# from 2012 July 1, 0h UTC, until further notice : UTC-TAI = - 35s
+-#
+-# Leap seconds can be introduced in UTC at the end of the months of December
+-# or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every
+-# six months, either to announce a time step in UTC or to confirm that there
+-# will be no time step at the next possible date.
+-#
+-#
+-# Daniel GAMBIS
+-# Head
+-# Earth Orientation Center of IERS
+-# Observatoire de Paris, France
+--- ./jdk/make/sun/javazic/tzdata/northamerica Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/northamerica Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -43,7 +43,7 @@
+ # Howse writes (pp 121-125) that time zones were invented by
+ # Professor Charles Ferdinand Dowd (1825-1904),
+ # Principal of Temple Grove Ladies' Seminary (Saratoga Springs, NY).
+-# His pamphlet ``A System of National Time for Railroads'' (1870)
++# His pamphlet "A System of National Time for Railroads" (1870)
+ # was the result of his proposals at the Convention of Railroad Trunk Lines
+ # in New York City (1869-10). His 1870 proposal was based on Washington, DC,
+ # but in 1872-05 he moved the proposed origin to Greenwich.
+@@ -63,8 +63,8 @@
+
+ # From Paul Eggert (2001-03-06):
+ # Daylight Saving Time was first suggested as a joke by Benjamin Franklin
+-# in his whimsical essay ``An Economical Project for Diminishing the Cost
+-# of Light'' published in the Journal de Paris (1784-04-26).
++# in his whimsical essay "An Economical Project for Diminishing the Cost
++# of Light" published in the Journal de Paris (1784-04-26).
+ # Not everyone is happy with the results:
+ #
+ # I don't really care how time is reckoned so long as there is some
+@@ -190,8 +190,8 @@
+ # of the Aleutian islands. No DST.
+
+ # From Paul Eggert (1995-12-19):
+-# The tables below use `NST', not `NT', for Nome Standard Time.
+-# I invented `CAWT' for Central Alaska War Time.
++# The tables below use 'NST', not 'NT', for Nome Standard Time.
++# I invented 'CAWT' for Central Alaska War Time.
+
+ # From U. S. Naval Observatory (1989-01-19):
+ # USA EASTERN 5 H BEHIND UTC NEW YORK, WASHINGTON
+@@ -260,9 +260,9 @@
+ # H.R. 6, Energy Policy Act of 2005, SEC. 110. DAYLIGHT SAVINGS.
+ # (a) Amendment- Section 3(a) of the Uniform Time Act of 1966 (15
+ # U.S.C. 260a(a)) is amended--
+-# (1) by striking `first Sunday of April' and inserting `second
++# (1) by striking 'first Sunday of April' and inserting 'second
+ # Sunday of March'; and
+-# (2) by striking `last Sunday of October' and inserting `first
++# (2) by striking 'last Sunday of October' and inserting 'first
+ # Sunday of November'.
+ # (b) Effective Date- Subsection (a) shall take effect 1 year after the
+ # date of enactment of this Act or March 1, 2007, whichever is later.
+@@ -623,6 +623,8 @@
+ -10:30 - HST 1947 Jun 8 2:00 #Schmitt&Cox+2
+ -10:00 - HST
+
++Link Pacific/Honolulu Pacific/Johnston
++
+ # Now we turn to US areas that have diverged from the consensus since 1970.
+
+ # Arizona mostly uses MST.
+@@ -659,8 +661,9 @@
+ # Navajo Nation participates in the Daylight Saving Time policy, due to its
+ # large size and location in three states." (The "only" means that other
+ # tribal nations don't use DST.)
+-
+-Link America/Denver America/Shiprock
++#
++# From Paul Eggert (2013-08-26):
++# See America/Denver for a zone appropriate for the Navajo Nation.
+
+ # Southern Idaho (Ada, Adams, Bannock, Bear Lake, Bingham, Blaine,
+ # Boise, Bonneville, Butte, Camas, Canyon, Caribou, Cassia, Clark,
+@@ -700,13 +703,13 @@
+ # and Switzerland counties have their own time zone histories as noted below.
+ #
+ # Shanks partitioned Indiana into 345 regions, each with its own time history,
+-# and wrote ``Even newspaper reports present contradictory information.''
++# and wrote "Even newspaper reports present contradictory information."
+ # Those Hoosiers! Such a flighty and changeable people!
+ # Fortunately, most of the complexity occurred before our cutoff date of 1970.
+ #
+ # Other than Indianapolis, the Indiana place names are so nondescript
+-# that they would be ambiguous if we left them at the `America' level.
+-# So we reluctantly put them all in a subdirectory `America/Indiana'.
++# that they would be ambiguous if we left them at the 'America' level.
++# So we reluctantly put them all in a subdirectory 'America/Indiana'.
+
+ # From Paul Eggert (2005-08-16):
+ # http://www.mccsc.edu/time.html says that Indiana will use DST starting 2006.
+@@ -970,8 +973,8 @@
+ # This story is too entertaining to be false, so go with Howse over Shanks.
+ #
+ # From Paul Eggert (2001-03-06):
+-# Garland (1927) writes ``Cleveland and Detroit advanced their clocks
+-# one hour in 1914.'' This change is not in Shanks. We have no more
++# Garland (1927) writes "Cleveland and Detroit advanced their clocks
++# one hour in 1914." This change is not in Shanks. We have no more
+ # info, so omit this for now.
+ #
+ # Most of Michigan observed DST from 1973 on, but was a bit late in 1975.
+@@ -1011,7 +1014,7 @@
+ # occupied 1857/1900 by the Navassa Phosphate Co
+ # US lighthouse 1917/1996-09
+ # currently uninhabited
+-# see Mark Fineman, ``An Isle Rich in Guano and Discord'',
++# see Mark Fineman, "An Isle Rich in Guano and Discord",
+ # _Los Angeles Times_ (1998-11-10), A1, A10; it cites
+ # Jimmy Skaggs, _The Great Guano Rush_ (1994).
+
+@@ -1045,7 +1048,7 @@
+ # Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94
+ # <http://www.jstor.org/stable/1774359>.
+ #
+-# See the `europe' file for Greenland.
++# See the 'europe' file for Greenland.
+
+ # Canada
+
+@@ -1246,7 +1249,7 @@
+
+ # most of east Labrador
+
+-# The name `Happy Valley-Goose Bay' is too long; use `Goose Bay'.
++# The name 'Happy Valley-Goose Bay' is too long; use 'Goose Bay'.
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone America/Goose_Bay -4:01:40 - LMT 1884 # Happy Valley-Goose Bay
+ -3:30:52 - NST 1918
+@@ -1363,25 +1366,27 @@
+
+ # Quebec
+
+-# From Paul Eggert (2006-07-09):
+-# Shanks & Pottenger write that since 1970 most of Quebec has been
+-# like Montreal.
++# From Paul Eggert (2013-08-30):
++# Since 1970 most of Quebec has been like Toronto.
++# However, because earlier versions of the tz database mistakenly relied on data
++# from Shanks & Pottenger saying that Quebec differed from Ontario after 1970,
++# a separate entry was created for most of Quebec. We're loath to lose
++# its pre-1970 info, even though the tz database is normally limited to
++# zones that differ after 1970, so keep this otherwise out-of-scope entry.
+
+-# From Paul Eggert (2006-06-27):
+ # Matthews and Vincent (1998) also write that Quebec east of the -63
+ # meridian is supposed to observe AST, but residents as far east as
+ # Natashquan use EST/EDT, and residents east of Natashquan use AST.
+-# In "Official time in Quebec" the Quebec department of justice writes in
+-# http://www.justice.gouv.qc.ca/english/publications/generale/temps-regl-1-a.htm
+-# that "The residents of the Municipality of the
+-# Cote-Nord-du-Golfe-Saint-Laurent and the municipalities of Saint-Augustin,
+-# Bonne-Esperance and Blanc-Sablon apply the Official Time Act as it is
+-# written and use Atlantic standard time all year round. The same applies to
+-# the residents of the Native facilities along the lower North Shore."
+-# <http://www.assnat.qc.ca/eng/37legislature2/Projets-loi/Publics/06-a002.htm>
++# The Quebec department of justice writes in
++# "The situation in Minganie and Basse-Cote-Nord"
++# http://www.justice.gouv.qc.ca/english/publications/generale/temps-minganie-a.htm
++# that the coastal strip from just east of Natashquan to Blanc-Sablon
++# observes Atlantic standard time all year round.
++# http://www.assnat.qc.ca/Media/Process.aspx?MediaId=ANQ.Vigie.Bll.DocumentGenerique_8845en
+ # says this common practice was codified into law as of 2007.
+ # For lack of better info, guess this practice began around 1970, contra to
+ # Shanks & Pottenger who have this region observing AST/ADT.
++# for post-1970 data America/Puerto_Rico.
+
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule Mont 1917 only - Mar 25 2:00 1:00 D
+@@ -1425,7 +1430,6 @@
+ -5:00 Mont E%sT 1974
+ -5:00 Canada E%sT
+
+-
+ # Ontario
+
+ # From Paul Eggert (2006-07-09):
+@@ -1644,7 +1648,7 @@
+ -6:00 - CST 1910
+ -5:00 - EST 1942
+ -5:00 Canada E%sT 1970
+- -5:00 Mont E%sT 1973
++ -5:00 Toronto E%sT 1973
+ -5:00 - EST 1974
+ -5:00 Canada E%sT
+ Zone America/Nipigon -5:53:04 - LMT 1895
+@@ -2231,7 +2235,7 @@
+ # From Paul Eggert (1996-06-12):
+ # For an English translation of the decree, see
+ # <a href="http://mexico-travel.com/extra/timezone_eng.html">
+-# ``Diario Oficial: Time Zone Changeover'' (1996-01-04).
++# "Diario Oficial: Time Zone Changeover" (1996-01-04).
+ # </a>
+
+ # From Rives McDow (1998-10-08):
+@@ -2568,9 +2572,7 @@
+ ###############################################################################
+
+ # Anguilla
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/Anguilla -4:12:16 - LMT 1912 Mar 2
+- -4:00 - AST
++# See 'southamerica'.
+
+ # Antigua and Barbuda
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+@@ -2639,13 +2641,13 @@
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone Atlantic/Bermuda -4:19:18 - LMT 1930 Jan 1 2:00 # Hamilton
+ -4:00 - AST 1974 Apr 28 2:00
+- -4:00 Bahamas A%sT 1976
++ -4:00 Canada A%sT 1976
+ -4:00 US A%sT
+
+ # Cayman Is
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone America/Cayman -5:25:32 - LMT 1890 # Georgetown
+- -5:07:12 - KMT 1912 Feb # Kingston Mean Time
++ -5:07:11 - KMT 1912 Feb # Kingston Mean Time
+ -5:00 - EST
+
+ # Costa Rica
+@@ -2660,7 +2662,7 @@
+ # go with Shanks & Pottenger.
+ Rule CR 1991 only - Jul 1 0:00 0 S
+ Rule CR 1992 only - Mar 15 0:00 0 S
+-# There are too many San Joses elsewhere, so we'll use `Costa Rica'.
++# There are too many San Joses elsewhere, so we'll use 'Costa Rica'.
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone America/Costa_Rica -5:36:13 - LMT 1890 # San Jose
+ -5:36:13 - SJMT 1921 Jan 15 # San Jose Mean Time
+@@ -2892,9 +2894,7 @@
+ -5:00 Cuba C%sT
+
+ # Dominica
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/Dominica -4:05:36 - LMT 1911 Jul 1 0:01 # Roseau
+- -4:00 - AST
++# See 'southamerica'.
+
+ # Dominican Republic
+
+@@ -2943,18 +2943,10 @@
+ -6:00 Salv C%sT
+
+ # Grenada
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/Grenada -4:07:00 - LMT 1911 Jul # St George's
+- -4:00 - AST
+-
+ # Guadeloupe
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/Guadeloupe -4:06:08 - LMT 1911 Jun 8 # Pointe a Pitre
+- -4:00 - AST
+ # St Barthelemy
+-Link America/Guadeloupe America/St_Barthelemy
+ # St Martin (French part)
+-Link America/Guadeloupe America/Marigot
++# See 'southamerica'.
+
+ # Guatemala
+ #
+@@ -3097,17 +3089,12 @@
+ # Great Swan I ceded by US to Honduras in 1972
+
+ # Jamaica
+-
+-# From Bob Devine (1988-01-28):
+-# Follows US rules.
+-
+-# From U. S. Naval Observatory (1989-01-19):
+-# JAMAICA 5 H BEHIND UTC
+-
+-# From Shanks & Pottenger:
++# Shanks & Pottenger give -5:07:12, but Milne records -5:07:10.41 from an
++# unspecified official document, and says "This time is used throughout the
++# island". Go with Milne. Round to the nearest second as required by zic.
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/Jamaica -5:07:12 - LMT 1890 # Kingston
+- -5:07:12 - KMT 1912 Feb # Kingston Mean Time
++Zone America/Jamaica -5:07:11 - LMT 1890 # Kingston
++ -5:07:11 - KMT 1912 Feb # Kingston Mean Time
+ -5:00 - EST 1974 Apr 28 2:00
+ -5:00 US E%sT 1984
+ -5:00 - EST
+@@ -3121,12 +3108,7 @@
+ -4:00 - AST
+
+ # Montserrat
+-# From Paul Eggert (2006-03-22):
+-# In 1995 volcanic eruptions forced evacuation of Plymouth, the capital.
+-# world.gazetteer.com says Cork Hill is the most populous location now.
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/Montserrat -4:08:52 - LMT 1911 Jul 1 0:01 # Cork Hill
+- -4:00 - AST
++# See 'southamerica'.
+
+ # Nicaragua
+ #
+@@ -3200,7 +3182,7 @@
+ -5:00 - EST
+
+ # Puerto Rico
+-# There are too many San Juans elsewhere, so we'll use `Puerto_Rico'.
++# There are too many San Juans elsewhere, so we'll use 'Puerto_Rico'.
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone America/Puerto_Rico -4:24:25 - LMT 1899 Mar 28 12:00 # San Juan
+ -4:00 - AST 1942 May 3
+@@ -3208,18 +3190,11 @@
+ -4:00 - AST
+
+ # St Kitts-Nevis
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/St_Kitts -4:10:52 - LMT 1912 Mar 2 # Basseterre
+- -4:00 - AST
+-
+ # St Lucia
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/St_Lucia -4:04:00 - LMT 1890 # Castries
+- -4:04:00 - CMT 1912 # Castries Mean Time
+- -4:00 - AST
++# See 'southamerica'.
+
+ # St Pierre and Miquelon
+-# There are too many St Pierres elsewhere, so we'll use `Miquelon'.
++# There are too many St Pierres elsewhere, so we'll use 'Miquelon'.
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone America/Miquelon -3:44:40 - LMT 1911 May 15 # St Pierre
+ -4:00 - AST 1980 May
+@@ -3227,10 +3202,7 @@
+ -3:00 Canada PM%sT
+
+ # St Vincent and the Grenadines
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/St_Vincent -4:04:56 - LMT 1890 # Kingstown
+- -4:04:56 - KMT 1912 # Kingstown Mean Time
+- -4:00 - AST
++# See 'southamerica'.
+
+ # Turks and Caicos
+ #
+@@ -3260,15 +3232,9 @@
+ Rule TC 2007 max - Nov Sun>=1 2:00 0 S
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ Zone America/Grand_Turk -4:44:32 - LMT 1890
+- -5:07:12 - KMT 1912 Feb # Kingston Mean Time
++ -5:07:11 - KMT 1912 Feb # Kingston Mean Time
+ -5:00 TC E%sT
+
+ # British Virgin Is
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/Tortola -4:18:28 - LMT 1911 Jul # Road Town
+- -4:00 - AST
+-
+ # Virgin Is
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/St_Thomas -4:19:44 - LMT 1911 Jul # Charlotte Amalie
+- -4:00 - AST
++# See 'southamerica'.
+--- ./jdk/make/sun/javazic/tzdata/pacificnew Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/pacificnew Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+--- ./jdk/make/sun/javazic/tzdata/solar87 Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/solar87 Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+--- ./jdk/make/sun/javazic/tzdata/solar88 Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/solar88 Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+--- ./jdk/make/sun/javazic/tzdata/solar89 Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/solar89 Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+--- ./jdk/make/sun/javazic/tzdata/southamerica Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/southamerica Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+@@ -474,6 +474,17 @@
+ # rules...San Luis is still using "Western ARgentina Time" and it got
+ # stuck on Summer daylight savings time even though the summer is over.
+
++# From Paul Eggert (2013-09-05):
++# Perhaps San Luis operates on the legal fiction that it is at UTC-4
++# with perpetual summer time, but ordinary usage typically seems to
++# just say it's at UTC-3; see, for example,
++# <http://es.wikipedia.org/wiki/Hora_oficial_argentina>.
++# We've documented similar situations as being plain changes to
++# standard time, so let's do that here too. This does not change UTC
++# offsets, only tm_isdst and the time zone abbreviations. One minor
++# plus is that this silences a zic complaint that there's no POSIX TZ
++# setting for time stamps past 2038.
++
+ # From Paul Eggert (2013-02-21):
+ # Milne says Cordoba time was -4:16:48.2. Round to the nearest second.
+
+@@ -611,7 +622,7 @@
+ # San Luis (SL)
+
+ Rule SanLuis 2008 2009 - Mar Sun>=8 0:00 0 -
+-Rule SanLuis 2007 2009 - Oct Sun>=8 0:00 1:00 S
++Rule SanLuis 2007 2008 - Oct Sun>=8 0:00 1:00 S
+
+ Zone America/Argentina/San_Luis -4:25:24 - LMT 1894 Oct 31
+ -4:16:48 - CMT 1920 May
+@@ -627,7 +638,8 @@
+ -3:00 - ART 2004 May 31
+ -4:00 - WART 2004 Jul 25
+ -3:00 Arg AR%sT 2008 Jan 21
+- -4:00 SanLuis WAR%sT
++ -4:00 SanLuis WAR%sT 2009 Oct 11
++ -3:00 - ART
+ #
+ # Santa Cruz (SC)
+ Zone America/Argentina/Rio_Gallegos -4:36:52 - LMT 1894 Oct 31
+@@ -654,10 +666,7 @@
+ -3:00 - ART
+
+ # Aruba
+-# Zone NAME GMTOFF RULES FORMAT [UNTIL]
+-Zone America/Aruba -4:40:24 - LMT 1912 Feb 12 # Oranjestad
+- -4:30 - ANT 1965 # Netherlands Antilles Time
+- -4:00 - AST
++Link America/Curacao America/Aruba
+
+ # Bolivia
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+@@ -859,6 +868,21 @@
+ # Tocantins state will have DST.
+ # http://noticias.terra.com.br/brasil/noticias/0,,OI6232536-EI306.html
+
++# From Steffen Thorsen (2013-09-20):
++# Tocantins in Brazil is very likely not to observe DST from October....
++# http://conexaoto.com.br/2013/09/18/ministerio-confirma-que-tocantins-esta-fora-do-horario-de-verao-em-2013-mas-falta-publicacao-de-decreto
++# We will keep this article updated when this is confirmed:
++# http://www.timeanddate.com/news/time/brazil-starts-dst-2013.html
++
++# From Steffen Thorsen (2013-10-17):
++# http://www.timeanddate.com/news/time/acre-amazonas-change-time-zone.html
++# Senator Jorge Viana announced that Acre will change time zone on November 10.
++# He did not specify the time of the change, nor if western parts of Amazonas
++# will change as well.
++#
++# From Paul Eggert (2013-10-17):
++# For now, assume western Amazonas will change as well.
++
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ # Decree <a href="http://pcdsh01.on.br/HV20466.htm">20,466</a> (1931-10-01)
+ # Decree <a href="http://pcdsh01.on.br/HV21896.htm">21,896</a> (1932-01-10)
+@@ -1078,7 +1102,8 @@
+ -3:00 - BRT 1995 Sep 14
+ -3:00 Brazil BR%sT 2003 Sep 24
+ -3:00 - BRT 2012 Oct 21
+- -3:00 Brazil BR%sT
++ -3:00 Brazil BR%sT 2013 Sep
++ -3:00 - BRT
+ #
+ # Alagoas (AL), Sergipe (SE)
+ Zone America/Maceio -2:22:52 - LMT 1914
+@@ -1146,13 +1171,15 @@
+ -5:00 - ACT 1993 Sep 28
+ -5:00 Brazil AC%sT 1994 Sep 22
+ -5:00 - ACT 2008 Jun 24 00:00
+- -4:00 - AMT
++ -4:00 - AMT 2013 Nov 10
++ -5:00 - ACT
+ #
+ # Acre (AC)
+ Zone America/Rio_Branco -4:31:12 - LMT 1914
+ -5:00 Brazil AC%sT 1988 Sep 12
+ -5:00 - ACT 2008 Jun 24 00:00
+- -4:00 - AMT
++ -4:00 - AMT 2013 Nov 10
++ -5:00 - ACT
+
+ # Chile
+
+@@ -1373,12 +1400,12 @@
+ -4:00 - AST
+
+ # From Arthur David Olson (2011-06-15):
+-# At least for now, use links for places with new iso3166 codes.
++# use links for places with new iso3166 codes.
+ # The name "Lower Prince's Quarter" is both longer than fourteen charaters
+ # and contains an apostrophe; use "Lower_Princes" below.
+
+-Link America/Curacao America/Lower_Princes # Sint Maarten
+-Link America/Curacao America/Kralendijk # Bonaire, Sint Estatius and Saba
++Link America/Curacao America/Lower_Princes # Sint Maarten
++Link America/Curacao America/Kralendijk # Caribbean Netherlands
+
+ # Ecuador
+ #
+@@ -1519,10 +1546,16 @@
+ -4:00 - GYT
+
+ # Paraguay
++#
+ # From Paul Eggert (2006-03-22):
+ # Shanks & Pottenger say that spring transitions are from 01:00 -> 02:00,
+ # and autumn transitions are from 00:00 -> 23:00. Go with pre-1999
+ # editions of Shanks, and with the IATA, who say transitions occur at 00:00.
++#
++# From Waldemar Villamayor-Venialbo (2013-09-20):
++# No time of the day is established for the adjustment, so people normally
++# adjust their clocks at 0 hour of the given dates.
++#
+ # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ Rule Para 1975 1988 - Oct 1 0:00 1:00 S
+ Rule Para 1975 1978 - Mar 1 0:00 0 -
+@@ -1656,6 +1689,19 @@
+ Zone America/Port_of_Spain -4:06:04 - LMT 1912 Mar 2
+ -4:00 - AST
+
++Link America/Port_of_Spain America/Anguilla
++Link America/Port_of_Spain America/Dominica
++Link America/Port_of_Spain America/Grenada
++Link America/Port_of_Spain America/Guadeloupe
++Link America/Port_of_Spain America/Marigot
++Link America/Port_of_Spain America/Montserrat
++Link America/Port_of_Spain America/St_Barthelemy
++Link America/Port_of_Spain America/St_Kitts
++Link America/Port_of_Spain America/St_Lucia
++Link America/Port_of_Spain America/St_Thomas
++Link America/Port_of_Spain America/St_Vincent
++Link America/Port_of_Spain America/Tortola
++
+ # Uruguay
+ # From Paul Eggert (1993-11-18):
+ # Uruguay wins the prize for the strangest peacetime manipulation of the rules.
+@@ -1673,7 +1719,7 @@
+ # Whitman gives 1937 Oct 3; go with Shanks & Pottenger.
+ Rule Uruguay 1937 1940 - Oct lastSun 0:00 0:30 HS
+ # Whitman gives 1941 Oct 24 - 1942 Mar 27, 1942 Dec 14 - 1943 Apr 13,
+-# and 1943 Apr 13 ``to present time''; go with Shanks & Pottenger.
++# and 1943 Apr 13 "to present time"; go with Shanks & Pottenger.
+ Rule Uruguay 1941 only - Aug 1 0:00 0:30 HS
+ Rule Uruguay 1942 only - Jan 1 0:00 0 -
+ Rule Uruguay 1942 only - Dec 14 0:00 1:00 S
+--- ./jdk/make/sun/javazic/tzdata/systemv Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/systemv Thu Dec 19 09:01:16 2013 -0800
+@@ -1,22 +1,22 @@
+ #
+ # 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.
+--- ./jdk/make/sun/javazic/tzdata/zone.tab Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/javazic/tzdata/zone.tab Thu Dec 19 09:01:16 2013 -0800
+@@ -1,53 +1,55 @@
+ #
+ # 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.
+ #
+-# <pre>
++# TZ zone descriptions
++#
+ # This file is in the public domain, so clarified as of
+ # 2009-05-17 by Arthur David Olson.
+ #
+-# TZ zone descriptions
++# From Paul Eggert (2013-08-14):
+ #
+-# From Paul Eggert (2013-05-27):
++# This file contains a table where each row stands for an area that is
++# the intersection of a region identified by a country code and of a
++# zone where civil clocks have agreed since 1970. The columns of the
++# table are as follows:
+ #
+-# This file contains a table with the following columns:
+-# 1. ISO 3166 2-character country code. See the file `iso3166.tab'.
+-# This identifies a country that overlaps the zone. The country may
+-# overlap other zones and the zone may overlap other countries.
+-# 2. Latitude and longitude of the zone's principal location
++# 1. ISO 3166 2-character country code. See the file 'iso3166.tab'.
++# 2. Latitude and longitude of the area's principal location
+ # in ISO 6709 sign-degrees-minutes-seconds format,
+ # either +-DDMM+-DDDMM or +-DDMMSS+-DDDMMSS,
+ # first latitude (+ is north), then longitude (+ is east).
+-# This location need not lie within the column-1 country.
+ # 3. Zone name used in value of TZ environment variable.
+ # Please see the 'Theory' file for how zone names are chosen.
++# If multiple zones overlap a country, each has a row in the
++# table, with column 1 being duplicated.
+ # 4. Comments; present if and only if the country has multiple rows.
+ #
+ # Columns are separated by a single tab.
+ # The table is sorted first by country, then an order within the country that
+ # (1) makes some geographical sense, and
+-# (2) puts the most populous zones first, where that does not contradict (1).
++# (2) puts the most populous areas first, where that does not contradict (1).
+ #
+-# Lines beginning with `#' are comments.
++# Lines beginning with '#' are comments.
+ #
+ # This table is intended as an aid for users, to help them select time
+ # zone data appropriate for their practical needs. It is not intended
+@@ -63,8 +65,7 @@
+ AL +4120+01950 Europe/Tirane
+ AM +4011+04430 Asia/Yerevan
+ AO -0848+01314 Africa/Luanda
+-AQ -7750+16636 Antarctica/McMurdo McMurdo Station, Ross Island
+-AQ -9000+00000 Antarctica/South_Pole Amundsen-Scott Station, South Pole
++AQ -7750+16636 Antarctica/McMurdo McMurdo, South Pole, Scott (New Zealand time)
+ AQ -6734-06808 Antarctica/Rothera Rothera Station, Adelaide Island
+ AQ -6448-06406 Antarctica/Palmer Palmer Station, Anvers Island
+ AQ -6736+06253 Antarctica/Mawson Mawson Station, Holme Bay
+@@ -144,8 +145,7 @@
+ CA +4606-06447 America/Moncton Atlantic Time - New Brunswick
+ CA +5320-06025 America/Goose_Bay Atlantic Time - Labrador - most locations
+ CA +5125-05707 America/Blanc-Sablon Atlantic Standard Time - Quebec - Lower North Shore
+-CA +4531-07334 America/Montreal Eastern Time - Quebec - most locations
+-CA +4339-07923 America/Toronto Eastern Time - Ontario - most locations
++CA +4339-07923 America/Toronto Eastern Time - Ontario & Quebec - most locations
+ CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did not observe DST 1967-1973
+ CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontario
+ CA +6344-06828 America/Iqaluit Eastern Time - east Nunavut - most locations
+@@ -256,7 +256,7 @@
+ IS +6409-02151 Atlantic/Reykjavik
+ IT +4154+01229 Europe/Rome
+ JE +4912-00207 Europe/Jersey
+-JM +1800-07648 America/Jamaica
++JM +175805-0764736 America/Jamaica
+ JO +3157+03556 Asia/Amman
+ JP +353916+1394441 Asia/Tokyo
+ KE -0117+03649 Africa/Nairobi
+@@ -445,8 +445,7 @@
+ US +471551-1014640 America/North_Dakota/Beulah Central Time - North Dakota - Mercer County
+ US +394421-1045903 America/Denver Mountain Time
+ US +433649-1161209 America/Boise Mountain Time - south Idaho & east Oregon
+-US +364708-1084111 America/Shiprock Mountain Time - Navajo
+-US +332654-1120424 America/Phoenix Mountain Standard Time - Arizona
++US +332654-1120424 America/Phoenix Mountain Standard Time - Arizona (except Navajo)
+ US +340308-1181434 America/Los_Angeles Pacific Time
+ US +611305-1495401 America/Anchorage Alaska Time
+ US +581807-1342511 America/Juneau Alaska Time - Alaska panhandle
+--- ./jdk/make/sun/net/FILES_java.gmk Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/make/sun/net/FILES_java.gmk Thu Dec 19 09:01:16 2013 -0800
+@@ -24,122 +24,123 @@
+ #
+
+ FILES_java = \
+- sun/net/InetAddressCachePolicy.java \
+- sun/net/URLCanonicalizer.java \
+- sun/net/NetworkClient.java \
+- sun/net/NetworkServer.java \
+- sun/net/ProgressMonitor.java \
+- sun/net/ProgressSource.java \
+- sun/net/ProgressEvent.java \
+- sun/net/ProgressListener.java \
+- sun/net/ProgressMeteringPolicy.java \
+- sun/net/SocksProxy.java \
+- sun/net/ResourceManager.java \
+- sun/net/TelnetInputStream.java \
+- sun/net/TelnetOutputStream.java \
+- sun/net/TelnetProtocolException.java \
+- sun/net/TransferProtocolClient.java \
+- sun/net/ConnectionResetException.java \
+- sun/net/NetProperties.java \
+- sun/net/NetHooks.java \
+- sun/net/util/IPAddressUtil.java \
+- sun/net/util/URLUtil.java \
+- sun/net/dns/ResolverConfiguration.java \
+- sun/net/dns/ResolverConfigurationImpl.java \
+- sun/net/ftp/FtpClient.java \
+- sun/net/ftp/FtpClientProvider.java \
+- sun/net/ftp/FtpDirEntry.java \
+- sun/net/ftp/FtpReplyCode.java \
+- sun/net/ftp/FtpDirParser.java \
+- sun/net/ftp/FtpLoginException.java \
+- sun/net/ftp/FtpProtocolException.java \
+- sun/net/ftp/impl/FtpClient.java \
+- sun/net/ftp/impl/DefaultFtpClientProvider.java \
+- sun/net/sdp/SdpSupport.java \
+- sun/net/spi/DefaultProxySelector.java \
+- sun/net/spi/nameservice/NameServiceDescriptor.java \
+- sun/net/spi/nameservice/NameService.java \
+- sun/net/smtp/SmtpClient.java \
+- sun/net/smtp/SmtpProtocolException.java \
+- sun/net/www/content/text/Generic.java \
+- sun/net/www/content/text/plain.java \
+- sun/net/www/content/text/PlainTextInputStream.java \
+- sun/net/www/MessageHeader.java \
+- sun/net/www/HeaderParser.java \
+- sun/net/www/MeteredStream.java \
+- sun/net/www/MimeEntry.java \
+- sun/net/www/MimeLauncher.java \
+- sun/net/www/ApplicationLaunchException.java \
+- sun/net/www/MimeTable.java \
+- sun/net/www/URLConnection.java \
+- sun/net/www/ParseUtil.java \
+- sun/net/www/protocol/file/Handler.java \
+- sun/net/www/protocol/file/FileURLConnection.java \
+- sun/net/www/http/HttpClient.java \
+- sun/net/www/http/HttpCapture.java \
+- sun/net/www/http/HttpCaptureInputStream.java \
+- sun/net/www/http/HttpCaptureOutputStream.java \
+- sun/net/www/http/PosterOutputStream.java \
+- sun/net/www/http/ChunkedInputStream.java \
+- sun/net/www/http/ChunkedOutputStream.java \
+- sun/net/www/http/KeepAliveCache.java \
+- sun/net/www/http/KeepAliveStream.java \
+- sun/net/www/http/KeepAliveStreamCleaner.java \
+- sun/net/www/http/Hurryable.java \
+- sun/net/www/protocol/http/Handler.java \
+- sun/net/www/protocol/http/HttpURLConnection.java \
+- sun/net/www/protocol/http/HttpAuthenticator.java \
+- sun/net/www/protocol/http/AuthenticationHeader.java \
+- sun/net/www/protocol/http/AuthenticationInfo.java \
+- sun/net/www/protocol/http/AuthCache.java \
+- sun/net/www/protocol/http/AuthCacheImpl.java \
+- sun/net/www/protocol/http/AuthCacheValue.java \
+- sun/net/www/protocol/http/AuthScheme.java \
+- sun/net/www/protocol/http/BasicAuthentication.java \
+- sun/net/www/protocol/http/DigestAuthentication.java \
+- sun/net/www/protocol/http/NTLMAuthenticationProxy.java \
+- sun/net/www/protocol/http/NegotiateAuthentication.java \
+- sun/net/www/protocol/http/Negotiator.java \
+- sun/net/www/protocol/http/ntlm/NTLMAuthentication.java \
+- sun/net/www/protocol/http/ntlm/NTLMAuthenticationCallback.java \
+- sun/net/www/protocol/http/spnego/NegotiatorImpl.java \
+- sun/net/www/protocol/http/spnego/NegotiateCallbackHandler.java \
+- sun/net/www/protocol/http/logging/HttpLogFormatter.java \
+- sun/net/www/protocol/https/AbstractDelegateHttpsURLConnection.java \
+- sun/net/www/protocol/https/HttpsClient.java \
+- sun/net/www/protocol/https/DefaultHostnameVerifier.java \
+- sun/net/www/protocol/https/HttpsURLConnectionImpl.java \
+- sun/net/www/protocol/https/DelegateHttpsURLConnection.java \
+- sun/net/www/protocol/https/Handler.java \
+- sun/net/www/protocol/jar/Handler.java \
+- sun/net/www/protocol/jar/URLJarFile.java \
+- sun/net/www/protocol/jar/JarFileFactory.java \
+- sun/net/www/protocol/jar/JarURLConnection.java \
+- sun/net/www/protocol/netdoc/Handler.java \
+- sun/net/www/content/image/gif.java \
+- sun/net/www/content/image/jpeg.java \
+- sun/net/www/content/image/x_xbitmap.java \
+- sun/net/www/content/image/x_xpixmap.java \
+- sun/net/www/content/image/png.java \
+- sun/net/www/content/audio/aiff.java \
+- sun/net/www/content/audio/basic.java \
+- sun/net/www/content/audio/wav.java \
+- sun/net/www/content/audio/x_aiff.java \
+- sun/net/www/content/audio/x_wav.java \
+- sun/net/www/protocol/ftp/Handler.java \
+- sun/net/www/protocol/ftp/FtpURLConnection.java \
+- sun/net/www/protocol/gopher/GopherClient.java \
+- sun/net/www/protocol/gopher/Handler.java \
+- sun/net/www/protocol/mailto/Handler.java \
+- sun/net/www/protocol/mailto/MailToURLConnection.java \
+- sun/net/idn/Punycode.java \
+- sun/net/idn/UCharacterEnums.java \
+- sun/net/idn/UCharacterDirection.java \
+- sun/net/idn/StringPrepDataReader.java \
+- sun/net/idn/StringPrep.java
++ sun/net/InetAddressCachePolicy.java \
++ sun/net/URLCanonicalizer.java \
++ sun/net/NetworkClient.java \
++ sun/net/NetworkServer.java \
++ sun/net/PortConfig.java \
++ sun/net/ProgressMonitor.java \
++ sun/net/ProgressSource.java \
++ sun/net/ProgressEvent.java \
++ sun/net/ProgressListener.java \
++ sun/net/ProgressMeteringPolicy.java \
++ sun/net/SocksProxy.java \
++ sun/net/ResourceManager.java \
++ sun/net/TelnetInputStream.java \
++ sun/net/TelnetOutputStream.java \
++ sun/net/TelnetProtocolException.java \
++ sun/net/TransferProtocolClient.java \
++ sun/net/ConnectionResetException.java \
++ sun/net/NetProperties.java \
++ sun/net/NetHooks.java \
++ sun/net/util/IPAddressUtil.java \
++ sun/net/util/URLUtil.java \
++ sun/net/dns/ResolverConfiguration.java \
++ sun/net/dns/ResolverConfigurationImpl.java \
++ sun/net/ftp/FtpClient.java \
++ sun/net/ftp/FtpClientProvider.java \
++ sun/net/ftp/FtpDirEntry.java \
++ sun/net/ftp/FtpReplyCode.java \
++ sun/net/ftp/FtpDirParser.java \
++ sun/net/ftp/FtpLoginException.java \
++ sun/net/ftp/FtpProtocolException.java \
++ sun/net/ftp/impl/FtpClient.java \
++ sun/net/ftp/impl/DefaultFtpClientProvider.java \
++ sun/net/sdp/SdpSupport.java \
++ sun/net/spi/DefaultProxySelector.java \
++ sun/net/spi/nameservice/NameServiceDescriptor.java \
++ sun/net/spi/nameservice/NameService.java \
++ sun/net/smtp/SmtpClient.java \
++ sun/net/smtp/SmtpProtocolException.java \
++ sun/net/www/content/text/Generic.java \
++ sun/net/www/content/text/plain.java \
++ sun/net/www/content/text/PlainTextInputStream.java \
++ sun/net/www/MessageHeader.java \
++ sun/net/www/HeaderParser.java \
++ sun/net/www/MeteredStream.java \
++ sun/net/www/MimeEntry.java \
++ sun/net/www/MimeLauncher.java \
++ sun/net/www/ApplicationLaunchException.java \
++ sun/net/www/MimeTable.java \
++ sun/net/www/URLConnection.java \
++ sun/net/www/ParseUtil.java \
++ sun/net/www/protocol/file/Handler.java \
++ sun/net/www/protocol/file/FileURLConnection.java \
++ sun/net/www/http/HttpClient.java \
++ sun/net/www/http/HttpCapture.java \
++ sun/net/www/http/HttpCaptureInputStream.java \
++ sun/net/www/http/HttpCaptureOutputStream.java \
++ sun/net/www/http/PosterOutputStream.java \
++ sun/net/www/http/ChunkedInputStream.java \
++ sun/net/www/http/ChunkedOutputStream.java \
++ sun/net/www/http/KeepAliveCache.java \
++ sun/net/www/http/KeepAliveStream.java \
++ sun/net/www/http/KeepAliveStreamCleaner.java \
++ sun/net/www/http/Hurryable.java \
++ sun/net/www/protocol/http/Handler.java \
++ sun/net/www/protocol/http/HttpURLConnection.java \
++ sun/net/www/protocol/http/HttpAuthenticator.java \
++ sun/net/www/protocol/http/AuthenticationHeader.java \
++ sun/net/www/protocol/http/AuthenticationInfo.java \
++ sun/net/www/protocol/http/AuthCache.java \
++ sun/net/www/protocol/http/AuthCacheImpl.java \
++ sun/net/www/protocol/http/AuthCacheValue.java \
++ sun/net/www/protocol/http/AuthScheme.java \
++ sun/net/www/protocol/http/BasicAuthentication.java \
++ sun/net/www/protocol/http/DigestAuthentication.java \
++ sun/net/www/protocol/http/NTLMAuthenticationProxy.java \
++ sun/net/www/protocol/http/NegotiateAuthentication.java \
++ sun/net/www/protocol/http/Negotiator.java \
++ sun/net/www/protocol/http/ntlm/NTLMAuthentication.java \
++ sun/net/www/protocol/http/ntlm/NTLMAuthenticationCallback.java \
++ sun/net/www/protocol/http/spnego/NegotiatorImpl.java \
++ sun/net/www/protocol/http/spnego/NegotiateCallbackHandler.java \
++ sun/net/www/protocol/http/logging/HttpLogFormatter.java \
++ sun/net/www/protocol/https/AbstractDelegateHttpsURLConnection.java \
++ sun/net/www/protocol/https/HttpsClient.java \
++ sun/net/www/protocol/https/DefaultHostnameVerifier.java \
++ sun/net/www/protocol/https/HttpsURLConnectionImpl.java \
++ sun/net/www/protocol/https/DelegateHttpsURLConnection.java \
++ sun/net/www/protocol/https/Handler.java \
++ sun/net/www/protocol/jar/Handler.java \
++ sun/net/www/protocol/jar/URLJarFile.java \
++ sun/net/www/protocol/jar/JarFileFactory.java \
++ sun/net/www/protocol/jar/JarURLConnection.java \
++ sun/net/www/protocol/netdoc/Handler.java \
++ sun/net/www/content/image/gif.java \
++ sun/net/www/content/image/jpeg.java \
++ sun/net/www/content/image/x_xbitmap.java \
++ sun/net/www/content/image/x_xpixmap.java \
++ sun/net/www/content/image/png.java \
++ sun/net/www/content/audio/aiff.java \
++ sun/net/www/content/audio/basic.java \
++ sun/net/www/content/audio/wav.java \
++ sun/net/www/content/audio/x_aiff.java \
++ sun/net/www/content/audio/x_wav.java \
++ sun/net/www/protocol/ftp/Handler.java \
++ sun/net/www/protocol/ftp/FtpURLConnection.java \
++ sun/net/www/protocol/gopher/GopherClient.java \
++ sun/net/www/protocol/gopher/Handler.java \
++ sun/net/www/protocol/mailto/Handler.java \
++ sun/net/www/protocol/mailto/MailToURLConnection.java \
++ sun/net/idn/Punycode.java \
++ sun/net/idn/UCharacterEnums.java \
++ sun/net/idn/UCharacterDirection.java \
++ sun/net/idn/StringPrepDataReader.java \
++ sun/net/idn/StringPrep.java
+
+ ifeq ($(PLATFORM), windows)
+- FILES_java += sun/net/www/protocol/http/ntlm/NTLMAuthSequence.java
++ FILES_java += sun/net/www/protocol/http/ntlm/NTLMAuthSequence.java
+ else
+ FILES_java += sun/net/sdp/SdpProvider.java
+ endif
+--- ./jdk/src/bsd/doc/man/jarsigner.1 Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/bsd/doc/man/jarsigner.1 Thu Dec 19 09:01:16 2013 -0800
+@@ -1,1567 +1,985 @@
+-." Copyright (c) 1998, 2011, 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.
+-."
+-." 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.
+-."
+-.TH jarsigner 1 "10 May 2011"
++'\" t
++.\" Copyright (c) 1998, 2013, 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.
++.\"
++.\" 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.
++.\"
++.\" Arch: generic
++.\" Software: JDK 7
++.\" Date: 6 August 2013
++.\" SectDesc: Security Tools
++.\" Title: jarsigner.1
++.\"
++.if n .pl 99999
++.TH jarsigner 1 "6 August 2013" "JDK 7" "Security Tools"
++.\" -----------------------------------------------------------------
++.\" * Define some portability stuff
++.\" -----------------------------------------------------------------
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.\" http://bugs.debian.org/507673
++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.ie \n(.g .ds Aq \(aq
++.el .ds Aq '
++.\" -----------------------------------------------------------------
++.\" * set default formatting
++.\" -----------------------------------------------------------------
++.\" disable hyphenation
++.nh
++.\" disable justification (adjust text to left margin only)
++.ad l
++.\" -----------------------------------------------------------------
++.\" * MAIN CONTENT STARTS HERE *
++.\" -----------------------------------------------------------------
+
+-.LP
+-.SH "Name"
+-jarsigner \- JAR Signing and Verification Tool
+-.LP
+-.LP
+-Generates signatures for Java ARchive (JAR) files, and verifies the signatures of signed JAR files.
+-.LP
+-.SH "SYNOPSIS"
+-.LP
+-.nf
+-\f3
+-.fl
+-\fP\f3jarsigner\fP [ options ] jar\-file alias
+-.fl
+-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...]
+-.fl
+-.fi
++.SH NAME
++jarsigner \- Signs and verifies Java Archive (JAR) files\&.
++.SH SYNOPSIS
++.sp
++.nf
+
+-.LP
+-.LP
+-The jarsigner \-verify command can take zero or more keystore alias names after the jar filename. When specified, jarsigner will check that the certificate used to verify each signed entry in the jar file matches one of the keystore aliases. The aliases are defined in the keystore specified by \-keystore, or the default keystore.
+-.LP
+-.SH "DESCRIPTION"
+-.LP
+-.LP
+-The \f3jarsigner\fP tool is used for two purposes:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-to sign Java ARchive (JAR) files, and
+-.TP 3
+-2.
+-to verify the signatures and integrity of signed JAR files.
+-.RE
++\fBjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR
++.fi
++.nf
+
+-.LP
+-.LP
+-The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution. A tool named jar(1) enables developers to produce JAR files. (Technically, any zip file can also be considered a JAR file, although when created by \f3jar\fP or processed by \f3jarsigner\fP, JAR files also contain a META\-INF/MANIFEST.MF file.)
+-.LP
+-.LP
+-A \f2digital signature\fP is a string of bits that is computed from some data (the data being "signed") and the private key of an entity (a person, company, etc.). Like a handwritten signature, a digital signature has many useful characteristics:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-Its authenticity can be verified, via a computation that uses the public key corresponding to the private key used to generate the signature.
+-.TP 2
+-o
+-It cannot be forged, assuming the private key is kept secret.
+-.TP 2
+-o
+-It is a function of the data signed and thus can't be claimed to be the signature for other data as well.
+-.TP 2
+-o
+-The signed data cannot be changed; if it is, the signature will no longer verify as being authentic.
+-.RE
++\fBjarsigner\fR \fB\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR]
++.fi
++.sp
++.TP
++\fIoptions\fR
++The command-line options\&. See Options\&.
++.TP
++-verify
++.br
++The \f3-verify\fR option can take zero or more keystore alias names after the JAR file name\&. When the \f3-verify\fR option is specified, the \f3jarsigner\fR command checks that the certificate used to verify each signed entry in the JAR file matches one of the keystore aliases\&. The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&.
+
+-.LP
+-.LP
+-In order for an entity's signature to be generated for a file, the entity must first have a public/private key pair associated with it, and also one or more certificates authenticating its public key. A \f2certificate\fP is a digitally signed statement from one entity, saying that the public key of some other entity has a particular value.
+-.LP
+-.LP
+-\f3jarsigner\fP uses key and certificate information from a \f2keystore\fP to generate digital signatures for JAR files. A keystore is a database of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. The keytool(1) utility is used to create and administer keystores.
+-.LP
+-.LP
+-\f3jarsigner\fP uses an entity's private key to generate a signature. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file. \f3jarsigner\fP can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file).
+-.LP
+-.LP
+-\f3jarsigner\fP can generate signatures that include a timestamp, thus enabling systems/deployer (including Java Plug\-in) to check whether the JAR file was signed while the signing certificate was still valid. In addition, APIs will allow applications to obtain the timestamp information.
+-.LP
+-.LP
+-At this time, \f3jarsigner\fP can only sign JAR files created by the SDK jar(1) tool or zip files. (JAR files are the same as zip files, except they also have a META\-INF/MANIFEST.MF file. Such a file will automatically be created when \f3jarsigner\fP signs a zip file.)
+-.LP
+-.LP
+-The default \f3jarsigner\fP behavior is to \f2sign\fP a JAR (or zip) file. Use the \f2\-verify\fP option to instead have it \f2verify\fP a signed JAR file.
+-.LP
+-.SS
+-Keystore Aliases
+-.LP
+-.LP
+-All keystore entities are accessed via unique \f2aliases\fP.
+-.LP
+-.LP
+-When using \f3jarsigner\fP to sign a JAR file, you must specify the alias for the keystore entry containing the private key needed to generate the signature. For example, the following will sign the JAR file named "MyJARFile.jar", using the private key associated with the alias "duke" in the keystore named "mystore" in the "working" directory. Since no output file is specified, it overwrites MyJARFile.jar with the signed JAR file.
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke
+-.fl
+-\fP
+-.fi
++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar verified, with signer errors" is displayed\&.
++.TP
++\fIjar-file\fR
++The JAR file to be signed\&.
+
+-.LP
+-.LP
+-Keystores are protected with a password, so the store password must be specified. You will be prompted for it if you don't specify it on the command line. Similarly, private keys are protected in a keystore with a password, so the private key's password must be specified, and you will be prompted for it if you don't specify it on the command line and it isn't the same as the store password.
+-.LP
+-.SS
+-Keystore Location
+-.LP
+-.LP
+-\f3jarsigner\fP has a \f2\-keystore\fP option for specifying the URL of the keystore to be used. The keystore is by default stored in a file named \f2.keystore\fP in the user's home directory, as determined by the \f2user.home\fP system property. On Solaris systems \f2user.home\fP defaults to the user's home directory.
+-.LP
+-.LP
+-Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based, for example, if it resides on a hardware token device.
+-.LP
+-.SS
+-Keystore Implementation
+-.LP
+-.LP
+-The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore.
+-.LP
+-.LP
+-Currently, there are two command\-line tools that make use of keystore implementations (\f3keytool\fP and \f3jarsigner\fP), and also a GUI\-based tool named \f3Policy Tool\fP. Since \f2KeyStore\fP is publicly available, Java 2 SDK users can write additional security applications that use it.
+-.LP
+-.LP
+-There is a built\-in default implementation, provided by Sun Microsystems. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password.
+-.LP
+-.LP
+-Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a provider and supply a KeystoreSpi subclass implementation, as described in
+-.na
+-\f2How to Implement a Provider for the Java Cryptography Architecture\fP @
+-.fi
+-http://download.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html.
+-.LP
+-.LP
+-Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible.
+-.LP
+-.LP
+-\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL.
+-.LP
+-.LP
+-For \f3jarsigner\fP and \f3keytool\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Change Keystore" command in the Edit menu.
+-.LP
+-.LP
+-If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the SDK security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment).
+-.LP
+-.LP
+-Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider.
+-.LP
+-.LP
+-The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property):
+-.LP
+-.nf
+-\f3
+-.fl
+- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
+-.fl
+-\fP
+-.fi
++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar signed, with signer errors" is displayed\&.
++.TP
++\fIalias\fR
++The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&.
++.SH DESCRIPTION
++The \f3jarsigner\fR tool has two purposes:
++.TP 0.2i
++\(bu
++To sign Java Archive (JAR) files\&.
++.TP 0.2i
++\(bu
++To verify the signatures and integrity of signed JAR files\&.
++.PP
++The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution\&. A tool named \f3jar\fR enables developers to produce JAR files\&. (Technically, any zip file can also be considered a JAR file, although when created by the \f3jar\fR command or processed by the \f3jarsigner\fR command, JAR files also contain a \f3META-INF/MANIFEST\&.MF\fR file\&.)
++.PP
++A digital signature is a string of bits that is computed from some data (the data being signed) and the private key of an entity (a person, company, and so on)\&. Similar to a handwritten signature, a digital signature has many useful characteristics:
++.TP 0.2i
++\(bu
++Its authenticity can be verified by a computation that uses the public key corresponding to the private key used to generate the signature\&.
++.TP 0.2i
++\(bu
++It cannot be forged, assuming the private key is kept secret\&.
++.TP 0.2i
++\(bu
++It is a function of the data signed and thus cannot be claimed to be the signature for other data as well\&.
++.TP 0.2i
++\(bu
++The signed data cannot be changed\&. If the data is changed, then the signature cannot be verified as authentic\&.
++.PP
++To generate an entity\&'s signature for a file, the entity must first have a public/private key pair associated with it and one or more certificates that authenticate its public key\&. A certificate is a digitally signed statement from one entity that says that the public key of another entity has a particular value\&.
++.PP
++The \f3jarsigner\fR command uses key and certificate information from a keystore to generate digital signatures for JAR files\&. A keystore is a database of private keys and their associated X\&.509 certificate chains that authenticate the corresponding public keys\&. The \f3keytool\fR command is used to create and administer keystores\&.
++.PP
++The \f3jarsigner\fR command uses an entity\&'s private key to generate a signature\&. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file\&. The \f3jarsigner\fR command can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file)\&.
++.PP
++The \f3jarsigner\fR command can generate signatures that include a time stamp that lets a systems or deployer (including Java Plug-in) to check whether the JAR file was signed while the signing certificate was still valid\&. In addition, APIs allow applications to obtain the timestamp information\&.
++.PP
++At this time, the \f3jarsigner\fR command can only sign JAR files created by the \f3jar\fR command or zip files\&. JAR files are the same as zip files, except they also have a \f3META-INF/MANIFEST\&.MF\fR file\&. A \f3META-INF/MANIFEST\&.MF\fR file is created when the \f3jarsigner\fR command signs a zip file\&.
++.PP
++The default \f3jarsigner\fR command behavior is to sign a JAR or zip file\&. Use the \f3-verify\fR option to verify a signed JAR file\&.
++.PP
++The \f3jarsigner\fR command also attempts to validate the signer\&'s certificate after signing or verifying\&. If there is a validation error or any other problem, the command generates warning messages\&. If you specify the \f3-strict\fR option, then the command treats severe warnings as errors\&. See Errors and Warnings\&.
++.SS KEYSTORE\ ALIASES
++All keystore entities are accessed with unique aliases\&.
++.PP
++When you use the \f3jarsigner\fR command to sign a JAR file, you must specify the alias for the keystore entry that contains the private key needed to generate the signature\&. For example, the following command signs the JAR file named \f3MyJARFile\&.jar\fR with the private key associated with the alias \f3duke\fR in the keystore named \f3mystore\fR in the \f3working\fR directory\&. Because no output file is specified, it overwrites \f3MyJARFile\&.jar\fR with the signed JAR file\&.
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore \-storepass <keystore password>\fP
++.fi
++.nf
++\f3 \-keypass <private key password> MyJARFile\&.jar duke\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++Keystores are protected with a password, so the store password must be specified\&. You are prompted for it when you do not specify it on the command line\&. Similarly, private keys are protected in a keystore with a password, so the private key\&'s password must be specified, and you are prompted for the password when you do not specify it on the command line and it is not the same as the store password\&.
++.SS KEYSTORE\ LOCATION
++The \f3jarsigner\fR command has a \f3-keystore\fR option for specifying the URL of the keystore to be used\&. The keystore is by default stored in a file named \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&.
++.PP
++On Oracle Solaris systems, \f3user\&.home\fR defaults to the user\&'s home directory\&.
++.PP
++The input stream from the \f3-keystore\fR option is passed to the \f3KeyStore\&.load\fR method\&. If \f3NONE\fR is specified as the URL, then a null stream is passed to the \f3KeyStore\&.load\fR method\&. \f3NONE\fR should be specified when the \f3KeyStore\fR class is not file based, for example, when it resides on a hardware token device\&.
++.SS KEYSTORE\ IMPLEMENTATION
++The \f3KeyStore\fR class provided in the \f3java\&.security\fR package supplies a number of well-defined interfaces to access and modify the information in a keystore\&. You can have multiple different concrete implementations, where each implementation is for a particular type of keystore\&.
++.PP
++Currently, there are two command-line tools that use keystore implementations (\f3keytool\fR and \f3jarsigner\fR), and a GUI-based tool named Policy Tool\&. Because the \f3KeyStore\fR class is publicly available, JDK users can write additional security applications that use it\&.
++.PP
++There is a built-in default implementation provided by Oracle that implements the keystore as a file, that uses a proprietary keystore type (format) named JKS\&. The built-in implementation protects each private key with its individual password and protects the integrity of the entire keystore with a (possibly different) password\&.
++.PP
++Keystore implementations are provider-based, which means the application interfaces supplied by the \f3KeyStore\fR class are implemented in terms of a Service Provider Interface (SPI)\&. There is a corresponding abstract \f3KeystoreSpi\fR class, also in the \f3java\&.security package\fR, that defines the Service Provider Interface methods that providers must implement\&. The term provider refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API\&. To provide a keystore implementation, clients must implement a provider and supply a \f3KeystoreSpi\fR subclass implementation, as described in How to Implement a Provider in the Java Cryptography Architecture at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html
++.PP
++Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&.
++.PP
++The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
++.PP
++For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&.
++.PP
++If you do not explicitly specify a keystore type, then the tools choose a keystore implementation based on the value of the \f3keystore\&.type\fR property specified in the security properties file\&. The security properties file is called \f3java\&.security\fR, and it resides in the JDK security properties directory, \f3java\&.home/lib/security\fR, where \f3java\&.home\fR is the runtime environment\&'s directory\&. The \f3jre\fR directory in the JDK or the top-level directory of the Java Runtime Environment (JRE)\&.
++.PP
++Each tool gets the \f3keystore\&.type\fR value and then examines all the installed providers until it finds one that implements keystores of that type\&. It then uses the keystore implementation from that provider\&.
++.PP
++The \f3KeyStore\fR class defines a static method named \f3getDefaultType\fR that lets applications and applets retrieve the value of the \f3keystore\&.type\fR property\&. The following line of code creates an instance of the default keystore type as specified in the \f3keystore\&.type property\fR:
++.sp
++.nf
++\f3KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++The default keystore type is \f3jks\fR (the proprietary type of the keystore implementation provided by Oracle)\&. This is specified by the following line in the security properties file:
++.sp
++.nf
++\f3keystore\&.type=jks\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++Case does not matter in keystore type designations\&. For example, \f3JKS\fR is the same as \f3jks\fR\&.
++.PP
++To have the tools use a keystore implementation other than the default, change that line to specify a different keystore type\&. For example, if you have a provider package that supplies a keystore implementation for a keystore type called \f3pkcs12\fR, then change the line to the following:
++.sp
++.nf
++\f3keystore\&.type=pkcs12\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR If you use the PKCS 11 provider package, then see "KeyTool" and "JarSigner" in Java PKCS #11 Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html
++.SS SUPPORTED\ ALGORITHMS
++By default, the \f3jarsigner\fR command signs a JAR file using one of the following algorithms:
++.TP 0.2i
++\(bu
++Digital Signature Algorithm (DSA) with the SHA1 digest algorithm
++.TP 0.2i
++\(bu
++RSA algorithm with the SHA256 digest algorithm
++.TP 0.2i
++\(bu
++Elliptic Curve (EC) cryptography algorithm with the SHA256 with Elliptic Curve Digital Signature Algorithm (ECDSA)\&.
++.PP
++If the signer\&'s public and private keys are DSA keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA1withDSA\fR algorithm\&. If the signer\&'s keys are RSA keys, then \f3jarsigner\fR attempts to sign the JAR file with the \f3SHA256withRSA\fR algorithm\&. If the signer\&'s keys are EC keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA256withECDSA\fR algorithm\&.
++.PP
++These default signature algorithms can be overridden using the \f3-sigalg\fR option\&.
++.SS THE\ SIGNED\ JAR\ FILE
++When the \f3jarsigner\fR command is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META-INF directory:
++.TP 0.2i
++\(bu
++A signature file with an \f3\&.SF\fR extension
++.TP 0.2i
++\(bu
++A signature block file with a \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR extension
++.PP
++The base file names for these two files come from the value of the \f3-sigFile\fR option\&. For example, when the option is \f3-sigFile MKSIGN\fR, the files are named \f3MKSIGN\&.SF\fR and \f3MKSIGN\&.DSA\fR
++.PP
++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to uppercase\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not allowed in a signature file name, then each such character is converted to an underscore (_) character in forming the file name\&. Valid characters include letters, digits, underscores, and hyphens\&.
++.PP
++Signature File
+
+-.LP
+-.LP
+-The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Sun). This is specified by the following line in the security properties file:
+-.LP
+-.nf
+-\f3
+-.fl
+- keystore.type=jks
+-.fl
+-\fP
+-.fi
++A signature file (\f3\&.SF\fR file) looks similar to the manifest file that is always included in a JAR file when the \f3jarsigner\fR command is used to sign the file\&. For each source file included in the JAR file, the \f3\&.SF\fR file has three lines, such as in the manifest file, that list the following:
++.TP 0.2i
++\(bu
++File name
++.TP 0.2i
++\(bu
++Name of the digest algorithm (SHA)
++.TP 0.2i
++\(bu
++SHA digest value
++.PP
++In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file\&. In the \f3\&.SF\fR file, the digest value for a specified source file is the hash of the three lines in the manifest file for the source file\&.
++.PP
++The signature file, by default, includes a header with a hash of the whole manifest file\&. The header also contains a hash of the manifest header\&. The presence of the header enables verification optimization\&. See JAR File Verification\&.
++.PP
++Signature Block File
+
+-.LP
+-.LP
+-Note: Case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks".
+-.LP
+-.LP
+-To have the tools utilize a keystore implementation other than the default, change that line to specify a different keystore type. For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to
+-.LP
+-.nf
+-\f3
+-.fl
+- keystore.type=pkcs12
+-.fl
+-\fP
+-.fi
++The \f3\&.SF\fR file is signed and the signature is placed in the signature block file\&. This file also contains, encoded inside it, the certificate or certificate chain from the keystore that authenticates the public key corresponding to the private key used for signing\&. The file has the extension \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR, depending on the digest algorithm used\&.
++.SS SIGNATURE\ TIME\ STAMP
++The \f3jarsigner\fR command can generate and store a signature time stamp when signing a JAR file\&. In addition, \f3jarsigner\fR supports alternative signing mechanisms\&. This behavior is optional and is controlled by the user at the time of signing through these options\&. See Options\&.
++.sp
++.nf
++\f3\-tsa \fIurl\fR\fP
++.fi
++.nf
++\f3\-tsacert \fIalias\fR\fP
++.fi
++.nf
++\f3\-altsigner \fIclass\fR\fP
++.fi
++.nf
++\f3\-altsignerpath \fIclasspathlist\fR\fP
++.fi
++.nf
++\f3\-tsapolicyid \fIpolicyid\fR\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS JAR\ FILE\ VERIFICATION
++A successful JAR file verification occurs when the signatures are valid, and none of the files that were in the JAR file when the signatures were generated have changed since then\&. JAR file verification involves the following steps:
++.TP 0.4i
++1\&.
++Verify the signature of the \f3\&.SF\fR file\&.
+
+-.LP
+-.LP
+-Note that if you us the PKCS#11 provider package, you should refer to the
+-.na
+-\f2KeyTool and JarSigner\fP @
+-.fi
+-http://download.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner section of the Java PKCS#11 Reference Guide for details.
+-.LP
+-.SS
+-Supported Algorithms
+-.LP
+-.LP
+-By default, \f3jarsigner\fP signs a JAR file using one of the following:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-DSA (Digital Signature Algorithm) with the SHA1 digest algorithm
+-.TP 2
+-o
+-RSA algorithm with the SHA256 digest algorithm.
+-.TP 2
+-o
+-EC (Elliptic Curve) cryptography algorithm with the SHA256 with ECDSA (Elliptic Curve Digital Signature Algorithm).
+-.RE
++The verification ensures that the signature stored in each signature block (\f3\&.DSA\fR) file was generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the \f3\&.DSA\fR file\&. It also ensures that the signature is a valid signature of the corresponding signature (\f3\&.SF\fR) file, and thus the \f3\&.SF\fR file was not tampered with\&.
++.TP 0.4i
++2\&.
++Verify the digest listed in each entry in the \f3\&.SF\fR file with each corresponding section in the manifest\&.
+
+-.LP
+-.LP
+-That is, if the signer's public and private keys are DSA keys, \f3jarsigner\fP will sign the JAR file using the "SHA1withDSA" algorithm. If the signer's keys are RSA keys, \f3jarsigner\fP will attempt to sign the JAR file using the "SHA256withRSA" algorithm. If the signer's keys are EC keys, \f3jarsigner\fP will sign the JAR file using the "SHA256withECDSA" algorithm.
+-.LP
+-.LP
+-These default signature algorithms can be overridden using the \f2\-sigalg\fP option.
+-.LP
+-.SS
+-The Signed JAR File
+-.LP
+-.LP
+-When \f3jarsigner\fP is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META\-INF directory:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-a signature file, with a .SF extension, and
+-.TP 2
+-o
+-a signature block file, with a .DSA, .RSA, or .EC extension.
+-.RE
++The \f3\&.SF\fR file by default includes a header that contains a hash of the entire manifest file\&. When the header is present, the verification can check to see whether or not the hash in the header matches the hash of the manifest file\&. If there is a match, then verification proceeds to the next step\&.
+
+-.LP
+-.LP
+-The base file names for these two files come from the value of the \f2\-sigFile\fP option. For example, if the option appears as
+-.LP
+-.nf
+-\f3
+-.fl
+-\-sigFile MKSIGN
+-.fl
+-\fP
+-.fi
++If there is no match, then a less optimized verification is required to ensure that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See Signature File\&.
+
+-.LP
+-.LP
+-The files are named "MKSIGN.SF" and "MKSIGN.DSA".
+-.LP
+-.LP
+-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not allowed in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. Legal characters include letters, digits, underscores, and hyphens.
+-.LP
+-\f3The Signature (.SF) File\fP
+-.LP
+-.LP
+-A signature file (the .SF file) looks similar to the manifest file that is always included in a JAR file when \f3jarsigner\fP is used to sign the file. That is, for each source file included in the JAR file, the .SF file has three lines, just as in the manifest file, listing the following:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-the file name,
+-.TP 2
+-o
+-the name of the digest algorithm used (SHA), and
+-.TP 2
+-o
+-a SHA digest value.
+-.RE
++One reason the hash of the manifest file that is stored in the \f3\&.SF\fR file header might not equal the hash of the current manifest file is that one or more files were added to the JAR file (with the \f3jar\fR tool) after the signature and \f3\&.SF\fR file were generated\&. When the \f3jar\fR tool is used to add files, the manifest file is changed by adding sections to it for the new files, but the \f3\&.SF\fR file is not changed\&. A verification is still considered successful when none of the files that were in the JAR file when the signature was generated have been changed since then\&. This happens when the hashes in the non-header sections of the \f3\&.SF\fR file equal the hashes of the corresponding sections in the manifest file\&.
++.TP 0.4i
++3\&.
++Read each file in the JAR file that has an entry in the \f3\&.SF\fR file\&. While reading, compute the file\&'s digest and compare the result with the digest for this file in the manifest section\&. The digests should be the same or verification fails\&.
+
+-.LP
+-.LP
+-In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file. In the .SF file, on the other hand, the digest value for a given source file is the hash of the three lines in the manifest file for the source file.
+-.LP
+-.LP
+-The signature file also, by default, includes a header containing a hash of the whole manifest file. The presence of the header enables verification optimization, as described in JAR File Verification.
+-.LP
+-\f3The Signature Block File\fP
+-.LP
+-The .SF file is signed and the signature is placed in the signature block file. This file also contains, encoded inside it, the certificate or certificate chain from the keystore which authenticates the public key corresponding to the private key used for signing. The file has the extension .DSA, .RSA, or .EC depending on the digest algorithm used.
+-.SS
+-Signature Timestamp
+-.LP
+-.LP
+-\f2jarsigner\fP tool can generate and store a signature timestamp when signing a JAR file. In addition, \f2jarsigner\fP supports alternative signing mechanisms. This behavior is optional and is controlled by the user at the time of signing through these options:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-\f2\-tsa url\fP
+-.TP 2
+-o
+-\f2\-tsacert alias\fP
+-.TP 2
+-o
+-\f2\-altsigner class\fP
+-.TP 2
+-o
+-\f2\-altsignerpath classpathlist\fP
+-.RE
++If any serious verification failures occur during the verification process, then the process is stopped and a security exception is thrown\&. The \f3jarsigner\fR command catches and displays the exception\&.
++.PP
++\fINote:\fR You should read any addition warnings (or errors if you specified the \f3-strict\fR option), as well as the content of the certificate (by specifying the \f3-verbose\fR and \f3-certs\fR options) to determine if the signature can be trusted\&.
++.SS MULTIPLE\ SIGNATURES\ FOR\ A\ JAR\ FILE
++A JAR file can be signed by multiple people by running the \f3jarsigner\fR command on the file multiple times and specifying the alias for a different person each time, as follows:
++.sp
++.nf
++\f3jarsigner myBundle\&.jar susan\fP
++.fi
++.nf
++\f3jarsigner myBundle\&.jar kevin\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++When a JAR file is signed multiple times, there are multiple \f3\&.SF\fR and \f3\&.DSA\fR files in the resulting JAR file, one pair for each signature\&. In the previous example, the output JAR file includes files with the following names:
++.sp
++.nf
++\f3SUSAN\&.SF\fP
++.fi
++.nf
++\f3SUSAN\&.DSA\fP
++.fi
++.nf
++\f3KEVIN\&.SF\fP
++.fi
++.nf
++\f3KEVIN\&.DSA\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1\&.1 by the \f3javakey\fR command and others by \f3jarsigner\fR\&. The \f3jarsigner\fR command can be used to sign JAR files that are already signed with the \f3javakey\fR command\&.
++.SH OPTIONS
++The following sections describe the various \f3jarsigner\fR options\&. Be aware of the following standards:
++.TP 0.2i
++\(bu
++All option names are preceded by a minus sign (-)\&.
++.TP 0.2i
++\(bu
++The options can be provided in any order\&.
++.TP 0.2i
++\(bu
++Items that are in italics or underlined (option values) represent the actual values that must be supplied\&.
++.TP 0.2i
++\(bu
++The \f3-storepass\fR, \f3-keypass\fR, \f3-sigfile\fR, \f3-sigalg\fR, \f3-digestalg\fR, \f3-signedjar\fR, and TSA-related options are only relevant when signing a JAR file; they are not relevant when verifying a signed JAR file\&. The \f3-keystore\fR option is relevant for signing and verifying a JAR file\&. In addition, aliases are specified when signing and verifying a JAR file\&.
++.TP
++-keystore \fIurl\fR
++.br
++Specifies the URL that tells the keystore location\&. This defaults to the file \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&.
+
+-.LP
+-.LP
+-Each of these options is detailed in the Options section below.
+-.LP
+-.SS
+-JAR File Verification
+-.LP
+-.LP
+-A successful JAR file verification occurs if the signature(s) are valid, and none of the files that were in the JAR file when the signatures were generated have been changed since then. JAR file verification involves the following steps:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-Verify the signature of the .SF file itself.
++A keystore is required when signing\&. You must explicitly specify a keystore when the default keystore does not exist or if you want to use one other than the default\&.
++
++A keystore is not required when verifying, but if one is specified or the default exists and the \f3-verbose\fR option was also specified, then additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore\&.
++
++The \f3-keystore\fR argument can be a file name and path specification rather than a URL, in which case it is treated the same as a file: URL, for example, the following are equivalent:
++.sp
++.nf
++\f3\-keystore \fIfilePathAndName\fR\fP
++.fi
++.nf
++\f3\-keystore file:\fIfilePathAndName\fR\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++If the Sun PKCS #11 provider was configured in the \f3java\&.security\fR security properties file (located in the JRE\&'s \f3$JAVA_HOME/lib/security directory\fR), then the \f3keytool\fR and \f3jarsigner\fR tools can operate on the PKCS #11 token by specifying these options:
++.sp
++.nf
++\f3\-keystore NONE\fP
++.fi
++.nf
++\f3\-storetype PKCS11\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++For example, the following command lists the contents of the configured PKCS#11 token:
++.sp
++.nf
++\f3keytool \-keystore NONE \-storetype PKCS11 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-storetype \fIstoretype\fR
+ .br
++Specifies the type of keystore to be instantiated\&. The default keystore type is the one that is specified as the value of the \f3keystore\&.type\fR property in the security properties file, which is returned by the static \f3getDefaultType\fR method in \f3java\&.security\&.KeyStore\fR\&.
++
++The PIN for a PCKS #11 token can also be specified with the \f3-storepass\fR option\&. If none is specified, then the \f3keytool\fR and \f3jarsigner\fR commands prompt for the token PIN\&. If the token has a protected authentication path (such as a dedicated PIN-pad or a biometric reader), then the \f3-protected\fR option must be specified and no password options can be specified\&.
++.TP
++-storepass[:env | :file] \fIargument\fR
+ .br
+-That is, the verification ensures that the signature stored in each signature block (.DSA) file was in fact generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the .DSA file. It also ensures that the signature is a valid signature of the corresponding signature (.SF) file, and thus the .SF file has not been tampered with.
+-.TP 3
+-2.
+-Verify the digest listed in each entry in the .SF file with each corresponding section in the manifest.
++Specifies the password that is required to access the keystore\&. This is only needed when signing (not verifying) a JAR file\&. In that case, if a \f3-storepass\fR option is not provided at the command line, then the user is prompted for the password\&.
++
++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \fIargument\fR\&. Otherwise, the password is retrieved as follows:
++.RS
++.TP 0.2i
++\(bu
++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&.
++.TP 0.2i
++\(bu
++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&.
++.RE
++
++
++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&.
++.TP
++-keypass [:env | :file] \fIargument\fR
+ .br
++Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line\&. The password is required when using \f3jarsigner\fR to sign a JAR file\&. If no password is provided on the command line, and the required password is different from the store password, then the user is prompted for it\&.
++
++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \f3argument\fR\&. Otherwise, the password is retrieved as follows:
++.RS
++.TP 0.2i
++\(bu
++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&.
++.TP 0.2i
++\(bu
++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&.
++.RE
++
++
++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&.
++.TP
++-sigfile \fIfile\fR
+ .br
+-The .SF file by default includes a header containing a hash of the entire manifest file. When the header is present, then the verification can check to see whether or not the hash in the header indeed matches the hash of the manifest file. If that is the case, verification proceeds to the next step.
++Specifies the base file name to be used for the generated \f3\&.SF\fR and \f3\&.DSA\fR files\&. For example, if file is \f3DUKESIGN\fR, then the generated \f3\&.SF\fR and \f3\&.DSA\fR files are named \f3DUKESIGN\&.SF\fR and \f3DUKESIGN\&.DSA\fR, and placed in the \f3META-INF\fR directory of the signed JAR file\&.
++
++The characters in the file must come from the set \f3a-zA-Z0-9_-\fR\&. Only letters, numbers, underscore, and hyphen characters are allowed\&. All lowercase characters are converted to uppercase for the \f3\&.SF\fR and \f3\&.DSA\fR file names\&.
++
++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to upper case\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not valid in a signature file name, then each such character is converted to an underscore (_) character to form the file name\&.
++.TP
++-sigalg \fIalgorithm\fR
+ .br
++Specifies the name of the signature algorithm to use to sign the JAR file\&.
++
++For a list of standard signature algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA
++
++This algorithm must be compatible with the private key used to sign the JAR file\&. If this option is not specified, then \f3SHA1withDSA\fR, \f3SHA256withRSA\fR, or \f3SHA256withECDSA\fR are used depending on the type of private key\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&.
++.TP
++-digestalg \fIalgorithm\fR
+ .br
+-If that is not the case, a less optimized verification is required to ensure that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file (see The Signature (.SF) File).
++Specifies the name of the message digest algorithm to use when digesting the entries of a JAR file\&.
++
++For a list of standard message digest algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA
++
++If this option is not specified, then \f3SHA256\fR is used\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&.
++.TP
++-certs
+ .br
++If the \f3-certs\fR option appears on the command line with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. This information includes the name of the type of certificate (stored in the \f3\&.DSA\fR file) that certifies the signer\&'s public key, and if the certificate is an X\&.509 certificate (an instance of the \f3java\&.security\&.cert\&.X509Certificate\fR), then the distinguished name of the signer\&.
++
++The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&. If the signer comes from a JDK 1\&.1 identity database instead of from a keystore, then the alias name displays in brackets instead of parentheses\&.
++.TP
++-certchain \fIfile\fR
+ .br
+-One reason the hash of the manifest file that is stored in the .SF file header may not equal the hash of the current manifest file would be because one or more files were added to the JAR file (using the \f2jar\fP tool) after the signature (and thus the .SF file) was generated. When the \f2jar\fP tool is used to add files, the manifest file is changed (sections are added to it for the new files), but the .SF file is not. A verification is still considered successful if none of the files that were in the JAR file when the signature was generated have been changed since then, which is the case if the hashes in the non\-header sections of the .SF file equal the hashes of the corresponding sections in the manifest file.
+-.TP 3
+-3.
+-Read each file in the JAR file that has an entry in the .SF file. While reading, compute the file's digest, and then compare the result with the digest for this file in the manifest section. The digests should be the same, or verification fails.
+-.RE
++Specifies the certificate chain to be used when the certificate chain associated with the private key of the keystore entry that is addressed by the alias specified on the command line is not complete\&. This can happen when the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain\&. The file can be a sequence of concatenated X\&.509 certificates, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard\&. See the section Internet RFC 1421 Certificate Encoding Standard in \f3keytool\fR and http://tools\&.ietf\&.org/html/rfc1421\&.
++.TP
++-verbose
++.br
++When the \f3-verbose\fR option appears on the command line, it indicates verbose mode, which causes \f3jarsigner\fR to output extra information about the progress of the JAR signing or verification\&.
++.TP
++-internalsf
++.br
++In the past, the \f3\&.DSA\fR (signature block) file generated when a JAR file was signed included a complete encoded copy of the \f3\&.SF\fR file (signature file) also generated\&. This behavior has been changed\&. To reduce the overall size of the output JAR file, the \f3\&.DSA\fR file by default does not contain a copy of the \f3\&.SF\fR file anymore\&. If \f3-internalsf\fR appears on the command line, then the old behavior is utilized\&. This option is useful for testing\&. In practice, do not use the \f3-internalsf\fR option because it incurs higher overhead\&.
++.TP
++-sectionsonly
++.br
++If the \f3-sectionsonly\fR option appears on the command line, then the \f3\&.SF\fR file (signature file) generated when a JAR file is signed does not include a header that contains a hash of the whole manifest file\&. It contains only the information and hashes related to each individual source file included in the JAR file\&. See Signature File\&.
+
+-.LP
+-.LP
+-If any serious verification failures occur during the verification process, the process is stopped and a security exception is thrown. It is caught and displayed by \f3jarsigner\fP.
+-.LP
+-.SS
+-Multiple Signatures for a JAR File
+-.LP
+-.LP
+-A JAR file can be signed by multiple people simply by running the \f3jarsigner\fP tool on the file multiple times, specifying the alias for a different person each time, as in:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner myBundle.jar susan
+-.fl
+- jarsigner myBundle.jar kevin
+-.fl
+-\fP
+-.fi
++By default, this header is added, as an optimization\&. When the header is present, whenever the JAR file is verified, the verification can first check to see whether the hash in the header matches the hash of the whole manifest file\&. When there is a match, verification proceeds to the next step\&. When there is no match, it is necessary to do a less optimized verification that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See JAR File Verification\&.
+
+-.LP
+-.LP
+-When a JAR file is signed multiple times, there are multiple .SF and .DSA files in the resulting JAR file, one pair for each signature. Thus, in the example above, the output JAR file includes files with the following names:
+-.LP
+-.nf
+-\f3
+-.fl
+- SUSAN.SF
+-.fl
+- SUSAN.DSA
+-.fl
+- KEVIN.SF
+-.fl
+- KEVIN.DSA
+-.fl
+-\fP
+-.fi
++The \f3-sectionsonly\fR option is primarily used for testing\&. It should not be used other than for testing because using it incurs higher overhead\&.
++.TP
++-protected
++.br
++Values can be either \f3true\fR or \f3false\fR\&. Specify \f3true\fR when a password must be specified through a protected authentication path such as a dedicated PIN reader\&.
++.TP
++-providerClass \fIprovider-class-name\fR
++.br
++Used to specify the name of cryptographic service provider\&'s master class file when the service provider is not listed in the \f3java\&.security\fR security properties file\&.
+
+-.LP
+-.LP
+-Note: It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1.1 \f3javakey\fP tool and others by \f3jarsigner\fP. That is, \f3jarsigner\fP can be used to sign JAR files already previously signed using \f3javakey\fP.
+-.LP
+-.SH "OPTIONS"
+-.LP
+-.LP
+-The various \f3jarsigner\fP options are listed and described below. Note:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-All option names are preceded by a minus sign (\-).
+-.TP 2
+-o
+-The options may be provided in any order.
+-.TP 2
+-o
+-Items in italics (option values) represent the actual values that must be supplied.
+-.TP 2
+-o
+-The \f2\-keystore\fP, \f2\-storepass\fP, \f2\-keypass\fP, \f2\-sigfile\fP, \f2\-sigalg\fP, \f2\-digestalg\fP, and \f2\-signedjar\fP options are only relevant when signing a JAR file, not when verifying a signed JAR file. Similarly, an alias is only specified on the command line when signing a JAR file.
+-.RE
++Used with the \f3-providerArg ConfigFilePath\fR option, the \f3keytool\fR and \f3jarsigner\fR tools install the provider dynamically and use \fIConfigFilePath\fR for the path to the token configuration file\&. The following example shows a command to list a \f3PKCS #11\fR keystore when the Oracle PKCS #11 provider was not configured in the security properties file\&.
++.sp
++.nf
++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerArg /mydir1/mydir2/token\&.config \e\fP
++.fi
++.nf
++\f3 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
+
+-.LP
+-.RS 3
+-.TP 3
+-\-keystore url
+-Specifies the URL that tells the keystore location. This defaults to the file \f2.keystore\fP in the user's home directory, as determined by the "user.home" system property.
++.TP
++-providerName \fIproviderName\fR
+ .br
++If more than one provider was configured in the \f3java\&.security\fR security properties file, then you can use the \f3-providerName\fR option to target a specific provider instance\&. The argument to this option is the name of the provider\&.
++
++For the Oracle PKCS #11 provider, \fIproviderName\fR is of the form \f3SunPKCS11-\fR\fITokenName\fR, where \fITokenName\fR is the name suffix that the provider instance has been configured with, as detailed in the configuration attributes table\&. For example, the following command lists the contents of the \f3PKCS #11\fR keystore provider instance with name suffix \f3SmartCard\fR:
++.sp
++.nf
++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerName SunPKCS11\-SmartCard \e\fP
++.fi
++.nf
++\f3 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-J\fIjavaoption\fR
+ .br
+-A keystore is required when signing, so you must explicitly specify one if the default keystore does not exist (or you want to use one other than the default).
++Passes through the specified \fIjavaoption\fR string directly to the Java interpreter\&. The \f3jarsigner\fR command is a wrapper around the interpreter\&. This option should not contain any spaces\&. It is useful for adjusting the execution environment or memory usage\&. For a list of possible interpreter options, type \f3java -h\fR or \f3java -X\fR at the command line\&.
++.TP
++-tsa \fIurl\fR
+ .br
++If \f3-tsa http://example\&.tsa\&.url\fR appears on the command line when signing a JAR file then a time stamp is generated for the signature\&. The URL, \f3http://example\&.tsa\&.url\fR, identifies the location of the Time Stamping Authority (TSA) and overrides any URL found with the \f3-tsacert\fR option\&. The \f3-tsa\fR option does not require the TSA public key certificate to be present in the keystore\&.
++
++To generate the time stamp, \f3jarsigner\fR communicates with the TSA with the Time-Stamp Protocol (TSP) defined in RFC 3161\&. When successful, the time stamp token returned by the TSA is stored with the signature in the signature block file\&.
++.TP
++-tsacert \fIalias\fR
+ .br
+-A keystore is \f2not\fP required when verifying, but if one is specified, or the default exists, and the \f2\-verbose\fP option was also specified, additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore.
++When \f3-tsacert alias\fR appears on the command line when signing a JAR file, a time stamp is generated for the signature\&. The alias identifies the TSA public key certificate in the keystore that is in effect\&. The entry\&'s certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA\&.
++
++The TSA public key certificate must be present in the keystore when using the \f3-tsacert\fR option\&.
++.TP
++-tsapolicyid \fIpolicyid\fR
+ .br
++Specifies the object identifier (OID) that identifies the policy ID to be sent to the TSA server\&. If this option is not specified, no policy ID is sent and the TSA server will choose a default policy ID\&.
++
++Object identifiers are defined by X\&.696, which is an ITU Telecommunication Standardization Sector (ITU-T) standard\&. These identifiers are typically period-separated sets of non-negative digits like \f31\&.2\&.3\&.4\fR, for example\&.
++.TP
++-altsigner \fIclass\fR
+ .br
+-Note: the \f2\-keystore\fP argument can actually be a file name (and path) specification rather than a URL, in which case it will be treated the same as a "file:" URL. That is,
+-.nf
+-\f3
+-.fl
+- \-keystore \fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-is treated as equivalent to
+-.nf
+-\f3
+-.fl
+- \-keystore file:\fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-If the Sun PKCS#11 provider has been configured in the \f2java.security\fP security properties file (located in the JRE's \f2$JAVA_HOME/lib/security\fP directory), then keytool and jarsigner can operate on the PKCS#11 token by specifying these options:
+-.RS 3
+-.TP 2
+-o
+-\f2\-keystore NONE\fP
+-.TP 2
+-o
+-\f2\-storetype PKCS11\fP
+-.RE
+-For example, this command lists the contents of the configured PKCS#11 token:
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore NONE \-storetype PKCS11 \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-storetype storetype
+-Specifies the type of keystore to be instantiated. The default keystore type is the one that is specified as the value of the "keystore.type" property in the security properties file, which is returned by the static \f2getDefaultType\fP method in \f2java.security.KeyStore\fP.
++This option specifies an alternative signing mechanism\&. The fully qualified class name identifies a class file that extends the \f3com\&.sun\&.jarsigner\&.ContentSigner\fR abstract class\&. The path to this class file is defined by the \f3-altsignerpath\fR option\&. If the \f3-altsigner\fR option is used, then the \f3jarsigner\fR command uses the signing mechanism provided by the specified class\&. Otherwise, the \f3jarsigner\fR command uses its default signing mechanism\&.
++
++For example, to use the signing mechanism provided by a class named \f3com\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR, use the jarsigner option \f3-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR\&.
++.TP
++-altsignerpath \fIclasspathlist\fR
+ .br
++Specifies the path to the class file and any JAR file it depends on\&. The class file name is specified with the \f3-altsigner\fR option\&. If the class file is in a JAR file, then this option specifies the path to that JAR file\&.
++
++An absolute path or a path relative to the current directory can be specified\&. If \fIclasspathlist\fR contains multiple paths or JAR files, then they should be separated with a colon (:) on Oracle Solaris and a semicolon (;) on Windows\&. This option is not necessary when the class is already in the search path\&.
++
++The following example shows how to specify the path to a JAR file that contains the class file\&. The JAR file name is included\&.
++.sp
++.nf
++\f3\-altsignerpath /home/user/lib/authsigner\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++The following example shows how to specify the path to the JAR file that contains the class file\&. The JAR file name is omitted\&.
++.sp
++.nf
++\f3\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-strict
+ .br
+-The PIN for a PCKS#11 token can also be specified using the \f2\-storepass\fP option. If none has been specified, keytool and jarsigner will prompt for the token PIN. If the token has a protected authentication path (such as a dedicated PIN\-pad or a biometric reader), then the \f2\-protected\fP option must be specified and no password options can be specified.
+-.TP 3
+-\-storepass[:env | :file] argument
+-Specifies the password which is required to access the keystore. This is only needed when signing (not verifying) a JAR file. In that case, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for the password.
++During the signing or verifying process, the command may issue warning messages\&. If you specify this option, the exit code of the tool reflects the severe warning messages that this command found\&. See Errors and Warnings\&.
++.TP
++-verbose \fIsuboptions\fR
+ .br
+-.br
+-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows:
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP
+-.TP 2
+-o
+-\f2file\fP: Retrieve the password from the file named \f2argument\fP
+-.RE
+-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system.
+-.TP 3
+-\-keypass[:env | :file] argument
+-Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line. The password is required when using \f3jarsigner\fP to sign a JAR file. If no password is provided on the command line, and the required password is different from the store password, the user is prompted for it.
+-.br
+-.br
+-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows:
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP
+-.TP 2
+-o
+-\f2file\fP: Retrieve the password from the file named \f2argument\fP
+-.RE
+-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system.
+-.TP 3
+-\-sigfile file
+-Specifies the base file name to be used for the generated .SF and .DSA files. For example, if \f2file\fP is "DUKESIGN", the generated .SF and .DSA files will be named "DUKESIGN.SF" and "DUKESIGN.DSA", and will be placed in the "META\-INF" directory of the signed JAR file.
+-.br
+-.br
+-The characters in \f2file\fP must come from the set "a\-zA\-Z0\-9_\-". That is, only letters, numbers, underscore, and hyphen characters are allowed. Note: All lowercase characters will be converted to uppercase for the .SF and .DSA file names.
+-.br
+-.br
+-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not legal in a signature file name, each such character is converted to an underscore ("_") character in forming the file name.
+-.TP 3
+-\-sigalg algorithm
+-Specifies the name of the signature algorithm to use to sign the JAR file.
+-.br
+-.br
+-See
+-.na
+-\f2Appendix A\fP @
+-.fi
+-http://download.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard signature algorithm names. This algorithm must be compatible with the private key used to sign the JAR file. If this option is not specified, SHA1withDSA, SHA256withRSA, or SHA256withECDSA will be used depending on the type of private key. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed.
+-.TP 3
+-\-digestalg algorithm
+-Specifies the name of the message digest algorithm to use when digesting the entries of a jar file.
+-.br
+-.br
+-See
+-.na
+-\f2Appendix A\fP @
+-.fi
+-http://download.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard message digest algorithm names. If this option is not specified, SHA256 will be used. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed.
+-.TP 3
+-\-signedjar file
+-Specifies the name to be used for the signed JAR file.
+-.br
+-.br
+-If no name is specified on the command line, the name used is the same as the input JAR file name (the name of the JAR file to be signed); in other words, that file is overwritten with the signed JAR file.
+-.TP 3
+-\-verify
+-If this appears on the command line, the specified JAR file will be verified, not signed. If the verification is successful, "jar verified" will be displayed. If you try to verify an unsigned JAR file, or a JAR file signed with an unsupported algorithm (e.g., RSA when you don't have an RSA provider installed), the following is displayed: "jar is unsigned. (signatures missing or not parsable)"
+-.br
+-.br
+-It is possible to verify JAR files signed using either \f3jarsigner\fP or the JDK 1.1 \f3javakey\fP tool, or both.
+-.br
+-.br
+-For further information on verification, see JAR File Verification.
+-.TP 3
+-\-certs
+-If this appears on the command line, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file. This information includes
+-.RS 3
+-.TP 2
+-o
+-the name of the type of certificate (stored in the .DSA file) that certifies the signer's public key
+-.TP 2
+-o
+-if the certificate is an X.509 certificate (more specifically, an instance of \f2java.security.cert.X509Certificate\fP): the distinguished name of the signer
+-.RE
+-The keystore is also examined. If no keystore value is specified on the command line, the default keystore file (if any) will be checked. If the public key certificate for a signer matches an entry in the keystore, then the following information will also be displayed:
+-.RS 3
+-.TP 2
+-o
+-in parentheses, the alias name for the keystore entry for that signer. If the signer actually comes from a JDK 1.1 identity database instead of from a keystore, the alias name will appear in brackets instead of parentheses.
+-.RE
+-.TP 3
+-\-certchain file
+-Specifies the certificate chain to be used, if the certificate chain associated with the private key of the keystore entry, addressed by the alias specified on the command line, is not complete. This may happen if the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain. The file can be a sequence of X.509 certificates concatenated together, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as BASE64 encoding) as defined by the Internet RFC 1421 standard.
+-.TP 3
+-\-verbose
+-If this appears on the command line, it indicates "verbose" mode, which causes \f3jarsigner\fP to output extra information as to the progress of the JAR signing or verification.
+-.TP 3
+-\-internalsf
+-In the past, the .DSA (signature block) file generated when a JAR file was signed used to include a complete encoded copy of the .SF file (signature file) also generated. This behavior has been changed. To reduce the overall size of the output JAR file, the .DSA file by default doesn't contain a copy of the .SF file anymore. But if \f2\-internalsf\fP appears on the command line, the old behavior is utilized. \f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP
+-.TP 3
+-\-sectionsonly
+-If this appears on the command line, the .SF file (signature file) generated when a JAR file is signed does \f2not\fP include a header containing a hash of the whole manifest file. It just contains information and hashes related to each individual source file included in the JAR file, as described in The Signature (.SF) File .
+-.br
+-.br
+-By default, this header is added, as an optimization. When the header is present, then whenever the JAR file is verified, the verification can first check to see whether or not the hash in the header indeed matches the hash of the whole manifest file. If so, verification proceeds to the next step. If not, it is necessary to do a less optimized verification that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file.
+-.br
+-.br
+-For further information, see JAR File Verification.
+-.br
+-.br
+-\f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP
+-.TP 3
+-\-protected
+-Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader.
+-.TP 3
+-\-providerClass provider\-class\-name
+-Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file, \f2java.security\fP.
+-.br
+-.br
+-Used in conjunction with the \f2\-providerArg\fP \f2ConfigFilePath\fP option, keytool and jarsigner will install the provider dynamically (where \f2ConfigFilePath\fP is the path to the token configuration file). Here's an example of a command to list a PKCS#11 keystore when the Sun PKCS#11 provider has not been configured in the security properties file.
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerClass sun.security.pkcs11.SunPKCS11 \\
+-.fl
+- \-providerArg /foo/bar/token.config \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-providerName providerName
+-If more than one provider has been configured in the \f2java.security\fP security properties file, you can use the \f2\-providerName\fP option to target a specific provider instance. The argument to this option is the name of the provider.
+-.br
+-.br
+-For the Sun PKCS#11 provider, \f2providerName\fP is of the form \f2SunPKCS11\-\fP\f2TokenName\fP, where \f2TokenName\fP is the name suffix that the provider instance has been configured with, as detailed in the
+-.na
+-\f2configuration attributes table\fP @
+-.fi
+-http://download.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS. For example, the following command lists the contents of the PKCS#11 keystore provider instance with name suffix \f2SmartCard\fP:
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerName SunPKCS11\-SmartCard \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-Jjavaoption
+-Passes through the specified \f2javaoption\fP string directly to the Java interpreter. (\f3jarsigner\fP is actually a "wrapper" around the interpreter.) This option should not contain any spaces. It is useful for adjusting the execution environment or memory usage. For a list of possible interpreter options, type \f2java \-h\fP or \f2java \-X\fP at the command line.
+-.TP 3
+-\-tsa url
+-If \f2"\-tsa http://example.tsa.url"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The URL, \f2http://example.tsa.url\fP, identifies the location of the Time Stamping Authority (TSA). It overrides any URL found via the \f2\-tsacert\fP option. The \f2\-tsa\fP option does not require the TSA's public key certificate to be present in the keystore.
+-.br
+-.br
+-To generate the timestamp, \f2jarsigner\fP communicates with the TSA using the Time\-Stamp Protocol (TSP) defined in
+-.na
+-\f2RFC 3161\fP @
+-.fi
+-http://www.ietf.org/rfc/rfc3161.txt. If successful, the timestamp token returned by the TSA is stored along with the signature in the signature block file.
+-.TP 3
+-\-tsacert alias
+-If \f2"\-tsacert alias"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The \f2alias\fP identifies the TSA's public key certificate in the keystore that is currently in effect. The entry's certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA.
+-.br
+-.br
+-The TSA's public key certificate must be present in the keystore when using \f2\-tsacert\fP.
+-.TP 3
+-\-altsigner class
+-Specifies that an alternative signing mechanism be used. The fully\-qualified class name identifies a class file that extends the \f2com.sun.jarsigner.ContentSigner abstract class\fP. The path to this class file is defined by the \f2\-altsignerpath\fP option. If the \f2\-altsigner\fP option is used, \f2jarsigner\fP uses the signing mechanism provided by the specified class. Otherwise, \f2jarsigner\fP uses its default signing mechanism.
+-.br
+-.br
+-For example, to use the signing mechanism provided by a class named \f2com.sun.sun.jarsigner.AuthSigner\fP, use the \f2jarsigner\fP option \f2"\-altsigner com.sun.jarsigner.AuthSigner"\fP
+-.TP 3
+-\-altsignerpath classpathlist
+-Specifies the path to the class file (the class file name is specified with the \f2\-altsigner\fP option described above) and any JAR files it depends on. If the class file is in a JAR file, then this specifies the path to that JAR file, as shown in the example below.
+-.br
+-.br
+-An absolute path or a path relative to the current directory may be specified. If \f2classpathlist\fP contains multiple paths or JAR files, they should be separated with a colon (\f2:\fP) on Solaris and a semi\-colon (\f2;\fP) on Windows. This option is not necessary if the class is already in the search path.
+-.br
+-.br
+-Example of specifying the path to a jar file that contains the class file:
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/lib/authsigner.jar
+-.fl
+-\fP
+-.fi
+-Note that the JAR file name is included.
+-.br
+-.br
+-Example of specifying the path to the jar file that contains the class file:
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/
+-.fl
+-\fP
+-.fi
+-Note that the JAR file name is omitted.
+-.TP 3
+-\-strict
+-During the signing or verifying process, some warning messages may be shown. If this option appears on the command line, the exit code of the tool will reflect the warning messages that are found. Read the "WARNINGS" section for details.
+-.TP 3
+-\-verbose:sub\-options
+-For the verifying process, the \f2\-verbose\fP option takes sub\-options to determine how much information will be shown. If \f2\-certs\fP is also specified, the default mode (or sub\-option all) displays each entry as it is being processed and following that, the certificate information for each signer of the JAR file. If \f2\-certs\fP and the \f2\-verbose:grouped\fP sub\-option are specified, entries with the same signer info are grouped and displayed together along with their certificate information. If \f2\-certs\fP and the \f2\-verbose:summary\fP sub\-option are specified, then entries with the same signer info are grouped and displayed together along with their certificate information but details about each entry are summarized and displayed as "one entry (and more)". See the examples section for more information.
+-.RE
++For the verifying process, the \f3-verbose\fR option takes suboptions to determine how much information is shown\&. If the \f3-certs\fR option is also specified, then the default mode (or suboption \f3all\fR) displays each entry as it is being processed, and after that, the certificate information for each signer of the JAR file\&. If the \f3-certs\fR and the \f3-verbose:grouped\fR suboptions are specified, then entries with the same signer info are grouped and displayed together with their certificate information\&. If \f3-certs\fR and the \f3-verbose:summary\fR suboptions are specified, then entries with the same signer information are grouped and displayed together with their certificate information\&. Details about each entry are summarized and displayed as \fIone entry (and more)\fR\&. See Examples\&.
++.SH ERRORS\ AND\ WARNINGS
++During the signing or verifying process, the \f3jarsigner\fR command may issue various errors or warnings\&.
++.PP
++If there is a failure, the \f3jarsigner\fR command exits with code 1\&. If there is no failure, but there are one or more severe warnings, the \f3jarsigner\fR command exits with code 0 when the \f3-strict\fR option is \fInot\fR specified, or exits with the OR-value of the warning codes when the \f3-strict\fR is specified\&. If there is only informational warnings or no warning at all, the command always exits with code 0\&.
++.PP
++For example, if a certificate used to sign an entry is expired and has a KeyUsage extension that does not allow it to sign a file, the \f3jarsigner\fR command exits with code 12 (=4+8) when the \f3-strict\fR option is specified\&.
++.PP
++\fINote:\fR Exit codes are reused because only the values from 0 to 255 are legal on Unix-based operating systems\&.
++.PP
++The following sections describes the names, codes, and descriptions of the errors and warnings that the \f3jarsigner\fR command can issue\&.
++.SS FAILURE
++Reasons why the \f3jarsigner\fR command fails include (but are not limited to) a command line parsing error, the inability to find a keypair to sign the JAR file, or the verification of a signed JAR fails\&.
++.TP
++failure
++Code 1\&. The signing or verifying fails\&.
++.SS SEVERE\ WARNINGS
++\fINote:\fR Severe warnings are reported as errors if you specify the \f3-strict\fR option\&.
++.PP
++Reasons why the \f3jarsigner\fR command issues a severe warning include the certificate used to sign the JAR file has an error or the signed JAR file has other problems\&.
++.TP
++hasExpiredCert
++Code 4\&. This jar contains entries whose signer certificate has expired\&.
++.TP
++notYetValidCert
++Code 4\&. This jar contains entries whose signer certificate is not yet valid\&.
++.TP
++chainNotValidated
++Code 4\&. This jar contains entries whose certificate chain cannot be correctly validated\&.
++.TP
++badKeyUsage
++Code 8\&. This jar contains entries whose signer certificate\&'s KeyUsage extension doesn\&'t allow code signing\&.
++.TP
++badExtendedKeyUsage
++Code 8\&. This jar contains entries whose signer certificate\&'s ExtendedKeyUsage extension doesn\&'t allow code signing\&.
++.TP
++badNetscapeCertType
++Code 8\&. This jar contains entries whose signer certificate\&'s NetscapeCertType extension doesn\&'t allow code signing\&.
++.TP
++hasUnsignedEntry
++Code 16\&. This jar contains unsigned entries which have not been integrity-checked\&.
++.TP
++notSignedByAlias
++Code 32\&. This jar contains signed entries which are not signed by the specified alias(es)\&.
++.TP
++aliasNotInStore
++Code 32\&. This jar contains signed entries that are not signed by alias in this keystore\&.
++.SS INFORMATIONAL\ WARNINGS
++Informational warnings include those that are not errors but regarded as bad practice\&. They do not have a code\&.
++.TP
++hasExpiringCert
++This jar contains entries whose signer certificate will expire within six months\&.
++.TP
++noTimestamp
++This jar contains signatures that does not include a timestamp\&. Without a timestamp, users may not be able to validate this JAR file after the signer certificate\&'s expiration date (\f3YYYY-MM-DD\fR) or after any future revocation date\&.
++.SH EXAMPLES
++.SS SIGN\ A\ JAR\ FILE
++Use the following command to sign bundle\&.jar with the private key of a user whose keystore alias is \f3jane\fR in a keystore named \f3mystore\fR in the \f3working\fR directory and name the signed JAR file \f3sbundle\&.jar\fR:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore\fP
++.fi
++.nf
++\f3 \-storepass <keystore password>\fP
++.fi
++.nf
++\f3 \-keypass <private key password>\fP
++.fi
++.nf
++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++There is no \f3-sigfile\fR specified in the previous command so the generated \f3\&.SF\fR and \f3\&.DSA\fR files to be placed in the signed JAR file have default names based on the alias name\&. They are named \f3JANE\&.SF\fR and \f3JANE\&.DSA\fR\&.
++.PP
++If you want to be prompted for the store password and the private key password, then you could shorten the previous command to the following:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore\fP
++.fi
++.nf
++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If the keystore is the default keystore (\&.keystore in your home directory), then you do not need to specify a keystore, as follows:
++.sp
++.nf
++\f3jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If you want the signed JAR file to overwrite the input JAR file (bundle\&.jar), then you do not need to specify a \f3-signedjar\fR option, as follows:
++.sp
++.nf
++\f3jarsigner bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS VERIFY\ A\ SIGNED\ JAR\ FILE
++To verify a signed JAR file to ensure that the signature is valid and the JAR file was not been tampered with, use a command such as the following:
++.sp
++.nf
++\f3jarsigner \-verify sbundle\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++When the verification is successful, \f3jar verified\fR is displayed\&. Otherwise, an error message is displayed\&. You can get more information when you use the \f3-verbose\fR option\&. A sample use of \f3jarsigner\fR with the\f3-verbose\fR option follows:
++.sp
++.nf
++\f3jarsigner \-verify \-verbose sbundle\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class\fP
++.fi
++.nf
++\f3 smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS VERIFICATION\ WITH\ CERTIFICATE\ INFORMATION
++If you specify the \f3-certs\fR option with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. The information includes the certificate type, the signer distinguished name information (when it is an X\&.509 certificate), and in parentheses, the keystore alias for the signer when the public key certificate in the JAR file matches the one in a keystore entry, for example:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF\fP
++.fi
++.nf
++\f3 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA\fP
++.fi
++.nf
++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)\fP
++.fi
++.nf
++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If the certificate for a signer is not an X\&.509 certificate, then there is no distinguished name information\&. In that case, just the certificate type and the alias are shown\&. For example, if the certificate is a PGP certificate, and the alias is \f3bob\fR, then you would get: \f3PGP, (bob)\fR\&.
++.SS VERIFICATION\ THAT\ INCLUDES\ IDENTITY\ DATABASE\ SIGNERS
++If a JAR file was signed with the JDK 1\&.1 \f3javakey\fR tool, and the signer is an alias in an identity database, then the verification output includes an \f3i\fR\&. If the JAR file was signed by both an alias in an identity database and an alias in a keystore, then both \f3k\fR and \f3i\fR appear\&.
++.PP
++When the \f3-certs\fR option is used, any identity database aliases are shown in brackets rather than the parentheses used for keystore aliases, for example:
++.sp
++.nf
++\f3 jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA\fP
++.fi
++.nf
++\f3 smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP
++.fi
++.nf
++\f3 X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3 i = at least one certificate was found in identity scope\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR The alias \f3duke\fR is in brackets to denote that it is an identity database alias, and not a keystore alias\&.
++.SH JDK\ 1\&.1\ COMPATIBILITY
++The \f3keytool\fR and \f3jarsigner\fR tools replace the \f3javakey\fR tool in JDK 1\&.1\&. These new tools provide more features than \f3javakey\fR, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them\&.
++.PP
++The new keystore architecture replaces the identity database that \f3javakey\fR created and managed\&. There is no backward compatibility between the keystore format and the database format used by \f3javakey\fR in JDK 1\&.1\&. However, be aware of the following:
++.TP 0.2i
++\(bu
++It is possible to import the information from an identity database into a keystore through the \f3keytool -identitydb\fR command\&.
++.TP 0.2i
++\(bu
++The \f3jarsigner\fR command can sign JAR files that were signed with the \f3javakey\fR command\&.
++.TP 0.2i
++\(bu
++The \f3jarsigner\fR command can verify JAR files signed with \f3javakey\fR\&. The \f3jarsigner\fR command recognizes and can work with signer aliases that are from a JDK 1\&.1 identity database rather than a JDK keystore\&.
++.SS UNSIGNED\ JARS
++Unsigned JARs have the default privileges that are granted to all code\&.
++.SS SIGNED\ JARS
++Signed JARs have the privilege configurations based on their JDK 1\&.1\&.\fIn\fR identity and policy file status as described\&. Only trusted identities can be imported into the JDK keystore\&.
++.PP
++Default Privileges Granted to All Code
+
+-.LP
+-.SH "EXAMPLES"
+-.LP
+-.SS
+-Signing a JAR File
+-.LP
+-.LP
+-Suppose you have a JAR file named "bundle.jar" and you'd like to sign it using the private key of the user whose keystore alias is "jane" in the keystore named "mystore" in the "working" directory. You can use the following to sign the JAR file and name the signed JAR file "sbundle.jar":
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.LP
+-.LP
+-Note that there is no \f2\-sigfile\fP specified in the command above, so the generated .SF and .DSA files to be placed in the signed JAR file will have default names based on the alias name. That is, they will be named \f2JANE.SF\fP and \f2JANE.DSA\fP.
+-.LP
+-.LP
+-If you want to be prompted for the store password and the private key password, you could shorten the above command to
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore
+-.fl
+- \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.LP
+-.LP
+-If the keystore to be used is the default keystore (the one named ".keystore" in your home directory), you don't need to specify a keystore, as in:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: Yes/Untrusted
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.br
++See 3 in Notes Regarding Privileges of Signed JARs\&.
++.PP
+
+-.LP
+-.LP
+-Finally, if you want the signed JAR file to simply overwrite the input JAR file (\f2bundle.jar\fP), you don't need to specify a \f2\-signedjar\fP option:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: Yes/Untrusted
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 1 and 3 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Default Privileges and Policy File Privileges Granted
+
+-.LP
+-.SS
+-Verifying a Signed JAR File
+-.LP
+-.LP
+-To verify a signed JAR file, that is, to verify that the signature is valid and the JAR file has not been tampered with, use a command such as the following:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify sbundle.jar
+-.fl
+-\fP
+-.fi
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.PP
+
+-.LP
+-.LP
+-If the verification is successful,
+-.LP
+-.nf
+-\f3
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 2 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++All Privileges Granted
+
+-.LP
+-.LP
+-is displayed. Otherwise, an error message appears.
+-.LP
+-.LP
+-You can get more information if you use the \f2\-verbose\fP option. A sample use of \f3jarsigner\fP with the \f2\-verbose\fP option is shown below, along with sample output:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify \-verbose sbundle.jar
+-.fl
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class
+-.fl
+- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Verification with Certificate Information
+-.LP
+-.LP
+-If you specify the \f2\-certs\fP option when verifying, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file, including the certificate type, the signer distinguished name information (if and only if it's an X.509 certificate), and, in parentheses, the keystore alias for the signer if the public key certificate in the JAR file matches that in a keystore entry. For example,
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF
+-.fl
+- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class
+-.fl
+-
+-.fl
+- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest)
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-If the certificate for a signer is not an X.509 certificate, there is no distinguished name information. In that case, just the certificate type and the alias are shown. For example, if the certificate is a PGP certificate, and the alias is "bob", you'd get
+-.LP
+-.nf
+-\f3
+-.fl
+- PGP, (bob)
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Verification of a JAR File that Includes Identity Database Signers
+-.LP
+-.LP
+-If a JAR file has been signed using the JDK 1.1 \f3javakey\fP tool, and thus the signer is an alias in an identity database, the verification output includes an "i" symbol. If the JAR file has been signed by both an alias in an identity database and an alias in a keystore, both "k" and "i" appear.
+-.LP
+-.LP
+-When the \f2\-certs\fP option is used, any identity database aliases are shown in square brackets rather than the parentheses used for keystore aliases. For example:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF
+-.fl
+- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA
+-.fl
+- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html
+-.fl
+-
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke]
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+- i = at least one certificate was found in identity scope
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-Note that the alias "duke" is in brackets to denote that it is an identity database alias, not a keystore alias.
+-.LP
+-.SH "WARNINGS"
+-.LP
+-During the signing/verifying process, jarsigner may display various warnings. These warning codes are defined as follows:
+-.nf
+-\f3
+-.fl
+- hasExpiringCert 2
+-.fl
+- This jar contains entries whose signer certificate will expire within six months
+-.fl
+-
+-.fl
+- hasExpiredCert 4
+-.fl
+- This jar contains entries whose signer certificate has expired.
+-.fl
+-
+-.fl
+- notYetValidCert 4
+-.fl
+- This jar contains entries whose signer certificate is not yet valid.
+-.fl
+-
+-.fl
+- chainNotValidated 4
+-.fl
+- This jar contains entries whose certificate chain cannot be correctly validated.
+-.fl
+-
+-.fl
+- badKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing.
+-.fl
+-
+-.fl
+- badExtendedKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's ExtendedKeyUsage extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- badNetscapeCertType 8
+-.fl
+- This jar contains entries whose signer certificate's NetscapeCertType extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- hasUnsignedEntry 16
+-.fl
+- This jar contains unsigned entries which have not been integrity\-checked.
+-.fl
+-
+-.fl
+- notSignedByAlias 32
+-.fl
+- This jar contains signed entries which are not signed by the specified alias(es)
+-.fl
+-
+-.fl
+- aliasNotInStore 32
+-.fl
+- This jar contains signed entries that are not signed by alias in this keystore
+-.fl
+-
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-When the \f2\-strict\fP option is provided, an OR\-value of warnings detected will be returned as the exit code of the tool. For example, if a certificate used to sign an entry is expired and has a keyUsage extension that does not allow it to sign a file, an exit code 12 (=4+8) will be returned.
+-.LP
+-.LP
+-\f3Note\fP: Exit codes are reused because only 0\-255 is legal for Unix. In any case, if the signing/verifying process fails, the following exit code will be returned:
+-.LP
+-.nf
+-\f3
+-.fl
+-failure 1
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Compatibility with JDK 1.1
+-.LP
+-.LP
+-The \f3keytool\fP and \f3jarsigner\fP tools completely replace the \f3javakey\fP tool provided in JDK 1.1. These new tools provide more features than \f3javakey\fP, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them.
+-.LP
+-.LP
+-The new keystore architecture replaces the identity database that \f3javakey\fP created and managed. There is no backwards compatibility between the keystore format and the database format used by \f3javakey\fP in 1.1. However,
+-.LP
+-.RS 3
+-.TP 2
+-o
+-It is possible to import the information from an identity database into a keystore, via the \f3keytool\fP \f2\-identitydb\fP command.
+-.TP 2
+-o
+-\f3jarsigner\fP can sign JAR files also previously signed using \f3javakey\fP.
+-.TP 2
+-o
+-\f3jarsigner\fP can verify JAR files signed using \f3javakey\fP. Thus, it recognizes and can work with signer aliases that are from a JDK 1.1 identity database rather than a Java 2 SDK keystore.
+-.RE
+-
+-.LP
+-.LP
+-The following table explains how JAR files that were signed in JDK 1.1.x are treated in the Java 2 platform.
+-.LP
+-.LP
+-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
+-.de 35
+-.ps \n(.s
+-.vs \n(.vu
+-.in \n(.iu
+-.if \n(.u .fi
+-.if \n(.j .ad
+-.if \n(.j=0 .na
+-..
+-.nf
+-.nr #~ 0
+-.if n .nr #~ 0.6n
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.fc
+-.nr 33 \n(.s
+-.rm 80 81 82 83 84
+-.nr 34 \n(.lu
+-.eo
+-.am 82
+-.br
+-.di a+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(82 .ll \n(82u
+-.in 0
+-\f3Trusted Identity imported into Java 2 Platform keystore from 1.1 database (4)\fP
+-.br
+-.di
+-.nr a| \n(dn
+-.nr a- \n(dl
+-..
+-.ec \
+-.eo
+-.am 83
+-.br
+-.di b+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(83 .ll \n(83u
+-.in 0
+-\f3Policy File grants privileges to Identity/Alias\fP
+-.br
+-.di
+-.nr b| \n(dn
+-.nr b- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di c+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr c| \n(dn
+-.nr c- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di d+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr d| \n(dn
+-.nr d- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di e+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr e| \n(dn
+-.nr e- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di f+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code. (3)
+-.br
+-.di
+-.nr f| \n(dn
+-.nr f- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di g+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code. (1,3)
+-.br
+-.di
+-.nr g| \n(dn
+-.nr g- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di h+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code plus privileges granted in policy file.
+-.br
+-.di
+-.nr h| \n(dn
+-.nr h- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di i+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code plus privileges granted in policy file. (2)
+-.br
+-.di
+-.nr i| \n(dn
+-.nr i- \n(dl
+-..
+-.ec \
+-.35
+-.nf
+-.ll \n(34u
+-.nr 80 0
+-.nr 38 \w\f3JAR File Type\fP
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wUnsigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.80
+-.rm 80
+-.nr 81 0
+-.nr 38 \w\f3Identity in 1.1 database\fP
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Untrusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Untrusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.81
+-.rm 81
+-.nr 82 0
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.82
+-.rm 82
+-.nr 38 \n(a-
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 83 0
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.83
+-.rm 83
+-.nr 38 \n(b-
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 84 0
+-.nr 38 \w\f3Privileges Granted\fP
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges (1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges (1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.84
+-.rm 84
+-.nr 38 \n(c-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(d-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(e-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(f-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(g-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(h-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(i-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.35
+-.nf
+-.ll \n(34u
+-.nr 38 1n
+-.nr 79 0
+-.nr 40 \n(79+(0*\n(38)
+-.nr 80 +\n(40
+-.nr 41 \n(80+(3*\n(38)
+-.nr 81 +\n(41
+-.nr 42 \n(81+(3*\n(38)
+-.nr 82 +\n(42
+-.nr 43 \n(82+(3*\n(38)
+-.nr 83 +\n(43
+-.nr 44 \n(83+(3*\n(38)
+-.nr 84 +\n(44
+-.nr TW \n(84
+-.if t .if \n(TW>\n(.li .tm Table at line 1082 file Input is too wide - \n(TW units
+-.fc  
+-.nr #T 0-1
+-.nr #a 0-1
+-.eo
+-.de T#
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.mk ##
+-.nr ## -1v
+-.ls 1
+-.ls
+-..
+-.ec
+-.ne \n(a|u+\n(.Vu
+-.ne \n(b|u+\n(.Vu
+-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
+-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'\f3JAR File Type\fP\h'|\n(41u'\f3Identity in 1.1 database\fP\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3Privileges Granted\fP
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(42u
+-.in +\n(37u
+-.a+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(43u
+-.in +\n(37u
+-.b+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(c|u+\n(.Vu
+-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.c+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(d|u+\n(.Vu
+-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Unsigned JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.d+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(e|u+\n(.Vu
+-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.e+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(f|u+\n(.Vu
+-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.f+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(g|u+\n(.Vu
+-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.g+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(h|u+\n(.Vu
+-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.h+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(i|u+\n(.Vu
+-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.i+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'All privileges
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'All privileges (1)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'All privileges (1)
+-.fc
+-.nr T. 1
+-.T# 1
+-.35
+-.rm a+
+-.rm b+
+-.rm c+
+-.rm d+
+-.rm e+
+-.rm f+
+-.rm g+
+-.rm h+
+-.rm i+
+-.if \n-(b.=0 .nr c. \n(.c-\n(d.-42
+-
+-.LP
+-.LP
+-Notes:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-If an identity/alias is mentioned in the policy file, it must be imported into the keystore for the policy file to have any effect on privileges granted.
+-.TP 3
+-2.
+-The policy file/keystore combination has precedence over a trusted identity in the identity database.
+-.TP 3
+-3.
+-Untrusted identities are ignored in the Java 2 platform.
+-.TP 3
+-4.
+-Only trusted identities can be imported into Java 2 SDK keystores.
+-.RE
+-
+-.LP
+-.SH "SEE ALSO"
+-.LP
+-.RS 3
+-.TP 2
+-o
+-jar(1) tool documentation
+-.TP 2
+-o
+-keytool(1) tool documentation
+-.TP 2
+-o
+-the
+-.na
+-\f4Security\fP @
+-.fi
+-http://download.oracle.com/javase/tutorial/security/index.html trail of the
+-.na
+-\f4Java Tutorial\fP @
+-.fi
+-http://download.oracle.com/javase/tutorial/index.html for examples of the use of the \f3jarsigner\fP tool
+-.RE
+-
+-.LP
+-
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.br
++See 1 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 1 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Notes Regarding Privileges of Signed JARs
++.TP 0.4i
++1\&.
++If an identity or alias is mentioned in the policy file, then it must be imported into the keystore for the policy file to have any effect on privileges granted\&.
++.TP 0.4i
++2\&.
++The policy file/keystore combination has precedence over a trusted identity in the identity database\&.
++.TP 0.4i
++3\&.
++Untrusted identities are ignored in the Java platform\&.
++.SH SEE\ ALSO
++.TP 0.2i
++\(bu
++\f3jar\fR
++.TP 0.2i
++\(bu
++\f3keytool\fR
++.TP 0.2i
++\(bu
++Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html
++.RE
++.br
++'pl 8.5i
++'bp
+--- ./jdk/src/linux/doc/man/ja/jarsigner.1 Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/linux/doc/man/ja/jarsigner.1 Thu Dec 19 09:01:16 2013 -0800
+@@ -1,1673 +1,1403 @@
+-." Copyright (c) 1998, 2011, 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.
+-."
+-." 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.
+-."
+-.TH jarsigner 1 "05 Jul 2012"
+-
+-.LP
+-.SH "̾Á°"
+-jarsigner \- JAR½ð̾¤ª¤è¤Ó¸¡¾Ú¥Ä¡¼¥ë
+-.LP
+-.LP
+-Java ARchive(JAR)¥Õ¥¡¥¤¥ë¤Î½ð̾¤òÀ¸À®¤·¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£
+-.LP
++'\" t
++.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
++.\" Title: jarsigner
++.\" Language: English
++.\" Date: 2013ǯ8·î6Æü
++.\" SectDesc: ¥»¥­¥å¥ê¥Æ¥£¡¦¥Ä¡¼¥ë
++.\" Software: JDK 7
++.\" Arch: ÈÆÍÑ
++.\"
++.\" 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.
++.\"
++.\" 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.
++.\"
++.pl 99999
++.TH "jarsigner" "1" "2013ǯ8·î6Æü" "JDK 7" "¥»¥­¥å¥ê¥Æ¥£¡¦¥Ä¡¼¥ë"
++.\" -----------------------------------------------------------------
++.\" * Define some portability stuff
++.\" -----------------------------------------------------------------
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.\" http://bugs.debian.org/507673
++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.ie \n(.g .ds Aq \(aq
++.el .ds Aq '
++.\" -----------------------------------------------------------------
++.\" * set default formatting
++.\" -----------------------------------------------------------------
++.\" disable hyphenation
++.nh
++.\" disable justification (adjust text to left margin only)
++.ad l
++.\" -----------------------------------------------------------------
++.\" * MAIN CONTENT STARTS HERE *
++.\" -----------------------------------------------------------------
++.SH "NAME"
++jarsigner \- Java¥¢¡¼¥«¥¤¥Ö(JAR)¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ½ð̾¤ª¤è¤Ó¸¡¾Ú¤ò¹Ô¤¤¤Þ¤¹¡£
+ .SH "·Á¼°"
+-.LP
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+-\fP\f3jarsigner\fP [ options ] jar\-file alias
+-.fl
+-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...]
+-.fl
++\fIjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR
+ .fi
+-
+-.LP
+-.LP
+-jarsigner¤Î\-verify¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë̾¤Î¸å¤Ë0¸Ä°Ê¾å¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢ÊÌ̾¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢jarsigner¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ½ð̾ÉÕ¤­¥¨¥ó¥Æ¥£¥Æ¥£¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¡¢¤¤¤º¤ì¤«¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤Ë°ìÃפ¹¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ÊÌ̾¤Ï¡¢\-keystore¤Ç»ØÄꤵ¤ì¤¿¥­¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£
+-.LP
++.if n \{\
++.RE
++.\}
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\fIjarsigner\fR \fI\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR]
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++\fIoptions\fR
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥ª¥×¥·¥ç¥ó¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-verify
++.RS 4
++\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë̾¤Î¸å¤Ë0¸Ä°Ê¾å¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ½ð̾ÉÕ¤­¥¨¥ó¥Æ¥£¥Æ¥£¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¡¢¤¤¤º¤ì¤«¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤Ë°ìÃפ¹¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ÊÌ̾¤Ï¡¢\fI\-keystore\fR¤Ç»ØÄꤵ¤ì¤¿¥­¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£
++.sp
++\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤷ¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤ê½ÅÂç¤Ê·Ù¹ð¤¬¸¡½Ð¤µ¤ì¤ë¤È¡¢¥á¥Ã¥»¡¼¥¸¡Öjar¤¬¸¡¾Ú¤µ¤ì¤Þ¤·¤¿¡£½ð̾¼Ô¥¨¥é¡¼¡×¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
++.RE
++.PP
++\fIjar\-file\fR
++.RS 4
++½ð̾¤µ¤ì¤ëJAR¥Õ¥¡¥¤¥ë¡£
++.RE
++.PP
++\fIalias\fR
++.RS 4
++ÊÌ̾¤Ï¡¢\fI\-keystore\fR¤Ç»ØÄꤵ¤ì¤¿¥­¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£
++.RE
+ .SH "ÀâÌÀ"
+-.LP
+-.LP
+-\f3jarsigner\fP¥Ä¡¼¥ë¤Ï¡¢¼¡¤Î2¤Ä¤ÎÌÜŪ¤Ç»ÈÍѤ·¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-Java ARchive(JAR)¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëÌÜŪ
+-.TP 3
+-2.
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ÈÀ°¹çÀ­¤ò¸¡¾Ú¤¹¤ëÌÜŪ
++.PP
++\fIjarsigner\fR¥Ä¡¼¥ë¤Ë¤Ï¡¢¼¡¤Î2¤Ä¤ÎÌÜŪ¤¬¤¢¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++Java¥¢¡¼¥«¥¤¥Ö(JAR)¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëÌÜŪ¡£
+ .RE
+-
+-.LP
+-.LP
+-JARµ¡Ç½¤ò»ÈÍѤ¹¤ë¤È¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¡¢¥¤¥á¡¼¥¸¡¢¥µ¥¦¥ó¥É¤ª¤è¤Ó¤½¤Î¾¤Î¥Ç¥¸¥¿¥ë¡¦¥Ç¡¼¥¿¤òñ°ì¤Î¥Õ¥¡¥¤¥ë¤Ë¥Ñ¥Ã¥±¡¼¥¸²½¤Ç¤­¤ë¤Î¤Ç¡¢¥Õ¥¡¥¤¥ë¤ò¿×®¤«¤ÄÍÆ°×¤ËÇÛÉۤǤ­¤Þ¤¹¡£³«È¯¼Ô¤Ï¡¢jar(1)¤È¤¤¤¦Ì¾Á°¤Î¥Ä¡¼¥ë¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤­¤Þ¤¹¡£(µ»½ÑŪ¤Ê´ÑÅÀ¤«¤é¸À¤¨¤Ð¡¢¤¹¤Ù¤Æ¤ÎZIP¥Õ¥¡¥¤¥ë¤âJAR¥Õ¥¡¥¤¥ë¤È¤ß¤Ê¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤¿¤À¤·¡¢\f3jar\fP¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï\f3jarsigner\fP¤Ë¤è¤Ã¤Æ½èÍý¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢META\-INF/MANIFEST.MF¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£)
+-.LP
+-.LP
+-\f2¥Ç¥¸¥¿¥ë½ð̾\fP¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ç¡¼¥¿(¡Ö½ð̾¡×¤ÎÂоݤȤʤë¥Ç¡¼¥¿)¤È¡¢¥¨¥ó¥Æ¥£¥Æ¥£(¿Í¡¢²ñ¼Ò¤Ê¤É)¤ÎÈëÌ©¸°¤È¤Ë´ð¤Å¤¤¤Æ·×»»¤µ¤ì¤ë¥Ó¥Ã¥ÈÎó¤Ç¤¹¡£¼ê½ñ¤­¤Î½ð̾ƱÍÍ¡¢¥Ç¥¸¥¿¥ë½ð̾¤Ë¤Ï¿¤¯¤ÎÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-½ð̾¤ÎÀ¸À®¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ÈÂÐ¤Ë¤Ê¤ë¸ø³«¸°¤ò»ÈÍѤ·¤Æ·×»»¤ò¹Ô¤¦¤³¤È¤Ç¡¢¥Ç¥¸¥¿¥ë½ð̾¤¬ËÜʪ¤«¤É¤¦¤«¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-ÈëÌ©¸°¤¬Â¾¿Í¤ËÃΤé¤ì¤Ê¤¤¸Â¤ê¡¢¥Ç¥¸¥¿¥ë½ð̾¤Îµ¶Â¤¤ÏÉÔ²Äǽ¤Ç¤¹¡£
+-.TP 2
+-o
+-¥Ç¥¸¥¿¥ë½ð̾¤Ï¡¢¤½¤Î½ð̾¤¬ÉÕ¤¤¤¿¥Ç¡¼¥¿¤Î¤ß¤òÂоݤȤ¹¤ë¤â¤Î¤Ç¤¢¤ê¡¢Â¾¤Î¥Ç¡¼¥¿¤Î½ð̾¤È¤·¤Æµ¡Ç½¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£
+-.TP 2
+-o
+-½ð̾ÉÕ¤­¤Î¥Ç¡¼¥¿¤ÏÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£¥Ç¡¼¥¿¤¬Êѹ¹¤µ¤ì¤¿¾ì¹ç¤Ï¡¢¤½¤Î½ð̾¤Ë¤è¤Ã¤Æ¥Ç¡¼¥¿¤¬ËÜʪ¤Ç¤Ï¤Ê¤¤¤³¤È¤¬¸¡¾Ú¤µ¤ì¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ÈÀ°¹çÀ­¤ò¸¡¾Ú¤¹¤ëÌÜŪ¡£
+ .RE
+-
+-.LP
+-.LP
+-¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¥¨¥ó¥Æ¥£¥Æ¥£¤Î½ð̾¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢¤½¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ë´ØÏ¢¤¹¤ë¸ø³«¸°¤ÈÈëÌ©¸°¤Î¥Ú¥¢¤ò»ý¤ÄɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢¸ø³«¸°¤òǧ¾Ú¤¹¤ë1¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î¾ÚÌÀ½ñ¤âɬÍפǤ¹¡£\f2¾ÚÌÀ½ñ\fP¤È¤Ï¡¢¤¢¤ë¥¨¥ó¥Æ¥£¥Æ¥£¤¬È¯¹Ô¤·¤¿¥Ç¥¸¥¿¥ë½ð̾ÉÕ¤­¤Îʸ½ñ¤Ç¡¢Ê̤ʥ¨¥ó¥Æ¥£¥Æ¥£¤Î¸ø³«¸°¤¬ÆÃÄê¤ÎÃͤǤ¢¤ë¤³¤È¤ò¾ÚÌÀ¤·¤Æ¤¤¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ï¡¢\f2¥­¡¼¥¹¥È¥¢\fP¤Ë´Þ¤Þ¤ì¤ë¸°¤È¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ï¡¢ÈëÌ©¸°¡¢¤ª¤è¤ÓÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¤¿¤á¤ÎX.509¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬¼ý¤á¤é¤ì¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¹¡£¥­¡¼¥¹¥È¥¢¤ÎºîÀ®¤È´ÉÍý¤Ë¤Ï¡¢keytool(1)¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò»ÈÍѤ·¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ï¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤ËÂФ¹¤ë¡¢¥­¡¼¥¹¥È¥¢Æâ¤Î¾ÚÌÀ½ñ¤Î¥³¥Ô¡¼¤Ê¤É¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£\f3jarsigner\fP¤Ï¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ëÆâ(½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ëÆâ)¤Ë¤¢¤ë¾ÚÌÀ½ñ¤ò»ÈÍѤ·¤Æ¤½¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ï¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤à½ð̾¤òÀ¸À®¤¹¤ë¤Î¤Ç¡¢¥·¥¹¥Æ¥à¤ä¥Ç¥×¥í¥¤¥ä(Java Plug\-in¤ò´Þ¤à)¤ÏJAR¥Õ¥¡¥¤¥ë¤¬½ð̾¾ÚÌÀ½ñ¤ÎÍ­¸ú´ü´ÖÃæ¤Ë½ð̾¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢API¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤«¤é¥¿¥¤¥à¥¹¥¿¥ó¥×¾ðÊó¤ò¼èÆÀ¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-¸½»þÅÀ¤Ç¤Ï¡¢\f3jarsigner\fP¤Ç½ð̾¤Ç¤­¤ë¤Î¤Ï¡¢SDK¤Îjar(1)¥Ä¡¼¥ë¤ÇºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Î¤ß¤Ç¤¹¡£(JAR¥Õ¥¡¥¤¥ë¤ÏZIP¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢JAR¥Õ¥¡¥¤¥ë¤Ë¤ÏMETA\-INF/MANIFEST.MF¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢\f3jarsigner\fP¤¬ZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Ë¼«Æ°Åª¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£)
+-.LP
+-.LP
+-¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢\f3jarsigner\fP¤ÏJAR(¤Þ¤¿¤ÏZIP)¥Õ¥¡¥¤¥ë¤Ë\f2½ð̾¤·¤Þ¤¹\fP¡£½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò\f2¸¡¾Ú\fP¤¹¤ë¾ì¹ç¤Ï¡¢\f2\-verify\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
+-.LP
+-.SS
+-¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾
+-.LP
+-.LP
+-¥­¡¼¥¹¥È¥¢¤Î¤¹¤Ù¤Æ¤Î¥¨¥ó¥È¥ê¤Ï¡¢°ì°Õ¤Î\f2ÊÌ̾\fP¤ò²ð¤·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Ï¡¢½ð̾¤ÎÀ¸À®¤ËɬÍפÊÈëÌ©¸°¤ò´Þ¤à¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤ÎÎã¤Ï¡¢working¥Ç¥£¥ì¥¯¥È¥ê¤Îmystore¤È¤¤¤¦Ì¾Á°¤Î¥­¡¼¥¹¥È¥¢¤Ë´Þ¤Þ¤ì¤ëÊÌ̾duke¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢MyJARFile.jar¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢MyJARFile.jar¤Ï½ð̾ÉÕ¤­¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£
+-.LP
++.PP
++JARµ¡Ç½¤ò»ÈÍѤ¹¤ë¤È¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¡¢¥¤¥á¡¼¥¸¡¢¥µ¥¦¥ó¥É¤ª¤è¤Ó¤½¤Î¾¤Î¥Ç¥¸¥¿¥ë¡¦¥Ç¡¼¥¿¤òñ°ì¤Î¥Õ¥¡¥¤¥ë¤Ë¥Ñ¥Ã¥±¡¼¥¸²½¤Ç¤­¤ë¤Î¤Ç¡¢¥Õ¥¡¥¤¥ë¤ò¿×®¤«¤ÄÍÆ°×¤ËÇÛÉۤǤ­¤Þ¤¹¡£\fIjar\fR¤È¤¤¤¦Ì¾Á°¤Î¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¡¢³«È¯¼Ô¤ÏJAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤­¤Þ¤¹¡£(µ»½ÑŪ¤Ê´ÑÅÀ¤«¤é¸À¤¨¤Ð¡¢¤¹¤Ù¤Æ¤ÎZIP¥Õ¥¡¥¤¥ë¤âJAR¥Õ¥¡¥¤¥ë¤È¤ß¤Ê¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤¿¤À¤·¡¢jar¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï\fIjarsigner\fR¤Ë¤è¤Ã¤Æ½èÍý¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£)
++.PP
++¥Ç¥¸¥¿¥ë½ð̾¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ç¡¼¥¿(½ð̾¤ÎÂоݤȤʤë¥Ç¡¼¥¿)¡¢¤ª¤è¤Ó¥¨¥ó¥Æ¥£¥Æ¥£(¿Í¡¢²ñ¼Ò¤Ê¤É)¤ÎÈëÌ©¸°¤«¤é·×»»¤µ¤ì¤ë¥Ó¥Ã¥È¤Îʸ»úÎó¤Ç¤¹¡£¼ê½ñ¤­¤Î½ð̾ƱÍÍ¡¢¥Ç¥¸¥¿¥ë½ð̾¤Ë¤Ï¿¤¯¤ÎÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++½ð̾¤ÎÀ¸À®¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤ò»ÈÍѤ¹¤ë·×»»¤Ë¤è¤Ã¤Æ¡¢¤½¤ì¤¬ËÜʪ¤Ç¤¢¤ë¤³¤È¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++ÈëÌ©¸°¤¬Â¾¿Í¤ËÃΤé¤ì¤Ê¤¤¸Â¤ê¡¢¥Ç¥¸¥¿¥ë½ð̾¤Îµ¶Â¤¤ÏÉÔ²Äǽ¤Ç¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¤³¤ì¤Ï¡¢½ð̾¤¬ÉÕ¤¤¤¿¥Ç¡¼¥¿¤Îµ¡Ç½¤Ç¤¢¤ê¡¢Â¾¤Î¥Ç¡¼¥¿¤Î½ð̾¤È¤Ê¤ë¤è¤¦¤ËÍ×µá¤Ç¤­¤Þ¤»¤ó¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++½ð̾ÉÕ¤­¥Ç¡¼¥¿¤ÏÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£¥Ç¡¼¥¿¤¬Êѹ¹¤µ¤ì¤¿¾ì¹ç¡¢½ð̾¤Ë¤è¤Ã¤ÆËÜʪ¤Ç¤¢¤ë¤È¸¡¾Ú¤Ç¤­¤Þ¤»¤ó¡£
++.RE
++.PP
++¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¥¨¥ó¥Æ¥£¥Æ¥£¤Î½ð̾¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢¤½¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ë´ØÏ¢¤¹¤ë¸ø³«¸°/ÈëÌ©¸°¤Î¥Ú¥¢¤È¡¢¸ø³«¸°¤òǧ¾Ú¤¹¤ë1¤Ä°Ê¾å¤Î¾ÚÌÀ½ñ¤ò»ý¤ÄɬÍפ¬¤¢¤ê¤Þ¤¹¡£¾ÚÌÀ½ñ¤È¤Ï¡¢¤¢¤ë¥¨¥ó¥Æ¥£¥Æ¥£¤«¤é¤Î¥Ç¥¸¥¿¥ë½ð̾ÉÕ¤­¤Îʸ½ñ¤Ç¡¢Ê̤Υ¨¥ó¥Æ¥£¥Æ¥£¤Î¸ø³«¸°¤¬ÆÃÄê¤ÎÃͤò»ý¤Ä¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢¥­¡¼¥¹¥È¥¢¤«¤é¤Î¸°¤È¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ï¡¢ÈëÌ©¸°¡¢¤ª¤è¤ÓÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¡¢ÈëÌ©¸°¤Ë´ØÏ¢¤·¤¿X\&.509¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¹¡£\fIkeytool\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥­¡¼¥¹¥È¥¢¤òºîÀ®¤ª¤è¤Ó´ÉÍý¤·¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢ÆÃ¤Ë¡¢¥Õ¥¡¥¤¥ë¤Ø¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤Î¥­¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Î¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢ÆâÉô(½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ëÆâ)¤Î¾ÚÌÀ½ñ¤ò»ÈÍѤ·¤Æ¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢½ð̾¾ÚÌÀ½ñ¤ÎÍ­¸ú´ü´ÖÃæ¤ËJAR¥Õ¥¡¥¤¥ë¤¬½ð̾¤µ¤ì¤¿¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥·¥¹¥Æ¥à¤ä¥Ç¥×¥í¥¤¥ä(Java Plug\-in¤ò´Þ¤à)¤¬¥Á¥§¥Ã¥¯¤Ç¤­¤ë¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤à½ð̾¤òÀ¸À®¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢API¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¥¿¥¤¥à¥¹¥¿¥ó¥×¾ðÊó¤ò¼èÆÀ¤Ç¤­¤Þ¤¹¡£
++.PP
++¸½»þÅÀ¤Ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjar\fR¥³¥Þ¥ó¥É¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Î¤ß¤Ë½ð̾¤Ç¤­¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤ÏZIP¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤â´Þ¤Þ¤ì¤Æ¤¤¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤ÆZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëºÝ¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£
++.PP
++¥Ç¥Õ¥©¥ë¥È¤Î\fIjarsigner\fR¥³¥Þ¥ó¥É¤Îưºî¤Ç¤Ï¡¢JAR¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¸å¤Ë½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤Î¸¡¾Ú¤â»î¹Ô¤·¤Þ¤¹¡£¸¡¾Ú¥¨¥é¡¼¤Þ¤¿¤Ï¤½¤Î¾¤ÎÌäÂ꤬ȯÀ¸¤¹¤ë¤È¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬À¸À®¤µ¤ì¤Þ¤¹¡£\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê½ÅÂç¤Ê·Ù¹ð¤¬¥¨¥é¡¼¤È¤·¤Æ½èÍý¤µ¤ì¤Þ¤¹¡£¥¨¥é¡¼¤È·Ù¹ð¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.SS "¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾"
++.PP
++¥­¡¼¥¹¥È¥¢¤Î¤¹¤Ù¤Æ¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢°ì°Õ¤ÎÊÌ̾¤ò»ÈÍѤ·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¤È¤­¤Ï¡¢½ð̾¤ÎÀ¸À®¤ËɬÍפÊÈëÌ©¸°¤ò´Þ¤à¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIworking\fR¥Ç¥£¥ì¥¯¥È¥ê¤Î\fImystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥­¡¼¥¹¥È¥¢¤Ë´Þ¤Þ¤ì¤ëÊÌ̾\fIduke\fR¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢\fIMyJARFile\&.jar\fR¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢\fIMyJARFile\&.jar\fR¤Ï½ð̾ÉÕ¤­¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke
+-.fl
+-\fP
++jarsigner \-keystore /working/mystore \-storepass <keystore password>
++ \-keypass <private key password> MyJARFile\&.jar duke
+ .fi
+-
+-.LP
+-.LP
+-¥­¡¼¥¹¥È¥¢¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£Æ±Íͤˡ¢ÈëÌ©¸°¤â¥­¡¼¥¹¥È¥¢Æâ¤Ç¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï»ØÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥È¤¬Êݸ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹¥ï¡¼¥É¤È°ã¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
+-.LP
+-.SS
+-¥­¡¼¥¹¥È¥¢¤Î¾ì½ê
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ë¤Ï¡¢»ÈÍѤ¹¤ë¥­¡¼¥¹¥È¥¢¤ÎURL¤ò»ØÄꤹ¤ë\f2\-keystore\fP¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\f2user.home\fP¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·è¤Þ¤ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Î\f2.keystore\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÆâ¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£Solaris¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢\f2user.home\fP¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¥æ¡¼¥¶¡¼¤Îhome¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-\f2\-keystore\fP¥ª¥×¥·¥ç¥ó¤«¤é¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ï¡¢\f2KeyStore.load\fP¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£URL¤È¤·¤Æ\f2NONE\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢null¤Î¥¹¥È¥ê¡¼¥à¤¬\f2KeyStore.load\fP¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£\f2NONE\fP¤Ï¡¢\f2KeyStore\fP¤¬¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤¿¤È¤¨¤Ð¡¢¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¡¦¥Ç¥Ð¥¤¥¹¾å¤Ë¸ºß¤·¤Æ¤¤¤ë¾ì¹ç¤Ê¤É¤Ë»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
+-.LP
+-.SS
+-¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ
+-.LP
+-.LP
+-\f2java.security\fP¥Ñ¥Ã¥±¡¼¥¸¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë\f2KeyStore\fP¥¯¥é¥¹¤Ï¡¢¥­¡¼¥¹¥È¥¢Æâ¤Î¾ðÊó¤Ø¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó¾ðÊó¤ÎÊѹ¹¤ò¹Ô¤¦¤¿¤á¤Î¡¢ÌÀ³Î¤ËÄêµÁ¤µ¤ì¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Î¸ÇÄê¼ÂÁõ¤È¤·¤Æ¤Ï¡¢¤½¤ì¤¾¤ì¤¬ÆÃÄê¤Î\f2¥¿¥¤¥×\fP¤Î¥­¡¼¥¹¥È¥¢¤òÂоݤȤ¹¤ëÊ£¿ô¤Î°Û¤Ê¤ë¼ÂÁõ¤¬Â¸ºß²Äǽ¤Ç¤¹¡£
+-.LP
+-.LP
+-¸½ºß¡¢¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤â¤Î¤È¤·¤Æ¡¢\f3keytool\fP¤È\f3jarsigner\fP¤Î2¤Ä¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥Ä¡¼¥ë¤È¡¢\f3Policy Tool\fP¤È¤¤¤¦Ì¾Á°¤Î1¤Ä¤ÎGUI¥Ù¡¼¥¹¤Î¥Ä¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£\f2KeyStore\fP¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢Java 2 SDK¥æ¡¼¥¶¡¼¤ÏKeyStore¤ò»ÈÍѤ¹¤ë¾¤Î¥»¥­¥å¥ê¥Æ¥£¡¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤âºîÀ®¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-¥­¡¼¥¹¥È¥¢¤Ë¤Ï¡¢Sun Microsystems¤¬Ä󶡤¹¤ëÁȹþ¤ß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢JKS¤È¤¤¤¦Ì¾Á°¤ÎÆÈ¼«¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(·Á¼°)¤òÍøÍѤ¹¤ë¤â¤Î¤Ç¡¢¥­¡¼¥¹¥È¥¢¤ò¥Õ¥¡¥¤¥ë¤È¤·¤Æ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤Î¼ÂÁõ¤Ç¤Ï¡¢¸Ä¡¹¤ÎÈëÌ©¸°¤Ï¸ÄÊ̤Υѥ¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¡¢¥­¡¼¥¹¥È¥¢Á´ÂΤÎÀ°¹çÀ­¤â(ÈëÌ©¸°¤È¤ÏÊ̤Î)¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ï¡¢¥×¥í¥Ð¥¤¥À¥Ù¡¼¥¹¤Ç¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢\f2KeyStore\fP¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬¡Ö¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¡×(SPI)¤Ë´ð¤Å¤¤¤Æ¼ÂÁõ¤µ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢Âбþ¤¹¤ë\f2KeystoreSpi\fPÃê¾Ý¥¯¥é¥¹(¤³¤ì¤â\f2java.security\fP¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹)¤¬¤¢¤ê¡¢¤³¤Î¥¯¥é¥¹¤¬¡¢¡Ö¥×¥í¥Ð¥¤¥À¡×¤¬¼ÂÁõ¤¹¤ëɬÍפΤ¢¤ëService Provider Interface¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£(¤³¤³¤Ç¡¢¡Ö¥×¥í¥Ð¥¤¥À¡×¤È¤Ï¡¢Java Security API¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤ËÂФ·¡¢¤½¤Î¸ÇÄê¼ÂÁõ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î½¸¹ç¤Î¤³¤È¤Ç¤¹¡£)¤·¤¿¤¬¤Ã¤Æ¡¢¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¤Ë¤Ï¡¢
+-.na
+-\f2Java°Å¹æ²½¥¢¡¼¥­¥Æ¥¯¥Á¥ãÍÑ¥×¥í¥Ð¥¤¥À¤Î¼ÂÁõÊýË¡\fP @
++.if n \{\
++.RE
++.\}
++.PP
++¥­¡¼¥¹¥È¥¢¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢ÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£Æ±Íͤˡ¢ÈëÌ©¸°¤â¥­¡¼¥¹¥È¥¢Æâ¤Ç¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï»ØÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥È¤¬Êݸ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹¥ï¡¼¥É¤ÈƱ¤¸¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
++.SS "¥­¡¼¥¹¥È¥¢¤Î¾ì½ê"
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤Ï¡¢»ÈÍѤ¹¤ë¥­¡¼¥¹¥È¥¢¤ÎURL¤ò»ØÄꤹ¤ë\fI\-keystore\fR¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\fIuser\&.home\fR¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·è¤Þ¤ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Î\fI\&.keystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÆâ¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£Oracle Solaris¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢\fIuser\&.home\fR¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Ç¥Õ¥©¥ë¥ÈÀßÄꤵ¤ì¤Þ¤¹¡£
++.PP
++\fI\-keystore\fR¥ª¥×¥·¥ç¥ó¤«¤é¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ï¡¢\fIKeyStore\&.load\fR¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£URL¤È¤·¤Æ\fINONE\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢null¤Î¥¹¥È¥ê¡¼¥à¤¬\fIKeyStore\&.load\fR¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£\fINONE\fR¤Ï¡¢\fIKeyStore\fR¥¯¥é¥¹¤¬¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤¿¤È¤¨¤Ð¡¢¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¡¦¥Ç¥Ð¥¤¥¹¤ËÃÖ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë»ØÄꤷ¤Þ¤¹¡£
++.SS "¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ"
++.PP
++\fIjava\&.security package\fR¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë\fIKeyStore\fR¥¯¥é¥¹¤Ï¡¢¥­¡¼¥¹¥È¥¢Æâ¤Î¾ðÊó¤Ø¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó¾ðÊó¤ÎÊѹ¹¤ò¹Ô¤¦¤¿¤á¤Î¡¢ÌÀ³Î¤ËÄêµÁ¤µ¤ì¤¿Â¿¤¯¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£Ê£¿ô¤Î°Û¤Ê¤ë¸ÇÄê¼ÂÁõ¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¡¢³Æ¼ÂÁõ¤ÏÆÃÄê¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤òÂоݤȤ·¤Þ¤¹¡£
++.PP
++¸½ºß¡¢¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë2¤Ä¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥Ä¡¼¥ë(\fIkeytool\fR¤È\fIjarsigner\fR)¡¢¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Ä¡¼¥ë¤È¤¤¤¦Ì¾Á°¤Î1¤Ä¤ÎGUI¥Ù¡¼¥¹¤Î¥Ä¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£\fIKeyStore\fR¥¯¥é¥¹¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤ë¤¿¤á¡¢JDK¥æ¡¼¥¶¡¼¤Ï¡¢¤½¤ì¤ò»ÈÍѤ¹¤ë¾¤Î¥»¥­¥å¥ê¥Æ¥£¡¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò½ñ¤­¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
++.PP
++Oracle¤¬Ä󶡤¹¤ëÁȹþ¤ß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢KS¤È¤¤¤¦Ì¾Á°¤ÎÆÈ¼«¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(·Á¼°)¤ò»ÈÍѤ¹¤ë¤â¤Î¤Ç¡¢¥­¡¼¥¹¥È¥¢¤ò¥Õ¥¡¥¤¥ë¤È¤·¤Æ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£Áȹþ¤ß¤Î¼ÂÁõ¤Ç¤Ï¡¢³ÆÈëÌ©¸°¤Ï¸ÄÊ̤Υѥ¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¡¢¥­¡¼¥¹¥È¥¢Á´ÂΤÎÀ°¹çÀ­¤Ï(ÈëÌ©¸°¤È¤ÏÊ̤Î)¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Þ¤¹¡£
++.PP
++¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ï¥×¥í¥Ð¥¤¥À¥Ù¡¼¥¹¤Ç¡¢¤Ä¤Þ¤ê¡¢\fIKeyStore\fR¥¯¥é¥¹¤Ë¤è¤êÄ󶡤µ¤ì¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¡¢¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹(SPI)¤Ë´Ø¤·¤Æ¼ÂÁõ¤µ¤ì¤Þ¤¹¡£Âбþ¤¹¤ë\fIKeystoreSpi\fRÃê¾Ý¥¯¥é¥¹¤¬¤¢¤ê¡¢¤³¤ì¤â\fIjava\&.security package\fR¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¤¬¡¢¥×¥í¥Ð¥¤¥À¤¬¼ÂÁõ¤¹¤ëɬÍפΤ¢¤ë¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢¥×¥í¥Ð¥¤¥À¤È¤Ï¡¢Java Security API¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤ËÂФ·¡¢¤½¤Î¸ÇÄê¼ÂÁõ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î½¸¹ç¤Î¤³¤È¤Ç¤¹¡£¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¤Ë¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html¤Ë¤¢¤ë
++Java°Å¹æ²½¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Î¥×¥í¥Ð¥¤¥À¤Î¼ÂÁõÊýË¡¤ÇÀâÌÀ¤·¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¥×¥í¥Ð¥¤¥À¤ò¼ÂÁõ¤·¡¢\fIKeystoreSpi\fR¥µ¥Ö¥¯¥é¥¹¤Î¼ÂÁõ¤òÄ󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++.PP
++¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢\fIKeyStore\fR¥¯¥é¥¹¤Î\fIgetInstance\fR¥Õ¥¡¥¯¥È¥ê¡¦¥á¥½¥Ã¥É¤ò»ÈÍѤ·¤Æ¡¢ÍÍ¡¹¤Ê¥×¥í¥Ð¥¤¥À¤«¤é°Û¤Ê¤ë¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÁªÂò¤Ç¤­¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Ï¡¢¥­¡¼¥¹¥È¥¢¾ðÊó¤Î³ÊǼ·Á¼°¤È¥Ç¡¼¥¿·Á¼°¤òÄêµÁ¤¹¤ë¤È¤È¤â¤Ë¡¢¥­¡¼¥¹¥È¥¢Æâ¤ÎÈëÌ©¸°¤È¥­¡¼¥¹¥È¥¢¼«ÂΤÎÀ°¹çÀ­¤òÊݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤òÄêµÁ¤·¤Þ¤¹¡£°Û¤Ê¤ë¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ë¤Ï¡¢¸ß´¹À­¤Ï¤¢¤ê¤Þ¤»¤ó¡£
++.PP
++\fIkeytool\fR¥³¥Þ¥ó¥É¤Ï¡¢Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Î¥­¡¼¥¹¥È¥¢¼ÂÁõ¤Çưºî¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÅϤµ¤ì¤¿¥­¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ°·¤¤¡¢¤³¤ì¤ò\fIFileInputStream\fR¤ËÊÑ´¹¤·¤Æ¡¢¤½¤³¤«¤é¥­¡¼¥¹¥È¥¢¤Î¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤¹¡£\fIjarsigner\fR¥Ä¡¼¥ë¤ª¤è¤Ó\fIpolicytool\fR¥Ä¡¼¥ë¤Ï¡¢URL¤ò»ÈÍѤ·¤Æ»ØÄê²Äǽ¤ÊǤ°Õ¤Î¾ì½ê¤«¤é¥­¡¼¥¹¥È¥¢¤òÆÉ¤ß¼è¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ª¤è¤Ó\fIkeytool\fR¥³¥Þ¥ó¥É¤Î¾ì¹ç¡¢\fI\-storetype\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£¥Ý¥ê¥·¡¼¡¦¥Ä¡¼¥ë¤Î¾ì¹ç¡¢¡ÖÊÔ½¸¡×¥á¥Ë¥å¡¼¤ÎChange Keystore¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£
++.PP
++¥æ¡¼¥¶¡¼¤¬¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿\fIkeystore\&.type\fR¥×¥í¥Ñ¥Æ¥£¤ÎÃͤ˴ð¤Å¤¤¤Æ¡¢¥Ä¡¼¥ë¤Ë¤è¤Ã¤Æ¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ï\fIjava\&.security\fR¤È¸Æ¤Ð¤ì¡¢JDK¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Ç¥£¥ì¥¯¥È¥ê\fIjava\&.home/lib/security\fRÆâ¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢java\&.home¤Ï¼Â¹Ô»þ´Ä¶­¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£\fIjre\fR¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢JDK¤Þ¤¿¤ÏJava Runtime Environment (JRE)¤ÎºÇ¾å°Ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£
++.PP
++³Æ¥Ä¡¼¥ë¤Ï¡¢\fIkeystore\&.type\fR¤ÎÃͤò¼èÆÀ¤·¡¢¤½¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥Ð¥¤¥À¤òÄ´¤Ù¤Þ¤¹¡£ÌÜŪ¤Î¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤Î¥×¥í¥Ð¥¤¥À¤«¤é¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ·¤Þ¤¹¡£
++.PP
++\fIKeyStore\fR¥¯¥é¥¹¤Ç¤Ï¡¢\fIgetDefaultType\fR¤È¤¤¤¦Ì¾Á°¤Îstatic¥á¥½¥Ã¥É¤òÄêµÁ¤·¡¢¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ª¤è¤Ó¥¢¥×¥ì¥Ã¥È¤«¤é\fIkeystore\&.type property\fR¤ÎÃͤò¼èÆÀ¤Ç¤­¤Þ¤¹¡£¼¡¤Î¥³¡¼¥É¤Î¹Ô¤Ç¤Ï¡¢\fIkeystore\&.type property\fR¤Ç»ØÄꤵ¤ì¤¿¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òºîÀ®¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());
+ .fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html¤ÇÀâÌÀ¤·¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬¡Ö¥×¥í¥Ð¥¤¥À¡×¤ò¼ÂÁõ¤·¡¢KeystoreSpi¥µ¥Ö¥¯¥é¥¹¤Î¼ÂÁõ¤òÄ󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢\f2KeyStore\fP¥¯¥é¥¹¤¬Ä󶡤¹¤ëgetInstance¥Õ¥¡¥¯¥È¥ê¡¦¥á¥½¥Ã¥É¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢ÍÍ¡¹¤Ê¥×¥í¥Ð¥¤¥À¤«¤é°Û¤Ê¤ë\f2¥¿¥¤¥×\fP¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÁªÂò¤Ç¤­¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Ï¡¢¥­¡¼¥¹¥È¥¢¾ðÊó¤Î³ÊǼ·Á¼°¤È¥Ç¡¼¥¿·Á¼°¤òÄêµÁ¤¹¤ë¤È¤È¤â¤Ë¡¢¥­¡¼¥¹¥È¥¢Æâ¤ÎÈëÌ©¸°¤È¥­¡¼¥¹¥È¥¢¼«ÂΤÎÀ°¹çÀ­¤òÊݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤òÄêµÁ¤·¤Þ¤¹¡£°Û¤Ê¤ë¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ë¤Ï¡¢¸ß´¹À­¤Ï¤¢¤ê¤Þ¤»¤ó¡£
+-.LP
+-.LP
+-\f3keytool\fP¤Ï¡¢Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Î¥­¡¼¥¹¥È¥¢¼ÂÁõ¤Çưºî¤·¤Þ¤¹¡£(¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÅϤµ¤ì¤¿¥­¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ°·¤¤¡¢¤³¤ì¤òFileInputStream¤ËÊÑ´¹¤·¤Æ¡¢FileInputStream¤«¤é¥­¡¼¥¹¥È¥¢¤Î¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤¹¡£)°ìÊý¡¢\f3jarsigner\fP¥Ä¡¼¥ë¤È\f3policytool\fP¥Ä¡¼¥ë¤Ï¡¢URL¤Ç»ØÄê²Äǽ¤ÊǤ°Õ¤Î¾ì½ê¤«¤é¥­¡¼¥¹¥È¥¢¤òÆÉ¤ß¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤È\f3keytool\fP¤Î¾ì¹ç¡¢\f2\-storetype\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£\f3Policy Tool\fP¤Î¾ì¹ç¤Ï¡¢¡ÖEdit¡×¥á¥Ë¥å¡¼¤Î¡ÖChange Keystore¡×¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-¥æ¡¼¥¶¡¼¤¬¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢Ã±½ã¤Ë¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤ÎÃͤ˴ð¤Å¤¤¤Æ¡¢¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ï\f2java.security\fP¤È¸Æ¤Ð¤ì¡¢SDK¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Ç¥£¥ì¥¯¥È¥ê\f2java.home\fP/lib/securityÆâ¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢\f2java.home\fP¤Ï¼Â¹Ô»þ´Ä¶­¤Î¥Ç¥£¥ì¥¯¥È¥ê(SDK¤Î\f2jre\fP¥Ç¥£¥ì¥¯¥È¥ê¤Þ¤¿¤ÏJava 2 Runtime Environment¤Î¥È¥Ã¥×¥ì¥Ù¥ë¡¦¥Ç¥£¥ì¥¯¥È¥ê)¤Ç¤¹¡£
+-.LP
+-.LP
+-³Æ¥Ä¡¼¥ë¤Ï¡¢\f2keystore.type\fP¤ÎÃͤò¼èÆÀ¤·¡¢¤³¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¡¢¸½ºß¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥Ð¥¤¥À¤òÄ´¤Ù¤Þ¤¹¡£ÌÜŪ¤Î¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤Î¥×¥í¥Ð¥¤¥À¤«¤é¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ·¤Þ¤¹¡£
+-.LP
+-.LP
+-\f2KeyStore\fP¥¯¥é¥¹¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ëstatic¥á¥½¥Ã¥É\f2getDefaultType\fP¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ä¥¢¥×¥ì¥Ã¥È¤«¤é\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤ÎÃͤò¼èÆÀ¤Ç¤­¤Þ¤¹¡£¼¡¤Î¥³¡¼¥É¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤Ç»ØÄꤵ¤ì¤¿¥¿¥¤¥×)¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤·¤Þ¤¹¡£
+-.LP
++.if n \{\
++.RE
++.\}
++.PP
++¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢\fIjks\fR
++(Oracle¤¬Ä󶡤¹¤ëÆÈ¼«¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ)¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¼¡¤Î¹Ô¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
+-.fl
+-\fP
++keystore\&.type=jks
+ .fi
+-
+-.LP
+-.LP
+-¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ïjks(Sun¤¬Ä󶡤¹¤ëÆÈ¼«¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ)¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¼¡¤Î¹Ô¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£
+-.LP
++.if n \{\
++.RE
++.\}
++.PP
++¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î»ØÄê¤Ç¤Ï¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£¤¿¤È¤¨¤Ð¡¢\fIJKS\fR¤Ï\fIjks\fR¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£
++.PP
++¥Ä¡¼¥ë¤Ç¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¤½¤Î¹Ô¤òÊѹ¹¤·¤ÆÊ̤Υ­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢\fIpkcs12\fR¤È¸Æ¤Ð¤ì¤ë¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤¬¤¢¤ë¾ì¹ç¡¢¹Ô¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+- keystore.type=jks
+-.fl
+-\fP
++keystore\&.type=pkcs12
+ .fi
+-
+-.LP
+-.LP
+-Ãí°Õ: ¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î»ØÄê¤Ç¤Ï¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£¤¿¤È¤¨¤Ð¡¢JKS¤Èjks¤ÏƱ¤¸¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-³Æ¥Ä¡¼¥ë¤Ç¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¾å¤Î¹Ô¤òÊѹ¹¤·¤ÆÊ̤Υ­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢pkcs12¤È¸Æ¤Ð¤ì¤ë¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¾å¤Î¹Ô¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£
+-.LP
++.if n \{\
++.RE
++.\}
++.PP
++\fBÃí°Õ: \fRPKCS 11¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¾ì¹ç¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html¤Ë¤¢¤ë
++Java PKCS #11¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖKeyTool¡×¤ª¤è¤Ó¡ÖJarSigner¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.SS "¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à"
++.PP
++¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¼¡¤Î¤¤¤º¤ì¤«¤Î¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++SHA1¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à(DSA)
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++SHA256¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿RSA¥¢¥ë¥´¥ê¥º¥à¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++SHA256¤ÈÂʱ߶ÊÀþ¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à(ECDSA)¤ò»ÈÍѤ·¤¿Âʱ߶ÊÀþ(EC)°Å¹æÊý¼°¥¢¥ë¥´¥ê¥º¥à
++.RE
++.PP
++½ð̾¼Ô¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤¬DSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA¤ÈDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬RSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA256¤ÈRSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤è¤¦¤È¤·¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬EC¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA256¤ÈECDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£
++.PP
++¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢\fI\-sigalg\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥ª¡¼¥Ð¡¼¥é¥¤¥É¤Ç¤­¤Þ¤¹¡£
++.SS "½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë"
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¡¢½ÐÎϤµ¤ì¤ë½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ÏÆþÎÏJAR¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¼¡¤Î2¤Ä¤ÎÄɲåե¡¥¤¥ë¤¬META\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fI\&.SF\fR³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Õ¥¡¥¤¥ë
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fI\&.DSA\fR¡¢\fI\&.RSA\fR¤Þ¤¿¤Ï\fI\&.EC\fR³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë
++.RE
++.PP
++¤³¤ì¤é2¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢\fI\-sigFile\fR¥ª¥×¥·¥ç¥ó¤ÎÃͤ«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥ª¥×¥·¥ç¥ó¤¬\fI\-sigFile MKSIGN\fR¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë¤Ï\fIMKSIGN\&.SF\fR¤ª¤è¤Ó\fIMKSIGN\&.DSA\fR¤È¤¤¤¦Ì¾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£
++.PP
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sigfile\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ç»ÈÍѤǤ­¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤ÎºîÀ®»þ¤Ë¡¢³ºÅö¤¹¤ëʸ»ú¤¬²¼Àþ(_)ʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£Í­¸ú¤Êʸ»ú¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥ó¤Ç¤¹¡£
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++.ps +1
++\fB½ð̾¥Õ¥¡¥¤¥ë\fR
++.RS 4
++.PP
++½ð̾¥Õ¥¡¥¤¥ë(\fI\&.SF\fR¥Õ¥¡¥¤¥ë)¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëºÝ¤ËJAR¥Õ¥¡¥¤¥ë¤Ë¾ï¤Ë´Þ¤Þ¤ì¤ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤´¤È¤Ë¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë¤è¤¦¤Ê¡¢¼¡¤Ë¼¨¤¹3¤Ä¤Î¹Ô¤¬¤¢¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¥Õ¥¡¥¤¥ë̾
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à(SHA)¤Î̾Á°
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++SHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃÍ
++.RE
++.PP
++¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎSHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¡¦¥Ç¡¼¥¿¤Î¥À¥¤¥¸¥§¥¹¥È(¥Ï¥Ã¥·¥å)¤Ë¤Ê¤ê¤Þ¤¹¡£\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢»ØÄꤵ¤ì¤¿¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¤½¤Î3¹Ô¤Î¥Ï¥Ã¥·¥å¤Ë¤Ê¤ê¤Þ¤¹¡£
++.PP
++½ð̾¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¤È¡¢¸¡¾Ú¤ÎºÇŬ²½¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++.ps +1
++\fB½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë\fR
++.RS 4
++.PP
++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï½ð̾¤¬ÉÕ¤±¤é¤ì¡¢½ð̾¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¥­¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤â¡¢ÆâÉô¤Ç¥¨¥ó¥³¡¼¥É¤µ¤ì¤Æ´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¡¢»ÈÍѤµ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Ë±þ¤¸¤Æ¡¢\fI\&.DSA\fR¡¢\fI\&.RSA\fR¤Þ¤¿¤Ï\fI\&.EC\fR¤Ë¤Ê¤ê¤Þ¤¹¡£
++.RE
++.SS "½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×"
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤ª¤è¤ÓÊݸ¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢\fIjarsigner\fR¤ÏÂåÂØ½ð̾µ¡¹½¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îưºî¤Ï¾Êά²Äǽ¤Ç¡¢½ð̾»þ¤Ë¼¡¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+- keystore.type=pkcs12
+-.fl
+-\fP
++\-tsa \fIurl\fR
++\-tsacert \fIalias\fR
++\-altsigner \fIclass\fR
++\-altsignerpath \fIclasspathlist\fR
++\-tsapolicyid \fIpolicyid\fR
+ .fi
+-
+-.LP
+-.LP
+-PKCS#11¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Î¾ÜºÙ¤Ï¡¢Java PKCS#11¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Ë¤¢¤ë
+-.na
+-\f2KeyTool¤ÈJarSigner\fP @
++.if n \{\
++.RE
++.\}
++.SS "JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú"
++.PP
++JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤¬À®¸ù¤¹¤ë¤Î¤Ï¡¢½ð̾¤¬Í­¸ú¤Ç¤¢¤ê¡¢¤«¤Ä½ð̾¤ÎÀ¸À®°Ê¹ß¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ï¡¢¼¡¤Î¼ê½ç¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 1.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 1." 4.2
++.\}
++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£
++.sp
++¸¡¾Ú¤Ç¤Ï¡¢³Æ½ð̾¥Ö¥í¥Ã¥¯(\fI\&.DSA\fR)¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤¿½ð̾¤¬¡¢¾ÚÌÀ½ñ(¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó)¤â\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë¼¨¤µ¤ì¤ë¸ø³«¸°¤ËÂбþ¤¹¤ëÈëÌ©¸°¤ò»ÈÍѤ·¤ÆÀ¸À®¤µ¤ì¤¿¤³¤È¤ò³Îǧ¤·¤Þ¤¹¡£¤Þ¤¿¡¢½ð̾¤¬Âбþ¤¹¤ë½ð̾(\fI\&.SF\fR)¥Õ¥¡¥¤¥ë¤ÎÍ­¸ú¤Ê½ð̾¤Ç¤¢¤ë¤³¤È¤¬³Îǧ¤µ¤ì¡¢¤½¤ì¤Ë¤è¤ê¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤¬²þ¤¶¤ó¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤â³Îǧ¤µ¤ì¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 2.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 2." 4.2
++.\}
++\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥¨¥ó¥È¥ê¤Ë¼¨¤µ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¤ò¡¢¥Þ¥Ë¥Õ¥§¥¹¥ÈÆâ¤ÎÂбþ¤¹¤ë³Æ¥»¥¯¥·¥ç¥ó¤ÈÆÍ¤­¤¢¤ï¤»¤Æ¸¡¾Ú¤·¤Þ¤¹¡£
++.sp
++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ç¤Ï¡¢¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ç¤­¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£
++.sp
++°ìÃפ·¤Ê¤¤¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤³¤È¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¡¢¤¢¤Þ¤êºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¸¡¾Ú¤¬É¬Íפˤʤê¤Þ¤¹¡£½ð̾¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼¤Ë³ÊǼ¤µ¤ì¤¿¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤¬¡¢¸½ºß¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤Ë°ìÃפ·¤Ê¤¤Íýͳ¤Î1¤Ä¤Ï¡¢½ð̾¤ª¤è¤Ó\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¸å¤Ë¡¢(\fIjar\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ)1¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ë¤ËÄɲ䵤줿¤³¤È¤Ç¤¹¡£\fIjar\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤òÄɲä·¤¿¾ì¹ç¡¢¿·¤·¤¤¥Õ¥¡¥¤¥ëÍѤΥ»¥¯¥·¥ç¥ó¤¬Äɲ䵤ì¤ë¤³¤È¤Ë¤è¤ê¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤¹¤¬¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£¸¡¾Ú¤¬¤Þ¤ÀÀ®¸ù¤·¤Æ¤¤¤ë¤È¤ß¤Ê¤µ¤ì¤ë¤Î¤Ï¡¢½ð̾¤ÎÀ¸À®°Ê¹ß¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£¤³¤ì¤¬È¯À¸¤¹¤ë¤Î¤Ï¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼°Ê³°¤Î¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¾ì¹ç¤Ç¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 3.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 3." 4.2
++.\}
++\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Ë¥¨¥ó¥È¥ê¤ò»ý¤ÄJAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¼è¤ê¤Þ¤¹¡£ÆÉ¼è¤êÃæ¤Ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ò·×»»¤·¡¢·ë²Ì¤ò¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥»¥¯¥·¥ç¥óÆâ¤Î¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÈÈæ³Ó¤·¤Þ¤¹¡£¥À¥¤¥¸¥§¥¹¥È¤ÏƱ¤¸¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£
++.sp
++¸¡¾Ú¥×¥í¥»¥¹Ãæ¤Ë¤Ê¤ó¤é¤«¤Î½ÅÂç¤Ê¸¡¾Ú¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¤½¤Î¥×¥í¥»¥¹¤ÏÄä»ß¤µ¤ì¡¢¥»¥­¥å¥ê¥Æ¥£Îã³°¤¬¥¹¥í¡¼¤µ¤ì¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢Îã³°¤òÊ᪤ª¤è¤Óɽ¼¨¤·¤Þ¤¹¡£
++.RE
++.if n \{\
++.sp
++.\}
++.RS 4
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++.ps +1
++\fBNote\fR
++.ps -1
++.br
++.TS
++allbox tab(:);
++l.
++T{
++¥Î¡¼¥È
++.PP
++Äɲäηٹð(¤Þ¤¿¤Ï¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¥¨¥é¡¼)¤Ï¤¹¤Ù¤ÆÆÉ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£Æ±Íͤˡ¢¾ÚÌÀ¤¬¿®Íê¤Ç¤­¤ë¤«¤ò·èÄꤹ¤ë¤¿¤á¤Ë¡¢(\fI\-verbose\fR¤ª¤è¤Ó\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ)¾ÚÌÀ½ñ¤ÎÆâÍÆ¤âÆÉ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++T}
++.TE
++.sp 1
++.sp .5v
++.RE
++.SS "1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤òÂоݤȤ¹¤ëÊ£¿ô¤Î½ð̾"
++.PP
++¼¡¤Î¤è¤¦¤Ë¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò¥Õ¥¡¥¤¥ë¤ÇÊ£¿ô²ó¼Â¹Ô¤·¡¢¼Â¹Ô¤Î¤¿¤Ó¤Ë°Û¤Ê¤ë¥æ¡¼¥¶¡¼¤ÎÊÌ̾¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤Î½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner myBundle\&.jar susan
++jarsigner myBundle\&.jar kevin
+ .fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.LP
+-.SS
+-¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¼¡¤Î¤¤¤º¤ì¤«¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-SHA1¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿DSA(¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à)
+-.TP 2
+-o
+-SHA256¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿RSA¥¢¥ë¥´¥ê¥º¥à
+-.TP 2
+-o
+-SHA256¤ÈECDSA(Âʱ߶ÊÀþ¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à)¤ò»ÈÍѤ·¤¿EC(Âʱ߶ÊÀþ)°Å¹æÊý¼°¥¢¥ë¥´¥ê¥º¥à
++.if n \{\
+ .RE
+-
+-.LP
+-.LP
+-¶ñÂÎŪ¤Ë¤Ï¡¢½ð̾¼Ô¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤¬DSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA1withDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬RSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA256withRSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬EC¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA256withECDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£
+-.LP
+-.LP
+-¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢\f2\-sigalg\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥ª¡¼¥Ð¡¼¥é¥¤¥É¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.SS
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë
+-.LP
+-.LP
+-\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤¿¾ì¹ç¡¢½ÐÎϤµ¤ì¤ë½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ÏÆþÎÏJAR¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¼¡¤Î2¤Ä¤ÎÄɲåե¡¥¤¥ë¤¬META\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-.SF³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Õ¥¡¥¤¥ë
+-.TP 2
+-o
+-.DSA¡¢.RSA¤Þ¤¿¤Ï.EC¤ò³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë
++.\}
++.PP
++JAR¥Õ¥¡¥¤¥ë¤¬Ê£¿ô²ó½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢Ê£¿ô¤Î\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤ª¤ê¡¢1²ó¤Î½ð̾¤ËÂФ·¤Æ1¤Ä¤Î¥Ú¥¢¤È¤Ê¤ê¤Þ¤¹¡£Á°½Ò¤ÎÎã¤Ç¤Ï¡¢½ÐÎÏJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¼¡¤Î̾Á°¤Î¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++SUSAN\&.SF
++SUSAN\&.DSA
++KEVIN\&.SF
++KEVIN\&.DSA
++.fi
++.if n \{\
+ .RE
+-
+-.LP
+-.LP
+-¤³¤ì¤é2¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢\f2\-sigFile\fP¥ª¥×¥·¥ç¥ó¤ÎÃͤ«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¤È¤·¤Þ¤¹¡£
+-.LP
++.\}
++.PP
++\fBÃí°Õ: \fRJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢JDK 1\&.1¤Î\fIjavakey\fR¥³¥Þ¥ó¥É¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿½ð̾¤È¡¢\fIjarsigner\fR¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿½ð̾¤òº®ºß¤µ¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢\fIjavakey\fR¥³¥Þ¥ó¥É¤Ç¤¹¤Ç¤Ë½ð̾¤µ¤ì¤Æ¤¤¤ëJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤Ç¤­¤Þ¤¹¡£
++.SH "¥ª¥×¥·¥ç¥ó"
++.PP
++¼¡¤Î³Æ¹à¤Ç¤Ï¡¢ÍÍ¡¹¤Ê\fIjarsigner\fR¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£¼¡¤Îɸ½à¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¤É¤Î¥ª¥×¥·¥ç¥ó̾¤Ë¤âÀèÆ¬¤Ë¥Þ¥¤¥Ê¥¹µ­¹æ(\-)¤¬ÉÕ¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç½ø¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¥¤¥¿¥ê¥Ã¥¯ÂΤιàÌܤμºݤÎÃÍ(¥ª¥×¥·¥ç¥ó¤ÎÃÍ)¤Ï¡¢»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fI\-keystore\fR¡¢\fI\-storepass\fR¡¢\fI\-keypass\fR¡¢\fI\-sigfile\fR¡¢\fI\-sigalg\fR¡¢\fI\-digestalg\fR¤ª¤è¤Ó\fI\-signedjar\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤǤ­¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú»þ¤Ë¤Ï¡¢¤³¤ì¤é¤Ï´Ø·¸¤¢¤ê¤Þ¤»¤ó¡£Æ±Íͤˡ¢ÊÌ̾¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ø¤Î½ð̾»þ¤Î¤ß¤Ç¤¹¡£
++.RE
++.PP
++\-keystore \fIurl\fR
++.RS 4
++¥­¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¼¨¤¹URL¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢\fIuser\&.home\fR¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·èÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë\fI\&.keystore\fR¤Ë¥Ç¥Õ¥©¥ë¥ÈÀßÄꤵ¤ì¤Þ¤¹¡£
++.sp
++¥­¡¼¥¹¥È¥¢¤Ï½ð̾»þ¤Ë¤ÏɬÍפǤ¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥­¡¼¥¹¥È¥¢¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¥­¡¼¥¹¥È¥¢¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++.sp
++¸¡¾Ú¤¹¤ë¤È¤­¤Ï¥­¡¼¥¹¥È¥¢¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¥­¡¼¥¹¥È¥¢¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤µ¤é¤Ë\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¤½¤Î¥­¡¼¥¹¥È¥¢¤Ë1¤Ä¤Ç¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤¹¤ëÄɲþðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£
++.sp
++\fI\-keystore\fR°ú¿ô¤Ë¤Ï¡¢URL¤Ç¤Ï¤Ê¤¯¥Õ¥¡¥¤¥ë̾¤È¥Ñ¥¹¤ò»ØÄê¤Ç¤­¡¢¤³¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë: URL¤ÈƱ¤¸¤è¤¦¤Ë½èÍý¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Ë¤è¤¦¤Ë»ØÄꤹ¤ë¤ÈƱÅù¤Ë¤Ê¤ê¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+-\-sigFile MKSIGN
+-.fl
+-\fP
++\-keystore \fIfilePathAndName\fR
+ .fi
+-
+-.LP
+-.LP
+-¤³¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤Ï¤½¤ì¤¾¤ìMKSIGN.SF¤ÈMKSIGN.DSA¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2\-sigfile\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤ÎÃæ¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ë»ÈÍѤǤ­¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³ºÅö¤¹¤ëʸ»ú¤ò²¼Àþ(_)¤ËÃÖ¤­´¹¤¨¤Æ¥Õ¥¡¥¤¥ë̾¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£»ÈÍѤǤ­¤ëʸ»ú¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ(_)¡¢¥Ï¥¤¥Õ¥ó¤Ç¤¹¡£
+-.LP
+-\f3½ð̾(.SF)¥Õ¥¡¥¤¥ë\fP
+-.LP
+-.LP
+-½ð̾¥Õ¥¡¥¤¥ë(.SF¥Õ¥¡¥¤¥ë)¤Ï¡¢\f3jarsigner\fP¤Ç½ð̾¤òÉÕ¤±¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¾ï¤Ë´Þ¤Þ¤ì¤ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëƱÍÍ¡¢.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤´¤È¤Ë¡¢¼¡¤Î3¤Ä¤Î¹Ô¤¬¤¢¤ê¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-¥Õ¥¡¥¤¥ë̾
+-.TP 2
+-o
+-»ÈÍѤµ¤ì¤Æ¤¤¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à(SHA)¤Î̾Á°
+-.TP 2
+-o
+-SHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃÍ
++.if n \{\
+ .RE
+-
+-.LP
+-.LP
+-¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎSHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¡¦¥Ç¡¼¥¿¤Î¥À¥¤¥¸¥§¥¹¥È(¥Ï¥Ã¥·¥å)¤Ë¤Ê¤ê¤Þ¤¹¡£°ìÊý¡¢.SF¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¤³¤ì¤é3¹Ô¤Î¥Ï¥Ã¥·¥å¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-½ð̾¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ÇÀâÌÀ¤¹¤ë¤è¤¦¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤Î¸ºß¤Ë¤è¤Ã¤Æ¸¡¾Ú¤ÎºÇŬ²½¤¬²Äǽ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
+-.LP
+-\f3½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë\fP
+-.LP
+-.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï½ð̾¤¬ÉÕ¤±¤é¤ì¡¢½ð̾¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥­¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤âÉ乿²½¤µ¤ì¤¿·Á¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤Ï¡¢½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤·¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¡¢»ÈÍѤµ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Ë±þ¤¸¤Æ.DSA¡¢.RSA¡¢.EC¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.SS
+-½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×
+-.LP
+-.LP
+-\f2jarsigner\fP¥Ä¡¼¥ë¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤·¤ÆÊݸ¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢\f2jarsigner\fP¤ÏÂåÂØ½ð̾µ¡¹½¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îưºî¤Ï¾Êά²Äǽ¤Ç¡¢½ð̾»þ¤Ë¼¡¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-\f2\-tsa url\fP
+-.TP 2
+-o
+-\f2\-tsacert alias\fP
+-.TP 2
+-o
+-\f2\-altsigner class\fP
+-.TP 2
+-o
+-\f2\-altsignerpath classpathlist\fP
++.\}
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\-keystore file:\fIfilePathAndName\fR
++.fi
++.if n \{\
+ .RE
+-
+-.LP
+-.LP
+-¤³¤ì¤é¤Î³Æ¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï¡¢¥ª¥×¥·¥ç¥ó¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.LP
+-.SS
+-JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú
+-.LP
+-.LP
+-JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤¬À®¸ù¤¹¤ë¤Î¤Ï¡¢½ð̾¤¬Í­¸ú¤Ç¤¢¤ê¡¢¤«¤Ä½ð̾¤ÎÀ¸À®°Ê¸å¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ï¡¢¼¡¤Î¼ê½ç¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-.SF¥Õ¥¡¥¤¥ë¼«ÂΤνð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£
++.\}
++(JRE¤Î\fI$JAVA_HOME/lib/security directory\fR¤Ë¤¢¤ë)
++\fIjava\&.security\fR¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS #11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤¿¾ì¹ç¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤ÏPKCS#11¥È¡¼¥¯¥ó¤Ë´ð¤Å¤¤¤ÆÆ°ºî¤Ç¤­¤Þ¤¹¡£¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\-keystore NONE
++\-storetype PKCS11
++.fi
++.if n \{\
++.RE
++.\}
++¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢¹½À®¤µ¤ì¤¿PKCS#11¥È¡¼¥¯¥ó¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore NONE \-storetype PKCS11 \-list
++.fi
++.if n \{\
++.RE
++.\}
++.RE
++.PP
++\-storetype \fIstoretype\fR
++.RS 4
++¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤ë¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î\fIkeystore\&.type\fR¥×¥í¥Ñ¥Æ¥£¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Ç¡¢¤³¤ÎÃͤϡ¢\fIjava\&.security\&.KeyStore\fR¤Îstatic
++\fIgetDefaultType\fR¥á¥½¥Ã¥É¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£
++.sp
++\fI\-storepass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢PCKS #11¥È¡¼¥¯¥ó¤ÎPIN¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£²¿¤â»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ¡¢¥È¡¼¥¯¥óPIN¤Î»ØÄê¤òµá¤á¤é¤ì¤Þ¤¹¡£¥È¡¼¥¯¥ó¤ËÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹(ÀìÍѤÎPIN¥Ñ¥Ã¥É¤äÀ¸ÂÎÆÉ¼è¤êµ¡¤Ê¤É)¤¬¤¢¤ë¾ì¹ç¡¢\fI\-protected\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¥¹¥ï¡¼¥É¡¦¥ª¥×¥·¥ç¥ó¤Ï»ØÄê¤Ç¤­¤Þ¤»¤ó¡£
++.RE
++.PP
++\-storepass[:env | :file} \fIargument\fR
++.RS 4
++¥­¡¼¥¹¥È¥¢¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤¬É¬ÍפʤΤϡ¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Î¤ß¤Ç¤¹(¸¡¾Ú¤¹¤ë¤È¤­¤Ë¤ÏÉÔÍפǤ¹)¡£¤½¤Î¾ì¹ç¡¢\fI\-storepass\fR¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
++.sp
++½¤¾þ»Ò\fIenv\fR¤Þ¤¿¤Ï\fIfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\fIargument\fR¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIenv\fR:
++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î´Ä¶­ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIfile\fR:
++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.RE
++.sp
++\fBÃí°Õ:\fR¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¤Þ¤¿¤Ï¥»¥­¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-keypass [:env | :file] \fIargument\fR
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ËÂбþ¤¹¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤òÊݸ¤ë¤Î¤Ë»ÈÍѤ¹¤ë¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£\fIjarsigner\fR¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬É¬ÍפǤ¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢É¬Íפʥѥ¹¥ï¡¼¥É¤¬¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤È°Û¤Ê¤ë¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
++.sp
++½¤¾þ»Ò\fIenv\fR¤Þ¤¿¤Ï\fIfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\fIargument\fR¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIenv\fR:
++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î´Ä¶­ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIfile\fR:
++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.RE
++.sp
++\fBÃí°Õ: \fR¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¤Þ¤¿¤Ï¥»¥­¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-sigfile \fIfile\fR
++.RS 4
++À¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë»ÈÍѤ¹¤ë¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥Õ¥¡¥¤¥ë¤¬\fIDUKESIGN\fR¤Î¾ì¹ç¡¢À¸À®¤µ¤ì¤ë\fI\&.SF\fR¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ï¡¢\fIDUKESIGN\&.SF\fR¤ª¤è¤Ó\fIDUKESIGN\&.DSA\fR¤È¤¤¤¦Ì¾Á°¤Ç¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î\fIMETA\-INF\fR¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£
++.sp
++¥Õ¥¡¥¤¥ëÆâ¤Îʸ»ú¤Ï¡¢¥»¥Ã¥È\fIa\-zA\-Z0\-9_\-\fR¤«¤é»ØÄꤵ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥óʸ»ú¤Î¤ß¤ò»ÈÍѤǤ­¤Þ¤¹¡£\fI\&.SF\fR¤ª¤è¤Ó\fI\&.DSA\fR¤Î¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¡¢¾®Ê¸»ú¤Ï¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£
++.sp
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sigfile\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ç̵¸ú¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤òºîÀ®¤¹¤ë¤¿¤á¤Ë¡¢³ºÅö¤¹¤ëʸ»ú¤¬²¼Àþ(_)ʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£
++.RE
++.PP
++\-sigalg \fIalgorithm\fR
++.RS 4
++JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë½ð̾¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
++.sp
++ɸ½àŪ¤Ê½ð̾¥¢¥ë¥´¥ê¥º¥à̾¤Î¥ê¥¹¥È¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA¤Ë¤¢¤ë
++Java Cryptography Architecture (JCA)¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖÉÕÏ¿A: ɸ½à̾¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤È¤Î¸ß´¹À­¤¬É¬ÍפǤ¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢ÈëÌ©¸°¤Î¥¿¥¤¥×¤Ë±þ¤¸¤Æ¡¢\fISHA1withDSA\fR¡¢\fISHA256withRSA\fR¤Þ¤¿¤Ï\fISHA256withECDSA\fR¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\fI\-providerClass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¼ºÇÔ¤·¤Þ¤¹¡£
++.RE
++.PP
++\-digestalg \fIalgorithm\fR
++.RS 4
++JAR¥Õ¥¡¥¤¥ë¤Î¥¨¥ó¥È¥ê¤ò¥À¥¤¥¸¥§¥¹¥È¤¹¤ëºÝ¤Ë»ÈÍѤ¹¤ë¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
++.sp
++ɸ½àŪ¤Ê¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à̾¤Î¥ê¥¹¥È¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA¤Ë¤¢¤ë
++Java Cryptography Architecture (JCA)¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖÉÕÏ¿A: ɸ½à̾¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢\fISHA256\fR¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\fI\-providerClass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¼ºÇÔ¤·¤Þ¤¹¡£
++.RE
++.PP
++\-certs
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò\fI\-verify\fR¤ª¤è¤Ó\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¡¢½ð̾¼Ô¤Î¸ø³«¸°¤ò¾ÚÌÀ¤¹¤ë¾ÚÌÀ½ñ(\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ)¤Î¥¿¥¤¥×¤Î̾Á°¤¬´Þ¤Þ¤ì¡¢¾ÚÌÀ½ñ¤¬X\&.509¾ÚÌÀ½ñ(\fIjava\&.security\&.cert\&.X509Certificate\fR¤Î¥¤¥ó¥¹¥¿¥ó¥¹)¤Î¾ì¹ç¡¢½ð̾¼Ô¤Î¼±ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
++.sp
++¥­¡¼¥¹¥È¥¢¤Î³Îǧ¤â¹Ô¤ï¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥­¡¼¥¹¥È¥¢¤ÎÃͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥Õ¥¡¥¤¥ë(¤¢¤ë¾ì¹ç)¤¬¥Á¥§¥Ã¥¯¤µ¤ì¤Þ¤¹¡£½ð̾¼Ô¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢Æâ¤Î¥¨¥ó¥È¥ê¤È°ìÃפ¹¤ë¾ì¹ç¡¢¤½¤Î½ð̾¼Ô¤Î¥­¡¼¥¹¥È¥¢¤Î¥¨¥ó¥È¥ê¤ÎÊÌ̾¤¬´Ý¥«¥Ã¥³Æâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1\&.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËͳÍ褹¤ë½ð̾¼Ô¤Î¾ì¹ç¡¢ÊÌ̾¤Ï´Ý¥«¥Ã¥³¤Ç¤Ï¤Ê¤¯Â祫¥Ã¥³Æâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
++.RE
++.PP
++\-certchain \fIfile\fR
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÊÌ̾¤Ë¤è¤Ã¤ÆÉ½¤µ¤ì¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬´°Á´¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ë¡¢»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ï¡¢¾ÚÌÀ½ñ¥Á¥§¡¼¥óÁ´ÂΤòÊÝ»ý¤¹¤ë¤Î¤Ë½½Ê¬¤ÊÎΰ褬¤Ê¤¤¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¾å¤Ë¥­¡¼¥¹¥È¥¢¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤ËȯÀ¸¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÏ¢¤ÎÏ¢·ë¤µ¤ì¤¿X\&.509¾ÚÌÀ½ñ¡¢PKCS#7·Á¼°¤Îñ°ì¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤È¤Ê¤ê¡¢¤½¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¤Ï¥Ð¥¤¥Ê¥ê¡¦¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¡¢Internet RFC 1421ɸ½à¤Çµ¬Äꤵ¤ì¤ë°õºþ²Äǽ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°(Base64¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤È¤â¸Æ¤Ð¤ì¤ë)¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈRFC 1421¾ÚÌÀ½ñÉ乿²½µ¬³Ê¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-verbose
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¾éĹ¥â¡¼¥É¤Çưºî¤·¡¢¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢\fIjarsigner\fR¤Ï¡¢JAR¤Î½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¿Ê¹Ô¾õ¶·¤Ë´Ø¤¹¤ëÄɲþðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£
++.RE
++.PP
++\-internalsf
++.RS 4
++°ÊÁ°¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤¿\fI\&.DSA\fR
++(½ð̾¥Ö¥í¥Ã¥¯)¥Õ¥¡¥¤¥ë¤Ë¡¢À¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Î¥¨¥ó¥³¡¼¥É¤µ¤ì¤¿´°Á´¤Ê¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£ ¤³¤Îưºî¤ÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£½ÐÎÏJAR¥Õ¥¡¥¤¥ëÁ´ÂΤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-internalsf\fR¤ò»ØÄꤷ¤¿¾ì¹ç¡¢°ÊÁ°¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£¼ÂºÝ¤Ë¤Ï¡¢\fI\-internalsf\fR¥ª¥×¥·¥ç¥ó¤Ï¡¢¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Â礭¤¯¤Ê¤ë¤¿¤á¡¢»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-sectionsonly
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sectionsonly\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤ë\fI\&.SF\fR¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤ò´Þ¤à¥Ø¥Ã¥À¡¼¤Ï´Þ¤Þ¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ë´Þ¤Þ¤ì¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢¤¹¤ë¾ðÊ󤪤è¤Ó¥Ï¥Ã¥·¥å¤Î¤ß¤Ç¤¹¡£½ð̾¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇŬ²½¤Î¤¿¤á¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤¬Äɲ䵤ì¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¤¿¤Ó¤Ë¡¢¸¡¾Ú¤Ç¤Ï¡¢¤Þ¤º¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ç¤­¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£°ìÃפ·¤Ê¤¤¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤È¤¤¤¦¡¢¤¢¤Þ¤êºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¸¡¾Ú¤ò¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++\fI\-sectionsonly\fR¥ª¥×¥·¥ç¥ó¤Ï¡¢¼ç¤Ë¥Æ¥¹¥ÈÍѤ˻ÈÍѤµ¤ì¤Þ¤¹¡£¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Â礭¤¯¤Ê¤ë¤¿¤á¡¢¥Æ¥¹¥ÈÍѰʳ°¤Ç¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-protected
++.RS 4
++\fItrue\fR¤Þ¤¿¤Ï\fIfalse\fR¤Î¤¤¤º¤ì¤«¤ÎÃͤò»ØÄê¤Ç¤­¤Þ¤¹¡£ÀìÍÑPIN¥ê¡¼¥À¡¼¤Ê¤É¤ÎÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹¤Ë¤è¤Ã¤Æ¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¾ì¹ç¡¢\fItrue\fR¤ò»ØÄꤷ¤Þ¤¹¡£
++.RE
++.PP
++\-providerClass \fIprovider\-class\-name\fR
++.RS 4
++°Å¹æ²½¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤¬\fIjava\&.security\fR¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ë»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¤­¤Ï¡¢¤½¤Î¥Þ¥¹¥¿¡¼¡¦¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¤È¤­¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£
++.sp
++\fI\-providerArg \fR\fIConfigFilePath\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ·¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤Ï¡¢¥×¥í¥Ð¥¤¥À¤òưŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢¥È¡¼¥¯¥ó¹½À®¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ë\fIConfigFilePath\fR¤ò»ÈÍѤ·¤Þ¤¹¡£¼¡¤ÎÎã¤Ï¡¢Oracle PKCS #11¥×¥í¥Ð¥¤¥À¤¬¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ë¹½À®¤µ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë\fIPKCS #11\fR¥­¡¼¥¹¥È¥¢¤ò°ìÍ÷ɽ¼¨¤¹¤ë¥³¥Þ¥ó¥É¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore NONE \-storetype PKCS11 \e
++ \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e
++ \-providerArg /mydir1/mydir2/token\&.config \e
++ \-list
++.fi
++.if n \{\
++.RE
++.\}
++.RE
++.PP
++\-providerName \fIproviderName\fR
++.RS 4
++\fIjava\&.security\fR¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Ç2¤Ä°Ê¾å¤Î¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤¿¾ì¹ç¡¢\fI\-providerName\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢ÆÃÄê¤Î¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤òÂоݤˤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ï¡¢¥×¥í¥Ð¥¤¥À¤Î̾Á°¤Ç¤¹¡£
++.sp
++Oracle PKCS #11¥×¥í¥Ð¥¤¥À¤Î¾ì¹ç¡¢\fIproviderName\fR¤Ï\fISunPKCS11\-\fR\fITokenName\fR¤È¤¤¤¦·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç¡¢¹½À®Â°À­¤Îɽ¤Ç¾ÜºÙ¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢\fITokenName\fR¤Ï¡¢¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤¬¹½À®¤µ¤ì¤¿Ì¾Á°¤ÎÀÜÈø¼­¤Ç¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ì¾Á°ÀÜÈø¼­\fISmartCard\fR¤Î\fIPKCS #11\fR¥­¡¼¥¹¥È¥¢¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore NONE \-storetype PKCS11 \e
++ \-providerName SunPKCS11\-SmartCard \e
++ \-list
++.fi
++.if n \{\
++.RE
++.\}
++.RE
++.PP
++\-J\fIjavaoption\fR
++.RS 4
++»ØÄꤵ¤ì¤¿\fIjavaoption\fRʸ»úÎó¤òJava¥¤¥ó¥¿¥×¥ê¥¿¤ËľÀÜÅϤ·¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢¥¤¥ó¥¿¥×¥ê¥¿¤ËÂФ¹¤ë¥é¥Ã¥Ñ¡¼¤Ç¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢¶õÇò¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼Â¹Ô´Ä¶­¤Þ¤¿¤Ï¥á¥â¥ê¡¼»ÈÍѤòÄ´À°¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£»ØÄê¤Ç¤­¤ë¥¤¥ó¥¿¥×¥ê¥¿¡¦¥ª¥×¥·¥ç¥ó¤ò°ìÍ÷ɽ¼¨¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fIjava \-h\fR¤Þ¤¿¤Ï\fIjava \-X\fR¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-tsa \fIurl\fR
++.RS 4
++\fI\-tsa http://example\&.tsa\&.url\fR¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£URL
++\fIhttp://example\&.tsa\&.url\fR¤Ï¡¢Time Stamping Authority (TSA)¤Î¾ì½ê¤òÆÃÄꤷ¡¢\fI\-tsacert\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¸¡½Ð¤µ¤ì¤¿URL¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤¹¡£\fI\-tsa\fR¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¥­¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
++.sp
++¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢\fIjarsigner\fR¤Ï¡¢RFC 3161¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥×¥í¥È¥³¥ë(TSP)¤ò»ÈÍѤ·¤ÆTSA¤ÈÄÌ¿®¤·¤Þ¤¹¡£À®¸ù¤¹¤ë¤È¡¢TSA¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤¿¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥È¡¼¥¯¥ó¤Ï¡¢½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤Î½ð̾¤È¤È¤â¤ËÊݸ¤µ¤ì¤Þ¤¹¡£
++.RE
++.PP
++\-tsacert \fIalias\fR
++.RS 4
++\fI\-tsacert\fR
++\fIalias\fR¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£ÊÌ̾¤Ï¡¢¥­¡¼¥¹¥È¥¢Æâ¤ÎÍ­¸ú¤ÊTSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤òÆÃÄꤷ¤Þ¤¹¡£¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ç¡¢TSA¤Î¾ì½ê¤òÆÃÄꤹ¤ëURL¤ò´Þ¤àSubject Information Access³ÈÄ¥µ¡Ç½¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£
++.sp
++\fI\-tsacert\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++.RE
++.PP
++\-tsapolicyid \fIpolicyid\fR
++.RS 4
++TSA¥µ¡¼¥Ð¡¼¤ËÁ÷¿®¤¹¤ë¥Ý¥ê¥·¡¼ID¤ò¼±Ê̤¹¤ë¥ª¥Ö¥¸¥§¥¯¥È¼±ÊÌ»Ò(OID)¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢¥Ý¥ê¥·¡¼ID¤ÏÁ÷¿®¤µ¤ì¤º¡¢TSA¥µ¡¼¥Ð¡¼¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥Ý¥ê¥·¡¼ID¤òÁªÂò¤·¤Þ¤¹¡£
++.sp
++¥ª¥Ö¥¸¥§¥¯¥È¼±Ê̻Ҥϡ¢ITU Telecommunication Standardization Sector (ITU\-T)ɸ½à¤Ç¤¢¤ëX\&.696¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¼±Ê̻Ҥϡ¢Ä̾\fI1\&.2\&.3\&.4\fR¤Ê¤É¤Î¡¢Éé¤Ç¤Ï¤Ê¤¤¿ô»ú¤Î¥Ô¥ê¥ª¥É¶èÀÚ¤ê¤Î¥»¥Ã¥È¤Ç¤¹¡£
++.RE
++.PP
++\-altsigner \fIclass\fR
++.RS 4
++¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ÂåÂØ½ð̾¥á¥«¥Ë¥º¥à¤ò»ØÄꤷ¤Þ¤¹¡£´°Á´½¤¾þ¥¯¥é¥¹Ì¾¤Ï¡¢\fIcom\&.sun\&.jarsigner\&.ContentSigner\fRÃê¾Ý¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò¼±Ê̤·¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ï¡¢\fI\-altsignerpath\fR¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£\fI\-altsigner\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£
++.sp
++¤¿¤È¤¨¤Ð¡¢\fIcom\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR¤È¤¤¤¦Ì¾Á°¤Î¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢jarsigner¤Î¥ª¥×¥·¥ç¥ó\fI\-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR¤ò»ÈÍѤ·¤Þ¤¹¡£
++.RE
++.PP
++\-altsignerpath \fIclasspathlist\fR
++.RS 4
++¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ª¤è¤Ó¤½¤ì¤¬°Í¸¤¹¤ëJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£\fI\-altsigner\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ëÆâ¤Ë¤¢¤ë¾ì¹ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£
++.sp
++ÀäÂХѥ¹¤Þ¤¿¤Ï¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤ÎÁêÂХѥ¹¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£\fIclasspathlist\fR¤ËÊ£¿ô¤Î¥Ñ¥¹¤äJAR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¡¢¤½¤ì¤é¤ò¡¢Oracle Solaris¤Î¾ì¹ç¤Ï¥³¥í¥ó(:)¤Ç¡¢Windows¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó(;)¤Ç¡¢¤½¤ì¤¾¤ì¶èÀÚ¤ê¤Þ¤¹¡£ÌÜŪ¤Î¥¯¥é¥¹¤¬¤¹¤Ç¤Ë¸¡º÷¥Ñ¥¹Æâ¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÉÔÍפǤ¹¡£
++.sp
++¼¡¤ÎÎã¤Ç¤Ï¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÊýË¡¤ò¼¨¤·¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë̾¤ò´Þ¤á¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\-altsignerpath /home/user/lib/authsigner\&.jar
++.fi
++.if n \{\
++.RE
++.\}
++¼¡¤ÎÎã¤Ç¤Ï¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÊýË¡¤ò¼¨¤·¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë̾¤ò¾Êά¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/
++.fi
++.if n \{\
++.RE
++.\}
++.RE
++.PP
++\-strict
++.RS 4
++½ð̾¤Þ¤¿¤Ï¸¡¾Ú½èÍýÃæ¤Ë¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬È¯¹Ô¤µ¤ì¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê¸¡½Ð¤µ¤ì¤¿½ÅÂç¤Ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£¥¨¥é¡¼¤È·Ù¹ð¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-verbose \fIsuboptions\fR
++.RS 4
++¸¡¾Ú½èÍý¤Î¾ì¹ç¡¢\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢É½¼¨¤¹¤ë¾ðÊó¤ÎÎ̤ò·èÄꤹ¤ë¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤷ¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¡¦¥â¡¼¥É(¤Þ¤¿¤Ï¥µ¥Ö¥ª¥×¥·¥ç¥ó\fIall\fR)¤Ç¤Ï¡¢¥¨¥ó¥È¥ê¤¬½èÍý¤µ¤ì¤ë¤¿¤Ó¤Ë³Æ¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¡¢¤½¤Î¸å¤ËJAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£\fI\-certs\fR¤ª¤è¤Ó\fI\-verbose:grouped\fR¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤¬¡¢¤½¤Î¾ÚÌÀ½ñ¾ðÊó¤È¤È¤â¤Ë¡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£\fI\-certs\fR¤ª¤è¤Ó\fI\-verbose:summary\fR¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤¬¡¢¤½¤Î¾ÚÌÀ½ñ¾ðÊó¤È¤È¤â¤Ë¡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£³Æ¥¨¥ó¥È¥ê¤Î¾ÜºÙ¤Ï¡¢\fI1¤Ä¤Î¥¨¥ó¥È¥ê(°Ê¾å)\fR¤Ë¤Þ¤È¤á¤é¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£Îã¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.SH "¥¨¥é¡¼¤È·Ù¹ð"
++.PP
++½ð̾¤Þ¤¿¤Ï¸¡¾Ú¥×¥í¥»¥¹Ãæ¤Ë¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¡¢ÍÍ¡¹¤Ê¥¨¥é¡¼¤Þ¤¿¤Ï·Ù¹ð¤¬È¯¹Ô¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£
++.PP
++¾ã³²¤¬¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É1¤Ç½ªÎ»¤·¤Þ¤¹¡£¾ã³²¤Ï¤Ê¤¤¤¬¡¢1¤Ä°Ê¾å¤Î½ÅÂç¤Ê·Ù¹ð¤¬¤¢¤ë¾ì¹ç¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ\fB¤¤¤Ê¤¤\fR¾ì¹ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É0¤Ç½ªÎ»¤·¡¢\fI\-strict\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï·Ù¹ð¥³¡¼¥É¤ÎORÃͤǽªÎ»¤·¤Þ¤¹¡£¾ðÊó·Ù¹ð¤Î¤ß¤¬¤¢¤ë¡¢¤Þ¤¿¤Ï·Ù¹ð¤¬¤Þ¤Ã¤¿¤¯¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¾ï¤Ë¥³¡¼¥É0¤Ç½ªÎ»¤·¤Þ¤¹¡£
++.PP
++¤¿¤È¤¨¤Ð¡¢¥¨¥ó¥È¥ê¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Ç¡¢¥Õ¥¡¥¤¥ë¤Î½ð̾¤òµö²Ä¤·¤Ê¤¤KeyUsage³ÈÄ¥µ¡Ç½¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É12 (=4+8)¤Ç½ªÎ»¤·¤Þ¤¹¡£
++.if n \{\
++.sp
++.\}
++.RS 4
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
++.ps +1
++\fBNote\fR
++.ps -1
+ .br
+-¤³¤Î¼ê½ç¤Ç¤Ï¡¢³Æ½ð̾¥Ö¥í¥Ã¥¯(.DSA)¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë½ð̾¤¬¡¢¼ÂºÝ¤Ë¡¢¸ø³«¸°¤ËÂбþ¤¹¤ëÈëÌ©¸°¤ò»ÈÍѤ·¤ÆÀ¸À®¤µ¤ì¤¿¤â¤Î¤Ç¤¢¤ë¤³¤È¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£.DSA¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¸ø³«¸°¤Î¾ÚÌÀ½ñ(¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó)¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢¤³¤Î¼ê½ç¤Ç¤Ï¡¢ÌÜŪ¤Î½ð̾¤¬¡¢Âбþ¤¹¤ë½ð̾(.SF)¥Õ¥¡¥¤¥ëÆâ¤ÎÍ­¸ú¤Ê½ð̾¤Ç¤¢¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¡¢.SF¥Õ¥¡¥¤¥ë¤¬²þÊѤµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤â³Îǧ¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-2.
+-.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥¨¥ó¥È¥ê¤Î¥À¥¤¥¸¥§¥¹¥È¤ò¥Þ¥Ë¥Õ¥§¥¹¥ÈÆâ¤ÎÂбþ¤¹¤ë³Æ¥»¥¯¥·¥ç¥ó¤ÈÆÍ¤­¤¢¤ï¤»¤Æ¸¡¾Ú¤·¤Þ¤¹¡£
++.TS
++allbox tab(:);
++l.
++T{
++¥Î¡¼¥È
++.PP
++Unix¥Ù¡¼¥¹¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¡¦¥·¥¹¥Æ¥à¤Ç¤Ï0¤«¤é255¤Þ¤Ç¤ÎÃͤΤߤ¬Í­¸ú¤Î¤¿¤á¡¢½ªÎ»¥³¡¼¥É¤ÏºÆÍøÍѤµ¤ì¤Þ¤¹¡£
++T}
++.TE
++.sp 1
++.sp .5v
++.RE
++.PP
++¼¡¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤êȯ¹Ô¤Ç¤­¤ë¥¨¥é¡¼¤ª¤è¤Ó·Ù¹ð¤Î̾Á°¡¢¥³¡¼¥É¡¢ÀâÌÀ¤òµ­½Ò¤·¤Þ¤¹¡£
++.SS "¾ã³²"
++.PP
++¥³¥Þ¥ó¥É¥é¥¤¥ó²òÀÏ¥¨¥é¡¼¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¸°¥Ú¥¢¤ò¸¡º÷¤Ç¤­¤Ê¤¤¡¢¤Þ¤¿¤Ï½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¼ºÇԤʤÉ(¸ÂÄꤵ¤ì¤Þ¤»¤ó)¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Î¼ºÇÔÍýͳ¡£
++.PP
++failure
++.RS 4
++¥³¡¼¥É1¡£½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£
++.RE
++.SS "½ÅÂç¤Ê·Ù¹ð"
++.if n \{\
++.sp
++.\}
++.RS 4
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
++.ps +1
++\fBNote\fR
++.ps -1
+ .br
+-.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¢¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¼ÂºÝ¤Ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò¸¡¾Ú¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Ï¥Ã¥·¥å¤¬°ìÃפ¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Î¼ê½ç¤Ë¸¡¾Ú¤¬¿Ê¤ß¤Þ¤¹¡£
++.TS
++allbox tab(:);
++l.
++T{
++¥Î¡¼¥È
++.PP
++\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢½ÅÂç¤Ê·Ù¹ð¤Ï¥¨¥é¡¼¤È¤·¤ÆÊó¹ð¤µ¤ì¤Þ¤¹¡£
++T}
++.TE
++.sp 1
++.sp .5v
++.RE
++.PP
++JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¤Ë¥¨¥é¡¼¤¬¤¢¤ë¡¢¤Þ¤¿¤Ï½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë¾¤ÎÌäÂ꤬¤¢¤ë¤Ê¤É¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤¬½ÅÂç¤Ê·Ù¹ð¤òȯ¹Ô¤¹¤ëÍýͳ¡£
++.PP
++hasExpiredCert
++.RS 4
++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Î¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++notYetValidCert
++.RS 4
++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬¤Þ¤ÀÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++chainNotValidated
++.RS 4
++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬Àµ¤·¤¯¸¡¾Ú¤Ç¤­¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++badKeyUsage
++.RS 4
++¥³¡¼¥É8¡£¤³¤ÎJAR¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎKeyUsage³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++badExtendedKeyUsage
++.RS 4
++¥³¡¼¥É8¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎExtendedKeyUsage³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++badNetscapeCertType
++.RS 4
++¥³¡¼¥É8¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎNetscapeCertType³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++hasUnsignedEntry
++.RS 4
++¥³¡¼¥É16¡£¤³¤Îjar¤Ë¤Ï¡¢À°¹çÀ­¥Á¥§¥Ã¥¯¤ò¤·¤Æ¤¤¤Ê¤¤Ì¤½ð̾¤Î¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++notSignedByAlias
++.RS 4
++¥³¡¼¥É32¡£¤³¤Îjar¤Ë¤Ï¡¢»ØÄꤵ¤ì¤¿ÊÌ̾¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤½ð̾ºÑ¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++aliasNotInStore
++.RS 4
++¥³¡¼¥É32¡£¤³¤Îjar¤Ë¤Ï¡¢¤³¤Î¥­¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤½ð̾ºÑ¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
++.RE
++.SS "¾ðÊó·Ù¹ð"
++.PP
++¾ðÊó·Ù¹ð¤Ë¤Ï¡¢¥¨¥é¡¼¤Ç¤Ï¤Ê¤¤¤¬ÉÔŬÀڤȤߤʤµ¤ì¤ë¤â¤Î¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¥³¡¼¥É¤Ï¤¢¤ê¤Þ¤»¤ó¡£
++.PP
++hasExpiringCert
++.RS 4
++¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬6¤«·î°ÊÆâ¤Ë´ü¸ÂÀÚ¤ì¤È¤Ê¤ë¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++noTimestamp
++.RS 4
++¤³¤Îjar¤Ë¤Ï¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤Þ¤Ê¤¤½ð̾¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥¿¥¤¥à¥¹¥¿¥ó¥×¤Ê¤·¤Ç¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎÍ­¸ú´ü¸Â(·Á¼°¤Ï\fIYYYY\-MM\-DD\fR)¸å¤Þ¤¿¤Ï¾­Íè¤Î¼è¾ÃÆü¸å¡¢¥æ¡¼¥¶¡¼¤Ï¤³¤ÎJAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤­¤Ê¤¤¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£
++.RE
++.SH "Îã"
++.SS "JAR¥Õ¥¡¥¤¥ë¤Î½ð̾"
++.PP
++¼¡¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥­¡¼¥¹¥È¥¢ÊÌ̾¤¬\fIworking\fR¥Ç¥£¥ì¥¯¥È¥ê¤Î\fImystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥­¡¼¥¹¥È¥¢¤Ë¤¢¤ë\fIjane\fR¤Ç¤¢¤ë¥æ¡¼¥¶¡¼¤ÎÈëÌ©¸°¤Çbundle\&.jar¤Ë½ð̾¤·¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ësbundle\&.jar¤È¤¤¤¦Ì¾Á°¤òÉÕ¤±¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore /working/mystore \-storepass <keystore password>
++ \-keypass <private key password> \-signedjar sbundle\&.jar bundle\&.jar jane
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++Á°½Ò¤Î¥³¥Þ¥ó¥É¤Ç¤Ï\fI\-sigfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤ëÀ¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ÊÌ̾¤Ë´ð¤Å¤¤¤¿¥Ç¥Õ¥©¥ë¥È¤Î̾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢Ì¾Á°ÉÕ¤­¤Î\fIJANE\&.SF\fR¤ª¤è¤Ó\fIJANE\&.DSA\fR¤Ç¤¹¡£
++.PP
++¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ª¤è¤ÓÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤òµá¤á¤é¤ì¤ë¾ì¹ç¡¢Á°½Ò¤Î¥³¥Þ¥ó¥É¤òû½Ì¤·¤Æ¡¢¼¡¤Î¤³¤È¤ò¼Â¹Ô¤Ç¤­¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore /working/mystore
++ \-signedjar sbundle\&.jar bundle\&.jar jane
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++¥­¡¼¥¹¥È¥¢¤¬¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢(¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î\&.keystore)¤Ç¤¢¤ë¾ì¹ç¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥­¡¼¥¹¥È¥¢¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤»¤ó¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++ÆþÎÏJAR¥Õ¥¡¥¤¥ë(bundle\&.jar)¤ò½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ç¾å½ñ¤­¤¹¤ë¾ì¹ç¡¢¼¡¤Î¤è¤¦¤Ë\fI\-signedjar\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner bundle\&.jar jane
++.fi
++.if n \{\
++.RE
++.\}
++.SS "½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú"
++.PP
++½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤Æ¡¢½ð̾¤¬Í­¸ú¤ÇJAR¥Õ¥¡¥¤¥ë¤¬²þ¤¶¤ó¤µ¤ì¤Ê¤«¤Ã¤¿¤³¤È¤ò³Îǧ¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-verify sbundle\&.jar
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢\fIjar verified\fR¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£Í­¸ú¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¥¨¥é¡¼¡¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢¾ÜºÙ¾ðÊó¤ò¼èÆÀ¤Ç¤­¤Þ¤¹¡£\fIjarsigner\fR¤ò\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ¹¤ë¥µ¥ó¥×¥ë¤ò¡¢¼¡¤Ë¼¨¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-verify \-verbose sbundle\&.jar
++
++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF
++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF
++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA
++ smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class
++ smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class
++
++ s = signature was verified
++ m = entry is listed in manifest
++ k = at least one certificate was found in keystore
++
++ jar verified\&.
++.fi
++.if n \{\
++.RE
++.\}
++.SS "¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤¿¸¡¾Ú"
++.PP
++\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò\fI\-verify\fR¤ª¤è¤Ó\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥¿¥¤¥×¡¢½ð̾¼Ô¤Î¼±ÊÌ̾¾ðÊó(X\&.509¾ÚÌÀ½ñ¤Î¾ì¹ç)¤¬´Þ¤Þ¤ì¡¢´Ý¥«¥Ã¥³Æâ¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤Î¸ø³«¸°¾ÚÌÀ½ñ¤Ë°ìÃפ¹¤ë¾ì¹ç¤Î½ð̾¼Ô¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar
++
++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF
++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF
++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA
++ 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF
++ 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA
++ smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class
++
++ X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)
++ X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)
++
++ s = signature was verified
++ m = entry is listed in manifest
++ k = at least one certificate was found in keystore
++
++ jar verified\&.
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤¬X\&.509¾ÚÌÀ½ñ¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¼±ÊÌ̾¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¾ÚÌÀ½ñ¤Î¥¿¥¤¥×¤ÈÊÌ̾¤Î¤ß¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¾ÚÌÀ½ñ¤¬PGP¾ÚÌÀ½ñ¤Ç¡¢ÊÌ̾¤¬\fIbob\fR¤Ç¤¢¤ë¾ì¹ç¡¢\fIPGP, (bob)\fR¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.SS "¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½ð̾¼Ô¤ò´Þ¤à¸¡¾Ú"
++.PP
++JAR¥Õ¥¡¥¤¥ë¤¬JDK 1\&.1¤Î\fIjavakey\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¡¢½ð̾¼Ô¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ç¤¢¤ë¾ì¹ç¡¢¸¡¾Ú¤Î½ÐÎϤˤÏ\fIi\fR¤¬´Þ¤Þ¤ì¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤È¥­¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤ÎξÊý¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤¿¾ì¹ç¡¢\fIk\fR¤È\fIi\fR¤ÎξÊý¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
++.PP
++\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ï¡¢¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ë»ÈÍѤµ¤ì¤ë´Ý¥«¥Ã¥³¤Ç¤Ï¤Ê¤¯¡¢Â祫¥Ã¥³¤Ç°Ï¤ß¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++ jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar
++
++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF
++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF
++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA
++ 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF
++ 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA
++ smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html
++
++ X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)
++ X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]
++
++ s = signature was verified
++ m = entry is listed in manifest
++ k = at least one certificate was found in keystore
++ i = at least one certificate was found in identity scope
++
++ jar verified\&.
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++\fBÃí°Õ: \fRÊÌ̾¤¬¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ç¤Ï¤Ê¤¯¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¤Ë¤Ï¡¢ÊÌ̾\fIduke\fR¤òÂ祫¥Ã¥³¤Ç°Ï¤ß¤Þ¤¹¡£
++.SH "JDK 1.1¤Î¸ß´¹À­"
++.PP
++\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤Ï¡¢JDK 1\&.1¤Ë¤ª¤±¤ë\fIjavakey\fR¥Ä¡¼¥ë¤òÃÖ¤­´¹¤¨¤¿¤â¤Î¤Ç¤¹¡£¤³¤ì¤é¤Î¿·¤·¤¤¥Ä¡¼¥ë¤Ï¡¢¥­¡¼¥¹¥È¥¢¤ÈÈëÌ©¸°¤ò¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ëµ¡Ç½¤ä¡¢½ð̾¤ÎÀ¸À®¤Ë²Ã¤¨¤Æ½ð̾¤ò¸¡¾Ú¤¹¤ëµ¡Ç½¤Ê¤É¡¢\fIjavakey\fR¤è¤ê¿¤¯¤Î¤òµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£
++.PP
++¿·¤·¤¤¥­¡¼¥¹¥È¥¢¡¦¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ï¡¢\fIjavakey\fR¤¬ºîÀ®¤·¤Æ´ÉÍý¤·¤Æ¤¤¤¿¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÂå¤ï¤ë¤â¤Î¤Ç¤¹¡£¥­¡¼¥¹¥È¥¢·Á¼°¤È¡¢JDK 1\&.1¤Î\fIjavakey\fR¤¬»ÈÍѤ·¤Æ¤¤¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°¤È¤Î´Ö¤Ë¤Ï¡¢²¼°Ì¸ß´¹À­¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¼¡¤ÎÅÀ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIkeytool \-identitydb\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¥­¡¼¥¹¥È¥¢¤Ë¾ðÊó¤ò¥¤¥ó¥Ý¡¼¥È¤Ç¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjavakey\fR¥³¥Þ¥ó¥É¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤Ç¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjavakey\fR¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JDK¤Î¥­¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1\&.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¤Î½ð̾¼ÔÊÌ̾¤òǧ¼±¤·¡¢¤½¤ì¤òÂоݤ˽èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
++.RE
++.SS "½ð̾¤Î¤Ê¤¤JAR"
++.PP
++½ð̾¤Î¤Ê¤¤JAR¤Ë¤Ï¡¢¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â¤¬¤¢¤ê¤Þ¤¹¡£
++.SS "½ð̾ÉÕ¤­JAR"
++.PP
++½ð̾ÉÕ¤­JAR¤Ë¤Ï¡¢µ­½Ò¤É¤ª¤ê¤ÎJDK 1\&.1\&.\fIn\fR¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Î¥¹¥Æ¡¼¥¿¥¹¤Ë´ð¤Å¤¤¤¿¸¢¸Â¹½À®¤¬¤¢¤ê¤Þ¤¹¡£JDK¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤­¤ë¤Î¤Ï¡¢¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Î¤ß¤Ç¤¹¡£
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
++.ps +1
++\fB¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â\fR
++.RS 4
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: ¤Ï¤¤/¿®Íꤵ¤ì¤Ê¤¤
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++Ãí°Õ¤Î3¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: ¤Ï¤¤/¿®Íꤵ¤ì¤Ê¤¤
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++Ãí°Õ¤Î1¤ª¤è¤Ó3¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
+-¥Ï¥Ã¥·¥å¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢¸úΨŪ¤Ë¤ÏÎô¤ëÊýË¡¤ò»ÈÍѤ·¤¿¸¡¾Ú¤¬É¬Íפˤʤê¤Þ¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹(½ð̾(.SF)¥Õ¥¡¥¤¥ë¤ò»²¾È)¡£
++.ps +1
++\fBÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¸¢¸Â\fR
++.RS 4
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++Ãí°Õ¤Î2¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
++.ps +1
++\fBÉÕÍ¿¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î¸¢¸Â\fR
++.RS 4
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++Ãí°Õ¤Î1¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++Ãí°Õ¤Î1¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
+-.SF¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼¤Ë³ÊǼ¤µ¤ì¤¿¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È¡¢¼ÂºÝ¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢½ð̾(¤Ä¤Þ¤ê.SF¥Õ¥¡¥¤¥ë)¤ÎÀ¸À®¸å¤Ë¡¢JAR¥Õ¥¡¥¤¥ë¤Ë1¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤¬(\f2jar\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ)Äɲ䵤줿²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£\f2jar\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤òÄɲä·¤¿¾ì¹ç¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤¹(¿·¤·¤¤¥Õ¥¡¥¤¥ëÍѤΥ»¥¯¥·¥ç¥ó¤¬Äɲ䵤ì¤Þ¤¹)¤¬¡¢.SF¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£¤³¤Î¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼°Ê³°¤Î¥»¥¯¥·¥ç¥ó¤Ë³ÊǼ¤µ¤ì¤¿¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤È¤­¤Ï¡¢½ð̾¤ÎÀ¸À®»þ¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Ë¸ºß¤·¤Æ¤¤¤¿¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¡¢¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¡¢¸¡¾Ú¤ÏÀ®¸ù¤·¤¿¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£
+-.TP 3
+-3.
+-JAR¥Õ¥¡¥¤¥ëÆâ¤Î¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Ë¥¨¥ó¥È¥ê¤ò»ý¤Ä³Æ¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡£ÆÉ¹þ¤ßÃæ¤Ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ò·×»»¤·¡¢·ë²Ì¤ò¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥»¥¯¥·¥ç¥óÆâ¤Î³ºÅö¤¹¤ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÈÈæ³Ó¤·¤Þ¤¹¡£2¤Ä¤Î¥À¥¤¥¸¥§¥¹¥È¤ÏƱ¤¸¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£
++.ps +1
++\fBÃí°Õ\fR
++.RS 4
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 1.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 1." 4.2
++.\}
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤Ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Þ¤¿¤ÏÊÌ̾¤Ë¤Ä¤¤¤Æ¤Î¸ÀµÚ¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤ò¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¡¢ÉÕÍ¿¤µ¤ì¤¿¸¢¸Â¤Ë¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤬ȿ±Ç¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+ .RE
+-
+-.LP
+-.LP
+-¸¡¾Ú¥×¥í¥»¥¹¤ÎÅÓÃæ¤Ç¤Ê¤ó¤é¤«¤Î½ÅÂç¤Ê¸¡¾Ú¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¸¡¾Ú¥×¥í¥»¥¹¤ÏÃæ»ß¤µ¤ì¡¢¥»¥­¥å¥ê¥Æ¥£Îã³°¤¬¥¹¥í¡¼¤µ¤ì¤Þ¤¹¡£Îã³°¤Ï¡¢\f3jarsigner\fP¤¬¥­¥ã¥Ã¥Á¤·¤ÆÉ½¼¨¤·¤Þ¤¹¡£
+-.LP
+-.SS
+-1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤òÂоݤȤ¹¤ëÊ£¿ô¤Î½ð̾
+-.LP
+-.LP
+-1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ\f3jarsigner\fP¥Ä¡¼¥ë¤òÊ£¿ô²ó¼Â¹Ô¤·¡¢¼Â¹Ô¤Î¤¿¤Ó¤Ë¡¢°Û¤Ê¤ë¥æ¡¼¥¶¡¼¤ÎÊÌ̾¤ò»ØÄꤹ¤ì¤Ð¡¢JAR¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤Î½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner myBundle.jar susan
+-.fl
+- jarsigner myBundle.jar kevin
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-JAR¥Õ¥¡¥¤¥ë¤¬Ê£¿ô²ó½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ú¥¢¤¬Ê£¿ô´Þ¤Þ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ú¥¢¤Ï¡¢1²ó¤Î½ð̾¤ËÂФ·¤Æ1¤ÄºîÀ®¤µ¤ì¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢¾å¤ÎÎã¤Ç½ÐÎϤµ¤ì¤ëJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¼¡¤Î̾Á°¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- SUSAN.SF
+-.fl
+- SUSAN.DSA
+-.fl
+- KEVIN.SF
+-.fl
+- KEVIN.DSA
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-Ãí°Õ: JAR¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢JDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤ÇÀ¸À®¤µ¤ì¤¿½ð̾¤È\f3jarsigner\fP¤ÇÀ¸À®¤µ¤ì¤¿½ð̾¤¬º®ºß¤Ç¤­¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤¹¤Ç¤Ë\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤¬ÉÕ¤±¤é¤ì¤Æ¤¤¤ëJAR¥Õ¥¡¥¤¥ë¤Ë¡¢\f3jarsigner\fP¤ò»ÈÍѤ·¤Æ½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.SH "¥ª¥×¥·¥ç¥ó"
+-.LP
+-.LP
+-¼¡¤Ë¡¢\f3jarsigner\fP¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£Ãí°Õ:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-¤É¤Î¥ª¥×¥·¥ç¥ó̾¤Ë¤âÀèÆ¬¤Ë¥Þ¥¤¥Ê¥¹µ­¹æ(\-)¤¬ÉÕ¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç½ø¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-¥¤¥¿¥ê¥Ã¥¯ÂΤιàÌܤμºݤÎÃÍ(¥ª¥×¥·¥ç¥ó¤ÎÃÍ)¤Ï¡¢»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.TP 2
+-o
+-\f2\-keystore\fP¡¢\f2\-storepass\fP¡¢\f2\-keypass\fP¡¢\f2\-sigfile\fP¡¢\f2\-sigalg\fP¡¢\f2\-digestalg\fP¤ª¤è¤Ó\f2\-signedjar\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤǤ­¤ë¤Î¤Ï¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¾ì¹ç¤Ç¤Ï¤Ê¤¯¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£Æ±Íͤˡ¢ÊÌ̾¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 2.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 2." 4.2
++.\}
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë/¥­¡¼¥¹¥È¥¢¤ÎÁȹ礻¤Ï¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£
+ .RE
+-
+-.LP
+-.RS 3
+-.TP 3
+-\-keystore url
+-¥­¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¼¨¤¹URL¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë\f2.keystore\fP¤Ç¤¹¡£¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢user.home¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ë¤è¤Ã¤Æ·è¤Þ¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 3.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 3." 4.2
++.\}
++Java¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢¿®Íê¤Ç¤­¤Ê¤¤¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
++.RE
++.RE
++.SH "»²¾È"
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++jar(1)
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++keytool(1)
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html¤Ë¤¢¤ë
++¡Ö¥³¡¼¥¹: Java SE¤Î¥»¥­¥å¥ê¥Æ¥£µ¡Ç½¡×
++.RE
+ .br
+-.br
+-½ð̾¤¹¤ë¤È¤­¤Ï¥­¡¼¥¹¥È¥¢¤¬É¬ÍפǤ¹¡£¤³¤Î¤¿¤á¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç(¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥­¡¼¥¹¥È¥¢¤ò»ÈÍѤ¹¤ë¾ì¹ç)¤Ï¡¢¥­¡¼¥¹¥È¥¢¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.br
+-.br
+-¸¡¾Ú¤¹¤ë¤È¤­¤Ï¥­¡¼¥¹¥È¥¢¤Ï\f2ɬÍפ¢¤ê¤Þ¤»¤ó\fP¡£¤¿¤À¤·¡¢¥­¡¼¥¹¥È¥¢¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤µ¤é¤Ë\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤â»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¤½¤Î¥­¡¼¥¹¥È¥¢¤Ë1¤Ä¤Ç¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤¹¤ëÄɲþðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-Ãí°Õ: \f2\-keystore\fP¤Î°ú¿ô¤Ë¤Ï¡¢URL¤Î¤«¤ï¤ê¤Ë¥Õ¥¡¥¤¥ë̾(¤È¥Ñ¥¹)¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£¥Õ¥¡¥¤¥ë̾(¤È¥Ñ¥¹)¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢¡Öfile:¡×URL¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+- \-keystore \fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-¤³¤ì¤Ï¡¢¼¡¤Î»ØÄê¤ÈƱ¤¸¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+- \-keystore file:\fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-JRE¤Î\f2$JAVA_HOME/lib/security\fP¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤µ¤ì¤¿\f2java.security\fP¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS#11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢keytool¤Èjarsigner¤ÏPKCS#11¥È¡¼¥¯¥ó¤Ë´ð¤Å¤¤¤ÆÆ°ºî¤Ç¤­¤Þ¤¹¡£¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-\f2\-keystore NONE\fP
+-.TP 2
+-o
+-\f2\-storetype PKCS11\fP
+-.RE
+-¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢¹½À®¤µ¤ì¤¿PKCS#11¥È¡¼¥¯¥ó¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore NONE \-storetype PKCS11 \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-storetype storetype
+-¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤ë¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Îkeystore.type¥×¥í¥Ñ¥Æ¥£¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Ç¤¹¡£¤³¤ÎÃͤϡ¢\f2java.security.KeyStore\fP¤Îstatic \f2getDefaultType\fP¥á¥½¥Ã¥É¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-\f2\-storepass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆPCKS#11¥È¡¼¥¯¥ó¤ÎPIN¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£²¿¤â»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢keytool¤Èjarsigner¤Ï¥æ¡¼¥¶¡¼¤Ë¥È¡¼¥¯¥óPIN¤ÎÆþÎϤòµá¤á¤Þ¤¹¡£¥È¡¼¥¯¥ó¤ËÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹(ÀìÍѤÎPIN¥Ñ¥Ã¥É¤äÀ¸ÂÎÆÉ¼è¤êµ¡¤Ê¤É)¤¬¤¢¤ë¾ì¹ç¡¢\f2\-protected\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¥¹¥ï¡¼¥É¡¦¥ª¥×¥·¥ç¥ó¤Ï»ØÄê¤Ç¤­¤Þ¤»¤ó¡£
+-.TP 3
+-\-storepass[:env | :file] argument
+-¥­¡¼¥¹¥È¥¢¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤¬É¬ÍפʤΤϡ¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Î¤ß¤Ç¤¹(¸¡¾Ú¤¹¤ë¤È¤­¤Ë¤ÏÉÔÍפǤ¹)¡£¤½¤Î¾ì¹ç¡¢\f2\-storepass\fP¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
+-.br
+-.br
+-½¤¾þ»Ò\f2env\fP¤Þ¤¿¤Ï\f2file\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\f2argument\fP¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î´Ä¶­ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
+-.TP 2
+-o
+-\f2file\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
+-.RE
+-Ãí°Õ: ¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï¥»¥­¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-keypass[:env | :file] argument
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ËÂбþ¤¹¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤òÊݸ¤ë¤Î¤Ë»ÈÍѤ¹¤ë¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬É¬ÍפǤ¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢É¬Íפʥѥ¹¥ï¡¼¥É¤¬¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤È°Û¤Ê¤ë¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
+-.br
+-.br
+-½¤¾þ»Ò\f2env\fP¤Þ¤¿¤Ï\f2file\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\f2argument\fP¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î´Ä¶­ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
+-.TP 2
+-o
+-\f2file\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
+-.RE
+-Ãí°Õ: ¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï¥»¥­¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-sigfile file
+-.SF¥Õ¥¡¥¤¥ë¤È .DSA¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¤Ë»ÈÍѤ¹¤ë¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢\f2file\fP¤ËDUKESIGN¤ò»ØÄꤹ¤ë¤È¡¢À¸À®¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢¤½¤ì¤¾¤ìDUKESIGN.SF¤ÈDUKESIGN.DSA¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ÎMETA\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤Þ¤¹¡£
+-.br
+-.br
+-\f2file\fP¤Ë»ÈÍѤǤ­¤ëʸ»ú¤Ï¡Öa\-zA\-Z0\-9_\-¡×¤Ç¤¹¡£¤Ä¤Þ¤ê¡¢Ê¸»ú¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥ó¤Î¤ß¤ò»ÈÍѤǤ­¤Þ¤¹¡£Ãí°Õ: .SF¤ª¤è¤Ó.DSA¤Î¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¡¢¾®Ê¸»ú¤Ï¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2\-sigfile\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤ÎÃæ¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ë»ÈÍѤǤ­¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³ºÅö¤¹¤ëʸ»ú¤ò²¼Àþ(_)¤ËÃÖ¤­´¹¤¨¤Æ¥Õ¥¡¥¤¥ë̾¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-\-sigalg algorithm
+-JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë½ð̾¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
+-.br
+-.br
+-ɸ½à½ð̾¥¢¥ë¥´¥ê¥º¥à̾¤Î°ìÍ÷¤Ï¡¢Java°Å¹æ²½¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Î
+-.na
+-\f2ÉÕÏ¿A\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤È¤Î¸ß´¹À­¤¬É¬ÍפǤ¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ÈëÌ©¸°¤Î¥¿¥¤¥×¤Ë±þ¤¸¤ÆSHA1withDSA¡¢SHA256withRSA¡¢SHA256withECDSA¤Î¤¤¤º¤ì¤«¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\f2\-providerClass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬¼ºÇÔ¤·¤Þ¤¹¡£
+-.TP 3
+-\-digestalg algorithm
+-JAR¥Õ¥¡¥¤¥ë¤Î¥¨¥ó¥È¥ê¤ò¥À¥¤¥¸¥§¥¹¥È¤¹¤ëºÝ¤Ë»ÈÍѤ¹¤ë¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
+-.br
+-.br
+-¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à̾¤Î°ìÍ÷¤Ï¡¢Java°Å¹æ²½¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Î
+-.na
+-\f2ÉÕÏ¿A\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢SHA256¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\f2\-providerClass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬¼ºÇÔ¤·¤Þ¤¹¡£
+-.TP 3
+-\-signedjar file
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
+-.br
+-.br
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç̾Á°¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë(½ð̾¤ÎÂоݤȤʤëJAR¥Õ¥¡¥¤¥ë)¤Î̾Á°¤ÈƱ¤¸Ì¾Á°¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë¤Ï½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-\-verify
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢»ØÄꤵ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ç¤Ï¤Ê¤¯¸¡¾Ú¤¬¹Ô¤ï¤ì¤Þ¤¹¡£¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢¡Öjar¤¬¸¡¾Ú¤µ¤ì¤Þ¤·¤¿¡£¡×¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¥¢¥ë¥´¥ê¥º¥à(RSA¥×¥í¥Ð¥¤¥À¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ò½ªÎ»¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤ÎRSA¤Ê¤É)¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤è¤¦¤È¤¹¤ë¤È¡¢¡Öjar¤Ï½ð̾¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£(½ð̾¤¬¸«¤Ä¤«¤é¤Ê¤¤¤«¡¢¹½Ê¸²òÀϤǤ­¤Þ¤»¤ó)¡×¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ï¡¢\f3jarsigner\fP¤Þ¤¿¤ÏJDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤Î¤É¤Á¤é¤«¤Þ¤¿¤ÏξÊý¤ò»ÈÍѤ·¤Æ¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
+-.br
+-.br
+-¸¡¾Ú¤Î¾ÜºÙ¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-certs
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢\f2\-verify\fP¤ª¤è¤Ó\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¼¡¤Î¤â¤Î¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-½ð̾¼Ô¤Î¸ø³«¸°¤ò¾ÚÌÀ¤¹¤ë(.DSA¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤¿)¾ÚÌÀ½ñ¥¿¥¤¥×¤Î̾Á°
+-.TP 2
+-o
+-¾ÚÌÀ½ñ¤¬X.509¾ÚÌÀ½ñ(¤Ä¤Þ¤ê¡¢\f2java.security.cert.X509Certificate\fP¤Î¥¤¥ó¥¹¥¿¥ó¥¹)¤Ç¤¢¤ë¾ì¹ç¤Ï¡¢½ð̾¼Ô¤Î¼±ÊÌ̾
+-.RE
+-¥­¡¼¥¹¥È¥¢¤Î³Îǧ¤â¹Ô¤ï¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥­¡¼¥¹¥È¥¢¤ÎÃͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥Õ¥¡¥¤¥ë¤¬¤¢¤ì¤Ð¡¢¸¡ºº¤µ¤ì¤Þ¤¹¡£½ð̾¼Ô¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢Æâ¤Î¥¨¥ó¥È¥ê¤È°ìÃפ·¤¿¾ì¹ç¤Ï¡¢¼¡¤Î¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-½ð̾¼Ô¤Ë³ºÅö¤¹¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¡£¤³¤ÎÊÌ̾¤Ï³ç¸Ì¤Ç°Ï¤Þ¤ì¤Þ¤¹¡£¤¿¤À¤·¡¢¥­¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËͳÍ褹¤ë½ð̾¼Ô¤Î¾ì¹ç¤Ï¡¢³ç¸Ì¤Ç¤Ï¤Ê¤¯Âç³ç¸Ì¤Ç°Ï¤Þ¤ì¤Þ¤¹¡£
+-.RE
+-.TP 3
+-\-certchain file
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÊÌ̾¤Ç·è¤Þ¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬´°Á´¤Ç¤Ê¤¤¾ì¹ç¤Ë¡¢»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ò»ØÄꤷ¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¾õÂ֤ˤʤë²ÄǽÀ­¤¬¤¢¤ë¤Î¤Ï¡¢¥­¡¼¥¹¥È¥¢¤¬¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¾å¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë¤¬¡¢¤½¤³¤Ë¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ÎÁ´ÂΤòÊÝ»ý¤Ç¤­¤ëÎΰ褬¸ºß¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¾ì¹ç¤Ç¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÏ¢¤ÎX.509¾ÚÌÀ½ñ¤¬½ç¤ËÏ¢·ë¤µ¤ì¤¿¤â¤Î¡¢PKCS#7·Á¼°¤Îñ°ì¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤È¤Ê¤ê¡¢¤½¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¤Ï¥Ð¥¤¥Ê¥ê¡¦¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¡¢Internet RFC 1421ɸ½à¤Çµ¬Äꤵ¤ì¤ë°õºþ²Äǽ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°(BASE64¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤È¤â¸Æ¤Ð¤ì¤ë)¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.TP 3
+-\-verbose
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\f3jarsigner\fP¤Ï¡Ö¾éĹ¡×¥â¡¼¥É¤Çưºî¤·¡¢JAR¤Î½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¿Ê¹Ô¾õ¶·¤Ë´Ø¤¹¤ëÄɲþðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£
+-.TP 3
+-\-internalsf
+-°ÊÁ°¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤¿.DSA(½ð̾¥Ö¥í¥Ã¥¯)¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¡¢À¸À®¤µ¤ì¤¿.SF¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Î´°Á´¤Ê¥³¥Ô¡¼¤¬É乿²½¤µ¤ì¤¿·Á¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤³¤Îưºî¤ÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£¸½ºß¤Ç¤Ï¡¢½ÐÎÏJAR¥Õ¥¡¥¤¥ëÁ´ÂΤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï.SF¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬.DSA¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤¿¤À¤·¡¢\f2\-internalsf\fP¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤È¡¢°ÊÁ°¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡£\f3¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤Ë¤ÏÊØÍø¤Ç¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢Í­±×¤ÊºÇŬ²½¤¬¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£\fP
+-.TP 3
+-\-sectionsonly
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤ò´Þ¤à¥Ø¥Ã¥À¡¼¤Ï\f2´Þ¤Þ¤ì¤Þ¤»¤ó\fP¡£¤³¤Î¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ë¾ðÊ󤪤è¤Ó¥Ï¥Ã¥·¥å¤Î¤ß¤Ç¤¹¡£¾ÜºÙ¤Ï¡¢½ð̾(.SF)¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.br
+-.br
+-¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇŬ²½¤Î¤¿¤á¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤¬Äɲ䵤ì¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú»þ¤Ë¡¢¤Þ¤º¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤È¼ÂºÝ¤Ë°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£¥Ï¥Ã¥·¥å¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢¸úΨŪ¤Ë¤ÏÎô¤ëÊýË¡¤ò»ÈÍѤ·¤Æ¸¡¾Ú¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-¾ÜºÙ¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.br
+-.br
+-\f3¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤Ë¤ÏÊØÍø¤Ç¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢Í­±×¤ÊºÇŬ²½¤¬¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£\fP
+-.TP 3
+-\-protected
+-\f2true\fP¤Þ¤¿¤Ï\f2false\fP¤Î¤¤¤º¤ì¤«¡£ÀìÍÑPIN¥ê¡¼¥À¡¼¤Ê¤É¤ÎÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹¤ò²ð¤·¤Æ¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎÃͤË\f2true\fP¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-providerClass provider\-class\-name
+-¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤¬¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë(\f2java.security\fP)¤Î¥ê¥¹¥È¤ËÆþ¤Ã¤Æ¤¤¤Ê¤¤¤È¤­¤Ë¡¢°Å¹æ²½¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤Î¥Þ¥¹¥¿¡¼¡¦¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£
+-.br
+-.br
+-\f2\-providerArg\fP \f2ConfigFilePath\fP¥ª¥×¥·¥ç¥ó¤ÈÁȤ߹礻¤Æ»ÈÍѤ·¤Þ¤¹¡£keytool¤Èjarsigner¤Ï¥×¥í¥Ð¥¤¥À¤òưŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹(¤³¤³¤Ç¡¢\f2ConfigFilePath\fP¤Ï¥È¡¼¥¯¥ó¹½À®¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ç¤¹)¡£¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS#11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤ËPKCS#11¥­¡¼¥¹¥È¥¢¤ò°ìÍ÷ɽ¼¨¤¹¤ë¥³¥Þ¥ó¥É¤ÎÎã¤ò¼¡¤Ë¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerClass sun.security.pkcs11.SunPKCS11 \\
+-.fl
+- \-providerArg /foo/bar/token.config \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-providerName providerName
+-\f2java.security\fP¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Ç2¤Ä°Ê¾å¤Î¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\f2\-providerName\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆÆÃÄê¤Î¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤òÁªÂò¤Ç¤­¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ï¡¢¥×¥í¥Ð¥¤¥À¤Î̾Á°¤Ç¤¹¡£
+-.br
+-.br
+-Sun PKCS#11¥×¥í¥Ð¥¤¥À¤Î¾ì¹ç¡¢\f2providerName\fP¤Ï\f2SunPKCS11\-\fP\f2TokenName\fP¤È¤¤¤¦·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç\f2TokenName\fP¤Ï¡¢¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤¬¹½À®¤µ¤ì¤¿Ì¾Á°¤ÎÀÜÈø¼­¤Ç¤¹¡£¾ÜºÙ¤Ï
+-.na
+-\f2¹½À®Â°À­¤Îɽ\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ì¾Á°ÀÜÈø¼­\f2SmartCard\fP¤ÎPKCS#11¥­¡¼¥¹¥È¥¢¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÆâÍÆ¤ò¥ê¥¹¥È¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerName SunPKCS11\-SmartCard \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-Jjavaoption
+-»ØÄꤵ¤ì¤¿\f2javaoption\fPʸ»úÎó¤òJava¥¤¥ó¥¿¥×¥ê¥¿¤ËľÀÜÅϤ·¤Þ¤¹¡£(\f3jarsigner\fP¤Ï¡¢¼ÂºÝ¤Ë¤ÏJava¥¤¥ó¥¿¥×¥ê¥¿¤ËÂФ¹¤ë¡Ö¥é¥Ã¥Ñ¡¼¡×¤Ç¤¹¡£)¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢¶õÇò¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼Â¹Ô´Ä¶­¤Þ¤¿¤Ï¥á¥â¥ê¡¼»ÈÍѤòÄ´À°¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£»ØÄê¤Ç¤­¤ë¥¤¥ó¥¿¥×¥ê¥¿¡¦¥ª¥×¥·¥ç¥ó¤ò°ìÍ÷ɽ¼¨¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2java \-h\fP¤Þ¤¿¤Ï\f2java \-X\fP¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-tsa url
+-\f2¡Ö\-tsa http://example.tsa.url¡×\fP¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£URL\f2http://example.tsa.url\fP¤Ï¡¢TSA(Time Stamping Authority)¤Î¾ì½ê¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢\f2\-tsacert\fP¥ª¥×¥·¥ç¥ó¤Ç¸¡½Ð¤µ¤ì¤¿URL¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤¹¡£\f2\-tsa\fP¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¥­¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
+-.br
+-.br
+-¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢\f2jarsigner\fP¤Ï¡¢
+-.na
+-\f2RFC 3161\fP @
+-.fi
+-http://www.ietf.org/rfc/rfc3161.txt¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥×¥í¥È¥³¥ë(TSP)¤ò»ÈÍѤ·¤ÆTSA¤ÈÄÌ¿®¤·¤Þ¤¹¡£À®¸ù¤¹¤ë¤È¡¢TSA¤«¤éÊÖ¤µ¤ì¤¿¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥È¡¼¥¯¥ó¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤Î½ð̾¤È¤È¤â¤ËÊݸ¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-\-tsacert alias
+-\f2¡Ö\-tsacert alias¡×\fP¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£\f2alias\fP¤Ï¡¢¥­¡¼¥¹¥È¥¢Æâ¤Î¸½ºßÍ­¸ú¤ÊTSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ç¡¢TSA¤Î¾ì½ê¤òÆÃÄꤹ¤ëURL¤ò´Þ¤àSubject Information Access³ÈÄ¥µ¡Ç½¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-\f2\-tsacert\fP¤ò»ÈÍѤ·¤¿¾ì¹ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.TP 3
+-\-altsigner class
+-ÂåÂØ½ð̾µ¡¹½¤ò»ÈÍѤ¹¤ë¤³¤È¤ò»ØÄꤷ¤Þ¤¹¡£´°Á´½¤¾þ¥¯¥é¥¹Ì¾¤Ç¡¢\f2com.sun.jarsigner.ContentSigner\fPÃê¾Ý¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ï¡¢\f2\-altsignerpath\fP¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£\f2\-altsigner\fP¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤµ¤ì¤ë¤È¡¢\f2jarsigner\fP¤Ï¡¢»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾µ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢\f2jarsigner\fP¤Ï¥Ç¥Õ¥©¥ë¥È¤Î½ð̾µ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¡£
+-.br
+-.br
+-¤¿¤È¤¨¤Ð¡¢\f2com.sun.sun.jarsigner.AuthSigner\fP¤È¤¤¤¦Ì¾Á°¤Î¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾µ¡¹½¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢\f2jarsigner\fP¤Ç\f2¡Ö\-altsigner com.sun.jarsigner.AuthSigner¡×\fP¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Þ¤¹¡£
+-.TP 3
+-\-altsignerpath classpathlist
+-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë(¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ÏÁ°½Ò¤Î\f2\-altsigner\fP¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤷ¤Þ¤¹)¤ª¤è¤Ó¤½¤Î¥¯¥é¥¹¤¬°Í¸¤¹¤ë¤¹¤Ù¤Æ¤ÎJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ëÆâ¤Ë¤¢¤ë¾ì¹ç¡¢°Ê²¼¤ÎÎã¤Î¤è¤¦¤ËJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤¬»ØÄꤵ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-ÀäÂХѥ¹¤Þ¤¿¤Ï¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£\f2classpathlist\fP¤ËÊ£¿ô¤Î¥Ñ¥¹¤äJAR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¤Ë¤Ï¡¢¤½¤ì¤é¤òSolaris¤Î¾ì¹ç¤Ï¥³¥í¥ó(\f2:\fP)¤Ç¡¢Windows¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó(\f2;\fP)¤Ç¤½¤ì¤¾¤ì¶èÀÚ¤ê¤Þ¤¹¡£ÌÜŪ¤Î¥¯¥é¥¹¤¬¤¹¤Ç¤Ë¸¡º÷¥Ñ¥¹Æâ¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÉÔÍפǤ¹¡£
+-.br
+-.br
+-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤à¡¢JAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÎã¤ò¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/lib/authsigner.jar
+-.fl
+-\fP
+-.fi
+-JAR¥Õ¥¡¥¤¥ë̾¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.br
+-.br
+-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÎã¤ò¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/
+-.fl
+-\fP
+-.fi
+-JAR¥Õ¥¡¥¤¥ë̾¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ëα°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-strict
+-½ð̾¤Þ¤¿¤Ï¸¡¾Ú½èÍýÃæ¤Ë¡¢¤Ê¤ó¤é¤«¤Î·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¸«¤Ä¤«¤Ã¤¿·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢·Ù¹ð¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-verbose:sub\-options
+-¸¡¾Ú½èÍý¤Î¾ì¹ç¡¢É½¼¨¤¹¤ë¾ðÊó¤ÎÎ̤ò·èÄꤹ¤ë¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤Ë»ØÄê¤Ç¤­¤Þ¤¹¡£\f2\-certs\fP¤â»ØÄꤷ¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¡¦¥â¡¼¥É(¤Þ¤¿¤Ï¥µ¥Ö¥ª¥×¥·¥ç¥óall)¤Ç¤Ï¡¢¥¨¥ó¥È¥ê¤¬½èÍý¤µ¤ì¤ë¤¿¤Ó¤Ë¤½¤ì¤é¤Î³Æ¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¡¢¤½¤Î¸å¤ËJAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£\f2\-certs\fP¤È\f2\-verbose:grouped\fP¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤È¤½¤Î¾ÚÌÀ½ñ¾ðÊ󤬡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£\f2\-certs\fP¤È\f2\-verbose:summary\fP¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤È¤½¤Î¾ÚÌÀ½ñ¾ðÊ󤬥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¤¬¡¢³Æ¥¨¥ó¥È¥ê¤Î¾ÜºÙ¤¬¡Ö1¤Ä¤Î¥¨¥ó¥È¥ê(¤ª¤è¤Ó¤½¤ì°Ê¾å)¡×¤È¤·¤ÆÍ×Ìó¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢Îã¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.RE
+-
+-.LP
+-.SH "Îã"
+-.LP
+-.SS
+-JAR¥Õ¥¡¥¤¥ë¤Î½ð̾
+-.LP
+-.LP
+-bundle.jar¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¤È¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¡¢working¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Îmystore¤È¤¤¤¦¥­¡¼¥¹¥È¥¢¤Ë¤¢¤ë¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤¬jane¤Ç¤¢¤ë¥æ¡¼¥¶¡¼¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢½ð̾¤òÉÕ¤±¤ë¤È¤·¤Þ¤¹¡£¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Æsbundle.jar¤È¤¤¤¦½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-¾å¤Î¥³¥Þ¥ó¥É¤Ç¤Ï\f2\-sigfile\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ÊÌ̾¤«¤é¥Ç¥Õ¥©¥ë¥È̾¤¬ÉÕ¤±¤é¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤½¤ì¤é¤Î̾Á°¤Ï\f2JANE.SF\fP¤ª¤è¤Ó\f2JANE.DSA\fP¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ÈÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤ë¥×¥í¥ó¥×¥È¤òɽ¼¨¤¹¤ë¾ì¹ç¤Ï¡¢¾å¤Î¥³¥Þ¥ó¥É¤òû½Ì¤·¤Æ¼¡¤Î¤è¤¦¤ËÆþÎϤǤ­¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore
+-.fl
+- \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢(¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î.keystore¤È¤¤¤¦Ì¾Á°¤Î¥­¡¼¥¹¥È¥¢)¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥­¡¼¥¹¥È¥¢¤Î»ØÄê¤ò¾Êά¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-ºÇ¸å¤Ë¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë(\f2bundle.jar\fP)¤ò½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Çñ½ã¤Ë¾å½ñ¤­¤¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë\f2\-signedjar\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner bundle.jar jane
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú
+-.LP
+-.LP
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¡¢¤Ä¤Þ¤ê½ð̾¤¬Í­¸ú¤ÇJAR¥Õ¥¡¥¤¥ë¤¬²þÊѤµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò³Îǧ¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify sbundle.jar
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢
+-.LP
+-.nf
+-\f3
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¡¢¥¨¥é¡¼¡¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢¤è¤ê¿¤¯¤Î¾ðÊó¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£\f2\-verbose\fP¥ª¥×¥·¥ç¥óÉÕ¤­¤Ç\f3jarsigner\fP¤ò»ÈÍѤ¹¤ëÎã¤È¤½¤Î½ÐÎÏÎã¤ò¡¢¼¡¤Ë¼¨¤·¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify \-verbose sbundle.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class
+-.fl
+- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤¿¸¡¾Ú
+-.LP
+-.LP
+-¸¡¾Ú»þ¤Ë\f2\-verify\fP¤È\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤Ë²Ã¤¨¤Æ\f2\-certs\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤â½ÐÎϤµ¤ì¤Þ¤¹¡£¤³¤ì¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥¿¥¤¥×¡¢½ð̾¼Ô¼±ÊÌ̾¾ðÊó(X.509¾ÚÌÀ½ñ¤Î¾ì¹ç¤Î¤ß)¡¢¤ª¤è¤ÓJAR¥Õ¥¡¥¤¥ë¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ë°ìÃפ·¤¿¾ì¹ç¤Ë¤Ï¡¢³ç¸Ì¤Ç°Ï¤Þ¤ì¤¿½ð̾¼Ô¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¼¡¤Ë¼¨¤·¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF
+-.fl
+- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class
+-.fl
+-
+-.fl
+- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest)
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤¬X.509¾ÚÌÀ½ñ¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¼±ÊÌ̾¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¾ÚÌÀ½ñ¤Î¥¿¥¤¥×¤ÈÊÌ̾¤Î¤ß¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¾ÚÌÀ½ñ¤¬PGP¾ÚÌÀ½ñ¤Ç¡¢ÊÌ̾¤¬bob¤Î¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- PGP, (bob)
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½ð̾¼Ô¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú
+-.LP
+-.LP
+-JAR¥Õ¥¡¥¤¥ë¤¬¡¢JDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢½ð̾¼Ô¤Ï¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ç¤¹¡£¤³¤Î¾ì¹ç¡¢¸¡¾Ú¤Î½ÐÎϤˤϡÖi¡×¤È¤¤¤¦µ­¹æ¤¬´Þ¤Þ¤ì¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤¬¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤È¥­¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤ÎξÊý¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¡Ök¡×¤È¡Öi¡×¤ÎξÊý¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-\f2\-certs\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ï³ç¸Ì¤Ç°Ï¤Þ¤ì¤ë¤Î¤ËÂФ·¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ï³Ñ³ç¸Ì¤Ç°Ï¤Þ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF
+-.fl
+- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA
+-.fl
+- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html
+-.fl
+-
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke]
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+- i = at least one certificate was found in identity scope
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-ÊÌ̾duke¤Ï³Ñ³ç¸Ì¤Ç°Ï¤Þ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¤³¤ÎÊÌ̾¤Ï¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ç¤Ï¤Ê¤¯¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ç¤¹¡£
+-.LP
+-.SH "·Ù¹ð"
+-.LP
+-½ð̾/¸¡¾Ú½èÍýÃæ¤Ë¤Ï¡¢jarsigner¤«¤éÍÍ¡¹¤Ê·Ù¹ð¤¬É½¼¨¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î·Ù¹ð¥³¡¼¥É¤Ï¼¡¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+- hasExpiringCert 2
+-.fl
+- This jar contains entries whose signer certificate will expire within six months
+-.fl
+-
+-.fl
+- hasExpiredCert 4
+-.fl
+- This jar contains entries whose signer certificate has expired.
+-.fl
+-
+-.fl
+- notYetValidCert 4
+-.fl
+- This jar contains entries whose signer certificate is not yet valid.
+-.fl
+-
+-.fl
+- chainNotValidated 4
+-.fl
+- This jar contains entries whose certificate chain cannot be correctly validated.
+-.fl
+-
+-.fl
+- badKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing.
+-.fl
+-
+-.fl
+- badExtendedKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's ExtendedKeyUsage extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- badNetscapeCertType 8
+-.fl
+- This jar contains entries whose signer certificate's NetscapeCertType extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- hasUnsignedEntry 16
+-.fl
+- This jar contains unsigned entries which have not been integrity\-checked.
+-.fl
+-
+-.fl
+- notSignedByAlias 32
+-.fl
+- This jar contains signed entries which are not signed by the specified alias(es)
+-.fl
+-
+-.fl
+- aliasNotInStore 32
+-.fl
+- This jar contains signed entries that are not signed by alias in this keystore
+-.fl
+-
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-\f2\-strict\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¸¡½Ð¤µ¤ì¤¿·Ù¹ð¤ÎOR¤ò¼è¤Ã¤¿Ãͤ¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤È¤·¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥¨¥ó¥È¥ê¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢¤«¤Ä¤½¤Î¾ÚÌÀ½ñ¤ÎkeyUsage³ÈÄ¥¤Ç¥Õ¥¡¥¤¥ë¤Î½ð̾¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢½ªÎ»¥³¡¼¥É12(=4+8)¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3Ãí°Õ\fP: UNIX¤Ç»ÈÍѲÄǽ¤ÊÃͤÏ0¤«¤é255¤Î¤ß¤Ç¤¢¤ë¤¿¤á¡¢½ªÎ»¥³¡¼¥É¤ÏºÆÍøÍѤµ¤ì¤Þ¤¹¡£¤¤¤º¤ì¤Ë¤·¤Æ¤â¡¢½ð̾/¸¡¾Ú½èÍý¤¬¼ºÇÔ¤¹¤ë¤È¡¢¼¡¤Î½ªÎ»¥³¡¼¥É¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+-failure 1
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-JDK 1.1¤È¤Î¸ß´¹À­
+-.LP
+-.LP
+-\f3keytool\fP¥Ä¡¼¥ë¤È\f3jarsigner\fP¥Ä¡¼¥ë¤Ï¡¢JDK 1.1¤ÇÄ󶡤µ¤ì¤Æ¤¤¤¿\f3javakey\fP¥Ä¡¼¥ë¤ò´°Á´¤ËÃÖ¤­´¹¤¨¤ë¤â¤Î¤Ç¤¹¡£¤³¤ì¤é¤Î¿·¤·¤¤¥Ä¡¼¥ë¤Ï¡¢¥­¡¼¥¹¥È¥¢¤ÈÈëÌ©¸°¤ò¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ëµ¡Ç½¤ä¡¢½ð̾¤ÎÀ¸À®¤Ë²Ã¤¨¤Æ½ð̾¤ò¸¡¾Ú¤¹¤ëµ¡Ç½¤Ê¤É¡¢\f3javakey\fP¤è¤ê¿¤¯¤Î¤òµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£
+-.LP
+-.LP
+-¿·¤·¤¤¥­¡¼¥¹¥È¥¢¡¦¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ï¡¢\f3javakey\fP¤¬ºîÀ®¤·¤Æ´ÉÍý¤·¤Æ¤¤¤¿¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÂå¤ï¤ë¤â¤Î¤Ç¤¹¡£¥­¡¼¥¹¥È¥¢·Á¼°¤È¡¢1.1¤Î\f3javakey\fP¤¬»ÈÍѤ·¤Æ¤¤¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°¤È¤Î´Ö¤Ë¤Ï²¼°Ì¸ß´¹À­¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¼¡¤Î¤³¤È¤Ï²Äǽ¤Ç¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-\f3keytool\fP¤Î\f2\-identitydb\fP¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ðÊó¤ò¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-\f3jarsigner\fP¤Ï¡¢°ÊÁ°¤Ë\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-\f3jarsigner\fP¤Ï¡¢\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢Java 2 SDK¤Î¥­¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¤Î½ð̾¼ÔÊÌ̾¤òǧ¼±¤·¡¢¤³¤ì¤é¤òÂоݤ˽èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.RE
+-
+-.LP
+-.LP
+-¼¡¤Îɽ¤Ï¡¢JDK 1.1.x¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤¬¡¢Java 2¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤É¤Î¤è¤¦¤Ë°·¤ï¤ì¤ë¤«¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
+-.LP
+-.LP
+-.TS
+-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
+-.de 35
+-.ps \n(.s
+-.vs \n(.vu
+-.in \n(.iu
+-.if \n(.u .fi
+-.if \n(.j .ad
+-.if \n(.j=0 .na
+-..
+-.nf
+-.nr #~ 0
+-.if n .nr #~ 0.6n
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.fc
+-.nr 33 \n(.s
+-.rm 80 81 82 83 84
+-.nr 34 \n(.lu
+-.eo
+-.am 80
+-.br
+-.di a+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(80 .ll \n(80u
+-.in 0
+-\f3JAR¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥×\fP
+-.br
+-.di
+-.nr a| \n(dn
+-.nr a- \n(dl
+-..
+-.ec \
+-.eo
+-.am 81
+-.br
+-.di b+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(81 .ll \n(81u
+-.in 0
+-\f31.1¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£\fP
+-.br
+-.di
+-.nr b| \n(dn
+-.nr b- \n(dl
+-..
+-.ec \
+-.eo
+-.am 82
+-.br
+-.di c+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(82 .ll \n(82u
+-.in 0
+-\f31.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava 2 Platform¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤ë¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£(4)\fP
+-.br
+-.di
+-.nr c| \n(dn
+-.nr c- \n(dl
+-..
+-.ec \
+-.eo
+-.am 83
+-.br
+-.di d+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(83 .ll \n(83u
+-.in 0
+-\f3¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤ËÆÃ¸¢¤òÉÕÍ¿\fP
+-.br
+-.di
+-.nr d| \n(dn
+-.nr d- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di e+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢
+-.br
+-.di
+-.nr e| \n(dn
+-.nr e- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di f+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢
+-.br
+-.di
+-.nr f| \n(dn
+-.nr f- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di g+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢
+-.br
+-.di
+-.nr g| \n(dn
+-.nr g- \n(dl
+-..
+-.ec \
+-.eo
+-.am 81
+-.br
+-.di h+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(81 .ll \n(81u
+-.in 0
+-¤Ï¤¤/¿®Íê¤Ç¤­¤Ê¤¤
+-.br
+-.di
+-.nr h| \n(dn
+-.nr h- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di i+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢(3)
+-.br
+-.di
+-.nr i| \n(dn
+-.nr i- \n(dl
+-..
+-.ec \
+-.eo
+-.am 81
+-.br
+-.di j+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(81 .ll \n(81u
+-.in 0
+-¤Ï¤¤/¿®Íê¤Ç¤­¤Ê¤¤
+-.br
+-.di
+-.nr j| \n(dn
+-.nr j- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di k+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢(1¡¢3)
+-.br
+-.di
+-.nr k| \n(dn
+-.nr k- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di l+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢¤È¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢
+-.br
+-.di
+-.nr l| \n(dn
+-.nr l- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di m+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢¤È¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢(2)
+-.br
+-.di
+-.nr m| \n(dn
+-.nr m- \n(dl
+-..
+-.ec \
+-.35
+-.nf
+-.ll \n(34u
+-.nr 80 0
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾¤Î¤Ê¤¤JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.80
+-.rm 80
+-.nr 38 \n(a-
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 81 0
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤­¤ë
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤­¤ë
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤­¤ë
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤­¤ë
+-.if \n(81<\n(38 .nr 81 \n(38
+-.81
+-.rm 81
+-.nr 38 \n(b-
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \n(h-
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \n(j-
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 82 0
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.82
+-.rm 82
+-.nr 38 \n(c-
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 83 0
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(83<\n(38 .nr 83 \n(38
+-.83
+-.rm 83
+-.nr 38 \n(d-
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 84 0
+-.nr 38 \w\f3ÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢\fP
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.84
+-.rm 84
+-.nr 38 \n(e-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(f-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(g-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(i-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(k-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(l-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(m-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.35
+-.nf
+-.ll \n(34u
+-.nr 38 1n
+-.nr 79 0
+-.nr 40 \n(79+(0*\n(38)
+-.nr 80 +\n(40
+-.nr 41 \n(80+(3*\n(38)
+-.nr 81 +\n(41
+-.nr 42 \n(81+(3*\n(38)
+-.nr 82 +\n(42
+-.nr 43 \n(82+(3*\n(38)
+-.nr 83 +\n(43
+-.nr 44 \n(83+(3*\n(38)
+-.nr 84 +\n(44
+-.nr TW \n(84
+-.if t .if \n(TW>\n(.li .tm Table at line 1090 file Input is too wide - \n(TW units
+-.fc  
+-.nr #T 0-1
+-.nr #a 0-1
+-.eo
+-.de T#
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.mk ##
+-.nr ## -1v
+-.ls 1
+-.ls
+-..
+-.ec
+-.ne \n(a|u+\n(.Vu
+-.ne \n(b|u+\n(.Vu
+-.ne \n(c|u+\n(.Vu
+-.ne \n(d|u+\n(.Vu
+-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
+-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
+-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
+-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3ÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢\fP
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(40u
+-.in +\n(37u
+-.a+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(41u
+-.in +\n(37u
+-.b+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(42u
+-.in +\n(37u
+-.c+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(43u
+-.in +\n(37u
+-.d+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(e|u+\n(.Vu
+-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.e+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(f|u+\n(.Vu
+-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾¤Î¤Ê¤¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.f+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(g|u+\n(.Vu
+-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.g+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(h|u+\n(.Vu
+-.ne \n(i|u+\n(.Vu
+-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
+-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(41u
+-.in +\n(37u
+-.h+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.i+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(j|u+\n(.Vu
+-.ne \n(k|u+\n(.Vu
+-.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v)
+-.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤Ï¤¤\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(41u
+-.in +\n(37u
+-.j+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.k+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(l|u+\n(.Vu
+-.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤Ï¤¤\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.l+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(m|u+\n(.Vu
+-.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤­¤ë\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤Ï¤¤\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.m+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤­¤ë\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤­¤ë\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤­¤ë\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤Ï¤¤\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1)
+-.fc
+-.nr T. 1
+-.T# 1
+-.35
+-.rm a+
+-.rm b+
+-.rm c+
+-.rm d+
+-.rm e+
+-.rm f+
+-.rm g+
+-.rm h+
+-.rm i+
+-.rm j+
+-.rm k+
+-.rm l+
+-.rm m+
+-.TE
+-.if \n-(b.=0 .nr c. \n(.c-\n(d.-50
+-
+-.LP
+-.LP
+-Ãí°Õ:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤Ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ë¤Ä¤¤¤Æ¤Î¸ÀµÚ¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤ò¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¡¢ÉÕÍ¿¤µ¤ì¤¿ÆÃ¸¢¤Ë¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤬ȿ±Ç¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.TP 3
+-2.
+-¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë/¥­¡¼¥¹¥È¥¢¤ÎÁȹ礻¤Ï¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£
+-.TP 3
+-3.
+-Java 2¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢¿®Íê¤Ç¤­¤Ê¤¤¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-4.
+-Java 2 SDK¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤­¤ë¤Î¤Ï¡¢¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Î¤ß¤Ç¤¹¡£
+-.RE
+-
+-.LP
+-.SH "´ØÏ¢¹àÌÜ"
+-.LP
+-.RS 3
+-.TP 2
+-o
+-jar(1)¥Ä¡¼¥ë¤Î¥É¥­¥å¥á¥ó¥È
+-.TP 2
+-o
+-keytool(1)¥Ä¡¼¥ë¤Î¥É¥­¥å¥á¥ó¥È
+-.TP 2
+-o
+-\f3jarsigner\fP¥Ä¡¼¥ë¤Î»ÈÍÑÎã¤Ï¡¢
+-.na
+-\f4Java¥Á¥å¡¼¥È¥ê¥¢¥ë\fP @
+-.fi
+-http://docs.oracle.com/javase/tutorial/index.html¤Î
+-.na
+-\f4¥»¥­¥å¥ê¥Æ¥£\fP @
+-.fi
+-http://docs.oracle.com/javase/tutorial/security/index.html¤ò»²¾È
+-.RE
+-
+-.LP
+-
++'pl 8.5i
++'bp
+--- ./jdk/src/linux/doc/man/jarsigner.1 Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/linux/doc/man/jarsigner.1 Thu Dec 19 09:01:16 2013 -0800
+@@ -1,1569 +1,985 @@
+-." Copyright (c) 1998, 2011, 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.
+-."
+-." 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.
+-."
+-.TH jarsigner 1 "16 Mar 2012"
++'\" t
++.\" Copyright (c) 1998, 2013, 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.
++.\"
++.\" 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.
++.\"
++.\" Arch: generic
++.\" Software: JDK 7
++.\" Date: 6 August 2013
++.\" SectDesc: Security Tools
++.\" Title: jarsigner.1
++.\"
++.if n .pl 99999
++.TH jarsigner 1 "6 August 2013" "JDK 7" "Security Tools"
++.\" -----------------------------------------------------------------
++.\" * Define some portability stuff
++.\" -----------------------------------------------------------------
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.\" http://bugs.debian.org/507673
++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.ie \n(.g .ds Aq \(aq
++.el .ds Aq '
++.\" -----------------------------------------------------------------
++.\" * set default formatting
++.\" -----------------------------------------------------------------
++.\" disable hyphenation
++.nh
++.\" disable justification (adjust text to left margin only)
++.ad l
++.\" -----------------------------------------------------------------
++.\" * MAIN CONTENT STARTS HERE *
++.\" -----------------------------------------------------------------
+
+-.LP
+-.SH "Name"
+-jarsigner \- JAR Signing and Verification Tool
+-.LP
+-.LP
+-Generates signatures for Java ARchive (JAR) files, and verifies the signatures of signed JAR files.
+-.LP
+-.SH "SYNOPSIS"
+-.LP
+-.nf
+-\f3
+-.fl
+-\fP\f3jarsigner\fP [ options ] jar\-file alias
+-.fl
+-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...]
+-.fl
+-.fi
++.SH NAME
++jarsigner \- Signs and verifies Java Archive (JAR) files\&.
++.SH SYNOPSIS
++.sp
++.nf
+
+-.LP
+-.LP
+-The jarsigner \-verify command can take zero or more keystore alias names after the jar filename. When specified, jarsigner will check that the certificate used to verify each signed entry in the jar file matches one of the keystore aliases. The aliases are defined in the keystore specified by \-keystore, or the default keystore.
+-.LP
+-.SH "DESCRIPTION"
+-.LP
+-.LP
+-The \f3jarsigner\fP tool is used for two purposes:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-to sign Java ARchive (JAR) files, and
+-.TP 3
+-2.
+-to verify the signatures and integrity of signed JAR files.
+-.RE
++\fBjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR
++.fi
++.nf
+
+-.LP
+-.LP
+-The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution. A tool named jar(1) enables developers to produce JAR files. (Technically, any zip file can also be considered a JAR file, although when created by \f3jar\fP or processed by \f3jarsigner\fP, JAR files also contain a META\-INF/MANIFEST.MF file.)
+-.LP
+-.LP
+-A \f2digital signature\fP is a string of bits that is computed from some data (the data being "signed") and the private key of an entity (a person, company, etc.). Like a handwritten signature, a digital signature has many useful characteristics:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-Its authenticity can be verified, via a computation that uses the public key corresponding to the private key used to generate the signature.
+-.TP 2
+-o
+-It cannot be forged, assuming the private key is kept secret.
+-.TP 2
+-o
+-It is a function of the data signed and thus can't be claimed to be the signature for other data as well.
+-.TP 2
+-o
+-The signed data cannot be changed; if it is, the signature will no longer verify as being authentic.
+-.RE
++\fBjarsigner\fR \fB\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR]
++.fi
++.sp
++.TP
++\fIoptions\fR
++The command-line options\&. See Options\&.
++.TP
++-verify
++.br
++The \f3-verify\fR option can take zero or more keystore alias names after the JAR file name\&. When the \f3-verify\fR option is specified, the \f3jarsigner\fR command checks that the certificate used to verify each signed entry in the JAR file matches one of the keystore aliases\&. The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&.
+
+-.LP
+-.LP
+-In order for an entity's signature to be generated for a file, the entity must first have a public/private key pair associated with it, and also one or more certificates authenticating its public key. A \f2certificate\fP is a digitally signed statement from one entity, saying that the public key of some other entity has a particular value.
+-.LP
+-.LP
+-\f3jarsigner\fP uses key and certificate information from a \f2keystore\fP to generate digital signatures for JAR files. A keystore is a database of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. The keytool(1) utility is used to create and administer keystores.
+-.LP
+-.LP
+-\f3jarsigner\fP uses an entity's private key to generate a signature. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file. \f3jarsigner\fP can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file).
+-.LP
+-.LP
+-\f3jarsigner\fP can generate signatures that include a timestamp, thus enabling systems/deployer (including Java Plug\-in) to check whether the JAR file was signed while the signing certificate was still valid. In addition, APIs will allow applications to obtain the timestamp information.
+-.LP
+-.LP
+-At this time, \f3jarsigner\fP can only sign JAR files created by the SDK jar(1) tool or zip files. (JAR files are the same as zip files, except they also have a META\-INF/MANIFEST.MF file. Such a file will automatically be created when \f3jarsigner\fP signs a zip file.)
+-.LP
+-.LP
+-The default \f3jarsigner\fP behavior is to \f2sign\fP a JAR (or zip) file. Use the \f2\-verify\fP option to instead have it \f2verify\fP a signed JAR file.
+-.LP
+-.SS
+-Keystore Aliases
+-.LP
+-.LP
+-All keystore entities are accessed via unique \f2aliases\fP.
+-.LP
+-.LP
+-When using \f3jarsigner\fP to sign a JAR file, you must specify the alias for the keystore entry containing the private key needed to generate the signature. For example, the following will sign the JAR file named "MyJARFile.jar", using the private key associated with the alias "duke" in the keystore named "mystore" in the "working" directory. Since no output file is specified, it overwrites MyJARFile.jar with the signed JAR file.
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke
+-.fl
+-\fP
+-.fi
++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar verified, with signer errors" is displayed\&.
++.TP
++\fIjar-file\fR
++The JAR file to be signed\&.
+
+-.LP
+-.LP
+-Keystores are protected with a password, so the store password must be specified. You will be prompted for it if you don't specify it on the command line. Similarly, private keys are protected in a keystore with a password, so the private key's password must be specified, and you will be prompted for it if you don't specify it on the command line and it isn't the same as the store password.
+-.LP
+-.SS
+-Keystore Location
+-.LP
+-.LP
+-\f3jarsigner\fP has a \f2\-keystore\fP option for specifying the URL of the keystore to be used. The keystore is by default stored in a file named \f2.keystore\fP in the user's home directory, as determined by the \f2user.home\fP system property. On Solaris systems \f2user.home\fP defaults to the user's home directory.
+-.LP
+-.LP
+-Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based, for example, if it resides on a hardware token device.
+-.LP
+-.SS
+-Keystore Implementation
+-.LP
+-.LP
+-The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore.
+-.LP
+-.LP
+-Currently, there are two command\-line tools that make use of keystore implementations (\f3keytool\fP and \f3jarsigner\fP), and also a GUI\-based tool named \f3Policy Tool\fP. Since \f2KeyStore\fP is publicly available, Java 2 SDK users can write additional security applications that use it.
+-.LP
+-.LP
+-There is a built\-in default implementation, provided by Sun Microsystems. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password.
+-.LP
+-.LP
+-Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a provider and supply a KeystoreSpi subclass implementation, as described in
+-.na
+-\f2How to Implement a Provider for the Java Cryptography Architecture\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html.
+-.LP
+-.LP
+-Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible.
+-.LP
+-.LP
+-\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL.
+-.LP
+-.LP
+-For \f3jarsigner\fP and \f3keytool\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Change Keystore" command in the Edit menu.
+-.LP
+-.LP
+-If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the SDK security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment).
+-.LP
+-.LP
+-Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider.
+-.LP
+-.LP
+-The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property):
+-.LP
+-.nf
+-\f3
+-.fl
+- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
+-.fl
+-\fP
+-.fi
++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar signed, with signer errors" is displayed\&.
++.TP
++\fIalias\fR
++The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&.
++.SH DESCRIPTION
++The \f3jarsigner\fR tool has two purposes:
++.TP 0.2i
++\(bu
++To sign Java Archive (JAR) files\&.
++.TP 0.2i
++\(bu
++To verify the signatures and integrity of signed JAR files\&.
++.PP
++The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution\&. A tool named \f3jar\fR enables developers to produce JAR files\&. (Technically, any zip file can also be considered a JAR file, although when created by the \f3jar\fR command or processed by the \f3jarsigner\fR command, JAR files also contain a \f3META-INF/MANIFEST\&.MF\fR file\&.)
++.PP
++A digital signature is a string of bits that is computed from some data (the data being signed) and the private key of an entity (a person, company, and so on)\&. Similar to a handwritten signature, a digital signature has many useful characteristics:
++.TP 0.2i
++\(bu
++Its authenticity can be verified by a computation that uses the public key corresponding to the private key used to generate the signature\&.
++.TP 0.2i
++\(bu
++It cannot be forged, assuming the private key is kept secret\&.
++.TP 0.2i
++\(bu
++It is a function of the data signed and thus cannot be claimed to be the signature for other data as well\&.
++.TP 0.2i
++\(bu
++The signed data cannot be changed\&. If the data is changed, then the signature cannot be verified as authentic\&.
++.PP
++To generate an entity\&'s signature for a file, the entity must first have a public/private key pair associated with it and one or more certificates that authenticate its public key\&. A certificate is a digitally signed statement from one entity that says that the public key of another entity has a particular value\&.
++.PP
++The \f3jarsigner\fR command uses key and certificate information from a keystore to generate digital signatures for JAR files\&. A keystore is a database of private keys and their associated X\&.509 certificate chains that authenticate the corresponding public keys\&. The \f3keytool\fR command is used to create and administer keystores\&.
++.PP
++The \f3jarsigner\fR command uses an entity\&'s private key to generate a signature\&. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file\&. The \f3jarsigner\fR command can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file)\&.
++.PP
++The \f3jarsigner\fR command can generate signatures that include a time stamp that lets a systems or deployer (including Java Plug-in) to check whether the JAR file was signed while the signing certificate was still valid\&. In addition, APIs allow applications to obtain the timestamp information\&.
++.PP
++At this time, the \f3jarsigner\fR command can only sign JAR files created by the \f3jar\fR command or zip files\&. JAR files are the same as zip files, except they also have a \f3META-INF/MANIFEST\&.MF\fR file\&. A \f3META-INF/MANIFEST\&.MF\fR file is created when the \f3jarsigner\fR command signs a zip file\&.
++.PP
++The default \f3jarsigner\fR command behavior is to sign a JAR or zip file\&. Use the \f3-verify\fR option to verify a signed JAR file\&.
++.PP
++The \f3jarsigner\fR command also attempts to validate the signer\&'s certificate after signing or verifying\&. If there is a validation error or any other problem, the command generates warning messages\&. If you specify the \f3-strict\fR option, then the command treats severe warnings as errors\&. See Errors and Warnings\&.
++.SS KEYSTORE\ ALIASES
++All keystore entities are accessed with unique aliases\&.
++.PP
++When you use the \f3jarsigner\fR command to sign a JAR file, you must specify the alias for the keystore entry that contains the private key needed to generate the signature\&. For example, the following command signs the JAR file named \f3MyJARFile\&.jar\fR with the private key associated with the alias \f3duke\fR in the keystore named \f3mystore\fR in the \f3working\fR directory\&. Because no output file is specified, it overwrites \f3MyJARFile\&.jar\fR with the signed JAR file\&.
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore \-storepass <keystore password>\fP
++.fi
++.nf
++\f3 \-keypass <private key password> MyJARFile\&.jar duke\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++Keystores are protected with a password, so the store password must be specified\&. You are prompted for it when you do not specify it on the command line\&. Similarly, private keys are protected in a keystore with a password, so the private key\&'s password must be specified, and you are prompted for the password when you do not specify it on the command line and it is not the same as the store password\&.
++.SS KEYSTORE\ LOCATION
++The \f3jarsigner\fR command has a \f3-keystore\fR option for specifying the URL of the keystore to be used\&. The keystore is by default stored in a file named \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&.
++.PP
++On Oracle Solaris systems, \f3user\&.home\fR defaults to the user\&'s home directory\&.
++.PP
++The input stream from the \f3-keystore\fR option is passed to the \f3KeyStore\&.load\fR method\&. If \f3NONE\fR is specified as the URL, then a null stream is passed to the \f3KeyStore\&.load\fR method\&. \f3NONE\fR should be specified when the \f3KeyStore\fR class is not file based, for example, when it resides on a hardware token device\&.
++.SS KEYSTORE\ IMPLEMENTATION
++The \f3KeyStore\fR class provided in the \f3java\&.security\fR package supplies a number of well-defined interfaces to access and modify the information in a keystore\&. You can have multiple different concrete implementations, where each implementation is for a particular type of keystore\&.
++.PP
++Currently, there are two command-line tools that use keystore implementations (\f3keytool\fR and \f3jarsigner\fR), and a GUI-based tool named Policy Tool\&. Because the \f3KeyStore\fR class is publicly available, JDK users can write additional security applications that use it\&.
++.PP
++There is a built-in default implementation provided by Oracle that implements the keystore as a file, that uses a proprietary keystore type (format) named JKS\&. The built-in implementation protects each private key with its individual password and protects the integrity of the entire keystore with a (possibly different) password\&.
++.PP
++Keystore implementations are provider-based, which means the application interfaces supplied by the \f3KeyStore\fR class are implemented in terms of a Service Provider Interface (SPI)\&. There is a corresponding abstract \f3KeystoreSpi\fR class, also in the \f3java\&.security package\fR, that defines the Service Provider Interface methods that providers must implement\&. The term provider refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API\&. To provide a keystore implementation, clients must implement a provider and supply a \f3KeystoreSpi\fR subclass implementation, as described in How to Implement a Provider in the Java Cryptography Architecture at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html
++.PP
++Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&.
++.PP
++The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
++.PP
++For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&.
++.PP
++If you do not explicitly specify a keystore type, then the tools choose a keystore implementation based on the value of the \f3keystore\&.type\fR property specified in the security properties file\&. The security properties file is called \f3java\&.security\fR, and it resides in the JDK security properties directory, \f3java\&.home/lib/security\fR, where \f3java\&.home\fR is the runtime environment\&'s directory\&. The \f3jre\fR directory in the JDK or the top-level directory of the Java Runtime Environment (JRE)\&.
++.PP
++Each tool gets the \f3keystore\&.type\fR value and then examines all the installed providers until it finds one that implements keystores of that type\&. It then uses the keystore implementation from that provider\&.
++.PP
++The \f3KeyStore\fR class defines a static method named \f3getDefaultType\fR that lets applications and applets retrieve the value of the \f3keystore\&.type\fR property\&. The following line of code creates an instance of the default keystore type as specified in the \f3keystore\&.type property\fR:
++.sp
++.nf
++\f3KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++The default keystore type is \f3jks\fR (the proprietary type of the keystore implementation provided by Oracle)\&. This is specified by the following line in the security properties file:
++.sp
++.nf
++\f3keystore\&.type=jks\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++Case does not matter in keystore type designations\&. For example, \f3JKS\fR is the same as \f3jks\fR\&.
++.PP
++To have the tools use a keystore implementation other than the default, change that line to specify a different keystore type\&. For example, if you have a provider package that supplies a keystore implementation for a keystore type called \f3pkcs12\fR, then change the line to the following:
++.sp
++.nf
++\f3keystore\&.type=pkcs12\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR If you use the PKCS 11 provider package, then see "KeyTool" and "JarSigner" in Java PKCS #11 Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html
++.SS SUPPORTED\ ALGORITHMS
++By default, the \f3jarsigner\fR command signs a JAR file using one of the following algorithms:
++.TP 0.2i
++\(bu
++Digital Signature Algorithm (DSA) with the SHA1 digest algorithm
++.TP 0.2i
++\(bu
++RSA algorithm with the SHA256 digest algorithm
++.TP 0.2i
++\(bu
++Elliptic Curve (EC) cryptography algorithm with the SHA256 with Elliptic Curve Digital Signature Algorithm (ECDSA)\&.
++.PP
++If the signer\&'s public and private keys are DSA keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA1withDSA\fR algorithm\&. If the signer\&'s keys are RSA keys, then \f3jarsigner\fR attempts to sign the JAR file with the \f3SHA256withRSA\fR algorithm\&. If the signer\&'s keys are EC keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA256withECDSA\fR algorithm\&.
++.PP
++These default signature algorithms can be overridden using the \f3-sigalg\fR option\&.
++.SS THE\ SIGNED\ JAR\ FILE
++When the \f3jarsigner\fR command is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META-INF directory:
++.TP 0.2i
++\(bu
++A signature file with an \f3\&.SF\fR extension
++.TP 0.2i
++\(bu
++A signature block file with a \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR extension
++.PP
++The base file names for these two files come from the value of the \f3-sigFile\fR option\&. For example, when the option is \f3-sigFile MKSIGN\fR, the files are named \f3MKSIGN\&.SF\fR and \f3MKSIGN\&.DSA\fR
++.PP
++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to uppercase\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not allowed in a signature file name, then each such character is converted to an underscore (_) character in forming the file name\&. Valid characters include letters, digits, underscores, and hyphens\&.
++.PP
++Signature File
+
+-.LP
+-.LP
+-The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Sun). This is specified by the following line in the security properties file:
+-.LP
+-.nf
+-\f3
+-.fl
+- keystore.type=jks
+-.fl
+-\fP
+-.fi
++A signature file (\f3\&.SF\fR file) looks similar to the manifest file that is always included in a JAR file when the \f3jarsigner\fR command is used to sign the file\&. For each source file included in the JAR file, the \f3\&.SF\fR file has three lines, such as in the manifest file, that list the following:
++.TP 0.2i
++\(bu
++File name
++.TP 0.2i
++\(bu
++Name of the digest algorithm (SHA)
++.TP 0.2i
++\(bu
++SHA digest value
++.PP
++In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file\&. In the \f3\&.SF\fR file, the digest value for a specified source file is the hash of the three lines in the manifest file for the source file\&.
++.PP
++The signature file, by default, includes a header with a hash of the whole manifest file\&. The header also contains a hash of the manifest header\&. The presence of the header enables verification optimization\&. See JAR File Verification\&.
++.PP
++Signature Block File
+
+-.LP
+-.LP
+-Note: Case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks".
+-.LP
+-.LP
+-To have the tools utilize a keystore implementation other than the default, change that line to specify a different keystore type. For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to
+-.LP
+-.nf
+-\f3
+-.fl
+- keystore.type=pkcs12
+-.fl
+-\fP
+-.fi
++The \f3\&.SF\fR file is signed and the signature is placed in the signature block file\&. This file also contains, encoded inside it, the certificate or certificate chain from the keystore that authenticates the public key corresponding to the private key used for signing\&. The file has the extension \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR, depending on the digest algorithm used\&.
++.SS SIGNATURE\ TIME\ STAMP
++The \f3jarsigner\fR command can generate and store a signature time stamp when signing a JAR file\&. In addition, \f3jarsigner\fR supports alternative signing mechanisms\&. This behavior is optional and is controlled by the user at the time of signing through these options\&. See Options\&.
++.sp
++.nf
++\f3\-tsa \fIurl\fR\fP
++.fi
++.nf
++\f3\-tsacert \fIalias\fR\fP
++.fi
++.nf
++\f3\-altsigner \fIclass\fR\fP
++.fi
++.nf
++\f3\-altsignerpath \fIclasspathlist\fR\fP
++.fi
++.nf
++\f3\-tsapolicyid \fIpolicyid\fR\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS JAR\ FILE\ VERIFICATION
++A successful JAR file verification occurs when the signatures are valid, and none of the files that were in the JAR file when the signatures were generated have changed since then\&. JAR file verification involves the following steps:
++.TP 0.4i
++1\&.
++Verify the signature of the \f3\&.SF\fR file\&.
+
+-.LP
+-.LP
+-Note that if you us the PKCS#11 provider package, you should refer to the
+-.na
+-\f2KeyTool and JarSigner\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner section of the Java PKCS#11 Reference Guide for details.
+-.LP
+-.SS
+-Supported Algorithms
+-.LP
+-.LP
+-By default, \f3jarsigner\fP signs a JAR file using one of the following:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-DSA (Digital Signature Algorithm) with the SHA1 digest algorithm
+-.TP 2
+-o
+-RSA algorithm with the SHA256 digest algorithm.
+-.TP 2
+-o
+-EC (Elliptic Curve) cryptography algorithm with the SHA256 with ECDSA (Elliptic Curve Digital Signature Algorithm).
+-.RE
++The verification ensures that the signature stored in each signature block (\f3\&.DSA\fR) file was generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the \f3\&.DSA\fR file\&. It also ensures that the signature is a valid signature of the corresponding signature (\f3\&.SF\fR) file, and thus the \f3\&.SF\fR file was not tampered with\&.
++.TP 0.4i
++2\&.
++Verify the digest listed in each entry in the \f3\&.SF\fR file with each corresponding section in the manifest\&.
+
+-.LP
+-.LP
+-That is, if the signer's public and private keys are DSA keys, \f3jarsigner\fP will sign the JAR file using the "SHA1withDSA" algorithm. If the signer's keys are RSA keys, \f3jarsigner\fP will attempt to sign the JAR file using the "SHA256withRSA" algorithm. If the signer's keys are EC keys, \f3jarsigner\fP will sign the JAR file using the "SHA256withECDSA" algorithm.
+-.LP
+-.LP
+-These default signature algorithms can be overridden using the \f2\-sigalg\fP option.
+-.LP
+-.SS
+-The Signed JAR File
+-.LP
+-.LP
+-When \f3jarsigner\fP is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META\-INF directory:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-a signature file, with a .SF extension, and
+-.TP 2
+-o
+-a signature block file, with a .DSA, .RSA, or .EC extension.
+-.RE
++The \f3\&.SF\fR file by default includes a header that contains a hash of the entire manifest file\&. When the header is present, the verification can check to see whether or not the hash in the header matches the hash of the manifest file\&. If there is a match, then verification proceeds to the next step\&.
+
+-.LP
+-.LP
+-The base file names for these two files come from the value of the \f2\-sigFile\fP option. For example, if the option appears as
+-.LP
+-.nf
+-\f3
+-.fl
+-\-sigFile MKSIGN
+-.fl
+-\fP
+-.fi
++If there is no match, then a less optimized verification is required to ensure that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See Signature File\&.
+
+-.LP
+-.LP
+-The files are named "MKSIGN.SF" and "MKSIGN.DSA".
+-.LP
+-.LP
+-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not allowed in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. Legal characters include letters, digits, underscores, and hyphens.
+-.LP
+-\f3The Signature (.SF) File\fP
+-.LP
+-.LP
+-A signature file (the .SF file) looks similar to the manifest file that is always included in a JAR file when \f3jarsigner\fP is used to sign the file. That is, for each source file included in the JAR file, the .SF file has three lines, just as in the manifest file, listing the following:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-the file name,
+-.TP 2
+-o
+-the name of the digest algorithm used (SHA), and
+-.TP 2
+-o
+-a SHA digest value.
+-.RE
++One reason the hash of the manifest file that is stored in the \f3\&.SF\fR file header might not equal the hash of the current manifest file is that one or more files were added to the JAR file (with the \f3jar\fR tool) after the signature and \f3\&.SF\fR file were generated\&. When the \f3jar\fR tool is used to add files, the manifest file is changed by adding sections to it for the new files, but the \f3\&.SF\fR file is not changed\&. A verification is still considered successful when none of the files that were in the JAR file when the signature was generated have been changed since then\&. This happens when the hashes in the non-header sections of the \f3\&.SF\fR file equal the hashes of the corresponding sections in the manifest file\&.
++.TP 0.4i
++3\&.
++Read each file in the JAR file that has an entry in the \f3\&.SF\fR file\&. While reading, compute the file\&'s digest and compare the result with the digest for this file in the manifest section\&. The digests should be the same or verification fails\&.
+
+-.LP
+-.LP
+-In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file. In the .SF file, on the other hand, the digest value for a given source file is the hash of the three lines in the manifest file for the source file.
+-.LP
+-.LP
+-The signature file also, by default, includes a header containing a hash of the whole manifest file. The presence of the header enables verification optimization, as described in JAR File Verification.
+-.LP
+-\f3The Signature Block File\fP
+-.LP
+-The .SF file is signed and the signature is placed in the signature block file. This file also contains, encoded inside it, the certificate or certificate chain from the keystore which authenticates the public key corresponding to the private key used for signing. The file has the extension .DSA, .RSA, or .EC depending on the digest algorithm used.
+-.SS
+-Signature Timestamp
+-.LP
+-.LP
+-\f2jarsigner\fP tool can generate and store a signature timestamp when signing a JAR file. In addition, \f2jarsigner\fP supports alternative signing mechanisms. This behavior is optional and is controlled by the user at the time of signing through these options:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-\f2\-tsa url\fP
+-.TP 2
+-o
+-\f2\-tsacert alias\fP
+-.TP 2
+-o
+-\f2\-altsigner class\fP
+-.TP 2
+-o
+-\f2\-altsignerpath classpathlist\fP
+-.RE
++If any serious verification failures occur during the verification process, then the process is stopped and a security exception is thrown\&. The \f3jarsigner\fR command catches and displays the exception\&.
++.PP
++\fINote:\fR You should read any addition warnings (or errors if you specified the \f3-strict\fR option), as well as the content of the certificate (by specifying the \f3-verbose\fR and \f3-certs\fR options) to determine if the signature can be trusted\&.
++.SS MULTIPLE\ SIGNATURES\ FOR\ A\ JAR\ FILE
++A JAR file can be signed by multiple people by running the \f3jarsigner\fR command on the file multiple times and specifying the alias for a different person each time, as follows:
++.sp
++.nf
++\f3jarsigner myBundle\&.jar susan\fP
++.fi
++.nf
++\f3jarsigner myBundle\&.jar kevin\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++When a JAR file is signed multiple times, there are multiple \f3\&.SF\fR and \f3\&.DSA\fR files in the resulting JAR file, one pair for each signature\&. In the previous example, the output JAR file includes files with the following names:
++.sp
++.nf
++\f3SUSAN\&.SF\fP
++.fi
++.nf
++\f3SUSAN\&.DSA\fP
++.fi
++.nf
++\f3KEVIN\&.SF\fP
++.fi
++.nf
++\f3KEVIN\&.DSA\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1\&.1 by the \f3javakey\fR command and others by \f3jarsigner\fR\&. The \f3jarsigner\fR command can be used to sign JAR files that are already signed with the \f3javakey\fR command\&.
++.SH OPTIONS
++The following sections describe the various \f3jarsigner\fR options\&. Be aware of the following standards:
++.TP 0.2i
++\(bu
++All option names are preceded by a minus sign (-)\&.
++.TP 0.2i
++\(bu
++The options can be provided in any order\&.
++.TP 0.2i
++\(bu
++Items that are in italics or underlined (option values) represent the actual values that must be supplied\&.
++.TP 0.2i
++\(bu
++The \f3-storepass\fR, \f3-keypass\fR, \f3-sigfile\fR, \f3-sigalg\fR, \f3-digestalg\fR, \f3-signedjar\fR, and TSA-related options are only relevant when signing a JAR file; they are not relevant when verifying a signed JAR file\&. The \f3-keystore\fR option is relevant for signing and verifying a JAR file\&. In addition, aliases are specified when signing and verifying a JAR file\&.
++.TP
++-keystore \fIurl\fR
++.br
++Specifies the URL that tells the keystore location\&. This defaults to the file \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&.
+
+-.LP
+-.LP
+-Each of these options is detailed in the Options section below.
+-.LP
+-.SS
+-JAR File Verification
+-.LP
+-.LP
+-A successful JAR file verification occurs if the signature(s) are valid, and none of the files that were in the JAR file when the signatures were generated have been changed since then. JAR file verification involves the following steps:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-Verify the signature of the .SF file itself.
++A keystore is required when signing\&. You must explicitly specify a keystore when the default keystore does not exist or if you want to use one other than the default\&.
++
++A keystore is not required when verifying, but if one is specified or the default exists and the \f3-verbose\fR option was also specified, then additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore\&.
++
++The \f3-keystore\fR argument can be a file name and path specification rather than a URL, in which case it is treated the same as a file: URL, for example, the following are equivalent:
++.sp
++.nf
++\f3\-keystore \fIfilePathAndName\fR\fP
++.fi
++.nf
++\f3\-keystore file:\fIfilePathAndName\fR\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++If the Sun PKCS #11 provider was configured in the \f3java\&.security\fR security properties file (located in the JRE\&'s \f3$JAVA_HOME/lib/security directory\fR), then the \f3keytool\fR and \f3jarsigner\fR tools can operate on the PKCS #11 token by specifying these options:
++.sp
++.nf
++\f3\-keystore NONE\fP
++.fi
++.nf
++\f3\-storetype PKCS11\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++For example, the following command lists the contents of the configured PKCS#11 token:
++.sp
++.nf
++\f3keytool \-keystore NONE \-storetype PKCS11 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-storetype \fIstoretype\fR
+ .br
++Specifies the type of keystore to be instantiated\&. The default keystore type is the one that is specified as the value of the \f3keystore\&.type\fR property in the security properties file, which is returned by the static \f3getDefaultType\fR method in \f3java\&.security\&.KeyStore\fR\&.
++
++The PIN for a PCKS #11 token can also be specified with the \f3-storepass\fR option\&. If none is specified, then the \f3keytool\fR and \f3jarsigner\fR commands prompt for the token PIN\&. If the token has a protected authentication path (such as a dedicated PIN-pad or a biometric reader), then the \f3-protected\fR option must be specified and no password options can be specified\&.
++.TP
++-storepass[:env | :file] \fIargument\fR
+ .br
+-That is, the verification ensures that the signature stored in each signature block (.DSA) file was in fact generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the .DSA file. It also ensures that the signature is a valid signature of the corresponding signature (.SF) file, and thus the .SF file has not been tampered with.
+-.TP 3
+-2.
+-Verify the digest listed in each entry in the .SF file with each corresponding section in the manifest.
++Specifies the password that is required to access the keystore\&. This is only needed when signing (not verifying) a JAR file\&. In that case, if a \f3-storepass\fR option is not provided at the command line, then the user is prompted for the password\&.
++
++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \fIargument\fR\&. Otherwise, the password is retrieved as follows:
++.RS
++.TP 0.2i
++\(bu
++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&.
++.TP 0.2i
++\(bu
++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&.
++.RE
++
++
++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&.
++.TP
++-keypass [:env | :file] \fIargument\fR
+ .br
++Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line\&. The password is required when using \f3jarsigner\fR to sign a JAR file\&. If no password is provided on the command line, and the required password is different from the store password, then the user is prompted for it\&.
++
++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \f3argument\fR\&. Otherwise, the password is retrieved as follows:
++.RS
++.TP 0.2i
++\(bu
++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&.
++.TP 0.2i
++\(bu
++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&.
++.RE
++
++
++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&.
++.TP
++-sigfile \fIfile\fR
+ .br
+-The .SF file by default includes a header containing a hash of the entire manifest file. When the header is present, then the verification can check to see whether or not the hash in the header indeed matches the hash of the manifest file. If that is the case, verification proceeds to the next step.
++Specifies the base file name to be used for the generated \f3\&.SF\fR and \f3\&.DSA\fR files\&. For example, if file is \f3DUKESIGN\fR, then the generated \f3\&.SF\fR and \f3\&.DSA\fR files are named \f3DUKESIGN\&.SF\fR and \f3DUKESIGN\&.DSA\fR, and placed in the \f3META-INF\fR directory of the signed JAR file\&.
++
++The characters in the file must come from the set \f3a-zA-Z0-9_-\fR\&. Only letters, numbers, underscore, and hyphen characters are allowed\&. All lowercase characters are converted to uppercase for the \f3\&.SF\fR and \f3\&.DSA\fR file names\&.
++
++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to upper case\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not valid in a signature file name, then each such character is converted to an underscore (_) character to form the file name\&.
++.TP
++-sigalg \fIalgorithm\fR
+ .br
++Specifies the name of the signature algorithm to use to sign the JAR file\&.
++
++For a list of standard signature algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA
++
++This algorithm must be compatible with the private key used to sign the JAR file\&. If this option is not specified, then \f3SHA1withDSA\fR, \f3SHA256withRSA\fR, or \f3SHA256withECDSA\fR are used depending on the type of private key\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&.
++.TP
++-digestalg \fIalgorithm\fR
+ .br
+-If that is not the case, a less optimized verification is required to ensure that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file (see The Signature (.SF) File).
++Specifies the name of the message digest algorithm to use when digesting the entries of a JAR file\&.
++
++For a list of standard message digest algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA
++
++If this option is not specified, then \f3SHA256\fR is used\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&.
++.TP
++-certs
+ .br
++If the \f3-certs\fR option appears on the command line with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. This information includes the name of the type of certificate (stored in the \f3\&.DSA\fR file) that certifies the signer\&'s public key, and if the certificate is an X\&.509 certificate (an instance of the \f3java\&.security\&.cert\&.X509Certificate\fR), then the distinguished name of the signer\&.
++
++The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&. If the signer comes from a JDK 1\&.1 identity database instead of from a keystore, then the alias name displays in brackets instead of parentheses\&.
++.TP
++-certchain \fIfile\fR
+ .br
+-One reason the hash of the manifest file that is stored in the .SF file header may not equal the hash of the current manifest file would be because one or more files were added to the JAR file (using the \f2jar\fP tool) after the signature (and thus the .SF file) was generated. When the \f2jar\fP tool is used to add files, the manifest file is changed (sections are added to it for the new files), but the .SF file is not. A verification is still considered successful if none of the files that were in the JAR file when the signature was generated have been changed since then, which is the case if the hashes in the non\-header sections of the .SF file equal the hashes of the corresponding sections in the manifest file.
+-.TP 3
+-3.
+-Read each file in the JAR file that has an entry in the .SF file. While reading, compute the file's digest, and then compare the result with the digest for this file in the manifest section. The digests should be the same, or verification fails.
+-.RE
++Specifies the certificate chain to be used when the certificate chain associated with the private key of the keystore entry that is addressed by the alias specified on the command line is not complete\&. This can happen when the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain\&. The file can be a sequence of concatenated X\&.509 certificates, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard\&. See the section Internet RFC 1421 Certificate Encoding Standard in \f3keytool\fR and http://tools\&.ietf\&.org/html/rfc1421\&.
++.TP
++-verbose
++.br
++When the \f3-verbose\fR option appears on the command line, it indicates verbose mode, which causes \f3jarsigner\fR to output extra information about the progress of the JAR signing or verification\&.
++.TP
++-internalsf
++.br
++In the past, the \f3\&.DSA\fR (signature block) file generated when a JAR file was signed included a complete encoded copy of the \f3\&.SF\fR file (signature file) also generated\&. This behavior has been changed\&. To reduce the overall size of the output JAR file, the \f3\&.DSA\fR file by default does not contain a copy of the \f3\&.SF\fR file anymore\&. If \f3-internalsf\fR appears on the command line, then the old behavior is utilized\&. This option is useful for testing\&. In practice, do not use the \f3-internalsf\fR option because it incurs higher overhead\&.
++.TP
++-sectionsonly
++.br
++If the \f3-sectionsonly\fR option appears on the command line, then the \f3\&.SF\fR file (signature file) generated when a JAR file is signed does not include a header that contains a hash of the whole manifest file\&. It contains only the information and hashes related to each individual source file included in the JAR file\&. See Signature File\&.
+
+-.LP
+-.LP
+-If any serious verification failures occur during the verification process, the process is stopped and a security exception is thrown. It is caught and displayed by \f3jarsigner\fP.
+-.LP
+-.SS
+-Multiple Signatures for a JAR File
+-.LP
+-.LP
+-A JAR file can be signed by multiple people simply by running the \f3jarsigner\fP tool on the file multiple times, specifying the alias for a different person each time, as in:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner myBundle.jar susan
+-.fl
+- jarsigner myBundle.jar kevin
+-.fl
+-\fP
+-.fi
++By default, this header is added, as an optimization\&. When the header is present, whenever the JAR file is verified, the verification can first check to see whether the hash in the header matches the hash of the whole manifest file\&. When there is a match, verification proceeds to the next step\&. When there is no match, it is necessary to do a less optimized verification that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See JAR File Verification\&.
+
+-.LP
+-.LP
+-When a JAR file is signed multiple times, there are multiple .SF and .DSA files in the resulting JAR file, one pair for each signature. Thus, in the example above, the output JAR file includes files with the following names:
+-.LP
+-.nf
+-\f3
+-.fl
+- SUSAN.SF
+-.fl
+- SUSAN.DSA
+-.fl
+- KEVIN.SF
+-.fl
+- KEVIN.DSA
+-.fl
+-\fP
+-.fi
++The \f3-sectionsonly\fR option is primarily used for testing\&. It should not be used other than for testing because using it incurs higher overhead\&.
++.TP
++-protected
++.br
++Values can be either \f3true\fR or \f3false\fR\&. Specify \f3true\fR when a password must be specified through a protected authentication path such as a dedicated PIN reader\&.
++.TP
++-providerClass \fIprovider-class-name\fR
++.br
++Used to specify the name of cryptographic service provider\&'s master class file when the service provider is not listed in the \f3java\&.security\fR security properties file\&.
+
+-.LP
+-.LP
+-Note: It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1.1 \f3javakey\fP tool and others by \f3jarsigner\fP. That is, \f3jarsigner\fP can be used to sign JAR files already previously signed using \f3javakey\fP.
+-.LP
+-.SH "OPTIONS"
+-.LP
+-.LP
+-The various \f3jarsigner\fP options are listed and described below. Note:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-All option names are preceded by a minus sign (\-).
+-.TP 2
+-o
+-The options may be provided in any order.
+-.TP 2
+-o
+-Items in italics (option values) represent the actual values that must be supplied.
+-.TP 2
+-o
+-The \f2\-keystore\fP, \f2\-storepass\fP, \f2\-keypass\fP, \f2\-sigfile\fP, \f2\-sigalg\fP, \f2\-digestalg\fP, and \f2\-signedjar\fP options are only relevant when signing a JAR file, not when verifying a signed JAR file. Similarly, an alias is only specified on the command line when signing a JAR file.
+-.RE
++Used with the \f3-providerArg ConfigFilePath\fR option, the \f3keytool\fR and \f3jarsigner\fR tools install the provider dynamically and use \fIConfigFilePath\fR for the path to the token configuration file\&. The following example shows a command to list a \f3PKCS #11\fR keystore when the Oracle PKCS #11 provider was not configured in the security properties file\&.
++.sp
++.nf
++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerArg /mydir1/mydir2/token\&.config \e\fP
++.fi
++.nf
++\f3 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
+
+-.LP
+-.RS 3
+-.TP 3
+-\-keystore url
+-Specifies the URL that tells the keystore location. This defaults to the file \f2.keystore\fP in the user's home directory, as determined by the "user.home" system property.
++.TP
++-providerName \fIproviderName\fR
+ .br
++If more than one provider was configured in the \f3java\&.security\fR security properties file, then you can use the \f3-providerName\fR option to target a specific provider instance\&. The argument to this option is the name of the provider\&.
++
++For the Oracle PKCS #11 provider, \fIproviderName\fR is of the form \f3SunPKCS11-\fR\fITokenName\fR, where \fITokenName\fR is the name suffix that the provider instance has been configured with, as detailed in the configuration attributes table\&. For example, the following command lists the contents of the \f3PKCS #11\fR keystore provider instance with name suffix \f3SmartCard\fR:
++.sp
++.nf
++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerName SunPKCS11\-SmartCard \e\fP
++.fi
++.nf
++\f3 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-J\fIjavaoption\fR
+ .br
+-A keystore is required when signing, so you must explicitly specify one if the default keystore does not exist (or you want to use one other than the default).
++Passes through the specified \fIjavaoption\fR string directly to the Java interpreter\&. The \f3jarsigner\fR command is a wrapper around the interpreter\&. This option should not contain any spaces\&. It is useful for adjusting the execution environment or memory usage\&. For a list of possible interpreter options, type \f3java -h\fR or \f3java -X\fR at the command line\&.
++.TP
++-tsa \fIurl\fR
+ .br
++If \f3-tsa http://example\&.tsa\&.url\fR appears on the command line when signing a JAR file then a time stamp is generated for the signature\&. The URL, \f3http://example\&.tsa\&.url\fR, identifies the location of the Time Stamping Authority (TSA) and overrides any URL found with the \f3-tsacert\fR option\&. The \f3-tsa\fR option does not require the TSA public key certificate to be present in the keystore\&.
++
++To generate the time stamp, \f3jarsigner\fR communicates with the TSA with the Time-Stamp Protocol (TSP) defined in RFC 3161\&. When successful, the time stamp token returned by the TSA is stored with the signature in the signature block file\&.
++.TP
++-tsacert \fIalias\fR
+ .br
+-A keystore is \f2not\fP required when verifying, but if one is specified, or the default exists, and the \f2\-verbose\fP option was also specified, additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore.
++When \f3-tsacert alias\fR appears on the command line when signing a JAR file, a time stamp is generated for the signature\&. The alias identifies the TSA public key certificate in the keystore that is in effect\&. The entry\&'s certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA\&.
++
++The TSA public key certificate must be present in the keystore when using the \f3-tsacert\fR option\&.
++.TP
++-tsapolicyid \fIpolicyid\fR
+ .br
++Specifies the object identifier (OID) that identifies the policy ID to be sent to the TSA server\&. If this option is not specified, no policy ID is sent and the TSA server will choose a default policy ID\&.
++
++Object identifiers are defined by X\&.696, which is an ITU Telecommunication Standardization Sector (ITU-T) standard\&. These identifiers are typically period-separated sets of non-negative digits like \f31\&.2\&.3\&.4\fR, for example\&.
++.TP
++-altsigner \fIclass\fR
+ .br
+-Note: the \f2\-keystore\fP argument can actually be a file name (and path) specification rather than a URL, in which case it will be treated the same as a "file:" URL. That is,
+-.nf
+-\f3
+-.fl
+- \-keystore \fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-is treated as equivalent to
+-.nf
+-\f3
+-.fl
+- \-keystore file:\fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-If the Sun PKCS#11 provider has been configured in the \f2java.security\fP security properties file (located in the JRE's \f2$JAVA_HOME/lib/security\fP directory), then keytool and jarsigner can operate on the PKCS#11 token by specifying these options:
+-.RS 3
+-.TP 2
+-o
+-\f2\-keystore NONE\fP
+-.TP 2
+-o
+-\f2\-storetype PKCS11\fP
+-.RE
+-For example, this command lists the contents of the configured PKCS#11 token:
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore NONE \-storetype PKCS11 \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-storetype storetype
+-Specifies the type of keystore to be instantiated. The default keystore type is the one that is specified as the value of the "keystore.type" property in the security properties file, which is returned by the static \f2getDefaultType\fP method in \f2java.security.KeyStore\fP.
++This option specifies an alternative signing mechanism\&. The fully qualified class name identifies a class file that extends the \f3com\&.sun\&.jarsigner\&.ContentSigner\fR abstract class\&. The path to this class file is defined by the \f3-altsignerpath\fR option\&. If the \f3-altsigner\fR option is used, then the \f3jarsigner\fR command uses the signing mechanism provided by the specified class\&. Otherwise, the \f3jarsigner\fR command uses its default signing mechanism\&.
++
++For example, to use the signing mechanism provided by a class named \f3com\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR, use the jarsigner option \f3-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR\&.
++.TP
++-altsignerpath \fIclasspathlist\fR
+ .br
++Specifies the path to the class file and any JAR file it depends on\&. The class file name is specified with the \f3-altsigner\fR option\&. If the class file is in a JAR file, then this option specifies the path to that JAR file\&.
++
++An absolute path or a path relative to the current directory can be specified\&. If \fIclasspathlist\fR contains multiple paths or JAR files, then they should be separated with a colon (:) on Oracle Solaris and a semicolon (;) on Windows\&. This option is not necessary when the class is already in the search path\&.
++
++The following example shows how to specify the path to a JAR file that contains the class file\&. The JAR file name is included\&.
++.sp
++.nf
++\f3\-altsignerpath /home/user/lib/authsigner\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++The following example shows how to specify the path to the JAR file that contains the class file\&. The JAR file name is omitted\&.
++.sp
++.nf
++\f3\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-strict
+ .br
+-The PIN for a PCKS#11 token can also be specified using the \f2\-storepass\fP option. If none has been specified, keytool and jarsigner will prompt for the token PIN. If the token has a protected authentication path (such as a dedicated PIN\-pad or a biometric reader), then the \f2\-protected\fP option must be specified and no password options can be specified.
+-.TP 3
+-\-storepass[:env | :file] argument
+-Specifies the password which is required to access the keystore. This is only needed when signing (not verifying) a JAR file. In that case, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for the password.
++During the signing or verifying process, the command may issue warning messages\&. If you specify this option, the exit code of the tool reflects the severe warning messages that this command found\&. See Errors and Warnings\&.
++.TP
++-verbose \fIsuboptions\fR
+ .br
+-.br
+-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows:
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP
+-.TP 2
+-o
+-\f2file\fP: Retrieve the password from the file named \f2argument\fP
+-.RE
+-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system.
+-.TP 3
+-\-keypass[:env | :file] argument
+-Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line. The password is required when using \f3jarsigner\fP to sign a JAR file. If no password is provided on the command line, and the required password is different from the store password, the user is prompted for it.
+-.br
+-.br
+-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows:
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP
+-.TP 2
+-o
+-\f2file\fP: Retrieve the password from the file named \f2argument\fP
+-.RE
+-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system.
+-.TP 3
+-\-sigfile file
+-Specifies the base file name to be used for the generated .SF and .DSA files. For example, if \f2file\fP is "DUKESIGN", the generated .SF and .DSA files will be named "DUKESIGN.SF" and "DUKESIGN.DSA", and will be placed in the "META\-INF" directory of the signed JAR file.
+-.br
+-.br
+-The characters in \f2file\fP must come from the set "a\-zA\-Z0\-9_\-". That is, only letters, numbers, underscore, and hyphen characters are allowed. Note: All lowercase characters will be converted to uppercase for the .SF and .DSA file names.
+-.br
+-.br
+-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not legal in a signature file name, each such character is converted to an underscore ("_") character in forming the file name.
+-.TP 3
+-\-sigalg algorithm
+-Specifies the name of the signature algorithm to use to sign the JAR file.
+-.br
+-.br
+-See
+-.na
+-\f2Appendix A\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard signature algorithm names. This algorithm must be compatible with the private key used to sign the JAR file. If this option is not specified, SHA1withDSA, SHA256withRSA, or SHA256withECDSA will be used depending on the type of private key. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed.
+-.TP 3
+-\-digestalg algorithm
+-Specifies the name of the message digest algorithm to use when digesting the entries of a jar file.
+-.br
+-.br
+-See
+-.na
+-\f2Appendix A\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard message digest algorithm names. If this option is not specified, SHA256 will be used. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed.
+-.TP 3
+-\-signedjar file
+-Specifies the name to be used for the signed JAR file.
+-.br
+-.br
+-If no name is specified on the command line, the name used is the same as the input JAR file name (the name of the JAR file to be signed); in other words, that file is overwritten with the signed JAR file.
+-.TP 3
+-\-verify
+-If this appears on the command line, the specified JAR file will be verified, not signed. If the verification is successful, "jar verified" will be displayed. If you try to verify an unsigned JAR file, or a JAR file signed with an unsupported algorithm (e.g., RSA when you don't have an RSA provider installed), the following is displayed: "jar is unsigned. (signatures missing or not parsable)"
+-.br
+-.br
+-It is possible to verify JAR files signed using either \f3jarsigner\fP or the JDK 1.1 \f3javakey\fP tool, or both.
+-.br
+-.br
+-For further information on verification, see JAR File Verification.
+-.TP 3
+-\-certs
+-If this appears on the command line, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file. This information includes
+-.RS 3
+-.TP 2
+-o
+-the name of the type of certificate (stored in the .DSA file) that certifies the signer's public key
+-.TP 2
+-o
+-if the certificate is an X.509 certificate (more specifically, an instance of \f2java.security.cert.X509Certificate\fP): the distinguished name of the signer
+-.RE
+-The keystore is also examined. If no keystore value is specified on the command line, the default keystore file (if any) will be checked. If the public key certificate for a signer matches an entry in the keystore, then the following information will also be displayed:
+-.RS 3
+-.TP 2
+-o
+-in parentheses, the alias name for the keystore entry for that signer. If the signer actually comes from a JDK 1.1 identity database instead of from a keystore, the alias name will appear in brackets instead of parentheses.
+-.RE
+-.TP 3
+-\-certchain file
+-Specifies the certificate chain to be used, if the certificate chain associated with the private key of the keystore entry, addressed by the alias specified on the command line, is not complete. This may happen if the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain. The file can be a sequence of X.509 certificates concatenated together, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as BASE64 encoding) as defined by the Internet RFC 1421 standard.
+-.TP 3
+-\-verbose
+-If this appears on the command line, it indicates "verbose" mode, which causes \f3jarsigner\fP to output extra information as to the progress of the JAR signing or verification.
+-.TP 3
+-\-internalsf
+-In the past, the .DSA (signature block) file generated when a JAR file was signed used to include a complete encoded copy of the .SF file (signature file) also generated. This behavior has been changed. To reduce the overall size of the output JAR file, the .DSA file by default doesn't contain a copy of the .SF file anymore. But if \f2\-internalsf\fP appears on the command line, the old behavior is utilized. \f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP
+-.TP 3
+-\-sectionsonly
+-If this appears on the command line, the .SF file (signature file) generated when a JAR file is signed does \f2not\fP include a header containing a hash of the whole manifest file. It just contains information and hashes related to each individual source file included in the JAR file, as described in The Signature (.SF) File .
+-.br
+-.br
+-By default, this header is added, as an optimization. When the header is present, then whenever the JAR file is verified, the verification can first check to see whether or not the hash in the header indeed matches the hash of the whole manifest file. If so, verification proceeds to the next step. If not, it is necessary to do a less optimized verification that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file.
+-.br
+-.br
+-For further information, see JAR File Verification.
+-.br
+-.br
+-\f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP
+-.TP 3
+-\-protected
+-Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader.
+-.TP 3
+-\-providerClass provider\-class\-name
+-Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file, \f2java.security\fP.
+-.br
+-.br
+-Used in conjunction with the \f2\-providerArg\fP \f2ConfigFilePath\fP option, keytool and jarsigner will install the provider dynamically (where \f2ConfigFilePath\fP is the path to the token configuration file). Here's an example of a command to list a PKCS#11 keystore when the Sun PKCS#11 provider has not been configured in the security properties file.
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerClass sun.security.pkcs11.SunPKCS11 \\
+-.fl
+- \-providerArg /foo/bar/token.config \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-providerName providerName
+-If more than one provider has been configured in the \f2java.security\fP security properties file, you can use the \f2\-providerName\fP option to target a specific provider instance. The argument to this option is the name of the provider.
+-.br
+-.br
+-For the Sun PKCS#11 provider, \f2providerName\fP is of the form \f2SunPKCS11\-\fP\f2TokenName\fP, where \f2TokenName\fP is the name suffix that the provider instance has been configured with, as detailed in the
+-.na
+-\f2configuration attributes table\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS. For example, the following command lists the contents of the PKCS#11 keystore provider instance with name suffix \f2SmartCard\fP:
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerName SunPKCS11\-SmartCard \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-Jjavaoption
+-Passes through the specified \f2javaoption\fP string directly to the Java interpreter. (\f3jarsigner\fP is actually a "wrapper" around the interpreter.) This option should not contain any spaces. It is useful for adjusting the execution environment or memory usage. For a list of possible interpreter options, type \f2java \-h\fP or \f2java \-X\fP at the command line.
+-.TP 3
+-\-tsa url
+-If \f2"\-tsa http://example.tsa.url"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The URL, \f2http://example.tsa.url\fP, identifies the location of the Time Stamping Authority (TSA). It overrides any URL found via the \f2\-tsacert\fP option. The \f2\-tsa\fP option does not require the TSA's public key certificate to be present in the keystore.
+-.br
+-.br
+-To generate the timestamp, \f2jarsigner\fP communicates with the TSA using the Time\-Stamp Protocol (TSP) defined in
+-.na
+-\f2RFC 3161\fP @
+-.fi
+-http://www.ietf.org/rfc/rfc3161.txt. If successful, the timestamp token returned by the TSA is stored along with the signature in the signature block file.
+-.TP 3
+-\-tsacert alias
+-If \f2"\-tsacert alias"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The \f2alias\fP identifies the TSA's public key certificate in the keystore that is currently in effect. The entry's certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA.
+-.br
+-.br
+-The TSA's public key certificate must be present in the keystore when using \f2\-tsacert\fP.
+-.TP 3
+-\-altsigner class
+-Specifies that an alternative signing mechanism be used. The fully\-qualified class name identifies a class file that extends the \f2com.sun.jarsigner.ContentSigner abstract class\fP. The path to this class file is defined by the \f2\-altsignerpath\fP option. If the \f2\-altsigner\fP option is used, \f2jarsigner\fP uses the signing mechanism provided by the specified class. Otherwise, \f2jarsigner\fP uses its default signing mechanism.
+-.br
+-.br
+-For example, to use the signing mechanism provided by a class named \f2com.sun.sun.jarsigner.AuthSigner\fP, use the \f2jarsigner\fP option \f2"\-altsigner com.sun.jarsigner.AuthSigner"\fP
+-.TP 3
+-\-altsignerpath classpathlist
+-Specifies the path to the class file (the class file name is specified with the \f2\-altsigner\fP option described above) and any JAR files it depends on. If the class file is in a JAR file, then this specifies the path to that JAR file, as shown in the example below.
+-.br
+-.br
+-An absolute path or a path relative to the current directory may be specified. If \f2classpathlist\fP contains multiple paths or JAR files, they should be separated with a colon (\f2:\fP) on Solaris and a semi\-colon (\f2;\fP) on Windows. This option is not necessary if the class is already in the search path.
+-.br
+-.br
+-Example of specifying the path to a jar file that contains the class file:
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/lib/authsigner.jar
+-.fl
+-\fP
+-.fi
+-Note that the JAR file name is included.
+-.br
+-.br
+-Example of specifying the path to the jar file that contains the class file:
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/
+-.fl
+-\fP
+-.fi
+-Note that the JAR file name is omitted.
+-.TP 3
+-\-strict
+-During the signing or verifying process, some warning messages may be shown. If this option appears on the command line, the exit code of the tool will reflect the warning messages that are found. Read the "WARNINGS" section for details.
+-.TP 3
+-\-verbose:sub\-options
+-For the verifying process, the \f2\-verbose\fP option takes sub\-options to determine how much information will be shown. If \f2\-certs\fP is also specified, the default mode (or sub\-option all) displays each entry as it is being processed and following that, the certificate information for each signer of the JAR file. If \f2\-certs\fP and the \f2\-verbose:grouped\fP sub\-option are specified, entries with the same signer info are grouped and displayed together along with their certificate information. If \f2\-certs\fP and the \f2\-verbose:summary\fP sub\-option are specified, then entries with the same signer info are grouped and displayed together along with their certificate information but details about each entry are summarized and displayed as "one entry (and more)". See the examples section for more information.
+-.RE
++For the verifying process, the \f3-verbose\fR option takes suboptions to determine how much information is shown\&. If the \f3-certs\fR option is also specified, then the default mode (or suboption \f3all\fR) displays each entry as it is being processed, and after that, the certificate information for each signer of the JAR file\&. If the \f3-certs\fR and the \f3-verbose:grouped\fR suboptions are specified, then entries with the same signer info are grouped and displayed together with their certificate information\&. If \f3-certs\fR and the \f3-verbose:summary\fR suboptions are specified, then entries with the same signer information are grouped and displayed together with their certificate information\&. Details about each entry are summarized and displayed as \fIone entry (and more)\fR\&. See Examples\&.
++.SH ERRORS\ AND\ WARNINGS
++During the signing or verifying process, the \f3jarsigner\fR command may issue various errors or warnings\&.
++.PP
++If there is a failure, the \f3jarsigner\fR command exits with code 1\&. If there is no failure, but there are one or more severe warnings, the \f3jarsigner\fR command exits with code 0 when the \f3-strict\fR option is \fInot\fR specified, or exits with the OR-value of the warning codes when the \f3-strict\fR is specified\&. If there is only informational warnings or no warning at all, the command always exits with code 0\&.
++.PP
++For example, if a certificate used to sign an entry is expired and has a KeyUsage extension that does not allow it to sign a file, the \f3jarsigner\fR command exits with code 12 (=4+8) when the \f3-strict\fR option is specified\&.
++.PP
++\fINote:\fR Exit codes are reused because only the values from 0 to 255 are legal on Unix-based operating systems\&.
++.PP
++The following sections describes the names, codes, and descriptions of the errors and warnings that the \f3jarsigner\fR command can issue\&.
++.SS FAILURE
++Reasons why the \f3jarsigner\fR command fails include (but are not limited to) a command line parsing error, the inability to find a keypair to sign the JAR file, or the verification of a signed JAR fails\&.
++.TP
++failure
++Code 1\&. The signing or verifying fails\&.
++.SS SEVERE\ WARNINGS
++\fINote:\fR Severe warnings are reported as errors if you specify the \f3-strict\fR option\&.
++.PP
++Reasons why the \f3jarsigner\fR command issues a severe warning include the certificate used to sign the JAR file has an error or the signed JAR file has other problems\&.
++.TP
++hasExpiredCert
++Code 4\&. This jar contains entries whose signer certificate has expired\&.
++.TP
++notYetValidCert
++Code 4\&. This jar contains entries whose signer certificate is not yet valid\&.
++.TP
++chainNotValidated
++Code 4\&. This jar contains entries whose certificate chain cannot be correctly validated\&.
++.TP
++badKeyUsage
++Code 8\&. This jar contains entries whose signer certificate\&'s KeyUsage extension doesn\&'t allow code signing\&.
++.TP
++badExtendedKeyUsage
++Code 8\&. This jar contains entries whose signer certificate\&'s ExtendedKeyUsage extension doesn\&'t allow code signing\&.
++.TP
++badNetscapeCertType
++Code 8\&. This jar contains entries whose signer certificate\&'s NetscapeCertType extension doesn\&'t allow code signing\&.
++.TP
++hasUnsignedEntry
++Code 16\&. This jar contains unsigned entries which have not been integrity-checked\&.
++.TP
++notSignedByAlias
++Code 32\&. This jar contains signed entries which are not signed by the specified alias(es)\&.
++.TP
++aliasNotInStore
++Code 32\&. This jar contains signed entries that are not signed by alias in this keystore\&.
++.SS INFORMATIONAL\ WARNINGS
++Informational warnings include those that are not errors but regarded as bad practice\&. They do not have a code\&.
++.TP
++hasExpiringCert
++This jar contains entries whose signer certificate will expire within six months\&.
++.TP
++noTimestamp
++This jar contains signatures that does not include a timestamp\&. Without a timestamp, users may not be able to validate this JAR file after the signer certificate\&'s expiration date (\f3YYYY-MM-DD\fR) or after any future revocation date\&.
++.SH EXAMPLES
++.SS SIGN\ A\ JAR\ FILE
++Use the following command to sign bundle\&.jar with the private key of a user whose keystore alias is \f3jane\fR in a keystore named \f3mystore\fR in the \f3working\fR directory and name the signed JAR file \f3sbundle\&.jar\fR:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore\fP
++.fi
++.nf
++\f3 \-storepass <keystore password>\fP
++.fi
++.nf
++\f3 \-keypass <private key password>\fP
++.fi
++.nf
++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++There is no \f3-sigfile\fR specified in the previous command so the generated \f3\&.SF\fR and \f3\&.DSA\fR files to be placed in the signed JAR file have default names based on the alias name\&. They are named \f3JANE\&.SF\fR and \f3JANE\&.DSA\fR\&.
++.PP
++If you want to be prompted for the store password and the private key password, then you could shorten the previous command to the following:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore\fP
++.fi
++.nf
++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If the keystore is the default keystore (\&.keystore in your home directory), then you do not need to specify a keystore, as follows:
++.sp
++.nf
++\f3jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If you want the signed JAR file to overwrite the input JAR file (bundle\&.jar), then you do not need to specify a \f3-signedjar\fR option, as follows:
++.sp
++.nf
++\f3jarsigner bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS VERIFY\ A\ SIGNED\ JAR\ FILE
++To verify a signed JAR file to ensure that the signature is valid and the JAR file was not been tampered with, use a command such as the following:
++.sp
++.nf
++\f3jarsigner \-verify sbundle\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++When the verification is successful, \f3jar verified\fR is displayed\&. Otherwise, an error message is displayed\&. You can get more information when you use the \f3-verbose\fR option\&. A sample use of \f3jarsigner\fR with the\f3-verbose\fR option follows:
++.sp
++.nf
++\f3jarsigner \-verify \-verbose sbundle\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class\fP
++.fi
++.nf
++\f3 smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS VERIFICATION\ WITH\ CERTIFICATE\ INFORMATION
++If you specify the \f3-certs\fR option with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. The information includes the certificate type, the signer distinguished name information (when it is an X\&.509 certificate), and in parentheses, the keystore alias for the signer when the public key certificate in the JAR file matches the one in a keystore entry, for example:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF\fP
++.fi
++.nf
++\f3 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA\fP
++.fi
++.nf
++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)\fP
++.fi
++.nf
++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If the certificate for a signer is not an X\&.509 certificate, then there is no distinguished name information\&. In that case, just the certificate type and the alias are shown\&. For example, if the certificate is a PGP certificate, and the alias is \f3bob\fR, then you would get: \f3PGP, (bob)\fR\&.
++.SS VERIFICATION\ THAT\ INCLUDES\ IDENTITY\ DATABASE\ SIGNERS
++If a JAR file was signed with the JDK 1\&.1 \f3javakey\fR tool, and the signer is an alias in an identity database, then the verification output includes an \f3i\fR\&. If the JAR file was signed by both an alias in an identity database and an alias in a keystore, then both \f3k\fR and \f3i\fR appear\&.
++.PP
++When the \f3-certs\fR option is used, any identity database aliases are shown in brackets rather than the parentheses used for keystore aliases, for example:
++.sp
++.nf
++\f3 jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA\fP
++.fi
++.nf
++\f3 smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP
++.fi
++.nf
++\f3 X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3 i = at least one certificate was found in identity scope\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR The alias \f3duke\fR is in brackets to denote that it is an identity database alias, and not a keystore alias\&.
++.SH JDK\ 1\&.1\ COMPATIBILITY
++The \f3keytool\fR and \f3jarsigner\fR tools replace the \f3javakey\fR tool in JDK 1\&.1\&. These new tools provide more features than \f3javakey\fR, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them\&.
++.PP
++The new keystore architecture replaces the identity database that \f3javakey\fR created and managed\&. There is no backward compatibility between the keystore format and the database format used by \f3javakey\fR in JDK 1\&.1\&. However, be aware of the following:
++.TP 0.2i
++\(bu
++It is possible to import the information from an identity database into a keystore through the \f3keytool -identitydb\fR command\&.
++.TP 0.2i
++\(bu
++The \f3jarsigner\fR command can sign JAR files that were signed with the \f3javakey\fR command\&.
++.TP 0.2i
++\(bu
++The \f3jarsigner\fR command can verify JAR files signed with \f3javakey\fR\&. The \f3jarsigner\fR command recognizes and can work with signer aliases that are from a JDK 1\&.1 identity database rather than a JDK keystore\&.
++.SS UNSIGNED\ JARS
++Unsigned JARs have the default privileges that are granted to all code\&.
++.SS SIGNED\ JARS
++Signed JARs have the privilege configurations based on their JDK 1\&.1\&.\fIn\fR identity and policy file status as described\&. Only trusted identities can be imported into the JDK keystore\&.
++.PP
++Default Privileges Granted to All Code
+
+-.LP
+-.SH "EXAMPLES"
+-.LP
+-.SS
+-Signing a JAR File
+-.LP
+-.LP
+-Suppose you have a JAR file named "bundle.jar" and you'd like to sign it using the private key of the user whose keystore alias is "jane" in the keystore named "mystore" in the "working" directory. You can use the following to sign the JAR file and name the signed JAR file "sbundle.jar":
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.LP
+-.LP
+-Note that there is no \f2\-sigfile\fP specified in the command above, so the generated .SF and .DSA files to be placed in the signed JAR file will have default names based on the alias name. That is, they will be named \f2JANE.SF\fP and \f2JANE.DSA\fP.
+-.LP
+-.LP
+-If you want to be prompted for the store password and the private key password, you could shorten the above command to
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore
+-.fl
+- \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.LP
+-.LP
+-If the keystore to be used is the default keystore (the one named ".keystore" in your home directory), you don't need to specify a keystore, as in:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: Yes/Untrusted
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.br
++See 3 in Notes Regarding Privileges of Signed JARs\&.
++.PP
+
+-.LP
+-.LP
+-Finally, if you want the signed JAR file to simply overwrite the input JAR file (\f2bundle.jar\fP), you don't need to specify a \f2\-signedjar\fP option:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: Yes/Untrusted
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 1 and 3 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Default Privileges and Policy File Privileges Granted
+
+-.LP
+-.SS
+-Verifying a Signed JAR File
+-.LP
+-.LP
+-To verify a signed JAR file, that is, to verify that the signature is valid and the JAR file has not been tampered with, use a command such as the following:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify sbundle.jar
+-.fl
+-\fP
+-.fi
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.PP
+
+-.LP
+-.LP
+-If the verification is successful,
+-.LP
+-.nf
+-\f3
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 2 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++All Privileges Granted
+
+-.LP
+-.LP
+-is displayed. Otherwise, an error message appears.
+-.LP
+-.LP
+-You can get more information if you use the \f2\-verbose\fP option. A sample use of \f3jarsigner\fP with the \f2\-verbose\fP option is shown below, along with sample output:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify \-verbose sbundle.jar
+-.fl
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class
+-.fl
+- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Verification with Certificate Information
+-.LP
+-.LP
+-If you specify the \f2\-certs\fP option when verifying, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file, including the certificate type, the signer distinguished name information (if and only if it's an X.509 certificate), and, in parentheses, the keystore alias for the signer if the public key certificate in the JAR file matches that in a keystore entry. For example,
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF
+-.fl
+- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class
+-.fl
+-
+-.fl
+- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest)
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-If the certificate for a signer is not an X.509 certificate, there is no distinguished name information. In that case, just the certificate type and the alias are shown. For example, if the certificate is a PGP certificate, and the alias is "bob", you'd get
+-.LP
+-.nf
+-\f3
+-.fl
+- PGP, (bob)
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Verification of a JAR File that Includes Identity Database Signers
+-.LP
+-.LP
+-If a JAR file has been signed using the JDK 1.1 \f3javakey\fP tool, and thus the signer is an alias in an identity database, the verification output includes an "i" symbol. If the JAR file has been signed by both an alias in an identity database and an alias in a keystore, both "k" and "i" appear.
+-.LP
+-.LP
+-When the \f2\-certs\fP option is used, any identity database aliases are shown in square brackets rather than the parentheses used for keystore aliases. For example:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF
+-.fl
+- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA
+-.fl
+- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html
+-.fl
+-
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke]
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+- i = at least one certificate was found in identity scope
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-Note that the alias "duke" is in brackets to denote that it is an identity database alias, not a keystore alias.
+-.LP
+-.SH "WARNINGS"
+-.LP
+-During the signing/verifying process, jarsigner may display various warnings. These warning codes are defined as follows:
+-.nf
+-\f3
+-.fl
+- hasExpiringCert 2
+-.fl
+- This jar contains entries whose signer certificate will expire within six months
+-.fl
+-
+-.fl
+- hasExpiredCert 4
+-.fl
+- This jar contains entries whose signer certificate has expired.
+-.fl
+-
+-.fl
+- notYetValidCert 4
+-.fl
+- This jar contains entries whose signer certificate is not yet valid.
+-.fl
+-
+-.fl
+- chainNotValidated 4
+-.fl
+- This jar contains entries whose certificate chain cannot be correctly validated.
+-.fl
+-
+-.fl
+- badKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing.
+-.fl
+-
+-.fl
+- badExtendedKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's ExtendedKeyUsage extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- badNetscapeCertType 8
+-.fl
+- This jar contains entries whose signer certificate's NetscapeCertType extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- hasUnsignedEntry 16
+-.fl
+- This jar contains unsigned entries which have not been integrity\-checked.
+-.fl
+-
+-.fl
+- notSignedByAlias 32
+-.fl
+- This jar contains signed entries which are not signed by the specified alias(es)
+-.fl
+-
+-.fl
+- aliasNotInStore 32
+-.fl
+- This jar contains signed entries that are not signed by alias in this keystore
+-.fl
+-
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-When the \f2\-strict\fP option is provided, an OR\-value of warnings detected will be returned as the exit code of the tool. For example, if a certificate used to sign an entry is expired and has a keyUsage extension that does not allow it to sign a file, an exit code 12 (=4+8) will be returned.
+-.LP
+-.LP
+-\f3Note\fP: Exit codes are reused because only 0\-255 is legal for Unix. In any case, if the signing/verifying process fails, the following exit code will be returned:
+-.LP
+-.nf
+-\f3
+-.fl
+-failure 1
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Compatibility with JDK 1.1
+-.LP
+-.LP
+-The \f3keytool\fP and \f3jarsigner\fP tools completely replace the \f3javakey\fP tool provided in JDK 1.1. These new tools provide more features than \f3javakey\fP, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them.
+-.LP
+-.LP
+-The new keystore architecture replaces the identity database that \f3javakey\fP created and managed. There is no backwards compatibility between the keystore format and the database format used by \f3javakey\fP in 1.1. However,
+-.LP
+-.RS 3
+-.TP 2
+-o
+-It is possible to import the information from an identity database into a keystore, via the \f3keytool\fP \f2\-identitydb\fP command.
+-.TP 2
+-o
+-\f3jarsigner\fP can sign JAR files also previously signed using \f3javakey\fP.
+-.TP 2
+-o
+-\f3jarsigner\fP can verify JAR files signed using \f3javakey\fP. Thus, it recognizes and can work with signer aliases that are from a JDK 1.1 identity database rather than a Java 2 SDK keystore.
+-.RE
+-
+-.LP
+-.LP
+-The following table explains how JAR files that were signed in JDK 1.1.x are treated in the Java 2 platform.
+-.LP
+-.LP
+-.TS
+-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
+-.de 35
+-.ps \n(.s
+-.vs \n(.vu
+-.in \n(.iu
+-.if \n(.u .fi
+-.if \n(.j .ad
+-.if \n(.j=0 .na
+-..
+-.nf
+-.nr #~ 0
+-.if n .nr #~ 0.6n
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.fc
+-.nr 33 \n(.s
+-.rm 80 81 82 83 84
+-.nr 34 \n(.lu
+-.eo
+-.am 82
+-.br
+-.di a+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(82 .ll \n(82u
+-.in 0
+-\f3Trusted Identity imported into Java 2 Platform keystore from 1.1 database (4)\fP
+-.br
+-.di
+-.nr a| \n(dn
+-.nr a- \n(dl
+-..
+-.ec \
+-.eo
+-.am 83
+-.br
+-.di b+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(83 .ll \n(83u
+-.in 0
+-\f3Policy File grants privileges to Identity/Alias\fP
+-.br
+-.di
+-.nr b| \n(dn
+-.nr b- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di c+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr c| \n(dn
+-.nr c- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di d+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr d| \n(dn
+-.nr d- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di e+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr e| \n(dn
+-.nr e- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di f+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code. (3)
+-.br
+-.di
+-.nr f| \n(dn
+-.nr f- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di g+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code. (1,3)
+-.br
+-.di
+-.nr g| \n(dn
+-.nr g- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di h+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code plus privileges granted in policy file.
+-.br
+-.di
+-.nr h| \n(dn
+-.nr h- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di i+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code plus privileges granted in policy file. (2)
+-.br
+-.di
+-.nr i| \n(dn
+-.nr i- \n(dl
+-..
+-.ec \
+-.35
+-.nf
+-.ll \n(34u
+-.nr 80 0
+-.nr 38 \w\f3JAR File Type\fP
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wUnsigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.80
+-.rm 80
+-.nr 81 0
+-.nr 38 \w\f3Identity in 1.1 database\fP
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Untrusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Untrusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.81
+-.rm 81
+-.nr 82 0
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.82
+-.rm 82
+-.nr 38 \n(a-
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 83 0
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.83
+-.rm 83
+-.nr 38 \n(b-
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 84 0
+-.nr 38 \w\f3Privileges Granted\fP
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges (1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges (1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.84
+-.rm 84
+-.nr 38 \n(c-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(d-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(e-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(f-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(g-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(h-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(i-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.35
+-.nf
+-.ll \n(34u
+-.nr 38 1n
+-.nr 79 0
+-.nr 40 \n(79+(0*\n(38)
+-.nr 80 +\n(40
+-.nr 41 \n(80+(3*\n(38)
+-.nr 81 +\n(41
+-.nr 42 \n(81+(3*\n(38)
+-.nr 82 +\n(42
+-.nr 43 \n(82+(3*\n(38)
+-.nr 83 +\n(43
+-.nr 44 \n(83+(3*\n(38)
+-.nr 84 +\n(44
+-.nr TW \n(84
+-.if t .if \n(TW>\n(.li .tm Table at line 1082 file Input is too wide - \n(TW units
+-.fc  
+-.nr #T 0-1
+-.nr #a 0-1
+-.eo
+-.de T#
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.mk ##
+-.nr ## -1v
+-.ls 1
+-.ls
+-..
+-.ec
+-.ne \n(a|u+\n(.Vu
+-.ne \n(b|u+\n(.Vu
+-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
+-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'\f3JAR File Type\fP\h'|\n(41u'\f3Identity in 1.1 database\fP\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3Privileges Granted\fP
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(42u
+-.in +\n(37u
+-.a+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(43u
+-.in +\n(37u
+-.b+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(c|u+\n(.Vu
+-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.c+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(d|u+\n(.Vu
+-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Unsigned JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.d+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(e|u+\n(.Vu
+-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.e+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(f|u+\n(.Vu
+-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.f+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(g|u+\n(.Vu
+-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.g+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(h|u+\n(.Vu
+-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.h+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(i|u+\n(.Vu
+-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.i+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'All privileges
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'All privileges (1)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'All privileges (1)
+-.fc
+-.nr T. 1
+-.T# 1
+-.35
+-.rm a+
+-.rm b+
+-.rm c+
+-.rm d+
+-.rm e+
+-.rm f+
+-.rm g+
+-.rm h+
+-.rm i+
+-.TE
+-.if \n-(b.=0 .nr c. \n(.c-\n(d.-42
+-
+-.LP
+-.LP
+-Notes:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-If an identity/alias is mentioned in the policy file, it must be imported into the keystore for the policy file to have any effect on privileges granted.
+-.TP 3
+-2.
+-The policy file/keystore combination has precedence over a trusted identity in the identity database.
+-.TP 3
+-3.
+-Untrusted identities are ignored in the Java 2 platform.
+-.TP 3
+-4.
+-Only trusted identities can be imported into Java 2 SDK keystores.
+-.RE
+-
+-.LP
+-.SH "SEE ALSO"
+-.LP
+-.RS 3
+-.TP 2
+-o
+-jar(1) tool documentation
+-.TP 2
+-o
+-keytool(1) tool documentation
+-.TP 2
+-o
+-the
+-.na
+-\f4Security\fP @
+-.fi
+-http://docs.oracle.com/javase/tutorial/security/index.html trail of the
+-.na
+-\f4Java Tutorial\fP @
+-.fi
+-http://docs.oracle.com/javase/tutorial/index.html for examples of the use of the \f3jarsigner\fP tool
+-.RE
+-
+-.LP
+-
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.br
++See 1 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 1 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Notes Regarding Privileges of Signed JARs
++.TP 0.4i
++1\&.
++If an identity or alias is mentioned in the policy file, then it must be imported into the keystore for the policy file to have any effect on privileges granted\&.
++.TP 0.4i
++2\&.
++The policy file/keystore combination has precedence over a trusted identity in the identity database\&.
++.TP 0.4i
++3\&.
++Untrusted identities are ignored in the Java platform\&.
++.SH SEE\ ALSO
++.TP 0.2i
++\(bu
++\f3jar\fR
++.TP 0.2i
++\(bu
++\f3keytool\fR
++.TP 0.2i
++\(bu
++Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html
++.RE
++.br
++'pl 8.5i
++'bp
+--- ./jdk/src/macosx/classes/com/apple/laf/resources/aqua_ko.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/macosx/classes/com/apple/laf/resources/aqua_ko.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -46,7 +46,7 @@
+ FileChooser.openButton.textAndMnemonic=\uC5F4\uAE30
+ FileChooser.saveDialogTitle.textAndMnemonic=\uC800\uC7A5
+ FileChooser.openDialogTitle.textAndMnemonic=\uC5F4\uAE30
+-FileChooser.updateButton.textAndMnemonic=\uAC31\uC2E0
++FileChooser.updateButton.textAndMnemonic=\uC5C5\uB370\uC774\uD2B8
+ FileChooser.helpButton.textAndMnemonic=\uB3C4\uC6C0\uB9D0
+ FileChooser.directoryOpenButton.textAndMnemonic=\uC5F4\uAE30
+
+--- ./jdk/src/macosx/native/sun/awt/splashscreen/splashscreen_sys.m Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/macosx/native/sun/awt/splashscreen/splashscreen_sys.m Thu Dec 19 09:01:16 2013 -0800
+@@ -290,8 +290,8 @@
+ SplashUnlock(splash);
+ rc = poll(pfd, 1, timeout);
+ SplashLock(splash);
+- if (splash->isVisible>0 && SplashTime() >= splash->time +
+- splash->frames[splash->currentFrame].delay) {
++ if (splash->isVisible > 0 && splash->currentFrame >= 0 &&
++ SplashTime() >= splash->time + splash->frames[splash->currentFrame].delay) {
+ SplashNextFrame(splash);
+ SplashRedrawWindow(splash);
+ }
+--- ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_de.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_de.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -102,7 +102,7 @@
+ #
+ # accessible actions
+ #
+-toggleexpand=ein-/ausblenden
++toggleexpand=einblenden umschalten
+
+ # new relations, roles and states for J2SE 1.5.0
+
+--- ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_es.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_es.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -102,7 +102,7 @@
+ #
+ # accessible actions
+ #
+-toggleexpand=activar/desactivar ampliaci\u00F3n
++toggleexpand=conmutar ampliaci\u00F3n
+
+ # new relations, roles and states for J2SE 1.5.0
+
+--- ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_fr.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_fr.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -102,7 +102,7 @@
+ #
+ # accessible actions
+ #
+-toggleexpand=basculer le d\u00E9veloppement
++toggleexpand=activer/d\u00E9sactiver d\u00E9veloppement
+
+ # new relations, roles and states for J2SE 1.5.0
+
+--- ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_it.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_it.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -102,7 +102,7 @@
+ #
+ # accessible actions
+ #
+-toggleexpand=abilita/disabilita espansione
++toggleexpand=attiva/disattiva espansione
+
+ # new relations, roles and states for J2SE 1.5.0
+
+--- ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_pt_BR.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_pt_BR.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -102,7 +102,7 @@
+ #
+ # accessible actions
+ #
+-toggleexpand=alternar expans\u00E3o
++toggleexpand=alternar expandir
+
+ # new relations, roles and states for J2SE 1.5.0
+
+--- ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_sv.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_sv.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -102,7 +102,7 @@
+ #
+ # accessible actions
+ #
+-toggleexpand=v\u00E4xla ut\u00F6ka
++toggleexpand=v\u00E4xla expandering
+
+ # new relations, roles and states for J2SE 1.5.0
+
+--- ./jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java Thu Dec 19 09:01:16 2013 -0800
+@@ -29,6 +29,7 @@
+ import java.beans.ExceptionListener;
+
+ import java.io.IOException;
++import java.io.StringReader;
+
+ import java.lang.ref.Reference;
+ import java.lang.ref.WeakReference;
+@@ -246,6 +247,14 @@
+ }
+
+ /**
++ * Disables any external entities.
++ */
++ @Override
++ public InputSource resolveEntity(String publicId, String systemId) {
++ return new InputSource(new StringReader(""));
++ }
++
++ /**
+ * Prepares this handler to read objects from XML document.
+ */
+ @Override
+--- ./jdk/src/share/classes/com/sun/crypto/provider/DHKeyAgreement.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/crypto/provider/DHKeyAgreement.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1997, 2013, 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
+@@ -404,8 +404,9 @@
+ }
+ return skey;
+ } else if (algorithm.equals("TlsPremasterSecret")) {
+- // return entire secret
+- return new SecretKeySpec(secret, "TlsPremasterSecret");
++ // remove leading zero bytes per RFC 5246 Section 8.1.2
++ return new SecretKeySpec(
++ KeyUtil.trimZeroes(secret), "TlsPremasterSecret");
+ } else {
+ throw new NoSuchAlgorithmException("Unsupported secret key "
+ + "algorithm: "+ algorithm);
+--- ./jdk/src/share/classes/com/sun/crypto/provider/TlsRsaPremasterSecretGenerator.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/crypto/provider/TlsRsaPremasterSecretGenerator.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2005, 2013, 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
+@@ -72,13 +72,17 @@
+ throw new IllegalStateException(
+ "TlsRsaPremasterSecretGenerator must be initialized");
+ }
+- if (random == null) {
+- random = new SecureRandom();
++ byte[] b = spec.getEncodedSecret();
++ if (b == null) {
++ if (random == null) {
++ random = new SecureRandom();
++ }
++ b = new byte[48];
++ random.nextBytes(b);
++ b[0] = (byte)spec.getMajorVersion();
++ b[1] = (byte)spec.getMinorVersion();
+ }
+- byte[] b = new byte[48];
+- random.nextBytes(b);
+- b[0] = (byte)spec.getMajorVersion();
+- b[1] = (byte)spec.getMinorVersion();
++
+ return new SecretKeySpec(b, "TlsRsaPremasterSecret");
+ }
+
+--- ./jdk/src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_de.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_de.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -41,7 +41,7 @@
+ FileChooser.openDialogTitle.textAndMnemonic=\u00D6ffnen
+ FileChooser.pathLabel.textAndMnemonic=Aus&wahl:
+ FileChooser.filterLabel.textAndMnemonic=Filter:
+-FileChooser.foldersLabel.textAndMnemonic=Or&dner
++FileChooser.foldersLabel.textAndMnemonic=O&rdner
+ FileChooser.filesLabel.textAndMnemonic=&Dateien
+
+ FileChooser.cancelButtonToolTip.textAndMnemonic=Dialogfeld f\u00FCr Dateiauswahl schlie\u00DFen.
+--- ./jdk/src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ko.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ko.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -24,7 +24,7 @@
+ FileChooser.openButton.textAndMnemonic=\uD655\uC778
+ FileChooser.saveDialogTitle.textAndMnemonic=\uC800\uC7A5
+ FileChooser.openDialogTitle.textAndMnemonic=\uC5F4\uAE30
+-FileChooser.updateButton.textAndMnemonic=\uAC31\uC2E0
++FileChooser.updateButton.textAndMnemonic=\uC5C5\uB370\uC774\uD2B8
+ FileChooser.helpButton.textAndMnemonic=\uB3C4\uC6C0\uB9D0
+ FileChooser.pathLabel.textAndMnemonic=\uACBD\uB85C \uB610\uB294 \uD3F4\uB354 \uC774\uB984 \uC785\uB825(&P):
+ FileChooser.filterLabel.textAndMnemonic=\uD544\uD130(&R)
+@@ -36,5 +36,5 @@
+ FileChooser.cancelButtonToolTip.textAndMnemonic=\uD30C\uC77C \uC120\uD0DD\uAE30 \uB300\uD654\uC0C1\uC790\uB97C \uC911\uB2E8\uD569\uB2C8\uB2E4.
+ FileChooser.saveButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uD30C\uC77C\uC744 \uC800\uC7A5\uD569\uB2C8\uB2E4.
+ FileChooser.openButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uD30C\uC77C\uC744 \uC5FD\uB2C8\uB2E4.
+-FileChooser.updateButtonToolTip.textAndMnemonic=\uB514\uB809\uD1A0\uB9AC \uBAA9\uB85D\uC744 \uAC31\uC2E0\uD569\uB2C8\uB2E4.
++FileChooser.updateButtonToolTip.textAndMnemonic=\uB514\uB809\uD1A0\uB9AC \uBAA9\uB85D\uC744 \uC5C5\uB370\uC774\uD2B8\uD569\uB2C8\uB2E4.
+ FileChooser.helpButtonToolTip.textAndMnemonic=FileChooser \uB3C4\uC6C0\uB9D0\uC785\uB2C8\uB2E4.
+--- ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibEntry.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibEntry.java Thu Dec 19 09:01:16 2013 -0800
+@@ -27,17 +27,9 @@
+
+ // java imports
+ //
++import com.sun.jmx.snmp.SnmpDefinitions;
+ import java.io.Serializable;
+-import java.util.Hashtable;
+-import java.util.Enumeration;
+-
+-// jmx imports
+-//
+-import com.sun.jmx.snmp.SnmpValue;
+-import com.sun.jmx.snmp.SnmpVarBind;
+ import com.sun.jmx.snmp.SnmpStatusException;
+-import com.sun.jmx.snmp.agent.SnmpMibOid;
+-import com.sun.jmx.snmp.agent.SnmpMibNode;
+
+ /**
+ * Represents a node in an SNMP MIB which corresponds to a table entry
+@@ -99,7 +91,7 @@
+ */
+ public void validateVarId(long arc, Object userData)
+ throws SnmpStatusException {
+- if (isVariable(arc) == false) throw noSuchNameException;
++ if (isVariable(arc) == false) throw new SnmpStatusException(SnmpDefinitions.snmpRspNoSuchName);
+ }
+
+ /**
+--- ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibGroup.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibGroup.java Thu Dec 19 09:01:16 2013 -0800
+@@ -116,7 +116,7 @@
+ public void validateVarId(long arc, Object userData)
+ throws SnmpStatusException {
+ if (isVariable(arc) == false)
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ }
+
+
+@@ -365,16 +365,16 @@
+
+ // The trailing .0 is missing in the OID
+ if (depth+2 > length)
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+
+ // There are too many arcs left in the OID (there should remain
+ // a single trailing .0)
+ if (depth+2 < length)
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+
+ // The last trailing arc is not .0
+ if (oid[depth+1] != 0L)
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+
+ // It's one of our variable, register this node.
+ handlers.add(this,depth,varbind);
+@@ -397,7 +397,7 @@
+ // abort the whole request, so we're going to throw
+ // a noSuchObject...
+ //
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ final Object data = handlers.getUserData();
+ final int pduVersion = handlers.getRequestPduVersion();
+@@ -433,7 +433,7 @@
+ depth+1,handlers,
+ checker);
+ }catch(SnmpStatusException ex) {
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ } finally {
+ checker.remove(depth);
+ }
+@@ -458,7 +458,7 @@
+ try {
+ checker.checkCurrentOid();
+ } catch(SnmpStatusException e) {
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ } finally {
+ checker.remove(depth,2);
+ }
+@@ -503,7 +503,7 @@
+ // The oid is not valid, we will throw an exception in order
+ // to try with the next valid identifier...
+ //
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ } catch (SnmpStatusException e) {
+ // We didn't find anything at the given arc, so we're going
+--- ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibNode.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibNode.java Thu Dec 19 09:01:16 2013 -0800
+@@ -155,7 +155,7 @@
+ long[] oid, int depth,
+ SnmpRequestTree handlers)
+ throws SnmpStatusException {
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ }
+
+ /**
+@@ -183,7 +183,7 @@
+ long[] oid, int pos, int depth,
+ SnmpRequestTree handlers, AcmChecker checker)
+ throws SnmpStatusException {
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ }
+
+ /**
+@@ -347,7 +347,7 @@
+ final int val= (int) value;
+
+ if (a == null)
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ int low= 0;
+ int max= a.length;
+@@ -357,10 +357,10 @@
+ // Basic check
+ //
+ if (max < 1)
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ if (a[max-1] <= val)
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ while (low <= max) {
+ elmt= a[curr];
+@@ -400,15 +400,4 @@
+ * Contains the list of variable identifiers.
+ */
+ protected int[] varList;
+-
+- /**
+- * Contains a predefined exception that is often fired when an
+- * object is not found in the MIB.
+- */
+- static final protected SnmpStatusException noSuchInstanceException =
+- new SnmpStatusException(SnmpStatusException.noSuchInstance);
+- static final protected SnmpStatusException noSuchObjectException =
+- new SnmpStatusException(SnmpStatusException.noSuchObject);
+- static final protected SnmpStatusException noSuchNameException =
+- new SnmpStatusException(SnmpDefinitions.snmpRspNoSuchName);
+ }
+--- ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibOid.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibOid.java Thu Dec 19 09:01:16 2013 -0800
+@@ -157,11 +157,11 @@
+
+ if (depth > length) {
+ // Nothing is left... the oid is not valid
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ } else if (depth == length) {
+ // The oid is not complete...
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+
+ } else {
+ // Some children variable or subobject is being querried
+@@ -206,7 +206,7 @@
+ // abort the whole request, so we're going to throw
+ // a noSuchObject...
+ //
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ final Object data = handlers.getUserData();
+ final int pduVersion = handlers.getRequestPduVersion();
+@@ -231,7 +231,7 @@
+ // SnmpOid result = null;
+ if (child == null) {
+ // shouldn't happen
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ // validateVarId(index);
+ // handlers.add(this,varbind,depth);
+ // result = new SnmpOid(0);
+@@ -442,10 +442,10 @@
+ //
+ final int pos= getInsertAt(id);
+ if (pos >= nbChildren)
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ if (varList[pos] != (int) id)
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ // Access the node
+ //
+@@ -453,10 +453,10 @@
+ try {
+ child = children.elementAtNonSync(pos);
+ } catch(ArrayIndexOutOfBoundsException e) {
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ }
+ if (child == null)
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+ return child;
+ }
+
+--- ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibTable.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibTable.java Thu Dec 19 09:01:16 2013 -0800
+@@ -279,7 +279,7 @@
+ SnmpVarBind var = null;
+ for (Enumeration e= r.getElements(); e.hasMoreElements();) {
+ var = (SnmpVarBind) e.nextElement();
+- r.registerGetException(var,noSuchInstanceException);
++ r.registerGetException(var,new SnmpStatusException(SnmpStatusException.noSuchInstance));
+ }
+ }
+
+@@ -1607,7 +1607,7 @@
+ throws SnmpStatusException {
+
+ if (size == 0)
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+
+ final SnmpOid resOid = oid;
+
+@@ -1618,7 +1618,7 @@
+ if (last.equals(resOid)) {
+ // Last element of the table ...
+ //
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+ }
+
+ // First find the oid. This will allow to speed up retrieval process
+@@ -1640,12 +1640,12 @@
+ // XX last = (SnmpOid) oids.elementAt(newPos);
+ last = tableoids[newPos];
+ } catch(ArrayIndexOutOfBoundsException e) {
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+ }
+ } else {
+ // We are dealing with the last element of the table ..
+ //
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+ }
+
+
+@@ -1668,7 +1668,7 @@
+ protected SnmpOid getNextOid(Object userData)
+ throws SnmpStatusException {
+ if (size == 0)
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+ // XX return (SnmpOid) oids.firstElement();
+ return tableoids[0];
+ }
+@@ -1875,7 +1875,7 @@
+ if (!hasEntry) {
+ if (!handlers.isCreationAllowed())
+ // we're not doing a set
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+ else if (!isCreationEnabled())
+ // we're doing a set but creation is disabled.
+ throw new
+@@ -1921,7 +1921,7 @@
+ // abort the whole request, so we're going to throw
+ // a noSuchObject...
+ //
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ final Object data = handlers.getUserData();
+ final int pduVersion = handlers.getRequestPduVersion();
+@@ -1955,7 +1955,7 @@
+ // so we won't find the next element in this table... (any
+ // element in this table will have a smaller OID)
+ //
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ } else if (oid[pos] < nodeId) {
+ // we must return the first leaf under the first columnar
+ // object, so we are back to our first case where pos was
+@@ -2046,7 +2046,7 @@
+ // must have the same holes)
+ //
+ if (skipEntryVariable(entryoid,var,data,pduVersion))
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ } catch(SnmpStatusException se) {
+ entryoid = getNextOid(data);
+ var = getNextVarEntryId(entryoid,var,data,pduVersion);
+@@ -2079,7 +2079,7 @@
+ // So we throw the exception.
+ // => will skip to next node in the MIB tree.
+ //
+- if (entryoid == null || var == -1 ) throw noSuchObjectException;
++ if (entryoid == null || var == -1 ) throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+
+ // So here we know both the row (entryoid) and the column (var)
+@@ -2092,7 +2092,7 @@
+ // other entry => skip to next column.
+ //
+ if (!isReadableEntryId(entryoid,var,data))
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ // Prepare the result and the ACM checker.
+ //
+@@ -2156,7 +2156,7 @@
+ // => will skip to next node in the MIB tree.
+ //
+ if (entryoid == null || var == -1 )
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+ }
+ }
+
+@@ -2177,12 +2177,12 @@
+ // Control the length of the oid
+ //
+ if (pos +2 >= length)
+- throw noSuchInstanceException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
+
+ // Check that the entry identifier is specified
+ //
+ if (oid[pos] != nodeId)
+- throw noSuchObjectException;
++ throw new SnmpStatusException(SnmpStatusException.noSuchObject);
+
+ }
+
+--- ./jdk/src/share/classes/com/sun/jmx/snmp/daemon/SnmpRequestHandler.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/jmx/snmp/daemon/SnmpRequestHandler.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1146,7 +1146,4 @@
+
+ static final private String InterruptSysCallMsg =
+ "Interrupted system call";
+-
+- static final private SnmpStatusException noSuchNameException =
+- new SnmpStatusException(SnmpDefinitions.snmpRspNoSuchName) ;
+ }
+--- ./jdk/src/share/classes/com/sun/naming/internal/FactoryEnumeration.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/naming/internal/FactoryEnumeration.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1999, 2013, 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
+@@ -29,10 +29,10 @@
+ import javax.naming.NamingException;
+
+ /**
+- * The FactoryEnumeration is used for returning factory instances.
+- *
+- * @author Rosanna Lee
+- * @author Scott Seligman
++ * The FactoryEnumeration is used for returning factory instances.
++ *
++ * @author Rosanna Lee
++ * @author Scott Seligman
+ */
+
+ // no need to implement Enumeration since this is only for internal use
+@@ -55,9 +55,12 @@
+ * references so as not to prevent GC of the class loader. Each
+ * weak reference is tagged with the factory's class name so the
+ * class can be reloaded if the reference is cleared.
+-
++ *
+ * @param factories A non-null list
+ * @param loader The class loader of the list's contents
++ *
++ * This internal method is used with Thread Context Class Loader (TCCL),
++ * please don't expose this method as public.
+ */
+ FactoryEnumeration(List factories, ClassLoader loader) {
+ this.factories = factories;
+@@ -77,7 +80,8 @@
+
+ try {
+ if (answer == null) { // reload class if weak ref cleared
+- answer = Class.forName(className, true, loader);
++ Class<?> cls = Class.forName(className, true, loader);
++ answer = cls;
+ }
+ // Instantiate Class to get factory
+ answer = ((Class) answer).newInstance();
+--- ./jdk/src/share/classes/com/sun/naming/internal/VersionHelper12.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/naming/internal/VersionHelper12.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1999, 2013, 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
+@@ -35,7 +35,6 @@
+ import java.security.PrivilegedActionException;
+ import java.security.PrivilegedExceptionAction;
+ import java.util.Enumeration;
+-import java.util.Hashtable;
+ import java.util.NoSuchElementException;
+ import java.util.Properties;
+
+@@ -54,21 +53,24 @@
+
+ final class VersionHelper12 extends VersionHelper {
+
+- private boolean getSystemPropsFailed = false;
+-
+- VersionHelper12() {} // Disallow external from creating one of these.
++ // Disallow external from creating one of these.
++ VersionHelper12() {
++ }
+
+ public Class loadClass(String className) throws ClassNotFoundException {
+- ClassLoader cl = getContextClassLoader();
+- return Class.forName(className, true, cl);
++ return loadClass(className, getContextClassLoader());
+ }
+
+ /**
+- * Package private.
+- */
++ * Package private.
++ *
++ * This internal method is used with Thread Context Class Loader (TCCL),
++ * please don't expose this method as public.
++ */
+ Class loadClass(String className, ClassLoader cl)
+ throws ClassNotFoundException {
+- return Class.forName(className, true, cl);
++ Class<?> cls = Class.forName(className, true, cl);
++ return cls;
+ }
+
+ /**
+@@ -77,12 +79,12 @@
+ */
+ public Class loadClass(String className, String codebase)
+ throws ClassNotFoundException, MalformedURLException {
+- ClassLoader cl;
+
+ ClassLoader parent = getContextClassLoader();
+- cl = URLClassLoader.newInstance(getUrlArray(codebase), parent);
++ ClassLoader cl =
++ URLClassLoader.newInstance(getUrlArray(codebase), parent);
+
+- return Class.forName(className, true, cl);
++ return loadClass(className, cl);
+ }
+
+ String getJndiProperty(final int i) {
+@@ -100,16 +102,12 @@
+ }
+
+ String[] getJndiProperties() {
+- if (getSystemPropsFailed) {
+- return null; // after one failure, don't bother trying again
+- }
+ Properties sysProps = (Properties) AccessController.doPrivileged(
+ new PrivilegedAction() {
+ public Object run() {
+ try {
+ return System.getProperties();
+ } catch (SecurityException e) {
+- getSystemPropsFailed = true;
+ return null;
+ }
+ }
+@@ -175,17 +173,31 @@
+ return new InputStreamEnumeration(urls);
+ }
+
++ /**
++ * Package private.
++ *
++ * This internal method returns Thread Context Class Loader (TCCL),
++ * if null, returns the system Class Loader.
++ *
++ * Please don't expose this method as public.
++ */
+ ClassLoader getContextClassLoader() {
+ return (ClassLoader) AccessController.doPrivileged(
+ new PrivilegedAction() {
+ public Object run() {
+- return Thread.currentThread().getContextClassLoader();
++ ClassLoader loader =
++ Thread.currentThread().getContextClassLoader();
++ if (loader == null) {
++ // Don't use bootstrap class loader directly!
++ loader = ClassLoader.getSystemClassLoader();
++ }
++
++ return loader;
+ }
+ }
+ );
+ }
+
+-
+ /**
+ * Given an enumeration of URLs, an instance of this class represents
+ * an enumeration of their InputStreams. Each operation on the URL
+--- ./jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer11.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer11.java Thu Dec 19 09:01:16 2013 -0800
+@@ -358,7 +358,8 @@
+ } else if (!isVisible(xmlns)) {
+ // There is a defn but the xmlns is not selected by the xpath.
+ // then xmlns=""
+- n = ns.addMappingAndRender(XMLNS, "", nullNode);
++ n = ns.addMappingAndRender(XMLNS, "",
++ getNullNode(xmlns.getOwnerDocument()));
+ }
+ // output the xmlns def if needed.
+ if (n != null) {
+--- ./jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315.java Thu Dec 19 09:01:16 2013 -0800
+@@ -302,7 +302,8 @@
+ } else if ( !isVisible(xmlns)) {
+ //There is a definition but the xmlns is not selected by the xpath.
+ //then xmlns=""
+- n=ns.addMappingAndRender(XMLNS,"",nullNode);
++ n=ns.addMappingAndRender(XMLNS, "",
++ getNullNode(xmlns.getOwnerDocument()));
+ }
+ //output the xmlns def if needed.
+ if (n!=null) {
+--- ./jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315Excl.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315Excl.java Thu Dec 19 09:01:16 2013 -0800
+@@ -300,7 +300,7 @@
+ if ((xmlns!=null) && (!isVisible(xmlns))) {
+ //There is a definition but the xmlns is not selected by the xpath.
+ //then xmlns=""
+- ns.addMapping(XMLNS,"",nullNode);
++ ns.addMapping(XMLNS, "", getNullNode(xmlns.getOwnerDocument()));
+ }
+
+ if (E.getNamespaceURI() != null) {
+--- ./jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase.java Thu Dec 19 09:01:16 2013 -0800
+@@ -34,7 +34,6 @@
+ import java.util.Map;
+ import java.util.Set;
+
+-import javax.xml.parsers.DocumentBuilderFactory;
+ import javax.xml.parsers.ParserConfigurationException;
+
+ import com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException;
+@@ -48,6 +47,7 @@
+ import org.w3c.dom.Attr;
+ import org.w3c.dom.Comment;
+ import org.w3c.dom.Element;
++import org.w3c.dom.Document;
+ import org.w3c.dom.NamedNodeMap;
+ import org.w3c.dom.Node;
+ import org.w3c.dom.ProcessingInstruction;
+@@ -63,6 +63,9 @@
+ public abstract class CanonicalizerBase extends CanonicalizerSpi {
+ //Constants to be outputed, In char array form, so
+ //less garbage is generate when outputed.
++ //
++ // Make sure you clone the following mutable arrays before passing to
++ // potentially untrusted objects such as OutputStreams.
+ private static final byte[] _END_PI = {'?','>'};
+ private static final byte[] _BEGIN_PI = {'<','?'};
+ private static final byte[] _END_COMM = {'-','-','>'};
+@@ -75,29 +78,18 @@
+ private static final byte[] _LT_ = {'&','l','t',';'};
+ private static final byte[] _END_TAG = {'<','/'};
+ private static final byte[] _AMP_ = {'&','a','m','p',';'};
++ private static final byte[] _EQUALS_STR = {'=','\"'};
++
+ final static AttrCompare COMPARE=new AttrCompare();
+ final static String XML="xml";
+ final static String XMLNS="xmlns";
+- final static byte[] equalsStr= {'=','\"'};
+ static final int NODE_BEFORE_DOCUMENT_ELEMENT = -1;
+ static final int NODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT = 0;
+ static final int NODE_AFTER_DOCUMENT_ELEMENT = 1;
+- //The null xmlns definiton.
+- protected static final Attr nullNode;
+- static {
+- try {
+- nullNode=DocumentBuilderFactory.newInstance().
+- newDocumentBuilder().newDocument().createAttributeNS(Constants.NamespaceSpecNS,XMLNS);
+- nullNode.setValue("");
+- } catch (Exception e) {
+- throw new RuntimeException("Unable to create nullNode"/*,*/+e);
+- }
+- }
+-
+ List nodeFilter;
+-
+ boolean _includeComments;
+ Set _xpathNodeSet = null;
++
+ /**
+ * The node to be skiped/excluded from the DOM tree
+ * in subtree canonicalizations.
+@@ -106,6 +98,11 @@
+ OutputStream _writer = new UnsyncByteArrayOutputStream();//null;
+
+ /**
++ * The null xmlns definition.
++ */
++ private Attr nullNode;
++
++ /**
+ * Constructor CanonicalizerBase
+ *
+ * @param includeComments
+@@ -309,7 +306,7 @@
+ writer.write('>');
+ sibling= currentNode.getFirstChild();
+ if (sibling==null) {
+- writer.write(_END_TAG);
++ writer.write(_END_TAG.clone());
+ UtfHelpper.writeStringToUtf8(name,writer);
+ writer.write('>');
+ //We fineshed with this level, pop to the previous definitions.
+@@ -323,7 +320,7 @@
+ break;
+ }
+ while (sibling==null && parentNode!=null) {
+- writer.write(_END_TAG);
++ writer.write(_END_TAG.clone());
+ UtfHelpper.writeByte(((Element)parentNode).getTagName(),writer,cache);
+ writer.write('>');
+ //We fineshed with this level, pop to the previous definitions.
+@@ -479,7 +476,7 @@
+
+ if (sibling==null) {
+ if (currentNodeIsVisible) {
+- writer.write(_END_TAG);
++ writer.write(_END_TAG.clone());
+ UtfHelpper.writeByte(name,writer,cache);
+ writer.write('>');
+ //We fineshed with this level, pop to the previous definitions.
+@@ -497,7 +494,7 @@
+ }
+ while (sibling==null && parentNode!=null) {
+ if (isVisible(parentNode)) {
+- writer.write(_END_TAG);
++ writer.write(_END_TAG.clone());
+ UtfHelpper.writeByte(((Element)parentNode).getTagName(),writer,cache);
+ writer.write('>');
+ //We fineshed with this level, pop to the previous definitions.
+@@ -609,7 +606,8 @@
+ Attr nsprefix;
+ if (((nsprefix=ns.getMappingWithoutRendered("xmlns"))!=null)
+ && "".equals(nsprefix.getValue())) {
+- ns.addMappingAndRender("xmlns","",nullNode);
++ ns.addMappingAndRender("xmlns", "",
++ getNullNode(nsprefix.getOwnerDocument()));
+ }
+ }
+ /**
+@@ -659,7 +657,7 @@
+ final Map cache) throws IOException {
+ writer.write(' ');
+ UtfHelpper.writeByte(name,writer,cache);
+- writer.write(equalsStr);
++ writer.write(_EQUALS_STR.clone());
+ byte []toWrite;
+ final int length = value.length();
+ int i=0;
+@@ -669,27 +667,27 @@
+ switch (c) {
+
+ case '&' :
+- toWrite=_AMP_;
++ toWrite=_AMP_.clone();
+ break;
+
+ case '<' :
+- toWrite=_LT_;
++ toWrite=_LT_.clone();
+ break;
+
+ case '"' :
+- toWrite=_QUOT_;
++ toWrite=_QUOT_.clone();
+ break;
+
+ case 0x09 : // '\t'
+- toWrite=__X9_;
++ toWrite=__X9_.clone();
+ break;
+
+ case 0x0A : // '\n'
+- toWrite=__XA_;
++ toWrite=__XA_.clone();
+ break;
+
+ case 0x0D : // '\r'
+- toWrite=__XD_;
++ toWrite=__XD_.clone();
+ break;
+
+ default :
+@@ -718,7 +716,7 @@
+ if (position == NODE_AFTER_DOCUMENT_ELEMENT) {
+ writer.write('\n');
+ }
+- writer.write(_BEGIN_PI);
++ writer.write(_BEGIN_PI.clone());
+
+ final String target = currentPI.getTarget();
+ int length = target.length();
+@@ -726,7 +724,7 @@
+ for (int i = 0; i < length; i++) {
+ char c=target.charAt(i);
+ if (c==0x0D) {
+- writer.write(__XD_);
++ writer.write(__XD_.clone());
+ } else {
+ if (c < 0x80) {
+ writer.write(c);
+@@ -746,14 +744,14 @@
+ for (int i = 0; i < length; i++) {
+ char c=data.charAt(i);
+ if (c==0x0D) {
+- writer.write(__XD_);
++ writer.write(__XD_.clone());
+ } else {
+ UtfHelpper.writeCharToUtf8(c,writer);
+ }
+ }
+ }
+
+- writer.write(_END_PI);
++ writer.write(_END_PI.clone());
+ if (position == NODE_BEFORE_DOCUMENT_ELEMENT) {
+ writer.write('\n');
+ }
+@@ -770,7 +768,7 @@
+ if (position == NODE_AFTER_DOCUMENT_ELEMENT) {
+ writer.write('\n');
+ }
+- writer.write(_BEGIN_COMM);
++ writer.write(_BEGIN_COMM.clone());
+
+ final String data = currentComment.getData();
+ final int length = data.length();
+@@ -778,7 +776,7 @@
+ for (int i = 0; i < length; i++) {
+ char c=data.charAt(i);
+ if (c==0x0D) {
+- writer.write(__XD_);
++ writer.write(__XD_.clone());
+ } else {
+ if (c < 0x80) {
+ writer.write(c);
+@@ -788,7 +786,7 @@
+ }
+ }
+
+- writer.write(_END_COMM);
++ writer.write(_END_COMM.clone());
+ if (position == NODE_BEFORE_DOCUMENT_ELEMENT) {
+ writer.write('\n');
+ }
+@@ -810,19 +808,19 @@
+ switch (c) {
+
+ case '&' :
+- toWrite=_AMP_;
++ toWrite=_AMP_.clone();
+ break;
+
+ case '<' :
+- toWrite=_LT_;
++ toWrite=_LT_.clone();
+ break;
+
+ case '>' :
+- toWrite=_GT_;
++ toWrite=_GT_.clone();
+ break;
+
+ case 0xD :
+- toWrite=__XD_;
++ toWrite=__XD_.clone();
+ break;
+
+ default :
+@@ -837,4 +835,18 @@
+ }
+ }
+
++ // The null xmlns definition.
++ protected Attr getNullNode(Document ownerDocument) {
++ if (nullNode == null) {
++ try {
++ nullNode = ownerDocument.createAttributeNS(
++ Constants.NamespaceSpecNS, XMLNS);
++ nullNode.setValue("");
++ } catch (Exception e) {
++ throw new RuntimeException("Unable to create nullNode: " + e);
++ }
++ }
++ return nullNode;
++ }
++
+ }
+--- ./jdk/src/share/classes/com/sun/rowset/RowSetResourceBundle_ko.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/rowset/RowSetResourceBundle_ko.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -44,7 +44,7 @@
+ cachedrowsetimpl.dtypemismt = \uB370\uC774\uD130 \uC720\uD615\uC774 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.
+ cachedrowsetimpl.datefail = {1} \uC5F4\uC758 \uAC12({0})\uC5D0\uC11C getDate\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uBCC0\uD658\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
+ cachedrowsetimpl.timefail = {1} \uC5F4\uC758 \uAC12({0})\uC5D0\uC11C getTime\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uBCC0\uD658\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
+-cachedrowsetimpl.posupdate = \uC704\uCE58\uAC00 \uC9C0\uC815\uB41C \uAC31\uC2E0\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.
++cachedrowsetimpl.posupdate = \uC704\uCE58\uAC00 \uC9C0\uC815\uB41C \uC5C5\uB370\uC774\uD2B8\uAC00 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.
+ cachedrowsetimpl.unableins = \uC778\uC2A4\uD134\uC2A4\uD654\uD560 \uC218 \uC5C6\uC74C: {0}
+ cachedrowsetimpl.beforefirst = beforeFirst: \uCEE4\uC11C \uC791\uC5C5\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4.
+ cachedrowsetimpl.first = \uCC98\uC74C: \uCEE4\uC11C \uC791\uC5C5\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4.
+@@ -110,7 +110,7 @@
+ jdbcrowsetimpl.unsetmatch = \uC124\uC815\uC744 \uD574\uC81C\uD558\uB824\uB294 \uC5F4\uC774 \uC124\uC815\uB41C \uC5F4\uACFC \uB2E4\uB985\uB2C8\uB2E4.
+ jdbcrowsetimpl.usecolname = \uC5F4 \uC774\uB984\uC744 unsetMatchColumn\uC758 \uC778\uC218\uB85C \uC0AC\uC6A9\uD558\uC2ED\uC2DC\uC624.
+ jdbcrowsetimpl.usecolid = \uC5F4 ID\uB97C unsetMatchColumn\uC758 \uC778\uC218\uB85C \uC0AC\uC6A9\uD558\uC2ED\uC2DC\uC624.
+-jdbcrowsetimpl.resnotupd = ResultSet\uB97C \uAC31\uC2E0\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
++jdbcrowsetimpl.resnotupd = ResultSet\uB97C \uC5C5\uB370\uC774\uD2B8\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
+ jdbcrowsetimpl.opnotysupp = \uC791\uC5C5\uC774 \uC544\uC9C1 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.
+ jdbcrowsetimpl.featnotsupp = \uAE30\uB2A5\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.
+
+@@ -157,7 +157,7 @@
+ xmlrch.errinsert = insert \uD589\uC744 \uC0DD\uC131\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0}
+ xmlrch.errinsdel = insdel \uD589\uC744 \uC0DD\uC131\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0}
+ xmlrch.errupdate = update \uD589\uC744 \uC0DD\uC131\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0}
+-xmlrch.errupdrow = \uD589\uC744 \uAC31\uC2E0\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0}
++xmlrch.errupdrow = \uD589\uC744 \uC5C5\uB370\uC774\uD2B8\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0}
+ xmlrch.chars = \uBB38\uC790:
+ xmlrch.badvalue = \uC798\uBABB\uB41C \uAC12: \uB110\uC77C \uC218 \uC5C6\uB294 \uC18D\uC131\uC785\uB2C8\uB2E4.
+ xmlrch.badvalue1 = \uC798\uBABB\uB41C \uAC12: \uB110\uC77C \uC218 \uC5C6\uB294 \uBA54\uD0C0 \uB370\uC774\uD130\uC785\uB2C8\uB2E4.
+--- ./jdk/src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2003, 2013, 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
+@@ -659,7 +659,7 @@
+ //Added the handling for Class tags to take care of maps
+ //Makes an entry into the map upon end of class tag
+ try{
+- typeMap.put(Key_map,Class.forName(Value_map));
++ typeMap.put(Key_map,sun.reflect.misc.ReflectUtil.forName(Value_map));
+
+ }catch(ClassNotFoundException ex) {
+ throw new SAXException(MessageFormat.format(resBundle.handleGetObject("xmlrch.errmap").toString(), ex.getMessage()));
+--- ./jdk/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -46,7 +46,7 @@
+ FileChooser.openButton.textAndMnemonic=\uC5F4\uAE30(&O)
+ FileChooser.saveDialogTitle.textAndMnemonic=\uC800\uC7A5
+ FileChooser.openDialogTitle.textAndMnemonic=\uC5F4\uAE30
+-FileChooser.updateButton.textAndMnemonic=\uAC31\uC2E0(&U)
++FileChooser.updateButton.textAndMnemonic=\uC5C5\uB370\uC774\uD2B8(&U)
+ FileChooser.helpButton.textAndMnemonic=\uB3C4\uC6C0\uB9D0(&H)
+ FileChooser.directoryOpenButton.textAndMnemonic=\uC5F4\uAE30(&O)
+
+@@ -66,7 +66,7 @@
+ FileChooser.cancelButtonToolTip.textAndMnemonic=\uD30C\uC77C \uC120\uD0DD\uAE30 \uB300\uD654\uC0C1\uC790 \uC911\uB2E8
+ FileChooser.saveButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uD30C\uC77C \uC800\uC7A5
+ FileChooser.openButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uD30C\uC77C \uC5F4\uAE30
+-FileChooser.updateButtonToolTip.textAndMnemonic=\uB514\uB809\uD1A0\uB9AC \uBAA9\uB85D \uAC31\uC2E0
++FileChooser.updateButtonToolTip.textAndMnemonic=\uB514\uB809\uD1A0\uB9AC \uBAA9\uB85D \uC5C5\uB370\uC774\uD2B8
+ FileChooser.helpButtonToolTip.textAndMnemonic=FileChooser \uB3C4\uC6C0\uB9D0
+ FileChooser.directoryOpenButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uB514\uB809\uD1A0\uB9AC \uC5F4\uAE30
+
+--- ./jdk/src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_sv.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_sv.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -20,8 +20,8 @@
+
+ FileChooser.lookInLabel.textAndMnemonic=Leta &i:
+ FileChooser.saveInLabel.textAndMnemonic=Spara i:
+-FileChooser.fileNameLabel.textAndMnemonic=Fil&namn:
+-FileChooser.folderNameLabel.textAndMnemonic=Mapp&namn:
++FileChooser.fileNameLabel.textAndMnemonic=&Fil:
++FileChooser.folderNameLabel.textAndMnemonic=&Mapp:
+ FileChooser.filesOfTypeLabel.textAndMnemonic=Mapp&namn:
+ FileChooser.upFolderToolTip.textAndMnemonic=Upp en niv\u00E5
+ FileChooser.upFolderAccessibleName=Upp
+--- ./jdk/src/share/classes/java/beans/ThreadGroupContext.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/java/beans/ThreadGroupContext.java Thu Dec 19 09:01:16 2013 -0800
+@@ -41,24 +41,20 @@
+ */
+ final class ThreadGroupContext {
+
+- private static final WeakIdentityMap<ThreadGroupContext> contexts = new WeakIdentityMap<>();
++ private static final WeakIdentityMap<ThreadGroupContext> contexts = new WeakIdentityMap<ThreadGroupContext>() {
++ protected ThreadGroupContext create(Object key) {
++ return new ThreadGroupContext();
++ }
++ };
+
+ /**
+- * Returns the appropriate {@code AppContext} for the caller,
++ * Returns the appropriate {@code ThreadGroupContext} for the caller,
+ * as determined by its {@code ThreadGroup}.
+ *
+ * @return the application-dependent context
+ */
+ static ThreadGroupContext getContext() {
+- ThreadGroup group = Thread.currentThread().getThreadGroup();
+- synchronized (contexts) {
+- ThreadGroupContext context = contexts.get(group);
+- if (context == null) {
+- context = new ThreadGroupContext();
+- contexts.put(group, context);
+- }
+- return context;
+- }
++ return contexts.get(Thread.currentThread().getThreadGroup());
+ }
+
+ private volatile boolean isDesignTime;
+--- ./jdk/src/share/classes/java/beans/WeakIdentityMap.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/java/beans/WeakIdentityMap.java Thu Dec 19 09:01:16 2013 -0800
+@@ -33,18 +33,22 @@
+ * and reference-equality in place of object-equality to compare them.
+ * An entry will automatically be removed when its key is no longer
+ * in ordinary use. Both null values and the null key are supported.
++ * This class does not require additional synchronization.
++ * A thread-safety is provided by a fragile combination
++ * of synchronized blocks and volatile fields.
++ * Be very careful during editing!
+ *
+ * @see java.util.IdentityHashMap
+ * @see java.util.WeakHashMap
+ */
+-final class WeakIdentityMap<T> {
++abstract class WeakIdentityMap<T> {
+
+ private static final int MAXIMUM_CAPACITY = 1 << 30; // it MUST be a power of two
+ private static final Object NULL = new Object(); // special object for null key
+
+ private final ReferenceQueue<Object> queue = new ReferenceQueue<Object>();
+
+- private Entry<T>[] table = newTable(1<<3); // table's length MUST be a power of two
++ private volatile Entry<T>[] table = newTable(1<<3); // table's length MUST be a power of two
+ private int threshold = 6; // the next size value at which to resize
+ private int size = 0; // the number of key-value mappings
+
+@@ -54,78 +58,83 @@
+ key = NULL;
+ }
+ int hash = key.hashCode();
+- int index = getIndex(this.table, hash);
+- for (Entry<T> entry = this.table[index]; entry != null; entry = entry.next) {
++ Entry<T>[] table = this.table;
++ // unsynchronized search improves performance
++ // the null value does not mean that there are no needed entry
++ int index = getIndex(table, hash);
++ for (Entry<T> entry = table[index]; entry != null; entry = entry.next) {
+ if (entry.isMatched(key, hash)) {
+ return entry.value;
+ }
+ }
+- return null;
++ synchronized (NULL) {
++ // synchronized search improves stability
++ // we must create and add new value if there are no needed entry
++ index = getIndex(this.table, hash);
++ for (Entry<T> entry = this.table[index]; entry != null; entry = entry.next) {
++ if (entry.isMatched(key, hash)) {
++ return entry.value;
++ }
++ }
++ T value = create(key);
++ this.table[index] = new Entry<T>(key, hash, value, this.queue, this.table[index]);
++ if (++this.size >= this.threshold) {
++ if (this.table.length == MAXIMUM_CAPACITY) {
++ this.threshold = Integer.MAX_VALUE;
++ }
++ else {
++ removeStaleEntries();
++ table = newTable(this.table.length * 2);
++ transfer(this.table, table);
++ // If ignoring null elements and processing ref queue caused massive
++ // shrinkage, then restore old table. This should be rare, but avoids
++ // unbounded expansion of garbage-filled tables.
++ if (this.size >= this.threshold / 2) {
++ this.table = table;
++ this.threshold *= 2;
++ }
++ else {
++ transfer(table, this.table);
++ }
++ }
++ }
++ return value;
++ }
+ }
+
+- public T put(Object key, T value) {
+- removeStaleEntries();
+- if (key == null) {
+- key = NULL;
+- }
+- int hash = key.hashCode();
+- int index = getIndex(this.table, hash);
+- for (Entry<T> entry = this.table[index]; entry != null; entry = entry.next) {
+- if (entry.isMatched(key, hash)) {
+- T oldValue = entry.value;
+- entry.value = value;
+- return oldValue;
+- }
+- }
+- this.table[index] = new Entry<T>(key, hash, value, this.queue, this.table[index]);
+- if (++this.size >= this.threshold) {
+- if (this.table.length == MAXIMUM_CAPACITY) {
+- this.threshold = Integer.MAX_VALUE;
+- }
+- else {
+- removeStaleEntries();
+- Entry<T>[] table = newTable(this.table.length * 2);
+- transfer(this.table, table);
+-
+- // If ignoring null elements and processing ref queue caused massive
+- // shrinkage, then restore old table. This should be rare, but avoids
+- // unbounded expansion of garbage-filled tables.
+- if (this.size >= this.threshold / 2) {
+- this.table = table;
+- this.threshold *= 2;
+- }
+- else {
+- transfer(table, this.table);
+- }
+- }
+- }
+- return null;
+- }
++ protected abstract T create(Object key);
+
+ private void removeStaleEntries() {
+- for (Object ref = this.queue.poll(); ref != null; ref = this.queue.poll()) {
+- @SuppressWarnings("unchecked")
+- Entry<T> entry = (Entry<T>) ref;
+- int index = getIndex(this.table, entry.hash);
++ Object ref = this.queue.poll();
++ if (ref != null) {
++ synchronized (NULL) {
++ do {
++ @SuppressWarnings("unchecked")
++ Entry<T> entry = (Entry<T>) ref;
++ int index = getIndex(this.table, entry.hash);
+
+- Entry<T> prev = this.table[index];
+- Entry<T> current = prev;
+- while (current != null) {
+- Entry<T> next = current.next;
+- if (current == entry) {
+- if (prev == entry) {
+- this.table[index] = next;
++ Entry<T> prev = this.table[index];
++ Entry<T> current = prev;
++ while (current != null) {
++ Entry<T> next = current.next;
++ if (current == entry) {
++ if (prev == entry) {
++ this.table[index] = next;
++ }
++ else {
++ prev.next = next;
++ }
++ entry.value = null; // Help GC
++ entry.next = null; // Help GC
++ this.size--;
++ break;
++ }
++ prev = current;
++ current = next;
+ }
+- else {
+- prev.next = next;
+- }
+- entry.value = null; // Help GC
+- entry.next = null; // Help GC
+- this.size--;
+- break;
++ ref = this.queue.poll();
+ }
+- prev = current;
+- current = next;
++ while (ref != null);
+ }
+ }
+ }
+@@ -164,8 +173,8 @@
+
+ private static class Entry<T> extends WeakReference<Object> {
+ private final int hash;
+- private T value;
+- private Entry<T> next;
++ private volatile T value;
++ private volatile Entry<T> next;
+
+ Entry(Object key, int hash, T value, ReferenceQueue<Object> queue, Entry<T> next) {
+ super(key, queue);
+--- ./jdk/src/share/classes/java/lang/SecurityManager.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/java/lang/SecurityManager.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1131,12 +1131,8 @@
+ * @see #checkPermission(java.security.Permission) checkPermission
+ */
+ public void checkListen(int port) {
+- if (port == 0) {
+- checkPermission(SecurityConstants.LOCAL_LISTEN_PERMISSION);
+- } else {
+- checkPermission(new SocketPermission("localhost:"+port,
+- SecurityConstants.SOCKET_LISTEN_ACTION));
+- }
++ checkPermission(new SocketPermission("localhost:"+port,
++ SecurityConstants.SOCKET_LISTEN_ACTION));
+ }
+
+ /**
+--- ./jdk/src/share/classes/java/net/Socket.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/java/net/Socket.java Thu Dec 19 09:01:16 2013 -0800
+@@ -624,6 +624,10 @@
+ InetAddress addr = epoint.getAddress();
+ int port = epoint.getPort();
+ checkAddress (addr, "bind");
++ SecurityManager security = System.getSecurityManager();
++ if (security != null) {
++ security.checkListen(port);
++ }
+ getImpl().bind (addr, port);
+ bound = true;
+ }
+--- ./jdk/src/share/classes/java/net/SocketPermission.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/java/net/SocketPermission.java Thu Dec 19 09:01:16 2013 -0800
+@@ -34,6 +34,9 @@
+ import java.net.InetAddress;
+ import java.security.Permission;
+ import java.security.PermissionCollection;
++import java.security.PrivilegedAction;
++import java.security.AccessController;
++import java.security.Security;
+ import java.io.Serializable;
+ import java.io.ObjectStreamField;
+ import java.io.ObjectOutputStream;
+@@ -41,6 +44,7 @@
+ import java.io.IOException;
+ import sun.net.util.IPAddressUtil;
+ import sun.net.RegisteredDomain;
++import sun.net.PortConfig;
+ import sun.security.util.SecurityConstants;
+ import sun.security.util.Debug;
+
+@@ -176,6 +180,7 @@
+ private static final int PORT_MIN = 0;
+ private static final int PORT_MAX = 65535;
+ private static final int PRIV_PORT_MAX = 1023;
++ private static final int DEF_EPH_LOW = 49152;
+
+ // the actions mask
+ private transient int mask;
+@@ -226,6 +231,14 @@
+ private static Debug debug = null;
+ private static boolean debugInit = false;
+
++ // ephemeral port range for this system
++ private static final int ephemeralLow = initEphemeralPorts(
++ "low", DEF_EPH_LOW
++ );
++ private static final int ephemeralHigh = initEphemeralPorts(
++ "high", PORT_MAX
++ );
++
+ static {
+ Boolean tmp = java.security.AccessController.doPrivileged(
+ new sun.security.action.GetBooleanAction("sun.net.trustNameService"));
+@@ -362,6 +375,14 @@
+ }
+
+ /**
++ * Returns true if the permission has specified zero
++ * as its value (or lower bound) signifying the ephemeral range
++ */
++ private boolean includesEphemerals() {
++ return portrange[0] == 0;
++ }
++
++ /**
+ * Initialize the SocketPermission object. We don't do any DNS lookups
+ * as this point, instead we hold off until the implies method is
+ * called.
+@@ -853,10 +874,21 @@
+ int i,j;
+
+ if ((that.mask & RESOLVE) != that.mask) {
+- // check port range
++
++ // check simple port range
+ if ((that.portrange[0] < this.portrange[0]) ||
+ (that.portrange[1] > this.portrange[1])) {
++
++ // if either includes the ephemeral range, do full check
++ if (this.includesEphemerals() || that.includesEphemerals()) {
++ if (!inRange(this.portrange[0], this.portrange[1],
++ that.portrange[0], that.portrange[1]))
++ {
++ return false;
++ }
++ } else {
+ return false;
++ }
+ }
+ }
+
+@@ -1165,6 +1197,78 @@
+ init(getName(),getMask(actions));
+ }
+
++ /**
++ * Check the system/security property for the ephemeral port range
++ * for this system. The suffix is either "high" or "low"
++ */
++ private static int initEphemeralPorts(
++ final String suffix, final int defval
++ )
++ {
++ return AccessController.doPrivileged(
++ new PrivilegedAction<Integer>(){
++ public Integer run() {
++ int val = Integer.getInteger(
++ "jdk.net.ephemeralPortRange."+suffix, -1
++ );
++ if (val != -1) {
++ return val;
++ } else {
++ return suffix.equals("low") ?
++ PortConfig.getLower() : PortConfig.getUpper();
++ }
++ }
++ }
++ );
++ }
++
++ /**
++ * Check if the target range is within the policy range
++ * together with the ephemeral range for this platform
++ * (if policy includes ephemeral range)
++ */
++ private static boolean inRange(
++ int policyLow, int policyHigh, int targetLow, int targetHigh
++ )
++ {
++ if (targetLow == 0) {
++ // check policy includes ephemeral range
++ if (!inRange(policyLow, policyHigh, ephemeralLow, ephemeralHigh)) {
++ return false;
++ }
++ if (targetHigh == 0) {
++ // nothing left to do
++ return true;
++ }
++ // continue check with first real port number
++ targetLow = 1;
++ }
++
++ if (policyLow == 0 && policyHigh == 0) {
++ // ephemeral range only
++ return targetLow >= ephemeralLow && targetHigh <= ephemeralHigh;
++ }
++
++ if (policyLow != 0) {
++ // simple check of policy only
++ return targetLow >= policyLow && targetHigh <= policyHigh;
++ }
++
++ // policyLow == 0 which means possibly two ranges to check
++
++ // first check if policy and ephem range overlap/contiguous
++
++ if (policyHigh >= ephemeralLow - 1) {
++ return targetHigh <= ephemeralHigh;
++ }
++
++ // policy and ephem range do not overlap
++
++ // target range must lie entirely inside policy range or eph range
++
++ return (targetLow <= policyHigh && targetHigh <= policyHigh) ||
++ (targetLow >= ephemeralLow && targetHigh <= ephemeralHigh);
++ }
+ /*
+ public String toString()
+ {
+--- ./jdk/src/share/classes/java/util/jar/JarVerifier.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/java/util/jar/JarVerifier.java Thu Dec 19 09:01:16 2013 -0800
+@@ -169,7 +169,9 @@
+ name = name.substring(1);
+
+ // only set the jev object for entries that have a signature
+- if (sigFileSigners.get(name) != null) {
++ // (either verified or not)
++ if (sigFileSigners.get(name) != null ||
++ verifiedSigners.get(name) != null) {
+ mev.setEntry(name, je);
+ return;
+ }
+--- ./jdk/src/share/classes/java/util/logging/LogManager.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/java/util/logging/LogManager.java Thu Dec 19 09:01:16 2013 -0800
+@@ -257,6 +257,11 @@
+ * retrieved by calling Logmanager.getLogManager.
+ */
+ protected LogManager() {
++ this(checkSubclassPermissions());
++ }
++
++ private LogManager(Void checked) {
++
+ // Add a shutdown hook to close the global handlers.
+ try {
+ Runtime.getRuntime().addShutdownHook(new Cleaner());
+@@ -266,6 +271,19 @@
+ }
+ }
+
++ private static Void checkSubclassPermissions() {
++ final SecurityManager sm = System.getSecurityManager();
++ if (sm != null) {
++ // These permission will be checked in the LogManager constructor,
++ // in order to register the Cleaner() thread as a shutdown hook.
++ // Check them here to avoid the penalty of constructing the object
++ // etc...
++ sm.checkPermission(new RuntimePermission("shutdownHooks"));
++ sm.checkPermission(new RuntimePermission("setContextClassLoader"));
++ }
++ return null;
++ }
++
+ /**
+ * Return the global LogManager object.
+ */
+--- ./jdk/src/share/classes/javax/print/SimpleDoc.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/javax/print/SimpleDoc.java Thu Dec 19 09:01:16 2013 -0800
+@@ -91,7 +91,10 @@
+
+ Class repClass = null;
+ try {
+- repClass = Class.forName(flavor.getRepresentationClassName());
++ String className = flavor.getRepresentationClassName();
++ sun.reflect.misc.ReflectUtil.checkPackageAccess(className);
++ repClass = Class.forName(className, false,
++ Thread.currentThread().getContextClassLoader());
+ } catch (Throwable e) {
+ throw new IllegalArgumentException("unknown representation class");
+ }
+--- ./jdk/src/share/classes/javax/security/auth/Policy.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/javax/security/auth/Policy.java Thu Dec 19 09:01:16 2013 -0800
+@@ -26,6 +26,10 @@
+ package javax.security.auth;
+
+ import java.security.Security;
++import java.security.AccessController;
++import java.security.PrivilegedAction;
++import java.security.PrivilegedExceptionAction;
++import java.util.Objects;
+ import sun.security.util.Debug;
+
+ /**
+@@ -160,21 +164,14 @@
+ public abstract class Policy {
+
+ private static Policy policy;
+- private static ClassLoader contextClassLoader;
++
++ private final java.security.AccessControlContext acc =
++ java.security.AccessController.getContext();
+
+ // true if a custom (not com.sun.security.auth.PolicyFile) system-wide
+ // policy object is set
+ private static boolean isCustomPolicy;
+
+- static {
+- contextClassLoader = java.security.AccessController.doPrivileged
+- (new java.security.PrivilegedAction<ClassLoader>() {
+- public ClassLoader run() {
+- return Thread.currentThread().getContextClassLoader();
+- }
+- });
+- };
+-
+ /**
+ * Sole constructor. (For invocation by subclass constructors, typically
+ * implicit.)
+@@ -217,8 +214,8 @@
+
+ if (policy == null) {
+ String policy_class = null;
+- policy_class = java.security.AccessController.doPrivileged
+- (new java.security.PrivilegedAction<String>() {
++ policy_class = AccessController.doPrivileged
++ (new PrivilegedAction<String>() {
+ public String run() {
+ return java.security.Security.getProperty
+ ("auth.policy.provider");
+@@ -230,19 +227,28 @@
+
+ try {
+ final String finalClass = policy_class;
+- policy = java.security.AccessController.doPrivileged
+- (new java.security.PrivilegedExceptionAction<Policy>() {
+- public Policy run() throws ClassNotFoundException,
+- InstantiationException,
+- IllegalAccessException {
+- return (Policy) Class.forName
+- (finalClass,
+- true,
+- contextClassLoader).newInstance();
+- }
+- });
+- isCustomPolicy =
+- !finalClass.equals("com.sun.security.auth.PolicyFile");
++ final Policy untrustedImpl = AccessController.doPrivileged(
++ new PrivilegedExceptionAction<Policy>() {
++ public Policy run() throws ClassNotFoundException,
++ InstantiationException,
++ IllegalAccessException {
++ Class<? extends Policy> implClass = Class.forName(
++ finalClass, false,
++ Thread.currentThread().getContextClassLoader()
++ ).asSubclass(Policy.class);
++ return implClass.newInstance();
++ }
++ });
++ AccessController.doPrivileged(
++ new PrivilegedExceptionAction<Void>() {
++ public Void run() {
++ setPolicy(untrustedImpl);
++ isCustomPolicy =
++ !finalClass.equals("com.sun.security.auth.PolicyFile");
++ return null;
++ }
++ }, Objects.requireNonNull(untrustedImpl.acc)
++ );
+ } catch (Exception e) {
+ throw new SecurityException
+ (sun.security.util.ResourcesMgr.getString
+--- ./jdk/src/share/classes/javax/security/auth/Subject.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/javax/security/auth/Subject.java Thu Dec 19 09:01:16 2013 -0800
+@@ -946,6 +946,10 @@
+
+ s.defaultReadObject();
+
++ // Rewrap the principals into a SecureSet
++ principals = Collections.synchronizedSet(new SecureSet<Principal>
++ (this, PRINCIPAL_SET, principals));
++
+ // The Credential <code>Set</code> is not serialized, but we do not
+ // want the default deserialization routine to set it to null.
+ this.pubCredentials = Collections.synchronizedSet
+--- ./jdk/src/share/classes/javax/security/auth/login/Configuration.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/javax/security/auth/login/Configuration.java Thu Dec 19 09:01:16 2013 -0800
+@@ -27,9 +27,6 @@
+
+ import javax.security.auth.AuthPermission;
+
+-import java.io.*;
+-import java.util.*;
+-import java.net.URI;
+ import java.security.AccessController;
+ import java.security.PrivilegedAction;
+ import java.security.PrivilegedExceptionAction;
+@@ -38,7 +35,7 @@
+ import java.security.NoSuchProviderException;
+ import java.security.Provider;
+ import java.security.Security;
+-import java.security.SecurityPermission;
++import java.util.Objects;
+
+ import sun.security.jca.GetInstance;
+
+@@ -194,16 +191,9 @@
+ public abstract class Configuration {
+
+ private static Configuration configuration;
+- private static ClassLoader contextClassLoader;
+
+- static {
+- contextClassLoader = AccessController.doPrivileged
+- (new PrivilegedAction<ClassLoader>() {
+- public ClassLoader run() {
+- return Thread.currentThread().getContextClassLoader();
+- }
+- });
+- };
++ private final java.security.AccessControlContext acc =
++ java.security.AccessController.getContext();
+
+ private static void checkPermission(String type) {
+ SecurityManager sm = System.getSecurityManager();
+@@ -256,17 +246,26 @@
+
+ try {
+ final String finalClass = config_class;
+- configuration = AccessController.doPrivileged
+- (new PrivilegedExceptionAction<Configuration>() {
+- public Configuration run() throws ClassNotFoundException,
+- InstantiationException,
+- IllegalAccessException {
+- return (Configuration)Class.forName
+- (finalClass,
+- true,
+- contextClassLoader).newInstance();
+- }
+- });
++ final Configuration untrustedImpl = AccessController.doPrivileged(
++ new PrivilegedExceptionAction<Configuration>() {
++ public Configuration run() throws ClassNotFoundException,
++ InstantiationException,
++ IllegalAccessException {
++ Class<? extends Configuration> implClass = Class.forName(
++ finalClass, false,
++ Thread.currentThread().getContextClassLoader()
++ ).asSubclass(Configuration.class);
++ return implClass.newInstance();
++ }
++ });
++ AccessController.doPrivileged(
++ new PrivilegedExceptionAction<Void>() {
++ public Void run() {
++ setConfiguration(untrustedImpl);
++ return null;
++ }
++ }, Objects.requireNonNull(untrustedImpl.acc)
++ );
+ } catch (PrivilegedActionException e) {
+ Exception ee = e.getException();
+ if (ee instanceof InstantiationException) {
+--- ./jdk/src/share/classes/javax/security/auth/login/LoginContext.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/javax/security/auth/login/LoginContext.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1998, 2013, 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
+@@ -217,8 +217,7 @@
+ private Map state = new HashMap();
+
+ private Configuration config;
+- private boolean configProvided = false;
+- private AccessControlContext creatorAcc = null;
++ private AccessControlContext creatorAcc = null; // customized config only
+ private ModuleInfo[] moduleStack;
+ private ClassLoader contextClassLoader = null;
+ private static final Class[] PARAMS = { };
+@@ -237,7 +236,7 @@
+ private void init(String name) throws LoginException {
+
+ SecurityManager sm = System.getSecurityManager();
+- if (sm != null && !configProvided) {
++ if (sm != null && creatorAcc == null) {
+ sm.checkPermission(new AuthPermission
+ ("createLoginContext." + name));
+ }
+@@ -260,7 +259,7 @@
+ AppConfigurationEntry[] entries = config.getAppConfigurationEntry(name);
+ if (entries == null) {
+
+- if (sm != null && !configProvided) {
++ if (sm != null && creatorAcc == null) {
+ sm.checkPermission(new AuthPermission
+ ("createLoginContext." + OTHER));
+ }
+@@ -287,7 +286,15 @@
+ contextClassLoader = java.security.AccessController.doPrivileged
+ (new java.security.PrivilegedAction<ClassLoader>() {
+ public ClassLoader run() {
+- return Thread.currentThread().getContextClassLoader();
++ ClassLoader loader =
++ Thread.currentThread().getContextClassLoader();
++ if (loader == null) {
++ // Don't use bootstrap class loader directly to ensure
++ // proper package access control!
++ loader = ClassLoader.getSystemClassLoader();
++ }
++
++ return loader;
+ }
+ });
+ }
+@@ -306,10 +313,10 @@
+ (DEFAULT_HANDLER);
+ if (defaultHandler == null || defaultHandler.length() == 0)
+ return null;
+- Class c = Class.forName(defaultHandler,
+- true,
+- finalLoader);
+- return (CallbackHandler)c.newInstance();
++ Class<? extends CallbackHandler> c = Class.forName(
++ defaultHandler, true,
++ finalLoader).asSubclass(CallbackHandler.class);
++ return c.newInstance();
+ }
+ });
+ } catch (java.security.PrivilegedActionException pae) {
+@@ -317,7 +324,7 @@
+ }
+
+ // secure it with the caller's ACC
+- if (this.callbackHandler != null && !configProvided) {
++ if (this.callbackHandler != null && creatorAcc == null) {
+ this.callbackHandler = new SecureCallbackHandler
+ (java.security.AccessController.getContext(),
+ this.callbackHandler);
+@@ -506,8 +513,7 @@
+ CallbackHandler callbackHandler,
+ Configuration config) throws LoginException {
+ this.config = config;
+- configProvided = (config != null) ? true : false;
+- if (configProvided) {
++ if (config != null) {
+ creatorAcc = java.security.AccessController.getContext();
+ }
+
+@@ -518,7 +524,7 @@
+ }
+ if (callbackHandler == null) {
+ loadDefaultCallbackHandler();
+- } else if (!configProvided) {
++ } else if (creatorAcc == null) {
+ this.callbackHandler = new SecureCallbackHandler
+ (java.security.AccessController.getContext(),
+ callbackHandler);
+@@ -585,23 +591,13 @@
+ }
+
+ try {
+- if (configProvided) {
+- // module invoked in doPrivileged with creatorAcc
+- invokeCreatorPriv(LOGIN_METHOD);
+- invokeCreatorPriv(COMMIT_METHOD);
+- } else {
+- // module invoked in doPrivileged
+- invokePriv(LOGIN_METHOD);
+- invokePriv(COMMIT_METHOD);
+- }
++ // module invoked in doPrivileged
++ invokePriv(LOGIN_METHOD);
++ invokePriv(COMMIT_METHOD);
+ loginSucceeded = true;
+ } catch (LoginException le) {
+ try {
+- if (configProvided) {
+- invokeCreatorPriv(ABORT_METHOD);
+- } else {
+- invokePriv(ABORT_METHOD);
+- }
++ invokePriv(ABORT_METHOD);
+ } catch (LoginException le2) {
+ throw le;
+ }
+@@ -636,13 +632,8 @@
+ ("null.subject.logout.called.before.login"));
+ }
+
+- if (configProvided) {
+- // module invoked in doPrivileged with creatorAcc
+- invokeCreatorPriv(LOGOUT_METHOD);
+- } else {
+- // module invoked in doPrivileged
+- invokePriv(LOGOUT_METHOD);
+- }
++ // module invoked in doPrivileged
++ invokePriv(LOGOUT_METHOD);
+ }
+
+ /**
+@@ -685,7 +676,8 @@
+
+ /**
+ * Invokes the login, commit, and logout methods
+- * from a LoginModule inside a doPrivileged block.
++ * from a LoginModule inside a doPrivileged block restricted
++ * by creatorAcc (may be null).
+ *
+ * This version is called if the caller did not instantiate
+ * the LoginContext with a Configuration object.
+@@ -698,29 +690,6 @@
+ invoke(methodName);
+ return null;
+ }
+- });
+- } catch (java.security.PrivilegedActionException pae) {
+- throw (LoginException)pae.getException();
+- }
+- }
+-
+- /**
+- * Invokes the login, commit, and logout methods
+- * from a LoginModule inside a doPrivileged block restricted
+- * by creatorAcc
+- *
+- * This version is called if the caller instantiated
+- * the LoginContext with a Configuration object.
+- */
+- private void invokeCreatorPriv(final String methodName)
+- throws LoginException {
+- try {
+- java.security.AccessController.doPrivileged
+- (new java.security.PrivilegedExceptionAction<Void>() {
+- public Void run() throws LoginException {
+- invoke(methodName);
+- return null;
+- }
+ }, creatorAcc);
+ } catch (java.security.PrivilegedActionException pae) {
+ throw (LoginException)pae.getException();
+@@ -743,24 +712,24 @@
+ } else {
+
+ // instantiate the LoginModule
+- Class c = Class.forName
+- (moduleStack[i].entry.getLoginModuleName(),
++ //
++ // Allow any object to be a LoginModule as long as it
++ // conforms to the interface.
++ Class<?> c = Class.forName(
++ moduleStack[i].entry.getLoginModuleName(),
+ true,
+ contextClassLoader);
+
+ Constructor constructor = c.getConstructor(PARAMS);
+ Object[] args = { };
+-
+- // allow any object to be a LoginModule
+- // as long as it conforms to the interface
+ moduleStack[i].module = constructor.newInstance(args);
+
++ // call the LoginModule's initialize method
+ methods = moduleStack[i].module.getClass().getMethods();
+-
+- // call the LoginModule's initialize method
+ for (mIndex = 0; mIndex < methods.length; mIndex++) {
+- if (methods[mIndex].getName().equals(INIT_METHOD))
++ if (methods[mIndex].getName().equals(INIT_METHOD)) {
+ break;
++ }
+ }
+
+ Object[] initArgs = {subject,
+@@ -768,19 +737,28 @@
+ state,
+ moduleStack[i].entry.getOptions() };
+ // invoke the LoginModule initialize method
++ //
++ // Throws ArrayIndexOutOfBoundsException if no such
++ // method defined. May improve to use LoginException in
++ // the future.
+ methods[mIndex].invoke(moduleStack[i].module, initArgs);
+ }
+
+ // find the requested method in the LoginModule
+ for (mIndex = 0; mIndex < methods.length; mIndex++) {
+- if (methods[mIndex].getName().equals(methodName))
++ if (methods[mIndex].getName().equals(methodName)) {
+ break;
++ }
+ }
+
+ // set up the arguments to be passed to the LoginModule method
+ Object[] args = { };
+
+ // invoke the LoginModule method
++ //
++ // Throws ArrayIndexOutOfBoundsException if no such
++ // method defined. May improve to use LoginException in
++ // the future.
+ boolean status = ((Boolean)methods[mIndex].invoke
+ (moduleStack[i].module, args)).booleanValue();
+
+--- ./jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2003, 2013, 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
+@@ -35,6 +35,8 @@
+ import java.io.InputStream;
+ import java.io.IOException;
+ import java.io.FileNotFoundException;
++import java.security.AccessController;
++import java.security.PrivilegedAction;
+
+ import javax.naming.*;
+
+@@ -362,7 +364,16 @@
+ /*
+ * Dependent on application
+ */
+- String strRowsetProperties = System.getProperty("rowset.properties");
++ String strRowsetProperties;
++ try {
++ strRowsetProperties = AccessController.doPrivileged(new PrivilegedAction<String>() {
++ public String run() {
++ return System.getProperty("rowset.properties");
++ }
++ });
++ } catch (Exception ex) {
++ strRowsetProperties = null;
++ }
+ if (strRowsetProperties != null) {
+ // Load user's implementation of SyncProvider
+ // here. -Drowset.properties=/abc/def/pqr.txt
+@@ -407,7 +418,16 @@
+ * load additional properties from -D command line
+ */
+ properties.clear();
+- String providerImpls = System.getProperty(ROWSET_SYNC_PROVIDER);
++ String providerImpls;
++ try {
++ providerImpls = AccessController.doPrivileged(new PrivilegedAction<String>() {
++ public String run() {
++ return System.getProperty(ROWSET_SYNC_PROVIDER);
++ }
++ });
++ } catch (Exception ex) {
++ providerImpls = null;
++ }
+
+ if (providerImpls != null) {
+ int i = 0;
+--- ./jdk/src/share/classes/javax/swing/SwingUtilities.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/javax/swing/SwingUtilities.java Thu Dec 19 09:01:16 2013 -0800
+@@ -24,6 +24,7 @@
+ */
+ package javax.swing;
+
++import sun.reflect.misc.ReflectUtil;
+ import sun.swing.SwingUtilities2;
+ import sun.swing.UIAction;
+
+@@ -33,9 +34,6 @@
+ import java.awt.event.*;
+ import java.awt.dnd.DropTarget;
+
+-import java.util.Vector;
+-import java.util.Hashtable;
+-
+ import java.lang.reflect.*;
+
+ import javax.accessibility.*;
+@@ -1871,6 +1869,7 @@
+
+
+ static Class<?> loadSystemClass(String className) throws ClassNotFoundException {
++ ReflectUtil.checkPackageAccess(className);
+ return Class.forName(className, true, Thread.currentThread().
+ getContextClassLoader());
+ }
+--- ./jdk/src/share/classes/javax/swing/event/EventListenerList.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/javax/swing/event/EventListenerList.java Thu Dec 19 09:01:16 2013 -0800
+@@ -27,6 +27,7 @@
+ import java.io.*;
+ import java.util.*;
+ import java.lang.reflect.Array;
++import sun.reflect.misc.ReflectUtil;
+
+ /**
+ * A class that holds a list of EventListeners. A single instance
+@@ -270,7 +271,9 @@
+ while (null != (listenerTypeOrNull = s.readObject())) {
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ EventListener l = (EventListener)s.readObject();
+- add((Class<EventListener>)Class.forName((String)listenerTypeOrNull, true, cl), l);
++ String name = (String) listenerTypeOrNull;
++ ReflectUtil.checkPackageAccess(name);
++ add((Class<EventListener>)Class.forName(name, true, cl), l);
+ }
+ }
+
+--- ./jdk/src/share/classes/sun/launcher/resources/launcher_fr.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/launcher/resources/launcher_fr.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -34,7 +34,7 @@
+ java.launcher.ergo.message2 =\ car vous ex\u00E9cutez une machine de classe de serveur.\n
+
+ # Translators please note do not translate the options themselves
+-java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n -classpath <class search path of directories and zip/jar files>\n Liste de r\u00E9pertoires, d''archives JAR et\n d''archives ZIP s\u00E9par\u00E9s par des {0}, dans laquelle rechercher les fichiers de classe.\n -D<name>=<value>\n d\u00E9finition d''une propri\u00E9t\u00E9 syst\u00E8me\n -verbose[:class|gc|jni]\n activation de la sortie en mode verbose\n -version impression de la version du produit et fin de l''op\u00E9ration\n -version:<value>\n ex\u00E9cution de la version sp\u00E9cifi\u00E9e obligatoire\n -showversion impression de la version du produit et poursuite de l''op\u00E9ration\n -jre-restrict-search | -no-jre-restrict-search\n inclusion/exclusion des environnements JRE priv\u00E9s de l''utilisateur dans la recherche de version\n -? -help impression du message d''aide\n -X impression de l''aide sur les options non standard\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n activation des assertions avec la granularit\u00E9 sp\u00E9cifi\u00E9e\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n d\u00E9sactivation des assertions avec la granularit\u00E9 sp\u00E9cifi\u00E9e\n -esa | -enablesystemassertions\n activation des assertions syst\u00E8me\n -dsa | -disablesystemassertions\n d\u00E9sactivation des assertions syst\u00E8me\n -agentlib:<libname>[=<options>]\n chargement de la biblioth\u00E8que d''agent natif <libname>, par exemple -agentlib:hprof\n voir \u00E9galement, -agentlib:jdwp=help et -agentlib:hprof=help\n -agentpath:<pathname>[=<options>]\n chargement de la biblioth\u00E8que d''agent natif via le chemin d''acc\u00E8s complet\n -javaagent:<jarpath>[=<options>]\n chargement de l''agent du langage de programmation Java, voir java.lang.instrument\n -splash:<imagepath>\n affichage de l''\u00E9cran d''accueil avec l''image sp\u00E9cifi\u00E9e\nVoir http://www.oracle.com/technetwork/java/javase/documentation/index.html pour plus de d\u00E9tails.
++java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n -classpath <class search path of directories and zip/jar files>\n Liste de r\u00E9pertoires, d''archives JAR et\n d''archives ZIP s\u00E9par\u00E9s par des {0}, dans laquelle rechercher les fichiers de classe.\n -D<name>=<value>\n d\u00E9finition d''une propri\u00E9t\u00E9 syst\u00E8me\n -verbose:[class|gc|jni]\n activation de la sortie en mode verbose\n -version impression de la version du produit et fin de l''op\u00E9ration\n -version:<value>\n ex\u00E9cution de la version sp\u00E9cifi\u00E9e obligatoire\n -showversion impression de la version du produit et poursuite de l''op\u00E9ration\n -jre-restrict-search | -no-jre-restrict-search\n inclusion/exclusion des environnements JRE priv\u00E9s de l''utilisateur dans la recherche de version\n -? -help impression du message d''aide\n -X impression de l''aide sur les options non standard\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n activation des assertions avec la granularit\u00E9 sp\u00E9cifi\u00E9e\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n d\u00E9sactivation des assertions avec la granularit\u00E9 sp\u00E9cifi\u00E9e\n -esa | -enablesystemassertions\n activation des assertions syst\u00E8me\n -dsa | -disablesystemassertions\n d\u00E9sactivation des assertions syst\u00E8me\n -agentlib:<libname>[=<options>]\n chargement de la biblioth\u00E8que d''agent natif <libname>, par exemple -agentlib:hprof\n voir \u00E9galement, -agentlib:jdwp=help et -agentlib:hprof=help\n -agentpath:<pathname>[=<options>]\n chargement de la biblioth\u00E8que d''agent natif via le chemin d''acc\u00E8s complet\n -javaagent:<jarpath>[=<options>]\n chargement de l''agent du langage de programmation Java, voir java.lang.instrument\n -splash:<imagepath>\n affichage de l''\u00E9cran d''accueil avec l''image sp\u00E9cifi\u00E9e\nVoir http://www.oracle.com/technetwork/java/javase/documentation/index.html pour plus de d\u00E9tails.
+
+ # Translators please note do not translate the options themselves
+ java.launcher.X.usage=\ -Xmixed ex\u00E9cution en mode mixte (valeur par d\u00E9faut)\n -Xint ex\u00E9cution en mode interpr\u00E9t\u00E9 uniquement\n -Xbootclasspath:<directories and zip/jar files separated by {0}>\n d\u00E9finition du chemin de recherche pour les ressources et classes bootstrap\n -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n ajout \u00E0 la fin du chemin de classe bootstrap\n -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n ajout au d\u00E9but du chemin de classe bootstrap\n -Xdiag affichage de messages de diagnostic suppl\u00E9mentaires\n -Xnoclassgc d\u00E9sactivation de l''op\u00E9ration de ramasse-miette (garbage collection) de la classe\n -Xincgc activation de l''op\u00E9ration de ramasse-miette (garbage collection) incr\u00E9mentielle\n -Xloggc:<file> journalisation du statut de l''op\u00E9ration de ramasse-miette (garbage collection) dans un fichier avec horodatages\n -Xbatch d\u00E9sactivation de la compilation en arri\u00E8re-plan\n -Xms<size> d\u00E9finition de la taille initiale des portions de m\u00E9moire Java\n -Xmx<size> d\u00E9finition de la taille maximale des portions de m\u00E9moire Java\n -Xss<size> d\u00E9finition de la taille de pile de thread Java\n -Xprof sortie des donn\u00E9es de profilage de l''unit\u00E9 centrale\n -Xfuture activation des contr\u00F4les les plus stricts en vue d''anticiper la future valeur par d\u00E9faut\n -Xrs r\u00E9duction de l''utilisation des signaux OS par Java/la machine virtuelle (voir documentation)\n -Xcheck:jni ex\u00E9cution de contr\u00F4les suppl\u00E9mentaires pour les fonctions JNI\n -Xshare:off aucune tentative d''utilisation des donn\u00E9es de classe partag\u00E9es\n -Xshare:auto utilisation des donn\u00E9es de classe partag\u00E9es si possible (valeur par d\u00E9faut)\n -Xshare:on utilisation des donn\u00E9es de classe partag\u00E9es obligatoire ou \u00E9chec de l''op\u00E9ration\n -XshowSettings affichage de tous les param\u00E8tres et poursuite de l''op\u00E9ration\n -XshowSettings:all\n affichage de tous les param\u00E8tres et poursuite de l''op\u00E9ration\n -XshowSettings:vm affichage de tous les param\u00E8tres de machine virtuelle et poursuite de l''op\u00E9ration\n -XshowSettings:properties\n affichage de tous les param\u00E8tres de propri\u00E9t\u00E9 et poursuite de l''op\u00E9ration\n -XshowSettings:locale\n affichage de tous les param\u00E8tres d''environnement local et poursuite de l''op\u00E9ration\n\nLes options -X ne sont pas des options standard et peuvent faire l''objet de modifications sans pr\u00E9avis.\n
+--- ./jdk/src/share/classes/sun/launcher/resources/launcher_ja.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/launcher/resources/launcher_ja.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -34,11 +34,11 @@
+ java.launcher.ergo.message2 =\ \u3053\u308C\u306F\u30B5\u30FC\u30D0\u30FC\u30AF\u30E9\u30B9\u306E\u30DE\u30B7\u30F3\u3067\u5B9F\u884C\u3057\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\n
+
+ # Translators please note do not translate the options themselves
+-java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n -classpath <class search path of directories and zip/jar files>\n \u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22\u3059\u308B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3001\n JAR\u30A2\u30FC\u30AB\u30A4\u30D6\u304A\u3088\u3073ZIP\u30A2\u30FC\u30AB\u30A4\u30D6\u306E{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30EA\u30B9\u30C8\u3067\u3059\u3002\n -D<name>=<value>\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u8A2D\u5B9A\u3059\u308B\n -verbose:[class|gc|jni]\n \u8A73\u7D30\u306A\u51FA\u529B\u3092\u884C\u3046\n -version \u88FD\u54C1\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u51FA\u529B\u3057\u3066\u7D42\u4E86\u3059\u308B\n -version:<value>\n \u6307\u5B9A\u3057\u305F\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u5B9F\u884C\u306B\u5FC5\u9808\u306B\u3059\u308B\n -showversion \u88FD\u54C1\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u51FA\u529B\u3057\u3066\u7D9A\u884C\u3059\u308B\n -jre-restrict-search | -no-jre-restrict-search\n \u30E6\u30FC\u30B6\u30FC\u306E\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8JRE\u3092\u30D0\u30FC\u30B8\u30E7\u30F3\u691C\u7D22\u306B\u542B\u3081\u308B/\u9664\u5916\u3059\u308B\n -? -help \u3053\u306E\u30D8\u30EB\u30D7\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u51FA\u529B\u3059\u308B\n -X \u975E\u6A19\u6E96\u30AA\u30D7\u30B7\u30E7\u30F3\u306B\u95A2\u3059\u308B\u30D8\u30EB\u30D7\u3092\u51FA\u529B\u3059\u308B\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n \u6307\u5B9A\u3057\u305F\u7C92\u5EA6\u3067\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n \u6307\u5B9A\u3057\u305F\u7C92\u5EA6\u3067\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -esa | -enablesystemassertions\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -dsa | -disablesystemassertions\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -agentlib:<libname>[=<options>]\n \u30CD\u30A4\u30C6\u30A3\u30D6\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30E9\u30A4\u30D6\u30E9\u30EA<libname>\u3092\u30ED\u30FC\u30C9\u3059\u308B\u3002\u4F8B: -agentlib:hprof\n -agentlib:jdwp=help\u3068-agentlib:hprof=help\u3082\u53C2\u7167\n -agentpath:<pathname>[=<options>]\n \u30D5\u30EB\u30D1\u30B9\u540D\u3067\u30CD\u30A4\u30C6\u30A3\u30D6\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30E9\u30A4\u30D6\u30E9\u30EA\u3092\u30ED\u30FC\u30C9\u3059\u308B\n -javaagent:<jarpath>[=<options>]\n Java\u30D7\u30ED\u30B0\u30E9\u30DF\u30F3\u30B0\u8A00\u8A9E\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u30ED\u30FC\u30C9\u3059\u308B\u3002java.lang.instrument\u3092\u53C2\u7167\n -splash:<imagepath>\n \u6307\u5B9A\u3057\u305F\u30A4\u30E1\u30FC\u30B8\u3067\u30B9\u30D7\u30E9\u30C3\u30B7\u30E5\u753B\u9762\u3092\u8868\u793A\u3059\u308B\n\u8A73\u7D30\u306Fhttp://www.oracle.com/technetwork/java/javase/documentation/index.html\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002
++java.launcher.opt.footer =\ -cp <\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB\u306E\u30AF\u30E9\u30B9\u691C\u7D22\u30D1\u30B9>\n -classpath <\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB\u306E\u30AF\u30E9\u30B9\u691C\u7D22\u30D1\u30B9>\n \u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22\u3059\u308B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3001\n JAR\u30A2\u30FC\u30AB\u30A4\u30D6\u304A\u3088\u3073ZIP\u30A2\u30FC\u30AB\u30A4\u30D6\u306E{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30EA\u30B9\u30C8\u3067\u3059\u3002\n -D<name>=<value>\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u8A2D\u5B9A\u3059\u308B\n -verbose:[class|gc|jni]\n \u8A73\u7D30\u306A\u51FA\u529B\u3092\u884C\u3046\n -version \u88FD\u54C1\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u51FA\u529B\u3057\u3066\u7D42\u4E86\u3059\u308B\n -version:<value>\n \u6307\u5B9A\u3057\u305F\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u5B9F\u884C\u306B\u5FC5\u9808\u306B\u3059\u308B\n -showversion \u88FD\u54C1\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u51FA\u529B\u3057\u3066\u7D9A\u884C\u3059\u308B\n -jre-restrict-search | -no-jre-restrict-search\n \u30E6\u30FC\u30B6\u30FC\u306E\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8JRE\u3092\u30D0\u30FC\u30B8\u30E7\u30F3\u691C\u7D22\u306B\u542B\u3081\u308B/\u9664\u5916\u3059\u308B\n -? -help \u3053\u306E\u30D8\u30EB\u30D7\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u51FA\u529B\u3059\u308B\n -X \u975E\u6A19\u6E96\u30AA\u30D7\u30B7\u30E7\u30F3\u306B\u95A2\u3059\u308B\u30D8\u30EB\u30D7\u3092\u51FA\u529B\u3059\u308B\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n \u6307\u5B9A\u3057\u305F\u7C92\u5EA6\u3067\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n \u6307\u5B9A\u3057\u305F\u7C92\u5EA6\u3067\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -esa | -enablesystemassertions\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -dsa | -disablesystemassertions\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -agentlib:<libname>[=<options>]\n \u30CD\u30A4\u30C6\u30A3\u30D6\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30E9\u30A4\u30D6\u30E9\u30EA<libname>\u3092\u30ED\u30FC\u30C9\u3059\u308B\u3002\u4F8B: -agentlib:hprof\n -agentlib:jdwp=help\u3068-agentlib:hprof=help\u3082\u53C2\u7167\n -agentpath:<pathname>[=<options>]\n \u30D5\u30EB\u30D1\u30B9\u540D\u3067\u30CD\u30A4\u30C6\u30A3\u30D6\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30E9\u30A4\u30D6\u30E9\u30EA\u3092\u30ED\u30FC\u30C9\u3059\u308B\n -javaagent:<jarpath>[=<options>]\n Java\u30D7\u30ED\u30B0\u30E9\u30DF\u30F3\u30B0\u8A00\u8A9E\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u30ED\u30FC\u30C9\u3059\u308B\u3002java.lang.instrument\u3092\u53C2\u7167\n -splash:<imagepath>\n \u6307\u5B9A\u3057\u305F\u30A4\u30E1\u30FC\u30B8\u3067\u30B9\u30D7\u30E9\u30C3\u30B7\u30E5\u753B\u9762\u3092\u8868\u793A\u3059\u308B\n\u8A73\u7D30\u306Fhttp://www.oracle.com/technetwork/java/javase/documentation/index.html\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002
+
+ # Translators please note do not translate the options themselves
+-java.launcher.X.usage=\ -Xmixed \u6DF7\u5408\u30E2\u30FC\u30C9\u306E\u5B9F\u884C(\u30C7\u30D5\u30A9\u30EB\u30C8)\n -Xint \u30A4\u30F3\u30BF\u30D7\u30EA\u30BF\u30FB\u30E2\u30FC\u30C9\u306E\u5B9F\u884C\u306E\u307F\n -Xbootclasspath:<directories and zip/jar files separated by {0}>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u306E\u30AF\u30E9\u30B9\u3068\u30EA\u30BD\u30FC\u30B9\u306E\u691C\u7D22\u30D1\u30B9\u3092\u8A2D\u5B9A\u3059\u308B\n -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306E\u6700\u5F8C\u306B\u8FFD\u52A0\u3059\u308B\n -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306E\u524D\u306B\u4ED8\u52A0\u3059\u308B\n -Xdiag \u8FFD\u52A0\u306E\u8A3A\u65AD\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u8868\u793A\u3059\u308B\n -Xnoclassgc \u30AF\u30E9\u30B9\u306E\u30AC\u30D9\u30FC\u30B8\u30FB\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -Xincgc \u5897\u5206\u30AC\u30D9\u30FC\u30B8\u30FB\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -Xloggc:<file> \u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4ED8\u3044\u305F\u30D5\u30A1\u30A4\u30EB\u306BGC\u30B9\u30C6\u30FC\u30BF\u30B9\u306E\u30ED\u30B0\u3092\u8A18\u9332\u3059\u308B\n -Xbatch \u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u306E\u30B3\u30F3\u30D1\u30A4\u30EB\u3092\u7121\u52B9\u306B\u3059\u308B\n -Xms<size> Java\u306E\u521D\u671F\u30D2\u30FC\u30D7\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xmx<size> Java\u306E\u6700\u5927\u30D2\u30FC\u30D7\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xss<size> Java\u306E\u30B9\u30EC\u30C3\u30C9\u30FB\u30B9\u30BF\u30C3\u30AF\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xprof CPU\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u30FB\u30C7\u30FC\u30BF\u3092\u51FA\u529B\u3059\u308B\n -Xfuture \u5C06\u6765\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u898B\u8D8A\u3057\u3066\u3001\u6700\u3082\u53B3\u5BC6\u306A\u30C1\u30A7\u30C3\u30AF\u3092\u6709\u52B9\u306B\u3059\u308B\n -Xrs Java/VM\u306B\u3088\u308BOS\u30B7\u30B0\u30CA\u30EB\u306E\u4F7F\u7528\u3092\u524A\u6E1B\u3059\u308B(\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53C2\u7167)\n -Xcheck:jni JNI\u95A2\u6570\u306B\u5BFE\u3059\u308B\u8FFD\u52A0\u306E\u30C1\u30A7\u30C3\u30AF\u3092\u5B9F\u884C\u3059\u308B\n -Xshare:off \u5171\u6709\u30AF\u30E9\u30B9\u306E\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3057\u3088\u3046\u3068\u3057\u306A\u3044\n -Xshare:auto \u53EF\u80FD\u3067\u3042\u308C\u3070\u5171\u6709\u30AF\u30E9\u30B9\u306E\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3059\u308B(\u30C7\u30D5\u30A9\u30EB\u30C8)\n -Xshare:on \u5171\u6709\u30AF\u30E9\u30B9\u30FB\u30C7\u30FC\u30BF\u306E\u4F7F\u7528\u3092\u5FC5\u9808\u306B\u3057\u3001\u3067\u304D\u306A\u3051\u308C\u3070\u5931\u6557\u3059\u308B\u3002\n -XshowSettings \u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:all\n \u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:vm \u3059\u3079\u3066\u306EVM\u95A2\u9023\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:properties\n \u3059\u3079\u3066\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:locale\n \
+-\u3059\u3079\u3066\u306E\u30ED\u30B1\u30FC\u30EB\u95A2\u9023\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n\n-X\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u975E\u6A19\u6E96\u306A\u306E\u3067\u3001\u4E88\u544A\u306A\u304F\u5909\u66F4\u3055\u308C\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002\n
++java.launcher.X.usage=\ -Xmixed \u6DF7\u5408\u30E2\u30FC\u30C9\u306E\u5B9F\u884C(\u30C7\u30D5\u30A9\u30EB\u30C8)\n -Xint \u30A4\u30F3\u30BF\u30D7\u30EA\u30BF\u30FB\u30E2\u30FC\u30C9\u306E\u5B9F\u884C\u306E\u307F\n -Xbootclasspath:<{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u306E\u30AF\u30E9\u30B9\u3068\u30EA\u30BD\u30FC\u30B9\u306E\u691C\u7D22\u30D1\u30B9\u3092\u8A2D\u5B9A\u3059\u308B\n -Xbootclasspath/a:<{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306E\u6700\u5F8C\u306B\u8FFD\u52A0\u3059\u308B\n -Xbootclasspath/p:<{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306E\u524D\u306B\u4ED8\u52A0\u3059\u308B\n -Xdiag \u8FFD\u52A0\u306E\u8A3A\u65AD\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u8868\u793A\u3059\u308B\n -Xnoclassgc \u30AF\u30E9\u30B9\u306E\u30AC\u30D9\u30FC\u30B8\u30FB\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -Xincgc \u5897\u5206\u30AC\u30D9\u30FC\u30B8\u30FB\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -Xloggc:<file> \u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4ED8\u3044\u305F\u30D5\u30A1\u30A4\u30EB\u306BGC\u30B9\u30C6\u30FC\u30BF\u30B9\u306E\u30ED\u30B0\u3092\u8A18\u9332\u3059\u308B\n -Xbatch \u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u306E\u30B3\u30F3\u30D1\u30A4\u30EB\u3092\u7121\u52B9\u306B\u3059\u308B\n -Xms<size> Java\u306E\u521D\u671F\u30D2\u30FC\u30D7\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xmx<size> Java\u306E\u6700\u5927\u30D2\u30FC\u30D7\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xss<size> Java\u306E\u30B9\u30EC\u30C3\u30C9\u30FB\u30B9\u30BF\u30C3\u30AF\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xprof CPU\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u30FB\u30C7\u30FC\u30BF\u3092\u51FA\u529B\u3059\u308B\n -Xfuture \u5C06\u6765\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u898B\u8D8A\u3057\u3066\u3001\u6700\u3082\u53B3\u5BC6\u306A\u30C1\u30A7\u30C3\u30AF\u3092\u6709\u52B9\u306B\u3059\u308B\n -Xrs Java/VM\u306B\u3088\u308BOS\u30B7\u30B0\u30CA\u30EB\u306E\u4F7F\u7528\u3092\u524A\u6E1B\u3059\u308B(\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53C2\u7167)\n -Xcheck:jni JNI\u95A2\u6570\u306B\u5BFE\u3059\u308B\u8FFD\u52A0\u306E\u30C1\u30A7\u30C3\u30AF\u3092\u5B9F\u884C\u3059\u308B\n -Xshare:off \u5171\u6709\u30AF\u30E9\u30B9\u306E\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3057\u3088\u3046\u3068\u3057\u306A\u3044\n -Xshare:auto \u53EF\u80FD\u3067\u3042\u308C\u3070\u5171\u6709\u30AF\u30E9\u30B9\u306E\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3059\u308B(\u30C7\u30D5\u30A9\u30EB\u30C8)\n -Xshare:on \u5171\u6709\u30AF\u30E9\u30B9\u30FB\u30C7\u30FC\u30BF\u306E\u4F7F\u7528\u3092\u5FC5\u9808\u306B\u3057\u3001\u3067\u304D\u306A\u3051\u308C\u3070\u5931\u6557\u3059\u308B\u3002\n -XshowSettings \u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:all\n \u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:vm \u3059\u3079\u3066\u306EVM\u95A2\u9023\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:properties\n \
++\u3059\u3079\u3066\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:locale\n \u3059\u3079\u3066\u306E\u30ED\u30B1\u30FC\u30EB\u95A2\u9023\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n\n-X\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u975E\u6A19\u6E96\u306A\u306E\u3067\u3001\u4E88\u544A\u306A\u304F\u5909\u66F4\u3055\u308C\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002\n
+
+ # Translators please note do not translate the options themselves
+ java.launcher.X.macosx.usage=\n\u6B21\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306FMac OS X\u56FA\u6709\u3067\u3059\u3002\n -XstartOnFirstThread\n main()\u30E1\u30BD\u30C3\u30C9\u3092\u6700\u521D(AppKit)\u306E\u30B9\u30EC\u30C3\u30C9\u3067\u5B9F\u884C\u3059\u308B\n -Xdock:name=<application name>"\n Dock\u306B\u8868\u793A\u3055\u308C\u308B\u30C7\u30D5\u30A9\u30EB\u30C8\u30FB\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u540D\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3059\u308B\n -Xdock:icon=<path to icon file>\n Dock\u306B\u8868\u793A\u3055\u308C\u308B\u30C7\u30D5\u30A9\u30EB\u30C8\u30FB\u30A2\u30A4\u30B3\u30F3\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3059\u308B\n\n
+--- ./jdk/src/share/classes/sun/launcher/resources/launcher_ko.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/launcher/resources/launcher_ko.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -34,10 +34,11 @@
+ java.launcher.ergo.message2 =\ \uC11C\uBC84\uAE09 \uC2DC\uC2A4\uD15C\uC5D0\uC11C \uC2E4\uD589 \uC911\uC774\uAE30 \uB54C\uBB38\uC785\uB2C8\uB2E4.\n
+
+ # Translators please note do not translate the options themselves
+-java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\\n -classpath <class search path of directories and zip/jar files>\\n \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uAC80\uC0C9\uD560 {0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC,\\n JAR \uC544\uCE74\uC774\uBE0C \uBC0F ZIP \uC544\uCE74\uC774\uBE0C \uBAA9\uB85D\uC785\uB2C8\uB2E4.\\n -D<name>=<value>\\n \uC2DC\uC2A4\uD15C \uC18D\uC131\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.\\n -verbose:[class|gc|jni]\\n \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -version \uC81C\uD488 \uBC84\uC804\uC744 \uC778\uC1C4\uD55C \uD6C4 \uC885\uB8CC\uD569\uB2C8\uB2E4.\\n -version:<value>\\n \uC2E4\uD589\uD560 \uBC84\uC804\uC744 \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.\\n -showversion \uC81C\uD488 \uBC84\uC804\uC744 \uC778\uC1C4\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\\n -jre-restrict-search | -no-jre-restrict-search\\n \uBC84\uC804 \uAC80\uC0C9\uC5D0\uC11C \uC0AC\uC6A9\uC790 \uC804\uC6A9 JRE\uB97C \uD3EC\uD568/\uC81C\uC678\uD569\uB2C8\uB2E4.\\n -? -help \uC774 \uB3C4\uC6C0\uB9D0 \uBA54\uC2DC\uC9C0\uB97C \uC778\uC1C4\uD569\uB2C8\uB2E4.\\n -X \uBE44\uD45C\uC900 \uC635\uC158\uC5D0 \uB300\uD55C \uB3C4\uC6C0\uB9D0\uC744 \uC778\uC1C4\uD569\uB2C8\uB2E4.\\n -ea[:<packagename>...|:<classname>]\\n -enableassertions[:<packagename>...|:<classname>]\\n \uC138\uBD84\uC131\uC774 \uC9C0\uC815\uB41C \uAC80\uC99D\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -da[:<packagename>...|:<classname>]\\n -disableassertions[:<packagename>...|:<classname>]\\n \uC138\uBD84\uC131\uC774 \uC9C0\uC815\uB41C \uAC80\uC99D\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -esa | -enablesystemassertions\\n \uC2DC\uC2A4\uD15C \uAC80\uC99D\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -dsa | -disablesystemassertions\\n \uC2DC\uC2A4\uD15C \uAC80\uC99D\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -agentlib:<libname>[=<options>]\\n <libname> \uACE0\uC720 \uC5D0\uC774\uC804\uD2B8 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4(\uC608: -agentlib:hprof).\\n -agentlib:jdwp=help \uBC0F -agentlib:hprof=help\uB3C4 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\\n -agentpath:<pathname>[=<options>]\\n \uC804\uCCB4 \uACBD\uB85C\uBA85\uC744 \uC0AC\uC6A9\uD558\uC5EC \uACE0\uC720 \uC5D0\uC774\uC804\uD2B8 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4.\\n -javaagent:<jarpath>[=<options>]\\n Java \uD504\uB85C\uADF8\uB798\uBC0D \uC5B8\uC5B4 \uC5D0\uC774\uC804\uD2B8\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4. java.lang.instrument\uB97C \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\\n -splash:<imagepath>\\n \uC774\uBBF8\uC9C0\uAC00 \uC9C0\uC815\uB41C \uC2A4\uD50C\uB798\uC2DC \uD654\uBA74\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.\\n\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 http://www.oracle.com/technetwork/java/javase/documentation/index.html\uC744 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.
++java.launcher.opt.footer =\ -cp <\uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C\uC758 \uD074\uB798\uC2A4 \uAC80\uC0C9 \uACBD\uB85C>\n -classpath <\uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C\uC758 \uD074\uB798\uC2A4 \uAC80\uC0C9 \uACBD\uB85C>\n \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uAC80\uC0C9\uD560 {0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC,\n JAR \uC544\uCE74\uC774\uBE0C \uBC0F ZIP \uC544\uCE74\uC774\uBE0C \uBAA9\uB85D\uC785\uB2C8\uB2E4.\n -D<name>=<value>\n \uC2DC\uC2A4\uD15C \uC18D\uC131\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.\n -verbose:[class|gc|jni]\n \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -version \uC81C\uD488 \uBC84\uC804\uC744 \uC778\uC1C4\uD55C \uD6C4 \uC885\uB8CC\uD569\uB2C8\uB2E4.\n -version:<value>\n \uC2E4\uD589\uD560 \uBC84\uC804\uC744 \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.\n -showversion \uC81C\uD488 \uBC84\uC804\uC744 \uC778\uC1C4\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -jre-restrict-search | -no-jre-restrict-search\n \uBC84\uC804 \uAC80\uC0C9\uC5D0\uC11C \uC0AC\uC6A9\uC790 \uC804\uC6A9 JRE\uB97C \uD3EC\uD568/\uC81C\uC678\uD569\uB2C8\uB2E4.\n -? -help \uC774 \uB3C4\uC6C0\uB9D0 \uBA54\uC2DC\uC9C0\uB97C \uC778\uC1C4\uD569\uB2C8\uB2E4.\n -X \uBE44\uD45C\uC900 \uC635\uC158\uC5D0 \uB300\uD55C \uB3C4\uC6C0\uB9D0\uC744 \uC778\uC1C4\uD569\uB2C8\uB2E4.\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n \uC138\uBD84\uC131\uC774 \uC9C0\uC815\uB41C \uAC80\uC99D\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n \uC138\uBD84\uC131\uC774 \uC9C0\uC815\uB41C \uAC80\uC99D\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -esa | -enablesystemassertions\n \uC2DC\uC2A4\uD15C \uAC80\uC99D\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -dsa | -disablesystemassertions\n \uC2DC\uC2A4\uD15C \uAC80\uC99D\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -agentlib:<libname>[=<options>]\n <libname> \uACE0\uC720 \uC5D0\uC774\uC804\uD2B8 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4(\uC608: -agentlib:hprof).\n -agentlib:jdwp=help \uBC0F -agentlib:hprof=help\uB3C4 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\n -agentpath:<pathname>[=<options>]\n \uC804\uCCB4 \uACBD\uB85C\uBA85\uC744 \uC0AC\uC6A9\uD558\uC5EC \uACE0\uC720 \uC5D0\uC774\uC804\uD2B8 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4.\n -javaagent:<jarpath>[=<options>]\n Java \uD504\uB85C\uADF8\uB798\uBC0D \uC5B8\uC5B4 \uC5D0\uC774\uC804\uD2B8\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4. java.lang.instrument\uB97C \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\n -splash:<imagepath>\n \uC774\uBBF8\uC9C0\uAC00 \uC9C0\uC815\uB41C \uC2A4\uD50C\uB798\uC2DC \uD654\uBA74\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.\n\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 http://www.oracle.com/technetwork/java/javase/documentation/index.html\uC744 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.
+
+ # Translators please note do not translate the options themselves
+-java.launcher.X.usage=\ -Xmixed \uD63C\uD569 \uBAA8\uB4DC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).\n -Xint \uD574\uC11D\uB41C \uBAA8\uB4DC\uB9CC \uC2E4\uD589\uD569\uB2C8\uB2E4.\n -Xbootclasspath:<directories and zip/jar files separated by {0}>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uBC0F \uB9AC\uC18C\uC2A4\uC5D0 \uB300\uD55C \uAC80\uC0C9 \uACBD\uB85C\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uACBD\uB85C \uB05D\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4.\n -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uACBD\uB85C \uC55E\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4.\n -Xdiag \uCD94\uAC00 \uC9C4\uB2E8 \uBA54\uC2DC\uC9C0\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.\n -Xnoclassgc \uD074\uB798\uC2A4\uC758 \uBD88\uD544\uC694\uD55C \uC815\uBCF4 \uBAA8\uC74C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xincgc \uC99D\uBD84\uC801\uC778 \uBD88\uD544\uC694\uD55C \uC815\uBCF4 \uBAA8\uC74C\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xloggc:<file> \uC2DC\uAC04 \uAE30\uB85D\uACFC \uD568\uAED8 \uD30C\uC77C\uC5D0 GC \uC0C1\uD0DC\uB97C \uAE30\uB85D\uD569\uB2C8\uB2E4.\n -Xbatch \uBC31\uADF8\uB77C\uC6B4\uB4DC \uCEF4\uD30C\uC77C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xms<size> \uCD08\uAE30 Java \uD799 \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xmx<size> \uCD5C\uB300 Java \uD799 \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xss<size> Java \uC2A4\uB808\uB4DC \uC2A4\uD0DD \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xprof CPU \uD504\uB85C\uD30C\uC77C \uC791\uC131 \uB370\uC774\uD130\uB97C \uCD9C\uB825\uD569\uB2C8\uB2E4.\n -Xfuture \uBBF8\uB798 \uAE30\uBCF8\uAC12\uC744 \uC608\uCE21\uD558\uC5EC \uAC00\uC7A5 \uC5C4\uACA9\uD55C \uAC80\uC0AC\uB97C \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xrs Java/VM\uC5D0 \uC758\uD55C OS \uC2E0\uD638 \uC0AC\uC6A9\uC744 \uC904\uC785\uB2C8\uB2E4(\uC124\uBA85\uC11C \uCC38\uC870).\n -Xcheck:jni JNI \uD568\uC218\uC5D0 \uB300\uD55C \uCD94\uAC00 \uAC80\uC0AC\uB97C \uC218\uD589\uD569\uB2C8\uB2E4.\n -Xshare:off \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130 \uC0AC\uC6A9\uC744 \uC2DC\uB3C4\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -Xshare:auto \uAC00\uB2A5\uD55C \uACBD\uC6B0 \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).\n -Xshare:on \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. \uADF8\uB807\uC9C0 \uC54A\uC744 \uACBD\uC6B0 \uC2E4\uD328\uD569\uB2C8\uB2E4.\n -XshowSettings \uBAA8\uB4E0 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:all\n \uBAA8\uB4E0 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:vm \uBAA8\uB4E0 VM \uAD00\uB828 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:properties\n \uBAA8\uB4E0 \uC18D\uC131 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:locale\n \uBAA8\uB4E0 \uB85C\uCF00\uC77C \uAD00\uB828 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n\n-X \uC635\uC158\uC740 \uBE44\uD45C\uC900 \uC635\uC158\uC774\uBBC0\uB85C \uD1B5\uC9C0 \uC5C6\uC774 \uBCC0\uACBD\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.\n
++java.launcher.X.usage=\ -Xmixed \uD63C\uD569 \uBAA8\uB4DC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).\n -Xint \uD574\uC11D\uB41C \uBAA8\uB4DC\uB9CC \uC2E4\uD589\uD569\uB2C8\uB2E4.\n -Xbootclasspath:<{0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uBC0F \uB9AC\uC18C\uC2A4\uC5D0 \uB300\uD55C \uAC80\uC0C9 \uACBD\uB85C\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xbootclasspath/a:<{0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uACBD\uB85C \uB05D\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4.\n -Xbootclasspath/p:<{0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uACBD\uB85C \uC55E\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4.\n -Xdiag \uCD94\uAC00 \uC9C4\uB2E8 \uBA54\uC2DC\uC9C0\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.\n -Xnoclassgc \uD074\uB798\uC2A4\uC758 \uBD88\uD544\uC694\uD55C \uC815\uBCF4 \uBAA8\uC74C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xincgc \uC99D\uBD84\uC801\uC778 \uBD88\uD544\uC694\uD55C \uC815\uBCF4 \uBAA8\uC74C\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xloggc:<file> \uC2DC\uAC04 \uAE30\uB85D\uACFC \uD568\uAED8 \uD30C\uC77C\uC5D0 GC \uC0C1\uD0DC\uB97C \uAE30\uB85D\uD569\uB2C8\uB2E4.\n -Xbatch \uBC31\uADF8\uB77C\uC6B4\uB4DC \uCEF4\uD30C\uC77C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xms<size> \uCD08\uAE30 Java \uD799 \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xmx<size> \uCD5C\uB300 Java \uD799 \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xss<size> Java \uC2A4\uB808\uB4DC \uC2A4\uD0DD \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xprof CPU \uD504\uB85C\uD30C\uC77C \uC791\uC131 \uB370\uC774\uD130\uB97C \uCD9C\uB825\uD569\uB2C8\uB2E4.\n -Xfuture \uBBF8\uB798 \uAE30\uBCF8\uAC12\uC744 \uC608\uCE21\uD558\uC5EC \uAC00\uC7A5 \uC5C4\uACA9\uD55C \uAC80\uC0AC\uB97C \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xrs Java/VM\uC5D0 \uC758\uD55C OS \uC2E0\uD638 \uC0AC\uC6A9\uC744 \uC904\uC785\uB2C8\uB2E4(\uC124\uBA85\uC11C \uCC38\uC870).\n -Xcheck:jni JNI \uD568\uC218\uC5D0 \uB300\uD55C \uCD94\uAC00 \uAC80\uC0AC\uB97C \uC218\uD589\uD569\uB2C8\uB2E4.\n -Xshare:off \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130 \uC0AC\uC6A9\uC744 \uC2DC\uB3C4\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -Xshare:auto \uAC00\uB2A5\uD55C \uACBD\uC6B0 \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).\n -Xshare:on \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. \uADF8\uB807\uC9C0 \uC54A\uC744 \uACBD\uC6B0 \uC2E4\uD328\uD569\uB2C8\uB2E4.\n -XshowSettings \uBAA8\uB4E0 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:all\n \uBAA8\uB4E0 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:vm \uBAA8\uB4E0 VM \uAD00\uB828 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:properties\n \uBAA8\uB4E0 \uC18D\uC131 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:locale\n \uBAA8\uB4E0 \uB85C\uCF00\uC77C \uAD00\uB828 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n\n-X \uC635\uC158\uC740 \uBE44\uD45C\uC900 \uC635\uC158\uC774\uBBC0\uB85C \uD1B5\uC9C0 \uC5C6\uC774 \uBCC0\uACBD\uB420 \uC218 \
++\uC788\uC2B5\uB2C8\uB2E4.\n
+
+ # Translators please note do not translate the options themselves
+ java.launcher.X.macosx.usage=\n\uB2E4\uC74C\uC740 Mac OS X\uC5D0 \uD2B9\uC815\uB41C \uC635\uC158\uC785\uB2C8\uB2E4.\n -XstartOnFirstThread\n \uCCAB\uBC88\uC9F8 (AppKit) \uC2A4\uB808\uB4DC\uC5D0 main() \uBA54\uC18C\uB4DC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4.\n -Xdock:name=<application name>"\n \uACE0\uC815\uC73C\uB85C \uD45C\uC2DC\uB41C \uAE30\uBCF8 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8 \uC774\uB984\uC744 \uBB34\uD6A8\uD654\uD569\uB2C8\uB2E4.\n -Xdock:icon=<path to icon file>\n \uACE0\uC815\uC73C\uB85C \uD45C\uC2DC\uB41C \uAE30\uBCF8 \uC544\uC774\uCF58\uC744 \uBB34\uD6A8\uD654\uD569\uB2C8\uB2E4.\n\n
+--- ./jdk/src/share/classes/sun/launcher/resources/launcher_pt_BR.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/launcher/resources/launcher_pt_BR.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -34,7 +34,7 @@
+ java.launcher.ergo.message2 =\ porque a execu\u00E7\u00E3o est\u00E1 sendo feita em uma m\u00E1quina de classe de servidor.\n
+
+ # Translators please note do not translate the options themselves
+-java.launcher.opt.footer =\ -cp <caminho de pesquisa da classe dos diret\u00F3rios e arquivos zip/jar>\n -classpath <caminho de pesquisa da classe dos diret\u00F3rios e arquivos zip/jar>\n Uma lista separada por {0} de diret\u00F3rios, archives JAR\n e archives ZIP nos quais ser\u00E3o procurados os arquivos de classe.\n -D<nome>=<valor>\n define uma propriedade do sistema\n -verbose[:classe|gc|jni]\n ativa a sa\u00EDda detalhada\n -version imprime a vers\u00E3o do produto e sai do programa\n -version:<valor>\n requer a execu\u00E7\u00E3o da vers\u00E3o especificada\n -showversion imprime a vers\u00E3o do produto e continua\n -jre-restrict-search | -no-jre-restrict-search\n inclui/exclui JREs privados do usu\u00E1rio na pesquisa de vers\u00E3o\n -? -help imprime esta mensagem de ajuda\n -X imprime a ajuda sobre op\u00E7\u00F5es n\u00E3o padronizadas\n -ea[:<nome do pacote>...|:<nome da classe>]\n -enableassertions[:<nome do pacote>...|:<nome da classe>]\n ativa asser\u00E7\u00F5es com granularidade especificada\n -da[:<nome do pacote>...|:<nome da classe>]\n -disableassertions[:<nome do pacote>...|:<nome da classe>]\n desativa asser\u00E7\u00F5es com granularidade especificada\n -esa | -enablesystemassertions\n ativa asser\u00E7\u00F5es do sistema\n -dsa | -disablesystemassertions\n desativa asser\u00E7\u00F5es do sistema\n -agentlib:<nome da biblioteca>[=<op\u00E7\u00F5es>]\n carrega a biblioteca de agentes nativa <nome da biblioteca>, por exemplo: -agentlib:hprof\n consulte tamb\u00E9m: -agentlib:jdwp=help e -agentlib:hprof=help\n -agentpath:<nome do caminho>[=<op\u00E7\u00F5es>]\n carrega a biblioteca de agentes nativa com base no nome do caminho completo\n -javaagent:<caminho do arquivo jar>[=<op\u00E7\u00F5es>]\n carrega o agente da linguagem de programa\u00E7\u00E3o Java; consulte java.lang.instrument\n -splash:<caminho da imagem>\n mostra a tela de abertura com a imagem especificada\nConsulte http://www.oracle.com/technetwork/java/javase/documentation/index.html para obter mais detalhes.
++java.launcher.opt.footer =\ -cp <caminho de pesquisa da classe dos diret\u00F3rios e arquivos zip/jar>\n -classpath <caminho de pesquisa da classe dos diret\u00F3rios e arquivos zip/jar>\n Uma lista separada por {0} de diret\u00F3rios, archives JAR\n e archives ZIP nos quais ser\u00E3o procurados os arquivos de classe.\n -D<nome>=<valor>\n define uma propriedade do sistema\n -verbose:[class|gc|jni]\n ativa a sa\u00EDda detalhada\n -version imprime a vers\u00E3o do produto e sai do programa\n -version:<valor>\n requer a execu\u00E7\u00E3o da vers\u00E3o especificada\n -showversion imprime a vers\u00E3o do produto e continua\n -jre-restrict-search | -no-jre-restrict-search\n inclui/exclui JREs privados do usu\u00E1rio na pesquisa de vers\u00E3o\n -? -help imprime esta mensagem de ajuda\n -X imprime a ajuda sobre op\u00E7\u00F5es n\u00E3o padronizadas\n -ea[:<nome do pacote>...|:<nome da classe>]\n -enableassertions[:<nome do pacote>...|:<nome da classe>]\n ativa asser\u00E7\u00F5es com granularidade especificada\n -da[:<nome do pacote>...|:<nome da classe>]\n -disableassertions[:<nome do pacote>...|:<nome da classe>]\n desativa asser\u00E7\u00F5es com granularidade especificada\n -esa | -enablesystemassertions\n ativa asser\u00E7\u00F5es do sistema\n -dsa | -disablesystemassertions\n desativa asser\u00E7\u00F5es do sistema\n -agentlib:<nome da biblioteca>[=<op\u00E7\u00F5es>]\n carrega a biblioteca de agentes nativa <nome da biblioteca>, por exemplo: -agentlib:hprof\n consulte tamb\u00E9m: -agentlib:jdwp=help e -agentlib:hprof=help\n -agentpath:<nome do caminho>[=<op\u00E7\u00F5es>]\n carrega a biblioteca de agentes nativa com base no nome do caminho completo\n -javaagent:<caminho do arquivo jar>[=<op\u00E7\u00F5es>]\n carrega o agente da linguagem de programa\u00E7\u00E3o Java; consulte java.lang.instrument\n -splash:<caminho da imagem>\n mostra a tela de abertura com a imagem especificada\nConsulte http://www.oracle.com/technetwork/java/javase/documentation/index.html para obter mais detalhes.
+
+ # Translators please note do not translate the options themselves
+ java.launcher.X.usage=\ -Xmixed execu\u00E7\u00E3o no modo misto (default)\n -Xint execu\u00E7\u00E3o somente no modo interpretado\n -Xbootclasspath:<diret\u00F3rios e arquivos zip/jar separados por {0}>\n define o caminho de pesquisa para classes e recursos de inicializa\u00E7\u00E3o\n -Xbootclasspath/a:<diret\u00F3rios e arquivos zip/jar separados por {0}>\n anexa no final do caminho da classe de inicializa\u00E7\u00E3o\n -Xbootclasspath/p:<diret\u00F3rios e arquivos zip/jar separados por {0}>\n anexa no in\u00EDcio do caminho da classe de inicializa\u00E7\u00E3o\n -Xdiag mostra mensagens de diagn\u00F3stico adicionais\n -Xnoclassgc desativa a coleta de lixo da classe\n -Xincgc ativa a coleta de lixo incremental\n -Xloggc:<arquivo> registra o status do GC status em um arquivo com marca\u00E7\u00F5es de data e hor\u00E1rio\n -Xbatch desativa a compila\u00E7\u00E3o em segundo plano\n -Xms<tamanho> define o tamanho inicial do heap Java\n -Xmx<tamanho> define o tamanho m\u00E1ximo do heap Java\n -Xss<tamanho> define o tamanho da pilha de threads java\n -Xprof produz dados de perfil da cpu\n -Xfuture ativa verifica\u00E7\u00F5es de n\u00EDvel m\u00E1ximo de exig\u00EAncia, prevendo o valor default futuro\n -Xrs reduz o uso de sinais do SO pelo(a) Java/VM (consulte a documenta\u00E7\u00E3o)\n -Xcheck:jni executa verifica\u00E7\u00F5es adicionais de fun\u00E7\u00F5es da JNI\n -Xshare:off n\u00E3o tenta usar dados da classe compartilhada\n -Xshare:auto se poss\u00EDvel, usa dados da classe compartilhada (default)\n -Xshare:on requer o uso de dados da classe compartilhada, caso contr\u00E1rio haver\u00E1 falha.\n -XshowSettings mostra todas as defini\u00E7\u00F5es e continua\n -XshowSettings:all\n mostra todas as defini\u00E7\u00F5es e continua\n -XshowSettings:vm mostra todas as defini\u00E7\u00F5es relacionadas \u00E0 vm e continua\n -XshowSettings:properties\n mostra todas as defini\u00E7\u00F5es da propriedade e continua\n -XshowSettings:locale\n mostra todas as defini\u00E7\u00F5es relativas \u00E0s configura\u00E7\u00F5es regionais e continua\n\nAs -X options n\u00E3o s\u00E3o padronizadas e est\u00E3o sujeitas a altera\u00E7\u00F5es sem aviso.\n
+--- ./jdk/src/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java Thu Dec 19 09:01:16 2013 -0800
+@@ -428,6 +428,10 @@
+ throw new AlreadyBoundException();
+ InetSocketAddress isa = (local == null) ?
+ new InetSocketAddress(0) : Net.checkAddress(local);
++ SecurityManager sm = System.getSecurityManager();
++ if (sm != null) {
++ sm.checkListen(isa.getPort());
++ }
+ NetHooks.beforeTcpBind(fd, isa.getAddress(), isa.getPort());
+ Net.bind(fd, isa.getAddress(), isa.getPort());
+ localAddress = Net.localAddress(fd);
+--- ./jdk/src/share/classes/sun/nio/ch/SocketChannelImpl.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/nio/ch/SocketChannelImpl.java Thu Dec 19 09:01:16 2013 -0800
+@@ -599,6 +599,10 @@
+ throw new AlreadyBoundException();
+ InetSocketAddress isa = (local == null) ?
+ new InetSocketAddress(0) : Net.checkAddress(local);
++ SecurityManager sm = System.getSecurityManager();
++ if (sm != null) {
++ sm.checkListen(isa.getPort());
++ }
+ NetHooks.beforeTcpBind(fd, isa.getAddress(), isa.getPort());
+ Net.bind(fd, isa.getAddress(), isa.getPort());
+ localAddress = Net.localAddress(fd);
+--- ./jdk/src/share/classes/sun/print/resources/serviceui_es.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/print/resources/serviceui_es.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -36,29 +36,29 @@
+ label.pstype=Tipo:
+ label.rangeto=A
+ label.size=Tama&\u00F1o:
+-label.source=Ori&gen:
++label.source=Orig&en:
+ label.status=Estado:
+ label.username=&Usuario:
+ label.millimetres=(mm)
+ label.inches=(pulg.)
+-label.topmargin=&superior
++label.topmargin=s&uperior
+ label.bottommargin=in&ferior
+ label.leftmargin=iz&quierdo
+ label.rightmargin=d&erecho
+ #
+ radiobutton.color=&Color
+-radiobutton.draftq=Bo&rrador
++radiobutton.draftq=B&orrador
+ radiobutton.duplex=&D\u00FAplex
+-radiobutton.highq=&Alta
++radiobutton.highq=Al&ta
+ radiobutton.landscape=Hori&zontal
+ radiobutton.monochrome=&Monocromo
+ radiobutton.normalq=&Normal
+ radiobutton.oneside=Una Ca&ra
+ radiobutton.portrait=&Vertical
+ radiobutton.rangeall=&Todo
+-radiobutton.rangepages=P\u00E1&ginas
++radiobutton.rangepages=P\u00E1gina&s
+ radiobutton.revlandscape=&Horizontal Inverso
+-radiobutton.revportrait=Vertical Inver&so
++radiobutton.revportrait=Vertical I&nverso
+ radiobutton.tumble=Cam&bio de Cara
+ # The vkMnemonics correspond with the constants defined in KeyEvent, eg
+ # 65 = KeyEvent.VK_A
+--- ./jdk/src/share/classes/sun/print/resources/serviceui_fr.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/print/resources/serviceui_fr.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -29,7 +29,7 @@
+ dialog.writeerror=Impossible d'\u00E9crire dans le fichier :
+ #
+ label.info=Infos :
+-label.jobname=Nom du &travail :
++label.jobname=Nom du tra&vail :
+ label.numcopies=Nombre de c&opies :
+ label.priority=P&riorit\u00E9 :
+ label.psname=&Nom :
+@@ -38,22 +38,22 @@
+ label.size=Tai&lle :
+ label.source=Sour&ce :
+ label.status=Statut :
+-label.username=Nom &utilisateur :
++label.username=Nom ut&ilisateur :
+ label.millimetres=(mm)
+ label.inches=(po)
+ label.topmargin=&haut
+ label.bottommargin=&bas
+-label.leftmargin=&gauche
++label.leftmargin=gauc&he
+ label.rightmargin=&droite
+ #
+-radiobutton.color=Coule&ur
++radiobutton.color=Coul&eur
+ radiobutton.draftq=Broui&llon
+ radiobutton.duplex=&Duplex
+ radiobutton.highq=Ma&x.
+-radiobutton.landscape=Pay&sage
+-radiobutton.monochrome=&Monochrome
++radiobutton.landscape=Pa&ysage
++radiobutton.monochrome=Monoc&hrome
+ radiobutton.normalq=&Normal
+-radiobutton.oneside=&Un c\u00F4t\u00E9
++radiobutton.oneside=Un &c\u00F4t\u00E9
+ radiobutton.portrait=&Portrait
+ radiobutton.rangeall=&Tout
+ radiobutton.rangepages=Pag&es
+@@ -64,7 +64,7 @@
+ # 65 = KeyEvent.VK_A
+ tab.appearance=&Apparence
+ tab.general=&G\u00E9n\u00E9ral
+-tab.pagesetup=Mi&se en page
++tab.pagesetup=&Mise en page
+ #
+ error.pagerange=Plage de pages non valide. Sp\u00E9cifiez les valeurs de nouveau (ex. : 1-3,5,7-10)
+ error.destination=Nom de fichier non valide ; recommencez
+--- ./jdk/src/share/classes/sun/print/resources/serviceui_it.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/print/resources/serviceui_it.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -47,8 +47,8 @@
+ label.rightmargin=&destro
+ #
+ radiobutton.color=&Colore
+-radiobutton.draftq=&Bozza
+-radiobutton.duplex=F&ronte retro
++radiobutton.draftq=Bo&zza
++radiobutton.duplex=&Fronte retro
+ radiobutton.highq=A&lta
+ radiobutton.landscape=Orizzonta&le
+ radiobutton.monochrome=Monocrom&atico
+@@ -62,7 +62,7 @@
+ radiobutton.tumble=La&to corto
+ # The vkMnemonics correspond with the constants defined in KeyEvent, eg
+ # 65 = KeyEvent.VK_A
+-tab.appearance=&Aspetto
++tab.appearance=As&petto
+ tab.general=&Generale
+ tab.pagesetup=Impo&sta pagina
+ #
+--- ./jdk/src/share/classes/sun/print/resources/serviceui_pt_BR.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/print/resources/serviceui_pt_BR.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -31,7 +31,7 @@
+ label.info=Informa\u00E7\u00F5es:
+ label.jobname=Nome do &Job:
+ label.numcopies=N\u00FAmer&o de c\u00F3pias:
+-label.priority=P&rioridade:
++label.priority=Pri&oridade:
+ label.psname=&Nome:
+ label.pstype=Tipo:
+ label.rangeto=At\u00E9
+@@ -44,27 +44,27 @@
+ label.topmargin=&superior
+ label.bottommargin=&inferior
+ label.leftmargin=es&querda:
+-label.rightmargin=di&reita
++label.rightmargin=&direita
+ #
+-radiobutton.color=C&or
+-radiobutton.draftq=&Rascunho
+-radiobutton.duplex=&Duplex
+-radiobutton.highq=&Alta
++radiobutton.color=&Cor
++radiobutton.draftq=Rascun&ho
++radiobutton.duplex=Duple&x
++radiobutton.highq=A&lta
+ radiobutton.landscape=&Paisagem
+ radiobutton.monochrome=&Monocrom\u00E1tico
+ radiobutton.normalq=&Normal
+-radiobutton.oneside=Um Lad&o
+-radiobutton.portrait=&Retrato
++radiobutton.oneside=Um La&do
++radiobutton.portrait=Re&trato
+ radiobutton.rangeall=T&udo
+ radiobutton.rangepages=&P\u00E1ginas
+ radiobutton.revlandscape=Paisagem I&nvertida
+-radiobutton.revportrait=Retrato &Invertido
++radiobutton.revportrait=Retrato In&vertido
+ radiobutton.tumble=&Virar
+ # The vkMnemonics correspond with the constants defined in KeyEvent, eg
+ # 65 = KeyEvent.VK_A
+-tab.appearance=&Apar\u00EAncia
++tab.appearance=Apa&r\u00EAncia
+ tab.general=&Geral
+-tab.pagesetup=Configura\u00E7\u00E3o de &P\u00E1gina
++tab.pagesetup=Con&figura\u00E7\u00E3o da P\u00E1gina
+ #
+ error.pagerange=Faixa de p\u00E1ginas inv\u00E1lida; insira novamente os valores (por exemplo, 1-3,5,7-10)
+ error.destination=Nome de arquivo inv\u00E1lido; tente novamente
+--- ./jdk/src/share/classes/sun/print/resources/serviceui_sv.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/print/resources/serviceui_sv.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -17,7 +17,7 @@
+ button.properties=&Egenskaper...
+ #
+ checkbox.collate=&Sortera
+-checkbox.jobsheets=&F\u00F6rs\u00E4ttsblad
++checkbox.jobsheets=F&\u00F6rs\u00E4ttsblad
+ checkbox.printtofile=Skriv ut till &fil
+ #
+ dialog.printtitle=Skriv ut
+@@ -30,13 +30,13 @@
+ #
+ label.info=Information:
+ label.jobname=&Utskrift:
+-label.numcopies=Antal &exemplar:
++label.numcopies=Antal e&xemplar:
+ label.priority=P&rioritet:
+ label.psname=&Namn:
+ label.pstype=Typ:
+ label.rangeto=Till
+ label.size=Stor&lek:
+-label.source=K\u00E4l&la:
++label.source=&K\u00E4lla:
+ label.status=Status:
+ label.username=A&nv\u00E4ndarnamn:
+ label.millimetres=(mm)
+@@ -50,7 +50,7 @@
+ radiobutton.draftq=Utka&st
+ radiobutton.duplex=&Dubbelsidig
+ radiobutton.highq=&H\u00F6g
+-radiobutton.landscape=&Liggande
++radiobutton.landscape=Liggan&de
+ radiobutton.monochrome=&Monokrom
+ radiobutton.normalq=&Normal
+ radiobutton.oneside=&Ensidig
+@@ -62,9 +62,9 @@
+ radiobutton.tumble=&V\u00E4nd
+ # The vkMnemonics correspond with the constants defined in KeyEvent, eg
+ # 65 = KeyEvent.VK_A
+-tab.appearance=&Format
++tab.appearance=Fo&rmat
+ tab.general=&Allm\u00E4nt
+-tab.pagesetup=Utskrifts&format
++tab.pagesetup=&Utskriftsformat
+ #
+ error.pagerange=Ogiltigt sidintervall. Skriv in v\u00E4rdena igen (t ex 1-3,5,7-10)
+ error.destination=Ogiltigt filnamn. F\u00F6rs\u00F6k igen.
+--- ./jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java Thu Dec 19 09:01:16 2013 -0800
+@@ -25,13 +25,17 @@
+
+ package sun.reflect.generics.reflectiveObjects;
+
++import java.lang.reflect.Constructor;
+ import java.lang.reflect.GenericDeclaration;
++import java.lang.reflect.Member;
++import java.lang.reflect.Method;
+ import java.lang.reflect.Type;
+ import java.lang.reflect.TypeVariable;
+
+ import sun.reflect.generics.factory.GenericsFactory;
+ import sun.reflect.generics.tree.FieldTypeSignature;
+ import sun.reflect.generics.visitor.Reifier;
++import sun.reflect.misc.ReflectUtil;
+
+ /**
+ * Implementation of <tt>java.lang.reflect.TypeVariable</tt> interface
+@@ -87,6 +91,13 @@
+ TypeVariableImpl<T> make(T decl, String name,
+ FieldTypeSignature[] bs,
+ GenericsFactory f) {
++
++ if (!((decl instanceof Class) ||
++ (decl instanceof Method) ||
++ (decl instanceof Constructor))) {
++ throw new AssertionError("Unexpected kind of GenericDeclaration" +
++ decl.getClass().toString());
++ }
+ return new TypeVariableImpl<T>(decl, name, bs, f);
+ }
+
+@@ -141,6 +152,13 @@
+ * @since 1.5
+ */
+ public D getGenericDeclaration(){
++ if (genericDeclaration instanceof Class)
++ ReflectUtil.checkPackageAccess((Class)genericDeclaration);
++ else if ((genericDeclaration instanceof Method) ||
++ (genericDeclaration instanceof Constructor))
++ ReflectUtil.conservativeCheckMemberAccess((Member)genericDeclaration);
++ else
++ throw new AssertionError("Unexpected kind of GenericDeclaration");
+ return genericDeclaration;
+ }
+
+@@ -156,7 +174,8 @@
+
+ @Override
+ public boolean equals(Object o) {
+- if (o instanceof TypeVariable) {
++ if (o instanceof TypeVariable &&
++ o.getClass() == TypeVariableImpl.class) {
+ TypeVariable that = (TypeVariable) o;
+
+ GenericDeclaration thatDecl = that.getGenericDeclaration();
+--- ./jdk/src/share/classes/sun/reflect/misc/ReflectUtil.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/reflect/misc/ReflectUtil.java Thu Dec 19 09:01:16 2013 -0800
+@@ -26,11 +26,13 @@
+
+ package sun.reflect.misc;
+
++import java.lang.reflect.Member;
+ import java.lang.reflect.Method;
+ import java.lang.reflect.Modifier;
+ import java.lang.reflect.Proxy;
+ import java.util.Arrays;
+ import sun.reflect.Reflection;
++import sun.security.util.SecurityConstants;
+
+ public final class ReflectUtil {
+
+@@ -117,6 +119,39 @@
+ return false;
+ }
+
++ /**
++ * Does a conservative approximation of member access check. Use this if
++ * you don't have an actual 'userland' caller Class/ClassLoader available.
++ * This might be more restrictive than a precise member access check where
++ * you have a caller, but should never allow a member access that is
++ * forbidden.
++ *
++ * @param m the {@code Member} about to be accessed
++ */
++ public static void conservativeCheckMemberAccess(Member m) throws SecurityException{
++ final SecurityManager sm = System.getSecurityManager();
++ if (sm == null)
++ return;
++
++ // Check for package access on the declaring class.
++ //
++ // In addition, unless the member and the declaring class are both
++ // public check for access declared member permissions.
++ //
++ // This is done regardless of ClassLoader relations between the {@code
++ // Member m} and any potential caller.
++
++ final Class<?> declaringClass = m.getDeclaringClass();
++
++ checkPackageAccess(declaringClass);
++
++ if (Modifier.isPublic(m.getModifiers()) &&
++ Modifier.isPublic(declaringClass.getModifiers()))
++ return;
++
++ // Check for declared member access.
++ sm.checkPermission(SecurityConstants.CHECK_MEMBER_ACCESS_PERMISSION);
++ }
+
+ /**
+ * Checks package access on the given class.
+--- ./jdk/src/share/classes/sun/rmi/registry/RegistryImpl.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/rmi/registry/RegistryImpl.java Thu Dec 19 09:01:16 2013 -0800
+@@ -352,7 +352,7 @@
+ public RegistryImpl run() throws RemoteException {
+ return new RegistryImpl(regPort);
+ }
+- }, getAccessControlContext());
++ }, getAccessControlContext(regPort));
+ } catch (PrivilegedActionException ex) {
+ throw (RemoteException) ex.getException();
+ }
+@@ -382,7 +382,7 @@
+ * The approach used here is taken from the similar method
+ * getAccessControlContext() in the sun.applet.AppletPanel class.
+ */
+- private static AccessControlContext getAccessControlContext() {
++ private static AccessControlContext getAccessControlContext(int port) {
+ // begin with permissions granted to all code in current policy
+ PermissionCollection perms = AccessController.doPrivileged(
+ new java.security.PrivilegedAction<PermissionCollection>() {
+@@ -404,6 +404,7 @@
+ * related classes themselves are more tightly limited by RMI.
+ */
+ perms.add(new SocketPermission("*", "connect,accept"));
++ perms.add(new SocketPermission("localhost:"+port, "listen,accept"));
+
+ perms.add(new RuntimePermission("accessClassInPackage.sun.jvmstat.*"));
+ perms.add(new RuntimePermission("accessClassInPackage.sun.jvm.hotspot.*"));
+--- ./jdk/src/share/classes/sun/rmi/server/resources/rmid_ko.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/rmi/server/resources/rmid_ko.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -87,7 +87,7 @@
+ rmid.restart.service.warning=\nrmid: (\uACBD\uACE0) \uC11C\uBE44\uC2A4 \uC7AC\uC2DC\uC791\uC73C\uB85C \uC778\uD574 \uBC1C\uC0DD\uD55C \uC624\uB958:
+
+ # "rmid" should not be translated
+-rmid.log.update.warning=\nrmid: (\uACBD\uACE0) \uB85C\uADF8 \uAC31\uC2E0\uC73C\uB85C \uC778\uD574 \uBC1C\uC0DD\uD55C \uC624\uB958:
++rmid.log.update.warning=\nrmid: (\uACBD\uACE0) \uB85C\uADF8 \uC5C5\uB370\uC774\uD2B8\uB85C \uC778\uD574 \uBC1C\uC0DD\uD55C \uC624\uB958:
+
+ # "rmid" should not be translated
+ rmid.log.snapshot.warning=\nrmid: (\uC2EC\uAC01) \uB85C\uADF8 \uC2A4\uB0C5\uC0F7\uC73C\uB85C \uC778\uD574 \uBC1C\uC0DD\uD55C \uC624\uB958:
+--- ./jdk/src/share/classes/sun/security/internal/spec/TlsRsaPremasterSecretParameterSpec.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/internal/spec/TlsRsaPremasterSecretParameterSpec.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2005, 2013, 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
+@@ -45,11 +45,12 @@
+
+ private final int majorVersion;
+ private final int minorVersion;
++ private final byte[] encodedSecret;
+
+ /**
+ * Constructs a new TlsRsaPremasterSecretParameterSpec.
+- *
+- * <p>The version numbers will be placed inside the premaster secret to
++ * <P>
++ * The version numbers will be placed inside the premaster secret to
+ * detect version rollbacks attacks as described in the TLS specification.
+ * Note that they do not indicate the protocol version negotiated for
+ * the handshake.
+@@ -65,7 +66,42 @@
+ this.majorVersion =
+ TlsMasterSecretParameterSpec.checkVersion(majorVersion);
+ this.minorVersion =
+- TlsMasterSecretParameterSpec.checkVersion(minorVersion); }
++ TlsMasterSecretParameterSpec.checkVersion(minorVersion);
++ this.encodedSecret = null;
++ }
++
++ /**
++ * Constructs a new TlsRsaPremasterSecretParameterSpec.
++ * <P>
++ * The version numbers will be placed inside the premaster secret to
++ * detect version rollbacks attacks as described in the TLS specification.
++ * Note that they do not indicate the protocol version negotiated for
++ * the handshake.
++ * <P>
++ * Usually, the encoded secret key is a random number that acts as
++ * dummy pre_master_secret to avoid vulnerabilities described by
++ * section 7.4.7.1, RFC 5246.
++ *
++ * @param majorVersion the major number of the protocol version
++ * @param minorVersion the minor number of the protocol version
++ * @param encodedSecret the encoded secret key
++ *
++ * @throws IllegalArgumentException if minorVersion or majorVersion are
++ * negative or larger than 255, or encodedSecret is not exactly 48 bytes.
++ */
++ public TlsRsaPremasterSecretParameterSpec(int majorVersion,
++ int minorVersion, byte[] encodedSecret) {
++ this.majorVersion =
++ TlsMasterSecretParameterSpec.checkVersion(majorVersion);
++ this.minorVersion =
++ TlsMasterSecretParameterSpec.checkVersion(minorVersion);
++
++ if (encodedSecret == null || encodedSecret.length != 48) {
++ throw new IllegalArgumentException(
++ "Encoded secret is not exactly 48 bytes");
++ }
++ this.encodedSecret = encodedSecret.clone();
++ }
+
+ /**
+ * Returns the major version.
+@@ -84,4 +120,13 @@
+ public int getMinorVersion() {
+ return minorVersion;
+ }
++
++ /**
++ * Returns the encoded secret.
++ *
++ * @return the encoded secret, may be null if no encoded secret.
++ */
++ public byte[] getEncodedSecret() {
++ return encodedSecret == null ? null : encodedSecret.clone();
++ }
+ }
+--- ./jdk/src/share/classes/sun/security/pkcs11/P11KeyAgreement.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/pkcs11/P11KeyAgreement.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2003, 2013, 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
+@@ -330,7 +330,7 @@
+ // as here we always retrieve the CKA_VALUE even for tokens
+ // that do not have that bug.
+ byte[] keyBytes = key.getEncoded();
+- byte[] newBytes = P11Util.trimZeroes(keyBytes);
++ byte[] newBytes = KeyUtil.trimZeroes(keyBytes);
+ if (keyBytes != newBytes) {
+ key = new SecretKeySpec(newBytes, algorithm);
+ }
+--- ./jdk/src/share/classes/sun/security/pkcs11/P11RSACipher.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/pkcs11/P11RSACipher.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2003, 2013, 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
+@@ -451,30 +451,7 @@
+ // see JCE spec
+ protected Key engineUnwrap(byte[] wrappedKey, String algorithm,
+ int type) throws InvalidKeyException, NoSuchAlgorithmException {
+- if (algorithm.equals("TlsRsaPremasterSecret")) {
+- // the instance variable "session" has been initialized for
+- // decrypt mode, so use a local variable instead.
+- Session s = null;
+- try {
+- s = token.getObjSession();
+- long keyType = CKK_GENERIC_SECRET;
+- CK_ATTRIBUTE[] attributes = new CK_ATTRIBUTE[] {
+- new CK_ATTRIBUTE(CKA_CLASS, CKO_SECRET_KEY),
+- new CK_ATTRIBUTE(CKA_KEY_TYPE, keyType),
+- };
+- attributes = token.getAttributes
+- (O_IMPORT, CKO_SECRET_KEY, keyType, attributes);
+- long keyID = token.p11.C_UnwrapKey(s.id(),
+- new CK_MECHANISM(mechanism), p11Key.keyID, wrappedKey,
+- attributes);
+- return P11Key.secretKey(s, keyID, algorithm, 48 << 3,
+- attributes);
+- } catch (PKCS11Exception e) {
+- throw new InvalidKeyException("unwrap() failed", e);
+- } finally {
+- token.releaseSession(s);
+- }
+- }
++
+ // XXX implement unwrap using C_Unwrap() for all keys
+ implInit(Cipher.DECRYPT_MODE, p11Key);
+ if (wrappedKey.length > maxInputSize) {
+--- ./jdk/src/share/classes/sun/security/pkcs11/P11Signature.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/pkcs11/P11Signature.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2003, 2013, 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
+@@ -41,6 +41,7 @@
+
+ import sun.security.pkcs11.wrapper.*;
+ import static sun.security.pkcs11.wrapper.PKCS11Constants.*;
++import sun.security.util.KeyUtil;
+
+ /**
+ * Signature implementation class. This class currently supports the
+@@ -687,8 +688,8 @@
+ BigInteger r = values[0].getPositiveBigInteger();
+ BigInteger s = values[1].getPositiveBigInteger();
+ // trim leading zeroes
+- byte[] br = P11Util.trimZeroes(r.toByteArray());
+- byte[] bs = P11Util.trimZeroes(s.toByteArray());
++ byte[] br = KeyUtil.trimZeroes(r.toByteArray());
++ byte[] bs = KeyUtil.trimZeroes(s.toByteArray());
+ int k = Math.max(br.length, bs.length);
+ // r and s each occupy half the array
+ byte[] res = new byte[k << 1];
+--- ./jdk/src/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2005, 2013, 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
+@@ -88,23 +88,33 @@
+ throw new IllegalStateException
+ ("TlsRsaPremasterSecretGenerator must be initialized");
+ }
+- CK_VERSION version =
+- new CK_VERSION(spec.getMajorVersion(), spec.getMinorVersion());
+- Session session = null;
+- try {
+- session = token.getObjSession();
+- CK_ATTRIBUTE[] attributes = token.getAttributes
+- (O_GENERATE, CKO_SECRET_KEY, CKK_GENERIC_SECRET, new CK_ATTRIBUTE[0]);
+- long keyID = token.p11.C_GenerateKey
+- (session.id(), new CK_MECHANISM(mechanism, version), attributes);
+- SecretKey key = P11Key.secretKey
+- (session, keyID, "TlsRsaPremasterSecret", 48 << 3, attributes);
+- return key;
+- } catch (PKCS11Exception e) {
+- throw new ProviderException("Could not generate premaster secret", e);
+- } finally {
+- token.releaseSession(session);
++
++ byte[] b = spec.getEncodedSecret();
++ if (b == null) {
++ CK_VERSION version = new CK_VERSION(
++ spec.getMajorVersion(), spec.getMinorVersion());
++ Session session = null;
++ try {
++ session = token.getObjSession();
++ CK_ATTRIBUTE[] attributes = token.getAttributes(
++ O_GENERATE, CKO_SECRET_KEY,
++ CKK_GENERIC_SECRET, new CK_ATTRIBUTE[0]);
++ long keyID = token.p11.C_GenerateKey(session.id(),
++ new CK_MECHANISM(mechanism, version), attributes);
++ SecretKey key = P11Key.secretKey(session,
++ keyID, "TlsRsaPremasterSecret", 48 << 3, attributes);
++ return key;
++ } catch (PKCS11Exception e) {
++ throw new ProviderException(
++ "Could not generate premaster secret", e);
++ } finally {
++ token.releaseSession(session);
++ }
+ }
++
++ // Won't worry, the TlsRsaPremasterSecret will be soon converted to
++ // TlsMasterSecret.
++ return new SecretKeySpec(b, "TlsRsaPremasterSecret");
+ }
+
+ }
+--- ./jdk/src/share/classes/sun/security/pkcs11/P11Util.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/pkcs11/P11Util.java Thu Dec 19 09:01:16 2013 -0800
+@@ -131,20 +131,6 @@
+ return b;
+ }
+
+- // trim leading (most significant) zeroes from the result
+- static byte[] trimZeroes(byte[] b) {
+- int i = 0;
+- while ((i < b.length - 1) && (b[i] == 0)) {
+- i++;
+- }
+- if (i == 0) {
+- return b;
+- }
+- byte[] t = new byte[b.length - i];
+- System.arraycopy(b, i, t, 0, t.length);
+- return t;
+- }
+-
+ public static byte[] getMagnitude(BigInteger bi) {
+ byte[] b = bi.toByteArray();
+ if ((b.length > 1) && (b[0] == 0)) {
+--- ./jdk/src/share/classes/sun/security/provider/ByteArrayAccess.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/provider/ByteArrayAccess.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2006, 2013, 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
+@@ -43,10 +43,8 @@
+ * These are the only platforms we currently support, but other optimized
+ * variants could be added as needed.
+ *
+- * NOTE that because this code performs unchecked direct memory access, it
+- * MUST be restricted to trusted code. It is imperative that the caller protects
+- * against out of bounds memory access by performing the necessary bounds
+- * checks before calling methods in this class.
++ * NOTE that ArrayIndexOutOfBoundsException will be thrown if the bounds checks
++ * failed.
+ *
+ * This class may also be helpful in improving the performance of the
+ * crypto code in the SunJCE provider. However, for now it is only accessible by
+@@ -103,6 +101,10 @@
+ * byte[] to int[] conversion, little endian byte order.
+ */
+ static void b2iLittle(byte[] in, int inOfs, int[] out, int outOfs, int len) {
++ if ((inOfs < 0) || ((in.length - inOfs) < len) ||
++ (outOfs < 0) || ((out.length - outOfs) < len/4)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ inOfs += byteArrayOfs;
+ len += inOfs;
+@@ -131,6 +133,10 @@
+
+ // Special optimization of b2iLittle(in, inOfs, out, 0, 64)
+ static void b2iLittle64(byte[] in, int inOfs, int[] out) {
++ if ((inOfs < 0) || ((in.length - inOfs) < 64) ||
++ (out.length < 16)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ inOfs += byteArrayOfs;
+ out[ 0] = unsafe.getInt(in, (long)(inOfs ));
+@@ -176,6 +182,10 @@
+ * int[] to byte[] conversion, little endian byte order.
+ */
+ static void i2bLittle(int[] in, int inOfs, byte[] out, int outOfs, int len) {
++ if ((inOfs < 0) || ((in.length - inOfs) < len/4) ||
++ (outOfs < 0) || ((out.length - outOfs) < len)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ outOfs += byteArrayOfs;
+ len += outOfs;
+@@ -204,6 +214,9 @@
+
+ // Store one 32-bit value into out[outOfs..outOfs+3] in little endian order.
+ static void i2bLittle4(int val, byte[] out, int outOfs) {
++ if ((outOfs < 0) || ((out.length - outOfs) < 4)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ unsafe.putInt(out, (long)(byteArrayOfs + outOfs), val);
+ } else if (bigEndian && ((outOfs & 3) == 0)) {
+@@ -220,6 +233,10 @@
+ * byte[] to int[] conversion, big endian byte order.
+ */
+ static void b2iBig(byte[] in, int inOfs, int[] out, int outOfs, int len) {
++ if ((inOfs < 0) || ((in.length - inOfs) < len) ||
++ (outOfs < 0) || ((out.length - outOfs) < len/4)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ inOfs += byteArrayOfs;
+ len += inOfs;
+@@ -248,6 +265,10 @@
+
+ // Special optimization of b2iBig(in, inOfs, out, 0, 64)
+ static void b2iBig64(byte[] in, int inOfs, int[] out) {
++ if ((inOfs < 0) || ((in.length - inOfs) < 64) ||
++ (out.length < 16)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ inOfs += byteArrayOfs;
+ out[ 0] = reverseBytes(unsafe.getInt(in, (long)(inOfs )));
+@@ -293,6 +314,10 @@
+ * int[] to byte[] conversion, big endian byte order.
+ */
+ static void i2bBig(int[] in, int inOfs, byte[] out, int outOfs, int len) {
++ if ((inOfs < 0) || ((in.length - inOfs) < len/4) ||
++ (outOfs < 0) || ((out.length - outOfs) < len)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ outOfs += byteArrayOfs;
+ len += outOfs;
+@@ -321,6 +346,9 @@
+
+ // Store one 32-bit value into out[outOfs..outOfs+3] in big endian order.
+ static void i2bBig4(int val, byte[] out, int outOfs) {
++ if ((outOfs < 0) || ((out.length - outOfs) < 4)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ unsafe.putInt(out, (long)(byteArrayOfs + outOfs), reverseBytes(val));
+ } else if (bigEndian && ((outOfs & 3) == 0)) {
+@@ -337,6 +365,10 @@
+ * byte[] to long[] conversion, big endian byte order.
+ */
+ static void b2lBig(byte[] in, int inOfs, long[] out, int outOfs, int len) {
++ if ((inOfs < 0) || ((in.length - inOfs) < len) ||
++ (outOfs < 0) || ((out.length - outOfs) < len/8)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ inOfs += byteArrayOfs;
+ len += inOfs;
+@@ -378,6 +410,10 @@
+
+ // Special optimization of b2lBig(in, inOfs, out, 0, 128)
+ static void b2lBig128(byte[] in, int inOfs, long[] out) {
++ if ((inOfs < 0) || ((in.length - inOfs) < 128) ||
++ (out.length < 16)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ if (littleEndianUnaligned) {
+ inOfs += byteArrayOfs;
+ out[ 0] = reverseBytes(unsafe.getLong(in, (long)(inOfs )));
+@@ -406,6 +442,10 @@
+ * long[] to byte[] conversion, big endian byte order.
+ */
+ static void l2bBig(long[] in, int inOfs, byte[] out, int outOfs, int len) {
++ if ((inOfs < 0) || ((in.length - inOfs) < len/8) ||
++ (outOfs < 0) || ((out.length - outOfs) < len)) {
++ throw new ArrayIndexOutOfBoundsException();
++ }
+ len += outOfs;
+ while (outOfs < len) {
+ long i = in[inOfs++];
+@@ -419,5 +459,4 @@
+ out[outOfs++] = (byte)(i );
+ }
+ }
+-
+ }
+--- ./jdk/src/share/classes/sun/security/rsa/RSAPadding.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/rsa/RSAPadding.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2003, 2013, 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
+@@ -318,33 +318,53 @@
+
+ /**
+ * PKCS#1 v1.5 unpadding (blocktype 1 and 2).
++ *
++ * Note that we want to make it a constant-time operation
+ */
+ private byte[] unpadV15(byte[] padded) throws BadPaddingException {
+ int k = 0;
++ BadPaddingException bpe = null;
++
+ if (padded[k++] != 0) {
+- throw new BadPaddingException("Data must start with zero");
++ bpe = new BadPaddingException("Data must start with zero");
+ }
+- if (padded[k++] != type) {
+- throw new BadPaddingException("Blocktype mismatch: " + padded[1]);
++ if (padded[k++] != type && bpe == null) {
++ bpe = new BadPaddingException("Blocktype mismatch: " + padded[1]);
+ }
+- while (true) {
++ int p = 0;
++ while (k < padded.length) {
+ int b = padded[k++] & 0xff;
+- if (b == 0) {
+- break;
++ if (b == 0 && p == 0) {
++ p = k;
+ }
+- if (k == padded.length) {
+- throw new BadPaddingException("Padding string not terminated");
++ if (k == padded.length && p == 0 && bpe == null) {
++ bpe = new BadPaddingException("Padding string not terminated");
+ }
+- if ((type == PAD_BLOCKTYPE_1) && (b != 0xff)) {
+- throw new BadPaddingException("Padding byte not 0xff: " + b);
++ if ((type == PAD_BLOCKTYPE_1) && (b != 0xff) &&
++ p == 0 && bpe == null) {
++ bpe = new BadPaddingException("Padding byte not 0xff: " + b);
+ }
+ }
+- int n = padded.length - k;
+- if (n > maxDataSize) {
+- throw new BadPaddingException("Padding string too short");
++ int n = padded.length - p;
++ if (n > maxDataSize && bpe == null) {
++ bpe = new BadPaddingException("Padding string too short");
+ }
++
++ // copy useless padding array for a constant-time method
++ //
++ // Is it necessary?
++ byte[] padding = new byte[p];
++ System.arraycopy(padded, 0, padding, 0, p);
++
+ byte[] data = new byte[n];
+- System.arraycopy(padded, padded.length - n, data, 0, n);
++ System.arraycopy(padded, p, data, 0, n);
++
++ if (bpe == null) {
++ bpe = new BadPaddingException("Unused exception");
++ } else {
++ throw bpe;
++ }
++
+ return data;
+ }
+
+--- ./jdk/src/share/classes/sun/security/ssl/Handshaker.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/ssl/Handshaker.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1996, 2013, 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
+@@ -1047,94 +1047,22 @@
+ clnt_random.random_bytes, svr_random.random_bytes,
+ prfHashAlg, prfHashLength, prfBlockSize);
+
+- SecretKey masterSecret;
+ try {
+ KeyGenerator kg = JsseJce.getKeyGenerator(masterAlg);
+ kg.init(spec);
+- masterSecret = kg.generateKey();
+- } catch (GeneralSecurityException e) {
++ return kg.generateKey();
++ } catch (InvalidAlgorithmParameterException |
++ NoSuchAlgorithmException iae) {
++ // unlikely to happen, otherwise, must be a provider exception
++ //
+ // For RSA premaster secrets, do not signal a protocol error
+ // due to the Bleichenbacher attack. See comments further down.
+- if (!preMasterSecret.getAlgorithm().equals(
+- "TlsRsaPremasterSecret")) {
+- throw new ProviderException(e);
+- }
+-
+ if (debug != null && Debug.isOn("handshake")) {
+ System.out.println("RSA master secret generation error:");
+- e.printStackTrace(System.out);
++ iae.printStackTrace(System.out);
+ }
+-
+- if (requestedVersion != null) {
+- preMasterSecret =
+- RSAClientKeyExchange.generateDummySecret(requestedVersion);
+- } else {
+- preMasterSecret =
+- RSAClientKeyExchange.generateDummySecret(protocolVersion);
+- }
+-
+- // recursive call with new premaster secret
+- return calculateMasterSecret(preMasterSecret, null);
++ throw new ProviderException(iae);
+ }
+-
+- // if no version check requested (client side handshake), or version
+- // information is not available (not an RSA premaster secret),
+- // return master secret immediately.
+- if ((requestedVersion == null) ||
+- !(masterSecret instanceof TlsMasterSecret)) {
+- return masterSecret;
+- }
+-
+- // we have checked the ClientKeyExchange message when reading TLS
+- // record, the following check is necessary to ensure that
+- // JCE provider does not ignore the checking, or the previous
+- // checking process bypassed the premaster secret version checking.
+- TlsMasterSecret tlsKey = (TlsMasterSecret)masterSecret;
+- int major = tlsKey.getMajorVersion();
+- int minor = tlsKey.getMinorVersion();
+- if ((major < 0) || (minor < 0)) {
+- return masterSecret;
+- }
+-
+- // check if the premaster secret version is ok
+- // the specification says that it must be the maximum version supported
+- // by the client from its ClientHello message. However, many
+- // implementations send the negotiated version, so accept both
+- // for SSL v3.0 and TLS v1.0.
+- // NOTE that we may be comparing two unsupported version numbers, which
+- // is why we cannot use object reference equality in this special case.
+- ProtocolVersion premasterVersion =
+- ProtocolVersion.valueOf(major, minor);
+- boolean versionMismatch = (premasterVersion.v != requestedVersion.v);
+-
+- /*
+- * we never checked the client_version in server side
+- * for TLS v1.0 and SSL v3.0. For compatibility, we
+- * maintain this behavior.
+- */
+- if (versionMismatch && requestedVersion.v <= ProtocolVersion.TLS10.v) {
+- versionMismatch = (premasterVersion.v != protocolVersion.v);
+- }
+-
+- if (versionMismatch == false) {
+- // check passed, return key
+- return masterSecret;
+- }
+-
+- // Due to the Bleichenbacher attack, do not signal a protocol error.
+- // Generate a random premaster secret and continue with the handshake,
+- // which will fail when verifying the finished messages.
+- // For more information, see comments in PreMasterSecret.
+- if (debug != null && Debug.isOn("handshake")) {
+- System.out.println("RSA PreMasterSecret version error: expected"
+- + protocolVersion + " or " + requestedVersion + ", decrypted: "
+- + premasterVersion);
+- }
+- preMasterSecret =
+- RSAClientKeyExchange.generateDummySecret(requestedVersion);
+-
+- // recursive call with new premaster secret
+- return calculateMasterSecret(preMasterSecret, null);
+ }
+
+ /*
+--- ./jdk/src/share/classes/sun/security/ssl/RSAClientKeyExchange.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/ssl/RSAClientKeyExchange.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 1996, 2013, 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
+@@ -135,26 +135,37 @@
+ } else {
+ encrypted = new byte [messageSize];
+ if (input.read(encrypted) != messageSize) {
+- throw new SSLProtocolException
+- ("SSL: read PreMasterSecret: short read");
++ throw new SSLProtocolException(
++ "SSL: read PreMasterSecret: short read");
+ }
+ }
+
++ Exception failover = null;
++ byte[] encoded = null;
+ try {
+ Cipher cipher = JsseJce.getCipher(JsseJce.CIPHER_RSA_PKCS1);
+- cipher.init(Cipher.UNWRAP_MODE, privateKey);
+- preMaster = (SecretKey)cipher.unwrap(encrypted,
+- "TlsRsaPremasterSecret", Cipher.SECRET_KEY);
++ // Cannot generate key here, please don't use Cipher.UNWRAP_MODE!
++ cipher.init(Cipher.DECRYPT_MODE, privateKey);
++ encoded = cipher.doFinal(encrypted);
++ } catch (BadPaddingException bpe) {
++ failover = bpe;
++ encoded = null;
++ } catch (IllegalBlockSizeException ibse) {
++ // the message it too big to process with RSA
++ throw new SSLProtocolException(
++ "Unable to process PreMasterSecret, may be too big");
++ } catch (Exception e) {
++ // unlikely to happen, otherwise, must be a provider exception
++ if (debug != null && Debug.isOn("handshake")) {
++ System.out.println("RSA premaster secret decryption error:");
++ e.printStackTrace(System.out);
++ }
++ throw new RuntimeException("Could not generate dummy secret", e);
++ }
+
+- // polish the premaster secret
+- preMaster = polishPreMasterSecretKey(currentVersion, maxVersion,
+- generator, preMaster, null);
+- } catch (Exception e) {
+- // polish the premaster secret
+- preMaster =
+- polishPreMasterSecretKey(currentVersion, maxVersion,
+- generator, null, e);
+- }
++ // polish the premaster secret
++ preMaster = polishPreMasterSecretKey(
++ currentVersion, maxVersion, generator, encoded, failover);
+ }
+
+ /**
+@@ -165,85 +176,74 @@
+ *
+ * RFC 5246 describes the approach as :
+ *
+- * 1. Generate a string R of 46 random bytes
++ * 1. Generate a string R of 48 random bytes
+ *
+ * 2. Decrypt the message to recover the plaintext M
+ *
+ * 3. If the PKCS#1 padding is not correct, or the length of message
+ * M is not exactly 48 bytes:
+- * pre_master_secret = ClientHello.client_version || R
++ * pre_master_secret = R
+ * else If ClientHello.client_version <= TLS 1.0, and version
+ * number check is explicitly disabled:
+- * pre_master_secret = M
++ * premaster secret = M
++ * else If M[0..1] != ClientHello.client_version:
++ * premaster secret = R
+ * else:
+- * pre_master_secret = ClientHello.client_version || M[2..47]
++ * premaster secret = M
++ *
++ * Note that #2 has completed before the call of this method.
+ */
+ private SecretKey polishPreMasterSecretKey(ProtocolVersion currentVersion,
+ ProtocolVersion clientHelloVersion, SecureRandom generator,
+- SecretKey secretKey, Exception failoverException) {
++ byte[] encoded, Exception failoverException) {
+
+ this.protocolVersion = clientHelloVersion;
++ if (generator == null) {
++ generator = new SecureRandom();
++ }
++ byte[] random = new byte[48];
++ generator.nextBytes(random);
+
+- if (failoverException == null && secretKey != null) {
++ if (failoverException == null && encoded != null) {
+ // check the length
+- byte[] encoded = secretKey.getEncoded();
+- if (encoded == null) { // unable to get the encoded key
++ if (encoded.length != 48) {
+ if (debug != null && Debug.isOn("handshake")) {
+ System.out.println(
+- "unable to get the plaintext of the premaster secret");
++ "incorrect length of premaster secret: " +
++ encoded.length);
+ }
+
+- int keySize = KeyUtil.getKeySize(secretKey);
+- if (keySize > 0 && keySize != 384) { // 384 = 48 * 8
+- if (debug != null && Debug.isOn("handshake")) {
+- System.out.println(
+- "incorrect length of premaster secret: " +
+- (keySize/8));
+- }
++ return generatePreMasterSecret(
++ clientHelloVersion, random, generator);
++ }
+
+- return generateDummySecret(clientHelloVersion);
+- }
++ if (clientHelloVersion.major != encoded[0] ||
++ clientHelloVersion.minor != encoded[1]) {
+
+- // The key size is exactly 48 bytes or not accessible.
+- //
+- // Conservatively, pass the checking to master secret
+- // calculation.
+- return secretKey;
+- } else if (encoded.length == 48) {
+- // check the version
+- if (clientHelloVersion.major == encoded[0] &&
+- clientHelloVersion.minor == encoded[1]) {
+-
+- return secretKey;
+- } else if (clientHelloVersion.v <= ProtocolVersion.TLS10.v &&
+- currentVersion.major == encoded[0] &&
+- currentVersion.minor == encoded[1]) {
++ if (clientHelloVersion.v <= ProtocolVersion.TLS10.v &&
++ currentVersion.major == encoded[0] &&
++ currentVersion.minor == encoded[1]) {
+ /*
+ * For compatibility, we maintain the behavior that the
+ * version in pre_master_secret can be the negotiated
+ * version for TLS v1.0 and SSL v3.0.
+ */
+ this.protocolVersion = currentVersion;
+- return secretKey;
++ } else {
++ if (debug != null && Debug.isOn("handshake")) {
++ System.out.println("Mismatching Protocol Versions, " +
++ "ClientHello.client_version is " +
++ clientHelloVersion +
++ ", while PreMasterSecret.client_version is " +
++ ProtocolVersion.valueOf(encoded[0], encoded[1]));
++ }
++
++ encoded = random;
+ }
++ }
+
+- if (debug != null && Debug.isOn("handshake")) {
+- System.out.println("Mismatching Protocol Versions, " +
+- "ClientHello.client_version is " + clientHelloVersion +
+- ", while PreMasterSecret.client_version is " +
+- ProtocolVersion.valueOf(encoded[0], encoded[1]));
+- }
+-
+- return generateDummySecret(clientHelloVersion);
+- } else {
+- if (debug != null && Debug.isOn("handshake")) {
+- System.out.println(
+- "incorrect length of premaster secret: " +
+- encoded.length);
+- }
+-
+- return generateDummySecret(clientHelloVersion);
+- }
++ return generatePreMasterSecret(
++ clientHelloVersion, encoded, generator);
+ }
+
+ if (debug != null && Debug.isOn("handshake") &&
+@@ -252,11 +252,14 @@
+ failoverException.printStackTrace(System.out);
+ }
+
+- return generateDummySecret(clientHelloVersion);
++ return generatePreMasterSecret(clientHelloVersion, random, generator);
+ }
+
+ // generate a premaster secret with the specified version number
+- static SecretKey generateDummySecret(ProtocolVersion version) {
++ private static SecretKey generatePreMasterSecret(
++ ProtocolVersion version, byte[] encodedSecret,
++ SecureRandom generator) {
++
+ if (debug != null && Debug.isOn("handshake")) {
+ System.out.println("Generating a random fake premaster secret");
+ }
+@@ -265,11 +268,17 @@
+ String s = ((version.v >= ProtocolVersion.TLS12.v) ?
+ "SunTls12RsaPremasterSecret" : "SunTlsRsaPremasterSecret");
+ KeyGenerator kg = JsseJce.getKeyGenerator(s);
+- kg.init(new TlsRsaPremasterSecretParameterSpec
+- (version.major, version.minor));
++ kg.init(new TlsRsaPremasterSecretParameterSpec(
++ version.major, version.minor, encodedSecret), generator);
+ return kg.generateKey();
+- } catch (GeneralSecurityException e) {
+- throw new RuntimeException("Could not generate dummy secret", e);
++ } catch (InvalidAlgorithmParameterException |
++ NoSuchAlgorithmException iae) {
++ // unlikely to happen, otherwise, must be a provider exception
++ if (debug != null && Debug.isOn("handshake")) {
++ System.out.println("RSA premaster secret generation error:");
++ iae.printStackTrace(System.out);
++ }
++ throw new RuntimeException("Could not generate dummy secret", iae);
+ }
+ }
+
+--- ./jdk/src/share/classes/sun/security/tools/JarSigner.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/tools/JarSigner.java Thu Dec 19 09:01:16 2013 -0800
+@@ -155,8 +155,13 @@
+ private String altSignerClasspath = null;
+ private ZipFile zipFile = null;
+
++ // Informational warnings
++ private boolean hasExpiringCert = false;
++ private boolean noTimestamp = false;
++ private Date expireDate = new Date(0L); // used in noTimestamp warning
++
++ // Severe warnings
+ private boolean hasExpiredCert = false;
+- private boolean hasExpiringCert = false;
+ private boolean notYetValidCert = false;
+ private boolean chainNotValidated = false;
+ private boolean notSignedByAlias = false;
+@@ -255,9 +260,6 @@
+
+ if (strict) {
+ int exitCode = 0;
+- if (hasExpiringCert) {
+- exitCode |= 2;
+- }
+ if (chainNotValidated || hasExpiredCert || notYetValidCert) {
+ exitCode |= 4;
+ }
+@@ -746,14 +748,25 @@
+ System.out.println(rb.getString(
+ "jar.is.unsigned.signatures.missing.or.not.parsable."));
+ } else {
+- System.out.println(rb.getString("jar.verified."));
+- if (hasUnsignedEntry || hasExpiredCert || hasExpiringCert ||
+- badKeyUsage || badExtendedKeyUsage || badNetscapeCertType ||
+- notYetValidCert || chainNotValidated ||
+- aliasNotInStore || notSignedByAlias) {
++ boolean warningAppeared = false;
++ boolean errorAppeared = false;
++ if (badKeyUsage || badExtendedKeyUsage || badNetscapeCertType ||
++ notYetValidCert || chainNotValidated || hasExpiredCert ||
++ hasUnsignedEntry ||
++ aliasNotInStore || notSignedByAlias) {
+
+- System.out.println();
+- System.out.println(rb.getString("Warning."));
++ if (strict) {
++ System.out.println(rb.getString("jar.verified.with.signer.errors."));
++ System.out.println();
++ System.out.println(rb.getString("Error."));
++ errorAppeared = true;
++ } else {
++ System.out.println(rb.getString("jar.verified."));
++ System.out.println();
++ System.out.println(rb.getString("Warning."));
++ warningAppeared = true;
++ }
++
+ if (badKeyUsage) {
+ System.out.println(
+ rb.getString("This.jar.contains.entries.whose.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing."));
+@@ -777,10 +790,6 @@
+ System.out.println(rb.getString(
+ "This.jar.contains.entries.whose.signer.certificate.has.expired."));
+ }
+- if (hasExpiringCert) {
+- System.out.println(rb.getString(
+- "This.jar.contains.entries.whose.signer.certificate.will.expire.within.six.months."));
+- }
+ if (notYetValidCert) {
+ System.out.println(rb.getString(
+ "This.jar.contains.entries.whose.signer.certificate.is.not.yet.valid."));
+@@ -799,10 +808,29 @@
+ if (aliasNotInStore) {
+ System.out.println(rb.getString("This.jar.contains.signed.entries.that.s.not.signed.by.alias.in.this.keystore."));
+ }
++ } else {
++ System.out.println(rb.getString("jar.verified."));
++ }
++ if (hasExpiringCert || noTimestamp) {
++ if (!warningAppeared) {
++ System.out.println();
++ System.out.println(rb.getString("Warning."));
++ warningAppeared = true;
++ }
++ if (hasExpiringCert) {
++ System.out.println(rb.getString(
++ "This.jar.contains.entries.whose.signer.certificate.will.expire.within.six.months."));
++ }
++ if (noTimestamp) {
++ System.out.println(
++ String.format(rb.getString("no.timestamp.verifying"), expireDate));
++ }
++ }
++ if (warningAppeared || errorAppeared) {
+ if (! (verbose != null && showcerts)) {
+ System.out.println();
+ System.out.println(rb.getString(
+- "Re.run.with.the.verbose.and.certs.options.for.more.details."));
++ "Re.run.with.the.verbose.and.certs.options.for.more.details."));
+ }
+ }
+ }
+@@ -862,6 +890,9 @@
+ try {
+ boolean printValidity = true;
+ if (timestamp == null) {
++ if (expireDate.getTime() == 0 || expireDate.after(notAfter)) {
++ expireDate = notAfter;
++ }
+ x509Cert.checkValidity();
+ // test if cert will expire within six months
+ if (notAfter.getTime() < System.currentTimeMillis() + SIX_MONTHS) {
+@@ -1227,6 +1258,10 @@
+ tsaCert = getTsaCert(tsaAlias);
+ }
+
++ if (tsaUrl == null && tsaCert == null) {
++ noTimestamp = true;
++ }
++
+ SignatureFile.Block block = null;
+
+ try {
+@@ -1375,12 +1410,20 @@
+ }
+ }
+
+- if (hasExpiredCert || hasExpiringCert || notYetValidCert
+- || badKeyUsage || badExtendedKeyUsage
+- || badNetscapeCertType || chainNotValidated) {
+- System.out.println();
++ boolean warningAppeared = false;
++ if (badKeyUsage || badExtendedKeyUsage || badNetscapeCertType ||
++ notYetValidCert || chainNotValidated || hasExpiredCert) {
++ if (strict) {
++ System.out.println(rb.getString("jar.signed.with.signer.errors."));
++ System.out.println();
++ System.out.println(rb.getString("Error."));
++ } else {
++ System.out.println(rb.getString("jar.signed."));
++ System.out.println();
++ System.out.println(rb.getString("Warning."));
++ warningAppeared = true;
++ }
+
+- System.out.println(rb.getString("Warning."));
+ if (badKeyUsage) {
+ System.out.println(
+ rb.getString("The.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing."));
+@@ -1399,9 +1442,6 @@
+ if (hasExpiredCert) {
+ System.out.println(
+ rb.getString("The.signer.certificate.has.expired."));
+- } else if (hasExpiringCert) {
+- System.out.println(
+- rb.getString("The.signer.certificate.will.expire.within.six.months."));
+ } else if (notYetValidCert) {
+ System.out.println(
+ rb.getString("The.signer.certificate.is.not.yet.valid."));
+@@ -1411,6 +1451,24 @@
+ System.out.println(
+ rb.getString("The.signer.s.certificate.chain.is.not.validated."));
+ }
++ } else {
++ System.out.println(rb.getString("jar.signed."));
++ }
++ if (hasExpiringCert || noTimestamp) {
++ if (!warningAppeared) {
++ System.out.println();
++ System.out.println(rb.getString("Warning."));
++ }
++
++ if (hasExpiringCert) {
++ System.out.println(
++ rb.getString("The.signer.certificate.will.expire.within.six.months."));
++ }
++
++ if (noTimestamp) {
++ System.out.println(
++ String.format(rb.getString("no.timestamp.signing"), expireDate));
++ }
+ }
+
+ // no IOException thrown in the above try clause, so disable
+@@ -1496,6 +1554,7 @@
+ timestamp = ts.getTimestamp();
+ } else {
+ timestamp = null;
++ noTimestamp = true;
+ }
+ // display the certificate(s). The first one is end-entity cert and
+ // its KeyUsage should be checked.
+--- ./jdk/src/share/classes/sun/security/tools/JarSignerResources.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/tools/JarSignerResources.java Thu Dec 19 09:01:16 2013 -0800
+@@ -110,9 +110,9 @@
+ {"Please.specify.alias.name", "Please specify alias name"},
+ {"Only.one.alias.can.be.specified", "Only one alias can be specified"},
+ {"This.jar.contains.signed.entries.which.is.not.signed.by.the.specified.alias.es.",
+- "This jar contains signed entries which is not signed by the specified alias(es)."},
++ "This jar contains signed entries which are not signed by the specified alias(es)."},
+ {"This.jar.contains.signed.entries.that.s.not.signed.by.alias.in.this.keystore.",
+- "This jar contains signed entries that's not signed by alias in this keystore."},
++ "This jar contains signed entries that are not signed by alias in this keystore."},
+ {"s", "s"},
+ {"m", "m"},
+ {"k", "k"},
+@@ -133,7 +133,10 @@
+ {".Unsigned.entries.", "(Unsigned entries)"},
+ {"jar.is.unsigned.signatures.missing.or.not.parsable.",
+ "jar is unsigned. (signatures missing or not parsable)"},
++ {"jar.signed.", "jar signed."},
++ {"jar.signed.with.signer.errors.", "jar signed, with signer errors."},
+ {"jar.verified.", "jar verified."},
++ {"jar.verified.with.signer.errors.", "jar verified, with signer errors."},
+ {"jarsigner.", "jarsigner: "},
+ {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.",
+ "signature filename must consist of the following characters: A-Z, 0-9, _ or -"},
+@@ -191,6 +194,7 @@
+ "using an alternative signing mechanism"},
+ {"entry.was.signed.on", "entry was signed on {0}"},
+ {"Warning.", "Warning: "},
++ {"Error.", "Error: "},
+ {"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.",
+ "This jar contains unsigned entries which have not been integrity-checked. "},
+ {"This.jar.contains.entries.whose.signer.certificate.has.expired.",
+@@ -227,6 +231,10 @@
+ "The signer's certificate chain is not validated."},
+ {"This.jar.contains.entries.whose.certificate.chain.is.not.validated.",
+ "This jar contains entries whose certificate chain is not validated."},
++ {"no.timestamp.signing",
++ "No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (%1$tY-%1$tm-%1$td) or after any future revocation date."},
++ {"no.timestamp.verifying",
++ "This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (%1$tY-%1$tm-%1$td) or after any future revocation date."},
+ };
+
+ /**
+--- ./jdk/src/share/classes/sun/security/tools/JarSignerResources_ja.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/tools/JarSignerResources_ja.java Thu Dec 19 09:01:16 2013 -0800
+@@ -79,7 +79,7 @@
+ {".verbose.suboptions.verbose.output.when.signing.verifying.",
+ "[-verbose[:suboptions]] \u7F72\u540D/\u691C\u8A3C\u6642\u306E\u8A73\u7D30\u51FA\u529B\u3002"},
+ {".suboptions.can.be.all.grouped.or.summary",
+- " \u30B5\u30D6\u30AA\u30D7\u30B7\u30E7\u30F3\u3068\u3057\u3066\u3001\u3059\u3079\u3066\u3001\u30B0\u30EB\u30FC\u30D7\u307E\u305F\u306F\u30B5\u30DE\u30EA\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u3059"},
++ " \u30B5\u30D6\u30AA\u30D7\u30B7\u30E7\u30F3\u3068\u3057\u3066\u3001all\u3001grouped\u307E\u305F\u306Fsummary\u3092\u4F7F\u7528\u3067\u304D\u307E\u3059"},
+ {".certs.display.certificates.when.verbose.and.verifying",
+ "[-certs] \u8A73\u7D30\u51FA\u529B\u304A\u3088\u3073\u691C\u8A3C\u6642\u306B\u8A3C\u660E\u66F8\u3092\u8868\u793A"},
+ {".tsa.url.location.of.the.Timestamping.Authority",
+@@ -133,7 +133,10 @@
+ {".Unsigned.entries.", "(\u672A\u7F72\u540D\u306E\u30A8\u30F3\u30C8\u30EA)"},
+ {"jar.is.unsigned.signatures.missing.or.not.parsable.",
+ "jar\u306F\u7F72\u540D\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002(\u7F72\u540D\u304C\u898B\u3064\u304B\u3089\u306A\u3044\u304B\u3001\u69CB\u6587\u89E3\u6790\u3067\u304D\u307E\u305B\u3093)"},
+- {"jar.verified.", "jar\u304C\u691C\u8A3C\u3055\u308C\u307E\u3057\u305F\u3002"},
++ {"jar.signed.", "jar\u306F\u7F72\u540D\u3055\u308C\u307E\u3057\u305F\u3002"},
++ {"jar.signed.with.signer.errors.", "jar\u306F\u7F72\u540D\u3055\u308C\u307E\u3057\u305F - \u7F72\u540D\u8005\u30A8\u30E9\u30FC\u304C\u3042\u308A\u307E\u3059\u3002"},
++ {"jar.verified.", "jar\u306F\u691C\u8A3C\u3055\u308C\u307E\u3057\u305F\u3002"},
++ {"jar.verified.with.signer.errors.", "jar\u306F\u691C\u8A3C\u3055\u308C\u307E\u3057\u305F - \u7F72\u540D\u8005\u30A8\u30E9\u30FC\u304C\u3042\u308A\u307E\u3059\u3002"},
+ {"jarsigner.", "jarsigner: "},
+ {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.",
+ "\u7F72\u540D\u306E\u30D5\u30A1\u30A4\u30EB\u540D\u306F\u6B21\u306E\u6587\u5B57\u3067\u69CB\u6210\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: A-Z 0-9 _ -"},
+@@ -189,6 +192,7 @@
+ "\u4EE3\u66FF\u7F72\u540D\u30E1\u30AB\u30CB\u30BA\u30E0\u306E\u4F7F\u7528"},
+ {"entry.was.signed.on", "\u30A8\u30F3\u30C8\u30EA\u306F{0}\u306B\u7F72\u540D\u3055\u308C\u307E\u3057\u305F"},
+ {"Warning.", "\u8B66\u544A: "},
++ {"Error.", "\u30A8\u30E9\u30FC: "},
+ {"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.",
+ "\u3053\u306Ejar\u306B\u306F\u3001\u6574\u5408\u6027\u30C1\u30A7\u30C3\u30AF\u3092\u3057\u3066\u3044\u306A\u3044\u672A\u7F72\u540D\u306E\u30A8\u30F3\u30C8\u30EA\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002 "},
+ {"This.jar.contains.entries.whose.signer.certificate.has.expired.",
+@@ -225,6 +229,10 @@
+ "\u7F72\u540D\u8005\u306E\u8A3C\u660E\u66F8\u30C1\u30A7\u30FC\u30F3\u304C\u307E\u3060\u691C\u8A3C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
+ {"This.jar.contains.entries.whose.certificate.chain.is.not.validated.",
+ "\u3053\u306Ejar\u306B\u306F\u3001\u8A3C\u660E\u66F8\u30C1\u30A7\u30FC\u30F3\u304C\u307E\u3060\u691C\u8A3C\u3055\u308C\u3066\u3044\u306A\u3044\u30A8\u30F3\u30C8\u30EA\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002"},
++ {"no.timestamp.signing",
++ "-tsa\u307E\u305F\u306F-tsacert\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u3053\u306Ejar\u306B\u306F\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4ED8\u52A0\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u306A\u3044\u3068\u3001\u7F72\u540D\u8005\u8A3C\u660E\u66F8\u306E\u6709\u52B9\u671F\u9650(%1$tY-%1$tm-%1$td)\u5F8C\u307E\u305F\u306F\u5C06\u6765\u306E\u5931\u52B9\u65E5\u5F8C\u306B\u3001\u30E6\u30FC\u30B6\u30FC\u306F\u3053\u306Ejar\u3092\u691C\u8A3C\u3067\u304D\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002"},
++ {"no.timestamp.verifying",
++ "\u3053\u306Ejar\u306B\u306F\u3001\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u306A\u3044\u7F72\u540D\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u306A\u3044\u3068\u3001\u7F72\u540D\u8005\u8A3C\u660E\u66F8\u306E\u6709\u52B9\u671F\u9650(%1$tY-%1$tm-%1$td)\u5F8C\u307E\u305F\u306F\u5C06\u6765\u306E\u5931\u52B9\u65E5\u5F8C\u306B\u3001\u30E6\u30FC\u30B6\u30FC\u306F\u3053\u306Ejar\u3092\u691C\u8A3C\u3067\u304D\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002"},
+ };
+
+ /**
+--- ./jdk/src/share/classes/sun/security/tools/JarSignerResources_zh_CN.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/tools/JarSignerResources_zh_CN.java Thu Dec 19 09:01:16 2013 -0800
+@@ -53,7 +53,7 @@
+ {"If.keystore.is.not.password.protected.then.storepass.and.keypass.must.not.be.specified",
+ "\u5982\u679C\u5BC6\u94A5\u5E93\u672A\u53D7\u53E3\u4EE4\u4FDD\u62A4, \u5219\u4E0D\u80FD\u6307\u5B9A -storepass \u548C -keypass"},
+ {"Usage.jarsigner.options.jar.file.alias",
+- "\u7528\u6CD5: jarsigner [\u9009\u9879] jar \u6587\u4EF6\u522B\u540D"},
++ "\u7528\u6CD5: jarsigner [\u9009\u9879] jar-file \u522B\u540D"},
+ {".jarsigner.verify.options.jar.file.alias.",
+ " jarsigner -verify [options] jar-file [alias...]"},
+ {".keystore.url.keystore.location",
+@@ -132,8 +132,11 @@
+ {".Signature.related.entries.","(\u4E0E\u7B7E\u540D\u76F8\u5173\u7684\u6761\u76EE)"},
+ {".Unsigned.entries.", "(\u672A\u7B7E\u540D\u6761\u76EE)"},
+ {"jar.is.unsigned.signatures.missing.or.not.parsable.",
+- "jar \u672A\u7B7E\u540D\u3002(\u7F3A\u5C11\u7B7E\u540D\u6216\u65E0\u6CD5\u5BF9\u7B7E\u540D\u8FDB\u884C\u8BED\u6CD5\u5206\u6790)"},
++ "jar \u672A\u7B7E\u540D\u3002(\u7F3A\u5C11\u7B7E\u540D\u6216\u65E0\u6CD5\u89E3\u6790\u7B7E\u540D)"},
++ {"jar.signed.", "jar \u5DF2\u7B7E\u540D\u3002"},
++ {"jar.signed.with.signer.errors.", "jar \u5DF2\u7B7E\u540D, \u4F46\u51FA\u73B0\u7B7E\u540D\u8005\u9519\u8BEF\u3002"},
+ {"jar.verified.", "jar \u5DF2\u9A8C\u8BC1\u3002"},
++ {"jar.verified.with.signer.errors.", "jar \u5DF2\u9A8C\u8BC1, \u4F46\u51FA\u73B0\u7B7E\u540D\u8005\u9519\u8BEF\u3002"},
+ {"jarsigner.", "jarsigner: "},
+ {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.",
+ "\u7B7E\u540D\u6587\u4EF6\u540D\u5FC5\u987B\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26: A-Z, 0-9, _ \u6216 -"},
+@@ -189,6 +192,7 @@
+ "\u6B63\u5728\u4F7F\u7528\u66FF\u4EE3\u7684\u7B7E\u540D\u673A\u5236"},
+ {"entry.was.signed.on", "\u6761\u76EE\u7684\u7B7E\u540D\u65E5\u671F\u4E3A {0}"},
+ {"Warning.", "\u8B66\u544A: "},
++ {"Error.", "\u9519\u8BEF: "},
+ {"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.",
+ "\u6B64 jar \u5305\u542B\u5C1A\u672A\u8FDB\u884C\u5B8C\u6574\u6027\u68C0\u67E5\u7684\u672A\u7B7E\u540D\u6761\u76EE\u3002 "},
+ {"This.jar.contains.entries.whose.signer.certificate.has.expired.",
+@@ -225,6 +229,10 @@
+ "\u7B7E\u540D\u8005\u7684\u8BC1\u4E66\u94FE\u672A\u9A8C\u8BC1\u3002"},
+ {"This.jar.contains.entries.whose.certificate.chain.is.not.validated.",
+ "\u6B64 jar \u5305\u542B\u8BC1\u4E66\u94FE\u672A\u9A8C\u8BC1\u7684\u6761\u76EE\u3002"},
++ {"no.timestamp.signing",
++ "\u672A\u63D0\u4F9B -tsa \u6216 -tsacert, \u6B64 jar \u6CA1\u6709\u65F6\u95F4\u6233\u3002\u5982\u679C\u6CA1\u6709\u65F6\u95F4\u6233, \u5219\u5728\u7B7E\u540D\u8005\u8BC1\u4E66\u7684\u5230\u671F\u65E5\u671F (%1$tY-%1$tm-%1$td) \u6216\u4EE5\u540E\u7684\u4EFB\u4F55\u64A4\u9500\u65E5\u671F\u4E4B\u540E, \u7528\u6237\u53EF\u80FD\u65E0\u6CD5\u9A8C\u8BC1\u6B64 jar\u3002"},
++ {"no.timestamp.verifying",
++ "\u6B64 jar \u5305\u542B\u7684\u7B7E\u540D\u6CA1\u6709\u65F6\u95F4\u6233\u3002\u5982\u679C\u6CA1\u6709\u65F6\u95F4\u6233, \u5219\u5728\u7B7E\u540D\u8005\u8BC1\u4E66\u7684\u5230\u671F\u65E5\u671F (%1$tY-%1$tm-%1$td) \u6216\u4EE5\u540E\u7684\u4EFB\u4F55\u64A4\u9500\u65E5\u671F\u4E4B\u540E, \u7528\u6237\u53EF\u80FD\u65E0\u6CD5\u9A8C\u8BC1\u6B64 jar\u3002"},
+ };
+
+ /**
+--- ./jdk/src/share/classes/sun/security/util/KeyUtil.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/util/KeyUtil.java Thu Dec 19 09:01:16 2013 -0800
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2012, 2013, 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
+@@ -200,5 +200,24 @@
+
+ // Don't bother to check against the y^q mod p if safe primes are used.
+ }
++
++ /**
++ * Trim leading (most significant) zeroes from the result.
++ *
++ * @throws NullPointerException if {@code b} is null
++ */
++ public static byte[] trimZeroes(byte[] b) {
++ int i = 0;
++ while ((i < b.length - 1) && (b[i] == 0)) {
++ i++;
++ }
++ if (i == 0) {
++ return b;
++ }
++ byte[] t = new byte[b.length - i];
++ System.arraycopy(b, i, t, 0, t.length);
++ return t;
++ }
++
+ }
+
+--- ./jdk/src/share/classes/sun/security/util/Resources_de.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/util/Resources_de.java Thu Dec 19 09:01:16 2013 -0800
+@@ -444,7 +444,7 @@
+ {"Retain", "Beibehalten"},
+
+ {"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
+- "Warnung: M\u00F6glicherweise enth\u00E4lt der Dateiname Escape-Zeichen mit Backslash. Es ist nicht notwendig, Backslash-Zeichen zu escapen (das Tool f\u00FChrt dies automatisch beim Schreiben des Policy-Contents in den persistenten Speicher aus).\n\nKlicken Sie auf \"Beibehalten\", um den eingegebenen Namen beizubehalten oder auf \"Bearbeiten\", um den Namen zu bearbeiten."},
++ "Warnung: M\u00F6glicherweise enth\u00E4lt der Dateiname Escapezeichen mit Backslash. Es ist nicht notwendig, Backslash-Zeichen zu escapen (das Tool f\u00FChrt dies automatisch beim Schreiben des Policy-Contents in den persistenten Speicher aus).\n\nKlicken Sie auf \"Beibehalten\", um den eingegebenen Namen beizubehalten oder auf \"Bearbeiten\", um den Namen zu bearbeiten."},
+
+ {"Add.Public.Key.Alias", "Public Key-Alias hinzuf\u00FCgen"},
+ {"Remove.Public.Key.Alias", "Public Key-Alias entfernen"},
+--- ./jdk/src/share/classes/sun/security/util/Resources_fr.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/util/Resources_fr.java Thu Dec 19 09:01:16 2013 -0800
+@@ -557,12 +557,12 @@
+ {"invalid.null.Class.provided", "classe NULL fournie non valide"},
+ {"Subject.", "Objet :\n"},
+ {".Principal.", "\tPrincipal : "},
+- {".Public.Credential.", "\tInformations d'identification et de connexion publiques : "},
++ {".Public.Credential.", "\tInformations d'identification publiques : "},
+ {".Private.Credentials.inaccessible.",
+- "\tInformations d'identification et de connexion priv\u00E9es inaccessibles\n"},
+- {".Private.Credential.", "\tInformations d'identification et de connexion priv\u00E9es : "},
++ "\tInformations d'identification priv\u00E9es inaccessibles\n"},
++ {".Private.Credential.", "\tInformations d'identification priv\u00E9es : "},
+ {".Private.Credential.inaccessible.",
+- "\tInformations d'identification et de connexion priv\u00E9es inaccessibles\n"},
++ "\tInformations d'identification priv\u00E9es inaccessibles\n"},
+ {"Subject.is.read.only", "Sujet en lecture seule"},
+ {"attempting.to.add.an.object.which.is.not.an.instance.of.java.security.Principal.to.a.Subject.s.Principal.Set",
+ "tentative d'ajout d'un objet qui n'est pas une instance de java.security.Principal dans un ensemble de principaux du sujet"},
+--- ./jdk/src/share/classes/sun/security/util/Resources_zh_CN.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/util/Resources_zh_CN.java Thu Dec 19 09:01:16 2013 -0800
+@@ -310,7 +310,7 @@
+ "\u60A8\u7684\u5BC6\u94A5\u5E93\u5305\u542B {0,number,integer} \u4E2A\u6761\u76EE"},
+ {"Your.keystore.contains.keyStore.size.entries",
+ "\u60A8\u7684\u5BC6\u94A5\u5E93\u5305\u542B {0,number,integer} \u4E2A\u6761\u76EE"},
+- {"Failed.to.parse.input", "\u65E0\u6CD5\u5BF9\u8F93\u5165\u8FDB\u884C\u8BED\u6CD5\u5206\u6790"},
++ {"Failed.to.parse.input", "\u65E0\u6CD5\u89E3\u6790\u8F93\u5165"},
+ {"Empty.input", "\u7A7A\u8F93\u5165"},
+ {"Not.X.509.certificate", "\u975E X.509 \u8BC1\u4E66"},
+ {"alias.has.no.public.key", "{0}\u6CA1\u6709\u516C\u5171\u5BC6\u94A5"},
+--- ./jdk/src/share/classes/sun/security/util/Resources_zh_TW.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/util/Resources_zh_TW.java Thu Dec 19 09:01:16 2013 -0800
+@@ -388,7 +388,7 @@
+ {"Certificate.chain.in.reply.does.not.verify.",
+ "\u56DE\u8986\u6642\u7684\u6191\u8B49\u93C8\u672A\u9A57\u8B49: "},
+ {"Top.level.certificate.in.reply.",
+- "\u56DE\u8986\u6642\u7684\u6700\u9AD8\u7D1A\u6191\u8B49:\\n"},
++ "\u56DE\u8986\u6642\u7684\u6700\u9AD8\u7D1A\u6191\u8B49:\n"},
+ {".is.not.trusted.", "... \u662F\u4E0D\u88AB\u4FE1\u4EFB\u7684\u3002"},
+ {"Install.reply.anyway.no.", "\u9084\u662F\u8981\u5B89\u88DD\u56DE\u8986\uFF1F [\u5426]: "},
+ {"NO", "\u5426"},
+--- ./jdk/src/share/classes/sun/security/util/SecurityConstants.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/security/util/SecurityConstants.java Thu Dec 19 09:01:16 2013 -0800
+@@ -257,5 +257,5 @@
+
+ // java.lang.SecurityManager
+ public static final SocketPermission LOCAL_LISTEN_PERMISSION =
+- new SocketPermission("localhost:1024-", SOCKET_LISTEN_ACTION);
++ new SocketPermission("localhost:0", SOCKET_LISTEN_ACTION);
+ }
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_de.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_de.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -41,7 +41,7 @@
+ out.stored=(0 % gespeichert)
+ out.create=\ erstellt: {0}
+ out.extracted=extrahiert: {0}
+-out.inflated=\ \\vergr\u00F6\u00DFert: {0}
++out.inflated=\ vergr\u00F6\u00DFert: {0}
+ out.size=(ein = {0}) (aus = {1})
+
+ usage=Verwendung: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] Dateien...\nOptionen:\n -c Neues Archiv erstellen\n -t Inhaltsverzeichnis f\u00FCr Archiv auflisten\n -x Genannte (oder alle) Dateien aus Archiv extrahieren\n -u Vorhandenes Archiv aktualisieren\n -v Verbose-Ausgabe f\u00FCr Standardausgabe generieren\n -f Namen der Archivdatei angeben\n -m Manifest-Informationen von angegebener Manifest-Datei einschlie\u00DFen\n -e Anwendungs-Einstiegspunkt f\u00FCr die \n in einer ausf\u00FChrbaren JAR-Datei geb\u00FCndelte Standalone-Anwendung angeben\n -0 Nur speichern (keine ZIP-Komprimierung)\n -M Keine Manifest-Datei f\u00FCr die Eintr\u00E4ge erstellen\n -i Indexinformationen f\u00FCr angegebenen JAR-Dateien erstellen\n -C zum angegebenen Verzeichnis wechseln und folgende Datei einschlie\u00DFen\nFalls eine Datei ein Verzeichnis ist, wird dieses rekursiv verarbeitet.\nDer Name der Manifest-Datei, der Name der Archivdatei und der Name des Einstiegspunkts werden\nin derselben Reihenfolge wie die Kennzeichen "m", "f" und "e" angegeben.\n\nBeispiel 1: Archivieren Sie zwei Klassendateien in ein Archiv mit Namen "classes.jar": \n jar cvf classes.jar Foo.class Bar.class \nBeispiel 2: Verwenden Sie die vorhandenen Manifest-Datei "mymanifest", und archivieren Sie\n alle Dateien im Verzeichnis foo/ in "classes.jar": \n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_es.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_es.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -41,7 +41,7 @@
+ out.stored=(almacenado 0%)
+ out.create=\ creado: {0}
+ out.extracted=extra\u00EDdo: {0}
+-out.inflated=\ \\inflado: {0}
++out.inflated=\ inflado: {0}
+ out.size=(entrada = {0}) (salida = {1})
+
+-usage=Sintaxis: jar {ctxui}[vfm0Me] [archive-jar] [archive-manifiesto] [punto-entrada] [-C dir] archivos...\nOpciones:\n -c crear nuevo archivo\n -t crear la tabla de contenido del archivo\n -x extraer el archive mencionado (o todos) del archivo\n -u actualizar archive existente\n -v generar salida detallada de los datos de salida est\u00E1ndar\n -f especificar nombre de archive de almacenamiento\n -m incluir informaci\u00F3n de manifiesto del archive de manifiesto especificado\n -e especificar punto de entrada de la aplicaci\u00F3n para la aplicaci\u00F3n aut\u00F3noma \n que se incluye dentro de un archive jar ejecutable\n -0 s\u00F3lo almacenar; no utilizar compresi\u00F3n ZIP\n -M no crear un archive de manifiesto para las entradas\n -i generar informaci\u00F3n de \u00EDndice para los archives jar especificados\n -C cambiar al directorio especificado e incluir el archivo siguiente\nSi alg\u00FAn archivo es un directorio, se procesar\u00E1 de forma recurrente.\nEl nombre del archivo de manifiesto, el nombre del archivo de almacenamiento y el nombre del punto de entrada se\nespecifican en el mismo orden que los indicadores 'm', 'f' y 'e'.\n\nEjemplo 1: para archivar archivos de dos clases en un archivo llamado classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEjemplo 2: utilice un archivo de manifiesto existente 'mymanifest' y archive todos los\n archivos del directorio foo/ en 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n
++usage=Sintaxis: jar {ctxui}[vfm0Me] [archive-jar] [archive-manifiesto] [punto-entrada] [-C dir] archivos...\nOpciones:\n -c crear nuevo archivo\n -t crear la tabla de contenido del archivo\n -x extraer el archive mencionado (o todos) del archivo\n -u actualizar archive existente\n -v generar salida detallada de los datos de salida est\u00E1ndar\n -f especificar nombre de archive de almacenamiento\n -m incluir informaci\u00F3n de manifiesto del archive de manifiesto especificado\n -e especificar punto de entrada de la aplicaci\u00F3n para la aplicaci\u00F3n aut\u00F3noma \n que se incluye dentro de un archive jar ejecutable\n -0 s\u00F3lo almacenar; no utilizar compresi\u00F3n ZIP\n -M no crear un archive de manifiesto para las entradas\n -i generar informaci\u00F3n de \u00EDndice para los archives jar especificados\n -C cambiar al directorio especificado e incluir el archivo siguiente\nSi alg\u00FAn archivo es un directorio, se procesar\u00E1 de forma recurrente.\nEl nombre del archivo de manifiesto, el nombre del archivo de almacenamiento y el nombre del punto de entrada se\nespecifican en el mismo orden que los indicadores 'm', 'f' y 'e'.\n\nEjemplo 1: para archivar archivos de dos clases en un archivo llamado classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEjemplo 2: utilice un archivo de manifiesto existente 'mymanifest' y archive todos los\n archivos del directorio foo/ en 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_fr.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_fr.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -41,7 +41,7 @@
+ out.stored=(stockage : 0 %)
+ out.create=\ cr\u00E9\u00E9 : {0}
+ out.extracted=extrait : {0}
+-out.inflated=\ \\d\u00E9compress\u00E9 : {0}
++out.inflated=\ d\u00E9compress\u00E9 : {0}
+ out.size=(entr\u00E9e = {0}) (sortie = {1})
+
+ usage=Syntaxe : jar {ctxui}[vfm0Me] [fichier-jar] [fichier-manifeste] [point-entr\u00E9e] [-C r\u00E9p] fichiers...\nOptions :\n -c cr\u00E9e une archive\n -t affiche la table des mati\u00E8res de l'archive\n -x extrait les fichiers nomm\u00E9s (ou tous les fichiers) de l'archive\n -u met \u00E0 jour l'archive existante\n -v g\u00E9n\u00E8re une version d\u00E9taill\u00E9e d'une sortie standard\n -f sp\u00E9cifie le nom du fichier archive\n -m inclut les informations de manifeste \u00E0 partir du fichier de manifeste sp\u00E9cifi\u00E9\n -e sp\u00E9cifie le point d'entr\u00E9e d'une application en mode autonome \n int\u00E9gr\u00E9e \u00E0 un fichier JAR ex\u00E9cutable\n -0 stockage uniquement, pas de compression ZIP\n -M ne cr\u00E9e pas de fichier manifeste pour les entr\u00E9es\n -i g\u00E9n\u00E8re les informations d'index des fichiers JAR sp\u00E9cifi\u00E9s\n -C passe au r\u00E9pertoire sp\u00E9cifi\u00E9 et inclut le fichier suivant\nSi l'un des fichiers est un r\u00E9pertoire, celui-ci est trait\u00E9 r\u00E9cursivement.\nLes noms du fichier manifeste, du fichier archive et du point d'entr\u00E9e sont\nsp\u00E9cifi\u00E9s dans le m\u00EAme ordre que celui des indicateurs m, f et e.\n\nExemple 1 : pour archiver deux fichiers de classe dans une archive intitul\u00E9e classes.jar : \n jar cvf classes.jar Foo.class Bar.class \nExemple 2 : pour utiliser un fichier manifeste existant 'monmanifeste', puis archiver tous les\n fichiers du r\u00E9pertoire foo/ dans 'classes.jar' : \n jar cvfm classes.jar monmanifeste -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_it.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_it.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -41,7 +41,7 @@
+ out.stored=(memorizzato 0%)
+ out.create=\ creato: {0}
+ out.extracted=estratto: {0}
+-out.inflated=\ \\decompresso: {0}
++out.inflated=\ decompresso: {0}
+ out.size=(in = {0}) (out = {1})
+
+-usage=Uso: jar {ctxui}[vfm0Me] [file-jar] [file-manifest] [punto di ingresso] [-C dir] file ...\nOpzioni:\n -c crea un nuovo archivio\n -t visualizza l'indice dell'archivio\n -x estrae i file con nome (o tutti i file) dall'archivio\n -u aggiorna l'archivio esistente\n -v genera output commentato dall'output standard\n -f specifica il nome file dell'archivio\n -m include informazioni manifest dal file manifest specificato\n -e specifica il punto di ingresso per l'applicazione stand-alone \n inclusa nel file jar eseguibile\n -0 solo memorizzazione; senza compressione ZIP\n -M consente di non creare un file manifest per le voci\n -i genera informazioni sull'indice per i file jar specificati\n -C imposta la directory specificata e include il file seguente\nSe un file \u00E8 una directory, verr\u00E0 elaborato in modo ricorsivo.\nIl nome del file manifest, del file di archivio e del punto di ingresso devono\nessere specificati nello stesso ordine dei flag 'm', 'f' ed 'e'.\n\nEsempio 1: archiviazione di due file di classe in un archivio con il nome classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEsempio 2: utilizzo del file manifest esistente 'mymanifest' e archiviazione di tutti i\n file della directory foo/ in 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/.\n
++usage=Uso: jar {ctxui}[vfm0Me] [file-jar] [file-manifest] [punto di ingresso] [-C dir] file ...\nOpzioni:\n -c crea un nuovo archivio\n -t visualizza l'indice dell'archivio\n -x estrae i file con nome (o tutti i file) dall'archivio\n -u aggiorna l'archivio esistente\n -v genera output commentato dall'output standard\n -f specifica il nome file dell'archivio\n -m include informazioni manifest dal file manifest specificato\n -e specifica il punto di ingresso per l'applicazione stand-alone \n inclusa nel file jar eseguibile\n -0 solo memorizzazione; senza compressione ZIP\n -M consente di non creare un file manifest per le voci\n -i genera informazioni sull'indice per i file jar specificati\n -C imposta la directory specificata e include il file seguente\nSe un file \u00E8 una directory, verr\u00E0 elaborato in modo ricorsivo.\nIl nome del file manifest, del file di archivio e del punto di ingresso devono\nessere specificati nello stesso ordine dei flag 'm', 'f' ed 'e'.\n\nEsempio 1: archiviazione di due file di classe in un archivio con il nome classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEsempio 2: utilizzo del file manifest esistente 'mymanifest' e archiviazione di tutti i\n file della directory foo/ in 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_ja.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_ja.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -41,7 +41,7 @@
+ out.stored=(0%\u683C\u7D0D\u3055\u308C\u307E\u3057\u305F)
+ out.create=\ {0}\u304C\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F
+ out.extracted={0}\u304C\u62BD\u51FA\u3055\u308C\u307E\u3057\u305F
+-out.inflated=\ \\{0}\u304C\u5C55\u958B\u3055\u308C\u307E\u3057\u305F
++out.inflated=\ {0}\u304C\u5C55\u958B\u3055\u308C\u307E\u3057\u305F
+ out.size=(\u5165={0})(\u51FA={1})
+
+-usage=\u4F7F\u7528\u65B9\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u30AA\u30D7\u30B7\u30E7\u30F3:\n -c \u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B\n -t \u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u5185\u5BB9\u3092\u4E00\u89A7\u8868\u793A\u3059\u308B\n -x \u6307\u5B9A\u306E(\u307E\u305F\u306F\u3059\u3079\u3066\u306E)\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u304B\u3089\u62BD\u51FA\u3059\u308B\n -u \u65E2\u5B58\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u66F4\u65B0\u3059\u308B\n -v \u6A19\u6E96\u51FA\u529B\u306B\u8A73\u7D30\u306A\u51FA\u529B\u3092\u751F\u6210\u3059\u308B\n -f \u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u6307\u5B9A\u3059\u308B\n -m \u6307\u5B9A\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u60C5\u5831\u3092\u53D6\u308A\u8FBC\u3080\n -e \u5B9F\u884C\u53EF\u80FDjar\u30D5\u30A1\u30A4\u30EB\u306B\u30D0\u30F3\u30C9\u30EB\u3055\u308C\u305F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\n \u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u3092\u6307\u5B9A\u3059\u308B\n -0 \u683C\u7D0D\u306E\u307F\u3002ZIP\u5727\u7E2E\u3092\u4F7F\u7528\u3057\u306A\u3044\n -M \u30A8\u30F3\u30C8\u30EA\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u306A\u3044\n -i \u6307\u5B9A\u306Ejar\u30D5\u30A1\u30A4\u30EB\u306E\u7D22\u5F15\u60C5\u5831\u3092\u751F\u6210\u3059\u308B\n -C \u6307\u5B9A\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u5909\u66F4\u3057\u3001\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u308A\u8FBC\u3080\n\u30D5\u30A1\u30A4\u30EB\u304C\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u5834\u5408\u306F\u518D\u5E30\u7684\u306B\u51E6\u7406\u3055\u308C\u307E\u3059\u3002\n\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3001\u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u304A\u3088\u3073\u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u540D\u306F\u3001\n\u30D5\u30E9\u30B0'm'\u3001'f'\u3001'e'\u306E\u6307\u5B9A\u3068\u540C\u3058\u9806\u756A\u3067\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n\n\u4F8B1: 2\u3064\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6classes.jar\u306B\u4FDD\u5B58\u3059\u308B:\n jar cvf classes.jar Foo.class Bar.class\n\u4F8B2: \u65E2\u5B58\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB'mymanifest'\u3092\u4F7F\u7528\u3057\u3001foo/\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\n \u5168\u30D5\u30A1\u30A4\u30EB\u3092'classes.jar'\u306B\u30A2\u30FC\u30AB\u30A4\u30D6\u3059\u308B:\n jar cvfm classes.jar mymanifest -C foo/ \n
++usage=\u4F7F\u7528\u65B9\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u30AA\u30D7\u30B7\u30E7\u30F3:\n -c \u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B\n -t \u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u5185\u5BB9\u3092\u4E00\u89A7\u8868\u793A\u3059\u308B\n -x \u6307\u5B9A\u306E(\u307E\u305F\u306F\u3059\u3079\u3066\u306E)\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u304B\u3089\u62BD\u51FA\u3059\u308B\n -u \u65E2\u5B58\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u66F4\u65B0\u3059\u308B\n -v \u6A19\u6E96\u51FA\u529B\u306B\u8A73\u7D30\u306A\u51FA\u529B\u3092\u751F\u6210\u3059\u308B\n -f \u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u6307\u5B9A\u3059\u308B\n -m \u6307\u5B9A\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u60C5\u5831\u3092\u53D6\u308A\u8FBC\u3080\n -e \u5B9F\u884C\u53EF\u80FDjar\u30D5\u30A1\u30A4\u30EB\u306B\u30D0\u30F3\u30C9\u30EB\u3055\u308C\u305F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\n \u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u3092\u6307\u5B9A\u3059\u308B\n -0 \u683C\u7D0D\u306E\u307F\u3002ZIP\u5727\u7E2E\u3092\u4F7F\u7528\u3057\u306A\u3044\n -M \u30A8\u30F3\u30C8\u30EA\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u306A\u3044\n -i \u6307\u5B9A\u306Ejar\u30D5\u30A1\u30A4\u30EB\u306E\u7D22\u5F15\u60C5\u5831\u3092\u751F\u6210\u3059\u308B\n -C \u6307\u5B9A\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u5909\u66F4\u3057\u3001\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u308A\u8FBC\u3080\n\u30D5\u30A1\u30A4\u30EB\u304C\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u5834\u5408\u306F\u518D\u5E30\u7684\u306B\u51E6\u7406\u3055\u308C\u307E\u3059\u3002\n\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3001\u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u304A\u3088\u3073\u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u540D\u306F\u3001\n\u30D5\u30E9\u30B0'm'\u3001'f'\u3001'e'\u306E\u6307\u5B9A\u3068\u540C\u3058\u9806\u756A\u3067\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n\n\u4F8B1: 2\u3064\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6classes.jar\u306B\u4FDD\u5B58\u3059\u308B:\n jar cvf classes.jar Foo.class Bar.class\n\u4F8B2: \u65E2\u5B58\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB'mymanifest'\u3092\u4F7F\u7528\u3057\u3001foo/\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\n \u5168\u30D5\u30A1\u30A4\u30EB\u3092'classes.jar'\u306B\u30A2\u30FC\u30AB\u30A4\u30D6\u3059\u308B:\n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_ko.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_ko.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -34,14 +34,14 @@
+ error.create.dir={0}: \uB514\uB809\uD1A0\uB9AC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
+ error.incorrect.length=\uCC98\uB9AC \uC911 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC740 \uAE38\uC774\uAC00 \uBC1C\uACAC\uB428: {0}
+ out.added.manifest=Manifest\uB97C \uCD94\uAC00\uD568
+-out.update.manifest=Manifest\uB97C \uAC31\uC2E0\uD568
++out.update.manifest=Manifest\uB97C \uC5C5\uB370\uC774\uD2B8\uD568
+ out.ignore.entry={0} \uD56D\uBAA9\uC744 \uBB34\uC2DC\uD558\uB294 \uC911
+ out.adding=\uCD94\uAC00\uD558\uB294 \uC911: {0}
+ out.deflated=({0}%\uB97C \uAC10\uC18C\uD568)
+ out.stored=(0%\uB97C \uC800\uC7A5\uD568)
+ out.create=\ \uC0DD\uC131\uB428: {0}
+ out.extracted=\uCD94\uCD9C\uB428: {0}
+-out.inflated=\ \\\uC99D\uAC00\uB428: {0}
++out.inflated=\ \uC99D\uAC00\uB428: {0}
+ out.size=(\uC785\uB825 = {0}) (\uCD9C\uB825 = {1})
+
+-usage=\uC0AC\uC6A9\uBC95: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\uC635\uC158:\n -c \uC0C8 \uC544\uCE74\uC774\uBE0C\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -t \uC544\uCE74\uC774\uBE0C\uC5D0 \uB300\uD55C \uBAA9\uCC28\uB97C \uB098\uC5F4\uD569\uB2C8\uB2E4.\n -x \uBA85\uBA85\uB41C(\uB610\uB294 \uBAA8\uB4E0) \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uC5D0\uC11C \uCD94\uCD9C\uD569\uB2C8\uB2E4.\n -u \uAE30\uC874 \uC544\uCE74\uC774\uBE0C\uB97C \uAC31\uC2E0\uD569\uB2C8\uB2E4.\n -v \uD45C\uC900 \uCD9C\uB825\uC5D0 \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -f \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -m \uC9C0\uC815\uB41C Manifest \uD30C\uC77C\uC758 Manifest \uC815\uBCF4\uB97C \uD3EC\uD568\uD569\uB2C8\uB2E4.\n -e jar \uC2E4\uD589 \uD30C\uC77C\uC5D0 \uBC88\uB4E4\uB85C \uC81C\uACF5\uB41C \uB3C5\uB9BD\uD615 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC758 \n \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8 \uC2DC\uC791 \uC9C0\uC810\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -0 \uC800\uC7A5 \uC804\uC6A9: ZIP \uC555\uCD95\uC744 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -M \uD56D\uBAA9\uC5D0 \uB300\uD574 Manifest \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -i \uC9C0\uC815\uB41C jar \uD30C\uC77C\uC5D0 \uB300\uD55C \uC778\uB371\uC2A4 \uC815\uBCF4\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -C \uC9C0\uC815\uB41C \uB514\uB809\uD1A0\uB9AC\uB85C \uBCC0\uACBD\uD558\uACE0 \uB2E4\uC74C \uD30C\uC77C\uC744 \uD3EC\uD568\uD569\uB2C8\uB2E4.\n\uD2B9\uC815 \uD30C\uC77C\uC774 \uB514\uB809\uD1A0\uB9AC\uC77C \uACBD\uC6B0 \uC21C\uD658\uC801\uC73C\uB85C \uCC98\uB9AC\uB429\uB2C8\uB2E4.\nManifest \uD30C\uC77C \uC774\uB984, \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984 \uBC0F \uC2DC\uC791 \uC9C0\uC810 \uC774\uB984\uC740\n'm', 'f' \uBC0F 'e' \uD50C\uB798\uADF8\uC640 \uB3D9\uC77C\uD55C \uC21C\uC11C\uB85C \uC9C0\uC815\uB429\uB2C8\uB2E4.\n\n\uC608 1: classes.jar\uB77C\uB294 \uC544\uCE74\uC774\uBE0C\uC5D0 \uB450 \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvf classes.jar Foo.class Bar.class \n\uC608 2: \uAE30\uC874 Manifest \uD30C\uC77C 'mymanifest'\uB97C \uC0AC\uC6A9\uD558\uC5EC\n foo/ \uB514\uB809\uD1A0\uB9AC\uC758 \uBAA8\uB4E0 \uD30C\uC77C\uC744 'classes.jar'\uB85C \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvfm classes.jar mymanifest -C foo/ .\n
++usage=\uC0AC\uC6A9\uBC95: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\uC635\uC158:\n -c \uC0C8 \uC544\uCE74\uC774\uBE0C\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -t \uC544\uCE74\uC774\uBE0C\uC5D0 \uB300\uD55C \uBAA9\uCC28\uB97C \uB098\uC5F4\uD569\uB2C8\uB2E4.\n -x \uBA85\uBA85\uB41C(\uB610\uB294 \uBAA8\uB4E0) \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uC5D0\uC11C \uCD94\uCD9C\uD569\uB2C8\uB2E4.\n -u \uAE30\uC874 \uC544\uCE74\uC774\uBE0C\uB97C \uC5C5\uB370\uC774\uD2B8\uD569\uB2C8\uB2E4.\n -v \uD45C\uC900 \uCD9C\uB825\uC5D0 \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -f \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -m \uC9C0\uC815\uB41C Manifest \uD30C\uC77C\uC758 Manifest \uC815\uBCF4\uB97C \uD3EC\uD568\uD569\uB2C8\uB2E4.\n -e jar \uC2E4\uD589 \uD30C\uC77C\uC5D0 \uBC88\uB4E4\uB85C \uC81C\uACF5\uB41C \uB3C5\uB9BD\uD615 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC758 \n \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8 \uC2DC\uC791 \uC9C0\uC810\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -0 \uC800\uC7A5 \uC804\uC6A9: ZIP \uC555\uCD95\uC744 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -M \uD56D\uBAA9\uC5D0 \uB300\uD574 Manifest \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -i \uC9C0\uC815\uB41C jar \uD30C\uC77C\uC5D0 \uB300\uD55C \uC778\uB371\uC2A4 \uC815\uBCF4\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -C \uC9C0\uC815\uB41C \uB514\uB809\uD1A0\uB9AC\uB85C \uBCC0\uACBD\uD558\uACE0 \uB2E4\uC74C \uD30C\uC77C\uC744 \uD3EC\uD568\uD569\uB2C8\uB2E4.\n\uD2B9\uC815 \uD30C\uC77C\uC774 \uB514\uB809\uD1A0\uB9AC\uC77C \uACBD\uC6B0 \uC21C\uD658\uC801\uC73C\uB85C \uCC98\uB9AC\uB429\uB2C8\uB2E4.\nManifest \uD30C\uC77C \uC774\uB984, \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984 \uBC0F \uC2DC\uC791 \uC9C0\uC810 \uC774\uB984\uC740\n'm', 'f' \uBC0F 'e' \uD50C\uB798\uADF8\uC640 \uB3D9\uC77C\uD55C \uC21C\uC11C\uB85C \uC9C0\uC815\uB429\uB2C8\uB2E4.\n\n\uC608 1: classes.jar\uB77C\uB294 \uC544\uCE74\uC774\uBE0C\uC5D0 \uB450 \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvf classes.jar Foo.class Bar.class \n\uC608 2: \uAE30\uC874 Manifest \uD30C\uC77C 'mymanifest'\uB97C \uC0AC\uC6A9\uD558\uC5EC\n foo/ \uB514\uB809\uD1A0\uB9AC\uC758 \uBAA8\uB4E0 \uD30C\uC77C\uC744 'classes.jar'\uB85C \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -37,11 +37,11 @@
+ out.update.manifest=manifesto atualizado
+ out.ignore.entry=ignorando entrada {0}
+ out.adding=adicionando: {0}
+-out.deflated=(vazio {0}%)
++out.deflated=(compactado {0}%)
+ out.stored=(armazenado 0%)
+ out.create=\ criado: {0}
+ out.extracted=extra\u00EDdo: {0}
+-out.inflated=\ \\cheio: {0}
+-out.size=(dentro = {0}) (fora= {1})
++out.inflated=\ inflado: {0}
++out.size=(entrada = {0}) (sa\u00EDda= {1})
+
+ usage=Uso: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] arquivos ...\nOp\u00E7\u00F5es:\n -c cria novo arquivo compactado\n -t lista o sum\u00E1rio do arquivo compactado\n -x extrai arquivos com o nome (ou todos) do arquivo compactado\n -u atualizar o arquivo compactado existente\n -v gera sa\u00EDda detalhada na sa\u00EDda padr\u00E3o\n -f especifica o nome do arquivo do arquivo compactado\n -m inclui as informa\u00E7\u00F5es do manifesto do arquivo de manifesto especificado\n -e especifica o ponto de entrada da aplica\u00E7\u00E3o para aplica\u00E7\u00E3o independente \n empacotando em um arquivo jar execut\u00E1vel\n -0 armazena somente; n\u00E3o usa compacta\u00E7\u00E3o ZIP\n -M n\u00E3o cria um arquivo de manifesto para as entradas\n -i gera informa\u00E7\u00F5es de \u00EDndice para os arquivos especificados\n -C altera para o diret\u00F3rio e inclui o arquivo seguinte\nSe nenhum arquivo for um diret\u00F3rio, ent\u00E3o ser\u00E1 processado repetidamente.\nO nome do arquivo de manifesto, o nome do arquivo compactado e o nome do ponto de entrada s\u00E3o\nespecificados na mesma ordem dos flags 'm', 'f' e 'e'.\n\nExemplo 1: para arquivar dois arquivos de classe em um arquivo compactado com o nome classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExemplo 2: use um arquivo de manifesto existente 'mymanifest' e arquive todos os\n arquivos no diret\u00F3rio foo/ na 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_sv.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_sv.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -44,4 +44,4 @@
+ out.inflated=\ uppackat: {0}
+ out.size=(in = {0}) (ut = {1})
+
+-usage=Syntax: jar {ctxui}[vfm0Me] [jar fil] [manifestfil] [startpunkt] [-C-katalog] ...\nAlternativ:\n -c skapa nytt arkiv\n -t lista inneh\u00E5llsf\u00F6rteckning f\u00F6r arkiv\n -x extrahera namngivna (eller alla) filer fr\u00E5n arkiv\n -u uppdatera befintligt arkiv\n -v generera utf\u00F6rliga utdata vid standardutmatning\n -f ange arkivfilens namn\n -m inkludera manifestinformation fr\u00E5n angivet manifest\n -e ange programstartpunkt f\u00F6r frist\u00E5ende applikation \n som medf\u00F6ljer i en jar-programfil\n -0 endast lagra (ingen zip-komprimering)\n -M skapa inte n\u00E5gon manifestfil f\u00F6r posterna\n -i generera indexinformation f\u00F6r de angivna jar-filerna\n -C \u00E4ndra till den angivna katalogen och inkludera f\u00F6ljande fil\nOm en fil \u00E4r en katalog bearbetas den rekursivt.\nNamnen p\u00E5 manifestfilen, arkivfilen och startpunkten anges i samma\nordning som m-, f- och e-flaggorna.\n\nExempel 1: S\u00E5 h\u00E4r arkiverar du tv\u00E5 klassfiler i ett arkiv med namnet classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExempel 2: Anv\u00E4nd en befintlig manifestfil (mymanifest) och arkivera alla\n filer fr\u00E5n katalogen foo/ i classes.jar: \n jar cvfm classes.jar mymanifest -C foo/ .\n
++usage=Syntax: jar {ctxui}[vfm0Me] [jar-fil] [manifestfil] [startpunkt] [-C katalog] filer...\nAlternativ:\n -c skapa nytt arkiv\n -t lista inneh\u00E5llsf\u00F6rteckning f\u00F6r arkiv\n -x extrahera namngivna (eller alla) filer fr\u00E5n arkiv\n -u uppdatera befintligt arkiv\n -v generera utf\u00F6rliga utdata vid standardutmatning\n -f ange arkivfilens namn\n -m inkludera manifestinformation fr\u00E5n angivet manifest\n -e ange programstartpunkt f\u00F6r frist\u00E5ende applikation \n som medf\u00F6ljer i en jar-programfil\n -0 endast lagra (ingen zip-komprimering)\n -M skapa inte n\u00E5gon manifestfil f\u00F6r posterna\n -i generera indexinformation f\u00F6r de angivna jar-filerna\n -C \u00E4ndra till den angivna katalogen och inkludera f\u00F6ljande fil\nOm en fil \u00E4r en katalog bearbetas den rekursivt.\nNamnen p\u00E5 manifestfilen, arkivfilen och startpunkten anges i samma\nordning som m-, f- och e-flaggorna.\n\nExempel 1: S\u00E5 h\u00E4r arkiverar du tv\u00E5 klassfiler i ett arkiv med namnet classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExempel 2: Anv\u00E4nd en befintlig manifestfil (mymanifest) och arkivera alla\n filer fr\u00E5n katalogen foo/ i classes.jar: \n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -44,4 +44,4 @@
+ out.inflated=\ \u5DF2\u89E3\u538B: {0}
+ out.size=(\u8F93\u5165 = {0}) (\u8F93\u51FA = {1})
+
+-usage=\u7528\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u9009\u9879\u5305\u62EC: \n -c \u521B\u5EFA\u65B0\u7684\u5F52\u6863\u6587\u4EF6\n -t \u5217\u51FA\u5F52\u6863\u76EE\u5F55\n -x \u4ECE\u6863\u6848\u4E2D\u63D0\u53D6\u6307\u5B9A\u7684 (\u6216\u6240\u6709) \u6587\u4EF6\n -u \u66F4\u65B0\u73B0\u6709\u7684\u5F52\u6863\u6587\u4EF6\n -v \u5728\u6807\u51C6\u8F93\u51FA\u4E2D\u751F\u6210\u8BE6\u7EC6\u8F93\u51FA\n -f \u6307\u5B9A\u5F52\u6863\u6587\u4EF6\u540D\n -m \u5305\u542B\u6307\u5B9A\u6E05\u5355\u6587\u4EF6\u4E2D\u7684\u6E05\u5355\u4FE1\u606F\n -e \u4E3A\u6346\u7ED1\u5230\u53EF\u6267\u884C jar \u6587\u4EF6\u7684\u72EC\u7ACB\u5E94\u7528\u7A0B\u5E8F\n \u6307\u5B9A\u5E94\u7528\u7A0B\u5E8F\u5165\u53E3\u70B9\n -0 \u4EC5\u5B58\u50A8; \u4E0D\u4F7F\u7528\u60C5\u51B5\u4EFB\u4F55 ZIP \u538B\u7F29\n -M \u4E0D\u521B\u5EFA\u6761\u76EE\u7684\u6E05\u5355\u6587\u4EF6\n -i \u4E3A\u6307\u5B9A\u7684 jar \u6587\u4EF6\u751F\u6210\u7D22\u5F15\u4FE1\u606F\n -C \u66F4\u6539\u4E3A\u6307\u5B9A\u7684\u76EE\u5F55\u5E76\u5305\u542B\u5176\u4E2D\u7684\u6587\u4EF6\n\u5982\u679C\u6709\u4EFB\u4F55\u76EE\u5F55\u6587\u4EF6, \u5219\u5BF9\u5176\u8FDB\u884C\u9012\u5F52\u5904\u7406\u3002\n\u6E05\u5355\u6587\u4EF6\u540D, \u5F52\u6863\u6587\u4EF6\u540D\u548C\u5165\u53E3\u70B9\u540D\u79F0\u7684\u6307\u5B9A\u987A\u5E8F\n\u4E0E 'm', 'f' \u548C 'e' \u6807\u8BB0\u7684\u6307\u5B9A\u987A\u5E8F\u76F8\u540C\u3002\n\n\u793A\u4F8B 1: \u5C06\u4E24\u4E2A\u7C7B\u6587\u4EF6\u5F52\u6863\u5230\u4E00\u4E2A\u540D\u4E3A classes.jar \u7684\u5F52\u6863\u6587\u4EF6\u4E2D: \n jar cvf classes.jar Foo.class Bar.class \n\u793A\u4F8B 2: \u4F7F\u7528\u73B0\u6709\u7684\u6E05\u5355\u6587\u4EF6 'mymanifest' \u5E76\n \u5C06 foo/ \u76EE\u5F55\u4E2D\u7684\u6240\u6709\u6587\u4EF6\u5F52\u6863\u5230 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/\u3002\n
++usage=\u7528\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u9009\u9879\u5305\u62EC: \n -c \u521B\u5EFA\u65B0\u7684\u5F52\u6863\u6587\u4EF6\n -t \u5217\u51FA\u5F52\u6863\u76EE\u5F55\n -x \u4ECE\u6863\u6848\u4E2D\u63D0\u53D6\u6307\u5B9A\u7684 (\u6216\u6240\u6709) \u6587\u4EF6\n -u \u66F4\u65B0\u73B0\u6709\u7684\u5F52\u6863\u6587\u4EF6\n -v \u5728\u6807\u51C6\u8F93\u51FA\u4E2D\u751F\u6210\u8BE6\u7EC6\u8F93\u51FA\n -f \u6307\u5B9A\u5F52\u6863\u6587\u4EF6\u540D\n -m \u5305\u542B\u6307\u5B9A\u6E05\u5355\u6587\u4EF6\u4E2D\u7684\u6E05\u5355\u4FE1\u606F\n -e \u4E3A\u6346\u7ED1\u5230\u53EF\u6267\u884C jar \u6587\u4EF6\u7684\u72EC\u7ACB\u5E94\u7528\u7A0B\u5E8F\n \u6307\u5B9A\u5E94\u7528\u7A0B\u5E8F\u5165\u53E3\u70B9\n -0 \u4EC5\u5B58\u50A8; \u4E0D\u4F7F\u7528\u60C5\u51B5\u4EFB\u4F55 ZIP \u538B\u7F29\n -M \u4E0D\u521B\u5EFA\u6761\u76EE\u7684\u6E05\u5355\u6587\u4EF6\n -i \u4E3A\u6307\u5B9A\u7684 jar \u6587\u4EF6\u751F\u6210\u7D22\u5F15\u4FE1\u606F\n -C \u66F4\u6539\u4E3A\u6307\u5B9A\u7684\u76EE\u5F55\u5E76\u5305\u542B\u5176\u4E2D\u7684\u6587\u4EF6\n\u5982\u679C\u6709\u4EFB\u4F55\u76EE\u5F55\u6587\u4EF6, \u5219\u5BF9\u5176\u8FDB\u884C\u9012\u5F52\u5904\u7406\u3002\n\u6E05\u5355\u6587\u4EF6\u540D, \u5F52\u6863\u6587\u4EF6\u540D\u548C\u5165\u53E3\u70B9\u540D\u79F0\u7684\u6307\u5B9A\u987A\u5E8F\n\u4E0E 'm', 'f' \u548C 'e' \u6807\u8BB0\u7684\u6307\u5B9A\u987A\u5E8F\u76F8\u540C\u3002\n\n\u793A\u4F8B 1: \u5C06\u4E24\u4E2A\u7C7B\u6587\u4EF6\u5F52\u6863\u5230\u4E00\u4E2A\u540D\u4E3A classes.jar \u7684\u5F52\u6863\u6587\u4EF6\u4E2D: \n jar cvf classes.jar Foo.class Bar.class \n\u793A\u4F8B 2: \u4F7F\u7528\u73B0\u6709\u7684\u6E05\u5355\u6587\u4EF6 'mymanifest' \u5E76\n \u5C06 foo/ \u76EE\u5F55\u4E2D\u7684\u6240\u6709\u6587\u4EF6\u5F52\u6863\u5230 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties Thu Dec 19 09:01:16 2013 -0800
+@@ -41,7 +41,7 @@
+ out.stored=(\u5132\u5B58 0%)
+ out.create=\ \u5EFA\u7ACB: {0}
+ out.extracted=\u64F7\u53D6: {0}
+-out.inflated=\ \\\u64F4\u5C55: {0}
++out.inflated=\ \u64F4\u5C55: {0}
+ out.size=\ (\u8B80={0})(\u5BEB={1})
+
+ usage=\u7528\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] \u6A94\u6848 ...\n\u9078\u9805:\n -c \u5EFA\u7ACB\u65B0\u7684\u6B78\u6A94\n -t \u5217\u51FA\u6B78\u6A94\u7684\u76EE\u9304\n -x \u5F9E\u6B78\u6A94\u4E2D\u64F7\u53D6\u5DF2\u547D\u540D\u7684 (\u6216\u6240\u6709) \u6A94\u6848\n -u \u66F4\u65B0\u73FE\u6709\u6B78\u6A94\n -v \u5728\u6A19\u6E96\u8F38\u51FA\u4E2D\u7522\u751F\u8A73\u7D30\u8F38\u51FA\n -f \u6307\u5B9A\u6B78\u6A94\u6A94\u6848\u540D\u7A31\n -m \u5305\u542B\u6307\u5B9A\u8CC7\u8A0A\u6E05\u55AE\u4E2D\u7684\u8CC7\u8A0A\u6E05\u55AE\u8CC7\u8A0A\n -e \u70BA\u7368\u7ACB\u61C9\u7528\u7A0B\u5F0F\u6307\u5B9A\u61C9\u7528\u7A0B\u5F0F\u9032\u5165\u9EDE\n \u5DF2\u96A8\u9644\u65BC\u53EF\u57F7\u884C jar \u6A94\u6848\u4E2D\n -0 \u50C5\u5132\u5B58; \u4E0D\u4F7F\u7528 ZIP \u58D3\u7E2E\u65B9\u5F0F\n -M \u4E0D\u70BA\u9805\u76EE\u5EFA\u7ACB\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848\n -i \u70BA\u6307\u5B9A\u7684 jar \u6A94\u6848\u7522\u751F\u7D22\u5F15\u8CC7\u8A0A\n -C \u8B8A\u66F4\u81F3\u6307\u5B9A\u76EE\u9304\u4E26\u5305\u542B\u5F8C\u9762\u6240\u5217\u7684\u6A94\u6848\n\u5982\u679C\u6709\u4EFB\u4F55\u6A94\u6848\u662F\u76EE\u9304\uFF0C\u5247\u6703\u5C0D\u5176\u9032\u884C\u905E\u8FF4\u8655\u7406\u3002\n\u6E05\u55AE\u6A94\u6848\u540D\u7A31\u3001\u6B78\u6A94\u6A94\u6848\u540D\u7A31\u548C\u9032\u5165\u9EDE\u540D\u7A31\n\u7684\u6307\u5B9A\u9806\u5E8F\u8207\u6307\u5B9A 'm' \u65D7\u6A19\u3001'f' \u65D7\u6A19\u548C 'e' \u65D7\u6A19\u7684\u9806\u5E8F\u76F8\u540C\u3002\n\n\u7BC4\u4F8B 1: \u5C07\u5169\u500B\u985E\u5225\u6A94\u6848\u6B78\u6A94\u81F3\u540D\u70BA classes.jar \u7684\u6B78\u6A94\u4E2D: \n jar cvf classes.jar Foo.class Bar.class\n\u7BC4\u4F8B 2: \u4F7F\u7528\u73FE\u6709\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848 'mymanifest' \u4E26\u5C07\n foo/ \u76EE\u9304\u4E2D\u7684\u6240\u6709\u6A94\u6848\u6B78\u6A94\u81F3 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/ .\n
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames.java Thu Dec 19 09:01:16 2013 -0800
+@@ -79,7 +79,7 @@
+ "Chamorro Daylight Time", "ChDT"};
+ String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+ "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"Central Indonesia Time", "CIT",
++ String CIT[] = new String[] {"Central Indonesia Time", "WITA",
+ "Central Indonesia Summer Time", "CIST"};
+ String CLT[] = new String[] {"Chile Time", "CLT",
+ "Chile Summer Time", "CLST"};
+@@ -193,7 +193,7 @@
+ "Western African Summer Time", "WAST"};
+ String WET[] = new String[] {"Western European Time", "WET",
+ "Western European Summer Time", "WEST"};
+- String WIT[] = new String[] {"West Indonesia Time", "WIT",
++ String WIT[] = new String[] {"West Indonesia Time", "WIB",
+ "West Indonesia Summer Time", "WIST"};
+ String WST_AUS[] = new String[] {"Western Standard Time (Australia)", "WST",
+ "Western Summer Time (Australia)", "WST"};
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -426,7 +426,7 @@
+ "Suriname Summer Time", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Alma-Ata Time", "ALMT",
+ "Alma-Ata Summer Time", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"Anadyr Time", "ANAT",
+ "Anadyr Summer Time", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Aqtau Time", "AQTT",
+@@ -527,7 +527,7 @@
+ "Irkutsk Summer Time", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"East Indonesia Time", "EIT",
++ {"Asia/Jayapura", new String[] {"East Indonesia Time", "WIT",
+ "East Indonesia Summer Time", "EIST"}},
+ {"Asia/Kabul", new String[] {"Afghanistan Time", "AFT",
+ "Afghanistan Summer Time", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"Khandyga Time", "YAKT",
++ "Khandyga Summer Time", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"Krasnoyarsk Time", "KRAT",
+ "Krasnoyarsk Summer Time", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"Ust-Nera Time", "VLAT",
++ "Ust-Nera Summer Time", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"Middle Europe Time", "MET",
+ "Middle Europe Summer Time", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_de.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_de.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,8 +45,8 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"Acre Normalzeit", "ACT",
+ "Acre Sommerzeit", "ACST"};
+- String ADELAIDE[] = new String[] {"Zentrale Normalzeit (S\u00fcdaustralien)", "CST",
+- "Zentrale Sommerzeit (S\u00fcdaustralien)", "CST"};
++ String ADELAIDE[] = new String[] {"Zentrale Normalzeit (S\u00FCdaustralien)", "CST",
++ "Zentrale Sommerzeit (S\u00FCdaustralien)", "CST"};
+ String AGT[] = new String[] {"Argentinische Zeit", "ART",
+ "Argentinische Sommerzeit", "ARST"};
+ String AKST[] = new String[] {"Alaska Normalzeit", "AKST",
+@@ -61,10 +61,10 @@
+ "Atlantik Sommerzeit", "ADT"};
+ String BDT[] = new String[] {"Bangladesch Zeit", "BDT",
+ "Bangladesch Sommerzeit", "BDST"};
+- String BRISBANE[] = new String[] {"\u00d6stliche Normalzeit (Queensland)", "EST",
+- "\u00d6stliche Sommerzeit (Queensland)", "EST"};
+- String BROKEN_HILL[] = new String[] {"Zentrale Normalzeit (S\u00fcdaustralien/New South Wales)", "CST",
+- "Zentrale Sommerzeit (S\u00fcdaustralien/New South Wales)", "CST"};
++ String BRISBANE[] = new String[] {"\u00D6stliche Normalzeit (Queensland)", "EST",
++ "\u00D6stliche Sommerzeit (Queensland)", "EST"};
++ String BROKEN_HILL[] = new String[] {"Zentrale Normalzeit (S\u00FCdaustralien/New South Wales)", "CST",
++ "Zentrale Sommerzeit (S\u00FCdaustralien/New South Wales)", "CST"};
+ String BRT[] = new String[] {"Brasilianische Zeit", "BRT",
+ "Brasilianische Sommerzeit", "BRST"};
+ String BTT[] = new String[] {"Bhutanische Zeit", "BTT",
+@@ -77,9 +77,9 @@
+ "Chatham Sommerzeit", "CHADT"};
+ String ChST[] = new String[] {"Chamorro Normalzeit", "ChST",
+ "Chamorro Sommerzeit", "ChDT"};
+- String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+- "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"Zentralindonesische Zeit", "CIT",
++ String CHUT[] = new String[] {"Chuuk Zeit", "CHUT",
++ "Chuuk Sommerzeit", "CHUST"};
++ String CIT[] = new String[] {"Zentralindonesische Zeit", "WITA",
+ "Zentralindonesische Sommerzeit", "CIST"};
+ String CLT[] = new String[] {"Chilenische Zeit", "CLT",
+ "Chilenische Sommerzeit", "CLST"};
+@@ -89,7 +89,7 @@
+ "Chinesische Sommerzeit", "CDT"};
+ String CUBA[] = new String[] {"Kubanische Normalzeit", "CST",
+ "Kubanische Sommerzeit", "CDT"};
+- String DARWIN[] = new String[] {"Zentrale Normalzeit (Northern Territory)", "CST",
++ String DARWIN[] = new String[] {"Central Normalzeit (Northern Territory)", "CST",
+ "Zentrale Sommerzeit (Northern Territory)", "CST"};
+ String DUBLIN[] = new String[] {"Greenwich Zeit", "GMT",
+ "Irische Sommerzeit", "IST"};
+@@ -103,10 +103,10 @@
+ "Ostgr\u00f6nl\u00e4ndische Sommerzeit", "EGST"};
+ String EST[] = new String[] {"\u00d6stliche Normalzeit", "EST",
+ "\u00d6stliche Sommerzeit", "EDT"};
+- String EST_NSW[] = new String[] {"\u00d6stliche Normalzeit (New South Wales)", "EST",
+- "\u00d6stliche Sommerzeit (New South Wales)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String EST_NSW[] = new String[] {"Eastern Normalzeit (Neus\u00FCdwales)", "EST",
++ "\u00D6stliche Sommerzeit (New South Wales)", "EST"};
++ String FET[] = new String[] {"Kaliningrader Zeit", "FET",
++ "Kaliningrader Sommerzeit", "FEST"};
+ String GHMT[] = new String[] {"Ghanaische Normalzeit", "GMT",
+ "Ghanaische Sommerzeit", "GHST"};
+ String GAMBIER[] = new String[] {"Gambier Zeit", "GAMT",
+@@ -159,8 +159,8 @@
+ "Pitcairn Sommerzeit", "PDT"};
+ String PKT[] = new String[] {"Pakistanische Zeit", "PKT",
+ "Pakistanische Sommerzeit", "PKST"};
+- String PONT[] = new String[] {"Pohnpei Time", "PONT",
+- "Pohnpei Summer Time", "PONST"};
++ String PONT[] = new String[] {"Pohnpei Zeit", "PONT",
++ "Pohnpei Sommerzeit", "PONST"};
+ String PST[] = new String[] {"Pazifische Normalzeit", "PST",
+ "Pazifische Sommerzeit", "PDT"};
+ String SAMOA[] = new String[] {"Samoa Normalzeit", "SST",
+@@ -173,8 +173,8 @@
+ "Singapur Sommerzeit", "SGST"};
+ String SLST[] = new String[] {"Greenwich Normalzeit", "GMT",
+ "Sierra Leone Sommerzeit", "SLST"};
+- String TASMANIA[] = new String[] {"\u00d6stliche Normalzeit (Tasmanien)", "EST",
+- "\u00d6stliche Sommerzeit (Tasmanien)", "EST"};
++ String TASMANIA[] = new String[] {"\u00D6stliche Normalzeit (Tasmanien)", "EST",
++ "\u00D6stliche Sommerzeit (Tasmanien)", "EST"};
+ String TMT[] = new String[] {"Turkmenische Zeit", "TMT",
+ "Turkmenische Sommerzeit", "TMST"};
+ String ULAT[]= new String[] {"Ulaanbaatar Zeit", "ULAT",
+@@ -183,8 +183,8 @@
+ "Koordinierte Universalzeit", "UTC"};
+ String UZT[] = new String[] {"Usbekistan Zeit", "UZT",
+ "Usbekistan Sommerzeit", "UZST"};
+- String VICTORIA[] = new String[] {"\u00d6stliche Normalzeit (Victoria)", "EST",
+- "\u00d6stliche Sommerzeit (Victoria)", "EST"};
++ String VICTORIA[] = new String[] {"\u00D6stliche Normalzeit (Victoria)", "EST",
++ "\u00D6stliche Sommerzeit (Victoria)", "EST"};
+ String VLAT[] = new String[] {"Wladiwostok Zeit", "VLAT",
+ "Wladiwostok Sommerzeit", "VLAST"};
+ String WART[] = new String[] {"Westargentinische Zeit", "WART",
+@@ -193,7 +193,7 @@
+ "Westafrikanische Sommerzeit", "WAST"};
+ String WET[] = new String[] {"Westeurop\u00e4ische Zeit", "WEZ",
+ "Westeurop\u00e4ische Sommerzeit", "WESZ"};
+- String WIT[] = new String[] {"Westindonesische Zeit", "WIT",
++ String WIT[] = new String[] {"Westindonesische Zeit", "WIB",
+ "Westindonesische Sommerzeit", "WIST"};
+ String WST_AUS[] = new String[] {"Westliche Normalzeit (Australien)", "WST",
+ "Westliche Sommerzeit (Australien)", "WST"};
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"Metlakatla Normalzeit", "MeST",
++ "Metlakatla Sommerzeit", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"Pierre & Miquelon Normalzeit", "PMST",
+ "Pierre & Miquelon Sommerzeit", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "Suriname Sommerzeit", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "Davis Sommerzeit", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"Dumont-d'Urville Zeit", "DDUT",
+ "Dumont-d'Urville Sommerzeit", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"Macquarieinsel Zeit", "MIST",
++ "Macquarieinsel Sommerzeit", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"Mawson Zeit", "MAWT",
+ "Mawson Sommerzeit", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Alma Ata Zeit", "ALMT",
+ "Alma-Ata Sommerzeit", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"Anadyr Zeit", "ANAT",
+ "Anadyr Sommerzeit", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Aqtau Zeit", "AQTT",
+@@ -527,7 +527,7 @@
+ "Irkutsk Sommerzeit", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"Ostindonesische Zeit", "EIT",
++ {"Asia/Jayapura", new String[] {"Ostindonesische Zeit", "WIT",
+ "Ostindonesische Sommerzeit", "EIST"}},
+ {"Asia/Kabul", new String[] {"Afghanistanische Zeit", "AFT",
+ "Afghanistanische Sommerzeit", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"Chandyga Zeit", "YAKT",
++ "Chandyga Sommerzeit", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"Krasnojarsker Zeit", "KRAT",
+ "Krasnojarsker Sommerzeit", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"Ust-Nera Zeit", "VLAT",
++ "Ust-Nera Sommerzeit", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"Zentraleurop\u00e4ische Zeit", "MET",
+ "Zentraleurop\u00e4ische Sommerzeit", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_es.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_es.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,7 +45,7 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"Hora de Acre", "ACT",
+ "Hora de verano de Acre", "ACST"};
+- String ADELAIDE[] = new String[] {"Hora est\u00e1ndar Central (Sur de Australia)", "CST",
++ String ADELAIDE[] = new String[] {"Hora est\u00E1ndar Central (Sur de Australia)", "CST",
+ "Hora de verano Central (Sur de Australia)", "CST"};
+ String AGT[] = new String[] {"Hora de Argentina", "ART",
+ "Hora de verano de Argentina", "ARST"};
+@@ -61,9 +61,9 @@
+ "Hora de verano Atl\u00e1ntico", "ADT"};
+ String BDT[] = new String[] {"Hora de Bangladesh", "BDT",
+ "Hora de verano de Bangladesh", "BDST"};
+- String BRISBANE[] = new String[] {"Hora est\u00e1ndar del Este (Queensland)", "EST",
+- "Hora de verano del Este (Queensland)", "EST"};
+- String BROKEN_HILL[] = new String[] {"Hora est\u00e1ndar Central (Sur de Australia/Nueva Gales del Sur)", "CST",
++ String BRISBANE[] = new String[] {"Hora est\u00E1ndar del Este (Queensland)", "EST",
++ "Hora est\u00E1ndar de verano del Este (Queensland)", "EST"};
++ String BROKEN_HILL[] = new String[] {"Hora est\u00E1ndar Central (Sur de Australia/Nueva Gales del Sur)", "CST",
+ "Hora de verano Central (Sur de Australia/Nueva Gales del Sur)", "CST"};
+ String BRT[] = new String[] {"Hora de Brasil", "BRT",
+ "Hora de verano de Brasil", "BRST"};
+@@ -79,7 +79,7 @@
+ "Hora de verano de Chamorro", "ChDT"};
+ String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+ "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"Hora de Indonesia Central", "CIT",
++ String CIT[] = new String[] {"Hora de Indonesia Central", "WITA",
+ "Hora de verano de Indonesia Central", "CIST"};
+ String CLT[] = new String[] {"Hora de Chile", "CLT",
+ "Hora de verano de Chile", "CLST"};
+@@ -89,7 +89,7 @@
+ "Hora de verano de China", "CDT"};
+ String CUBA[] = new String[] {"Hora est\u00e1ndar de Cuba", "CST",
+ "Hora de verano de Cuba", "CDT"};
+- String DARWIN[] = new String[] {"Hora est\u00e1ndar Central (territorio del Norte)", "CST",
++ String DARWIN[] = new String[] {"Hora est\u00E1ndar Central (territorio del Norte)", "CST",
+ "Hora de verano Central (territorio del Norte)", "CST"};
+ String DUBLIN[] = new String[] {"Hora del Meridiano de Greenwich", "GMT",
+ "Hora de verano de Irlanda", "IST"};
+@@ -103,10 +103,10 @@
+ "Hora de verano de Groenlandia Oriental", "EGST"};
+ String EST[] = new String[] {"Hora est\u00e1ndar Oriental", "EST",
+ "Hora de verano Oriental", "EDT"};
+- String EST_NSW[] = new String[] {"Hora est\u00e1ndar Oriental (Nueva Gales del Sur)", "EST",
++ String EST_NSW[] = new String[] {"Hora est\u00E1ndar Oriental (Nueva Gales del Sur)", "EST",
+ "Hora de verano Oriental (Nueva Gales del Sur)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String FET[] = new String[] {"Hora de Europa m\u00E1s Oriental", "FET",
++ "Hora de verano de Europa m\u00E1s Oriental", "FEST"};
+ String GHMT[] = new String[] {"Hora central de Ghana", "GMT",
+ "Hora de verano de Ghana", "GHST"};
+ String GAMBIER[] = new String[] {"Hora de Gambier", "GAMT",
+@@ -173,7 +173,7 @@
+ "Hora de verano de Singapur", "SGST"};
+ String SLST[] = new String[] {"Hora del Meridiano de Greenwich", "GMT",
+ "Hora de verano de Sierra Leona", "SLST"};
+- String TASMANIA[] = new String[] {"Hora est\u00e1ndar del Este (Tasmania)", "EST",
++ String TASMANIA[] = new String[] {"Hora est\u00E1ndar del Este (Tasmania)", "EST",
+ "Hora de verano del Este (Tasmania)", "EST"};
+ String TMT[] = new String[] {"Hora de Turkmenist\u00e1n", "TMT",
+ "Hora de verano de Turkmenist\u00e1n", "TMST"};
+@@ -183,7 +183,7 @@
+ "Hora Universal Coordinada", "UTC"};
+ String UZT[] = new String[] {"Hora de Uzbekist\u00e1n", "UZT",
+ "Hora de verano de Uzbekist\u00e1n", "UZST"};
+- String VICTORIA[] = new String[] {"Hora est\u00e1ndar del Este (Victoria)", "EST",
++ String VICTORIA[] = new String[] {"Hora est\u00E1ndar del Este (Victoria)", "EST",
+ "Hora de verano del Este (Victoria)", "EST"};
+ String VLAT[] = new String[] {"Hora de Vladivostok", "VLAT",
+ "Hora de verano de Vladivostok", "VLAST"};
+@@ -193,9 +193,9 @@
+ "Hora de verano de \u00c1frica Occidental", "WAST"};
+ String WET[] = new String[] {"Hora de Europa Occidental", "WET",
+ "Hora de verano de Europa Occidental", "WEST"};
+- String WIT[] = new String[] {"Hora de Indonesia Occidental", "WIT",
++ String WIT[] = new String[] {"Hora de Indonesia Occidental", "WIB",
+ "Indonesia Hora de verano de Indonesia Occidental", "WIST"};
+- String WST_AUS[] = new String[] {"Hora est\u00e1ndar Occidental (Australia)", "WST",
++ String WST_AUS[] = new String[] {"Hora est\u00E1ndar Occidental (Australia)", "WST",
+ "Hora de verano Occidental (Australia)", "WST"};
+ String WST_SAMOA[] = new String[] {"Hora de Samoa Occidental", "WST",
+ "Hora de verano de Samoa Occidental", "WSDT"};
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -426,7 +426,7 @@
+ "Hora de verano de Surinam", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Hora de Alma-Ata", "ALMT",
+ "Hora de verano de Alma-Ata", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"Hora de Anadyr", "ANAT",
+ "Hora de verano de Anadyr", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Hora de Aqtau", "AQTT",
+@@ -527,7 +527,7 @@
+ "Hora de verano de Irkutsk", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"Hora de Indonesia Oriental", "EIT",
++ {"Asia/Jayapura", new String[] {"Hora de Indonesia Oriental", "WIT",
+ "Hora de verano de Indonesia Oriental", "EIST"}},
+ {"Asia/Kabul", new String[] {"Hora de Afganist\u00e1n", "AFT",
+ "Hora de verano de Afganist\u00e1n", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"Hora de Khandyga", "YAKT",
++ "Hora de verano de Khandyga", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"Hora de Krasnoyarsk", "KRAT",
+ "Hora de verano de Krasnoyarsk", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"Hora de Ust-Nera", "VLAT",
++ "Hora de verano de Ust-Nera", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -616,8 +618,8 @@
+ {"Australia/Canberra", EST_NSW},
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+- {"Australia/Eucla", new String[] {"Hora est\u00e1ndar de Australia Central y Occidental", "CWST",
+- "Hora de verano de Australia Central y Occidental", "CWST"}},
++ {"Australia/Eucla", new String[] {"Hora est\u00E1ndar de Australia Central y Occidental", "CWST",
++ "Hora est\u00E1ndar de verano de Australia Central y Occidental", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"Hora de Europa Central", "MET",
+ "Hora de verano de Europa Central", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_fr.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_fr.java Thu Dec 19 09:01:16 2013 -0800
+@@ -46,7 +46,7 @@
+ String ACT[] = new String[] {"Heure de l'Acre", "ACT",
+ "Heure d'\u00e9t\u00e9 de l'Acre", "ACST"};
+ String ADELAIDE[] = new String[] {"Heure standard d'Australie centrale (Australie du sud)", "CST",
+- "Heure d'\u00e9t\u00e9 d'Australie centrale (Australie du sud)", "CST"};
++ "Heure d'\u00E9t\u00E9 d'Australie centrale (Australie du sud)", "CST"};
+ String AGT[] = new String[] {"Heure D'Argentine", "ART",
+ "Heure d'\u00e9t\u00e9 D'Argentine", "ARST"};
+ String AKST[] = new String[] {"Heure normale d'Alaska", "AKST",
+@@ -62,9 +62,9 @@
+ String BDT[] = new String[] {"Heure du Bangladesh", "BDT",
+ "Heure d'\u00e9t\u00e9 du Bangladesh", "BDST"};
+ String BRISBANE[] = new String[] {"Heure standard d'Australie orientale (Queensland)", "EST",
+- "Heure d'\u00e9t\u00e9 d'Australie orientale (Queensland)", "EST"};
++ "Heure d'\u00E9t\u00E9 d'Australie orientale (Queensland)", "EST"};
+ String BROKEN_HILL[] = new String[] {"Heure standard d'Australie centrale (Australie du sud/Nouvelle-Galles du sud)", "CST",
+- "Heure d'\u00e9t\u00e9 d'Australie centrale(Australie du sud/Nouvelle-Galles du sud)", "CST"};
++ "Heure d'\u00E9t\u00E9 d'Australie centrale (Australie du sud/Nouvelle-Galles du sud)", "CST"};
+ String BRT[] = new String[] {"Heure du Br\u00e9sil", "BRT",
+ "Heure d'\u00e9t\u00e9 du Br\u00e9sil", "BRST"};
+ String BTT[] = new String[] {"Heure du Bhoutan", "BTT",
+@@ -77,9 +77,9 @@
+ "Heure avanc\u00e9e de Chatham", "CHADT"};
+ String ChST[] = new String[] {"Heure normale des \u00eeles Mariannes", "ChST",
+ "Heure d'\u00e9t\u00e9 des \u00eeles Mariannes", "ChDT"};
+- String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+- "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"Heure d'Indon\u00e9sie centrale", "CIT",
++ String CHUT[] = new String[] {"Heure de Chuuk", "CHUT",
++ "Heure d'\u00E9t\u00E9 de Chuuk", "CHUST"};
++ String CIT[] = new String[] {"Heure d'Indon\u00e9sie centrale", "WITA",
+ "Heure d'\u00e9t\u00e9 d'Indon\u00e9sie centrale", "CIST"};
+ String CLT[] = new String[] {"Heure du Chili", "CLT",
+ "Heure d'\u00e9t\u00e9 du Chili", "CLST"};
+@@ -90,7 +90,7 @@
+ String CUBA[] = new String[] {"Heure standard de Cuba", "CST",
+ "Heure d'\u00e9t\u00e9 de Cuba", "CDT"};
+ String DARWIN[] = new String[] {"Heure standard d'Australie centrale (Territoire du Nord)", "CST",
+- "Heure d'\u00e9t\u00e9 d'Australie centrale (Territoire du Nord)", "CST"};
++ "Heure d'\u00E9t\u00E9 d'Australie centrale (Territoire du Nord)", "CST"};
+ String DUBLIN[] = new String[] {"Heure du m\u00e9ridien de Greenwich", "GMT",
+ "Heure d'\u00e9t\u00e9 irlandaise", "IST"};
+ String EAT[] = new String[] {"Heure d'Afrique de l'Est", "EAT",
+@@ -104,9 +104,9 @@
+ String EST[] = new String[] {"Heure normale de l'Est", "EST",
+ "Heure avanc\u00e9e de l'Est", "EDT"};
+ String EST_NSW[] = new String[] {"Heure normale de l'Est (Nouvelle-Galles du Sud)", "EST",
+- "Heure d'\u00e9t\u00e9 de l'Est (Nouvelle-Galles du Sud)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ "Heure d'\u00E9t\u00E9 de l'Est (Nouvelle-Galles du Sud)", "EST"};
++ String FET[] = new String[] {"Heure d'Europe de l'Est UTC+3", "FET",
++ "Heure d'\u00E9t\u00E9 d'Europe de l'Est UTC+3", "FEST"};
+ String GHMT[] = new String[] {"Heure du Ghana", "GMT",
+ "Heure d'\u00e9t\u00e9 du Ghana", "GHST"};
+ String GAMBIER[] = new String[] {"Heure de Gambi", "GAMT",
+@@ -159,8 +159,8 @@
+ "heure avanc\u00e9e des Pitcairn", "PDT"};
+ String PKT[] = new String[] {"Heure du Pakistan", "PKT",
+ "Heure d'\u00e9t\u00e9 du Pakistan", "PKST"};
+- String PONT[] = new String[] {"Pohnpei Time", "PONT",
+- "Pohnpei Summer Time", "PONST"};
++ String PONT[] = new String[] {"Heure de Pohnpei", "PONT",
++ "Heure d'\u00E9t\u00E9 de Pohnpei", "PONST"};
+ String PST[] = new String[] {"Heure normale du Pacifique", "PST",
+ "Heure avanc\u00e9e du Pacifique", "PDT"};
+ String SAMOA[] = new String[] {"Heure standard de Samoa", "SST",
+@@ -174,7 +174,7 @@
+ String SLST[] = new String[] {"Heure du m\u00e9ridien de Greenwich", "GMT",
+ "Heure d'\u00e9t\u00e9 de Sierra Leone", "SLST"};
+ String TASMANIA[] = new String[] {"Heure standard d'Australie orientale (Tasmanie)", "EST",
+- "Heure d'\u00e9t\u00e9 d'Australie orientale (Tasmanie)", "EST"};
++ "Heure d'\u00E9t\u00E9 d'Australie orientale (Tasmanie)", "EST"};
+ String TMT[] = new String[] {"Heure du Turkm\u00e9nistan", "TMT",
+ "Heure d'\u00e9t\u00e9 du Turkm\u00e9nistan", "TMST"};
+ String ULAT[]= new String[] {"Heure de l'Ulaanbaatar", "ULAT",
+@@ -184,7 +184,7 @@
+ String UZT[] = new String[] {"Heure de l'Ouzb\u00e9kistan", "UZT",
+ "Heure d'\u00e9t\u00e9 de l'Ouzb\u00e9kistan", "UZST"};
+ String VICTORIA[] = new String[] {"Heure standard d'Australie orientale (Victoria)", "EST",
+- "Heure d'\u00e9t\u00e9 d'Australie orientale (Victoria)", "EST"};
++ "Heure d'\u00E9t\u00E9 d'Australie orientale (Victoria)", "EST"};
+ String VLAT[] = new String[] {"Heure de Vladivostok", "VLAT",
+ "Heure d'\u00e9t\u00e9 de Vladivostok", "VLAST"};
+ String WART[] = new String[] {"Heure D'Argentine de l'Ouest", "WART",
+@@ -193,10 +193,10 @@
+ "Heure d'\u00e9t\u00e9 d'Afrique de l'Ouest", "WAST"};
+ String WET[] = new String[] {"Heure d'Europe de l'Ouest", "WET",
+ "Heure d'\u00e9t\u00e9 d'Europe de l'Ouest", "WEST"};
+- String WIT[] = new String[] {"Heure de l'Indon\u00e9sie occidentale", "WIT",
++ String WIT[] = new String[] {"Heure de l'Indon\u00e9sie occidentale", "WIB",
+ "Heure d'\u00e9t\u00e9 de l'Indon\u00e9sie occidentale", "WIST"};
+ String WST_AUS[] = new String[] {"Heure normale de l'Ouest (Australie)", "WST",
+- "Heure d'\u00e9t\u00e9 de l'Ouest (Australie)", "WST"};
++ "Heure d'\u00E9t\u00E9 de l'Ouest (Australie)", "WST"};
+ String WST_SAMOA[] = new String[] {"Heure des Samoas occidentales", "WST",
+ "Heure d'\u00e9t\u00e9 des Samoas occidentales", "WSDT"};
+ String YAKT[] = new String[] {"Heure du Iakoutsk", "YAKT",
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"Heure normale de Metlakatla", "MeST",
++ "Heure avanc\u00E9e de Metlakatla", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"Heure normale de Saint-Pierre et Miquelon", "PMST",
+ "Heure avanc\u00e9e de Saint-Pierre et Miquelon", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "Heure d'\u00e9t\u00e9 du Surinam", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "Heure d'\u00e9t\u00e9 de Davis", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"Heure de Dumont-d'Urville", "DDUT",
+ "Heure d'\u00e9t\u00e9 de Dumont-d'Urville", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"Heure de l'Ile Macquarie", "MIST",
++ "Heure d'\u00E9t\u00E9 de l'Ile Macquarie", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"Heure de Mawson", "MAWT",
+ "Heure d'\u00e9t\u00e9 de Mawson", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Heure d'Alma-Ata", "ALMT",
+ "Heure d'\u00e9t\u00e9 d'Alma-Ata", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"Heure d'Anadyr", "ANAT",
+ "Heure d'\u00e9t\u00e9 d'Anadyr", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Heure d'Aqtau", "AQTT",
+@@ -527,7 +527,7 @@
+ "Heure d'\u00e9t\u00e9 d'Irkutsk", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"Heure d'Indon\u00e9sie orientale", "EIT",
++ {"Asia/Jayapura", new String[] {"Heure d'Indon\u00e9sie orientale", "WIT",
+ "Heure d'\u00e9t\u00e9 d'Indon\u00e9sie orientale", "EIST"}},
+ {"Asia/Kabul", new String[] {"Heure d'Afghanistan", "AFT",
+ "Heure d'\u00e9t\u00e9 d'Afghanistan", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"Heure de Khandyga", "YAKT",
++ "Heure d'\u00E9t\u00E9 de Khandyga", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"Heure de Krasno\u00efarsk", "KRAT",
+ "Heure d'\u00e9t\u00e9 de Krasno\u00efarsk", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"Heure d'Ust-Nera", "VLAT",
++ "Heure d'\u00E9t\u00E9 d'Ust-Nera", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -617,7 +619,7 @@
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+ {"Australia/Eucla", new String[] {"Heure standard de l'Australie occidentale (centre)", "CWST",
+- "Heure d'\u00e9t\u00e9 de l'Australie occidentale (centre)", "CWST"}},
++ "Heure d'\u00E9t\u00E9 de l'Australie occidentale (centre)", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"Heure de l'Europe centrale", "MET",
+ "Heure d'\u00e9t\u00e9 de l'Europe centrale", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_it.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_it.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,8 +45,8 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"Ora di Acre", "ACT",
+ "Ora estiva di Acre", "ACST"};
+- String ADELAIDE[] = new String[] {"Ora centrale standard (Australia del Sud)", "CST",
+- "Ora estiva standard (Australia del Sud)", "CST"};
++ String ADELAIDE[] = new String[] {"Ora standard centrale (Australia del Sud)", "CST",
++ "Ora estiva centrale (Australia del Sud)", "CST"};
+ String AGT[] = new String[] {"Ora dell'Argentina", "ART",
+ "Ora estiva dell'Argentina", "ARST"};
+ String AKST[] = new String[] {"Ora solare dell'Alaska", "AKST",
+@@ -61,9 +61,9 @@
+ "Ora legale dell'Atlantico occidentale", "ADT"};
+ String BDT[] = new String[] {"Ora del Bangladesh", "BDT",
+ "Ora estiva del Bangladesh", "BDST"};
+- String BRISBANE[] = new String[] {"Ora orientale standard (Queensland)", "EST",
++ String BRISBANE[] = new String[] {"Ora standard orientale (Queensland)", "EST",
+ "Ora estiva orientale (Queensland)", "EST"};
+- String BROKEN_HILL[] = new String[] {"Ora centrale standard (Australia del Sud/Nuovo Galles del Sud)", "CST",
++ String BROKEN_HILL[] = new String[] {"Ora standard centrale (Australia del Sud/Nuovo Galles del Sud)", "CST",
+ "Ora estiva centrale (Australia del Sud/Nuovo Galles del Sud)", "CST"};
+ String BRT[] = new String[] {"Ora del Brasile", "BRT",
+ "Ora estiva del Brasile", "BRST"};
+@@ -75,11 +75,11 @@
+ "Ora estiva dell'Europa centrale", "CEST"};
+ String CHAST[] = new String[] {"Ora di Chatham standard", "CHAST",
+ "Ora legale di Chatham", "CHADT"};
+- String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+- "Chuuk Summer Time", "CHUST"};
++ String CHUT[] = new String[] {"Ora di Chuuk", "CHUT",
++ "Ora estiva di Chuuk", "CHUST"};
+ String ChST[] = new String[] {"Ora standard di Chamorro", "ChST",
+ "Ora legale di Chamorro", "ChDT"};
+- String CIT[] = new String[] {"Ora dell'Indonesia centrale", "CIT",
++ String CIT[] = new String[] {"Ora dell'Indonesia centrale", "WITA",
+ "Ora estiva dell'Indonesia centrale", "CIST"};
+ String CLT[] = new String[] {"Ora del Cile", "CLT",
+ "Ora estiva del Cile", "CLST"};
+@@ -89,7 +89,7 @@
+ "Ora legale della Cina", "CDT"};
+ String CUBA[] = new String[] {"Ora solare Cuba", "CST",
+ "Ora legale Cuba", "CDT"};
+- String DARWIN[] = new String[] {"Ora centrale standard (Territori del Nord)", "CST",
++ String DARWIN[] = new String[] {"Ora standard centrale (Territori del Nord)", "CST",
+ "Ora estiva centrale (Territori del Nord)", "CST"};
+ String DUBLIN[] = new String[] {"Ora media di Greenwich", "GMT",
+ "Ora estiva irlandese", "IST"};
+@@ -103,10 +103,10 @@
+ "Ora estiva della Groenlandia orientale", "EGST"};
+ String EST[] = new String[] {"Ora solare USA orientale", "EST",
+ "Ora legale USA orientale", "EDT"};
+- String EST_NSW[] = new String[] {"Ora solare dell'Australia orientale (Nuovo Galles del Sud)", "EST",
++ String EST_NSW[] = new String[] {"Ora standard dell'Australia orientale (Nuovo Galles del Sud)", "EST",
+ "Ora estiva dell'Australia orientale (Nuovo Galles del Sud)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String FET[] = new String[] {"Ora dei paesi europei pi\u00F9 orientali", "FET",
++ "Ora estiva dei paesi europei pi\u00F9 orientali", "FEST"};
+ String GHMT[] = new String[] {"Ora media del Ghana", "GMT",
+ "Ora legale del Ghana", "GHST"};
+ String GAMBIER[] = new String[] {"Ora di Gambier", "GAMT",
+@@ -159,8 +159,8 @@
+ "Ora legale di Pitcairn", "PDT"};
+ String PKT[] = new String[] {"Ora del Pakistan", "PKT",
+ "Ora estiva del Pakistan", "PKST"};
+- String PONT[] = new String[] {"Pohnpei Time", "PONT",
+- "Pohnpei Summer Time", "PONST"};
++ String PONT[] = new String[] {"Ora di Pohnpei", "PONT",
++ "Ora estiva di Pohnpei", "PONST"};
+ String PST[] = new String[] {"Ora solare della costa occidentale USA", "PST",
+ "Ora legale della costa occidentale USA", "PDT"};
+ String SAMOA[] = new String[] {"Ora standard di Samoa", "SST",
+@@ -173,7 +173,7 @@
+ "Ora estiva di Singapore", "SGST"};
+ String SLST[] = new String[] {"Ora media di Greenwich", "GMT",
+ "Ora legale della Sierra Leone", "SLST"};
+- String TASMANIA[] = new String[] {"Ora orientale standard (Tasmania)", "EST",
++ String TASMANIA[] = new String[] {"Ora standard orientale (Tasmania)", "EST",
+ "Ora estiva orientale (Tasmania)", "EST"};
+ String TMT[] = new String[] {"Ora del Turkmenistan", "TMT",
+ "Ora estiva del Turkmenistan", "TMST"};
+@@ -183,7 +183,7 @@
+ "Tempo universale coordinato", "UTC"};
+ String UZT[] = new String[] {"Ora dell'Uzbekistan", "UZT",
+ "Ora estiva dell'Uzbekistan", "UZST"};
+- String VICTORIA[] = new String[] {"Ora orientale standard (Victoria)", "EST",
++ String VICTORIA[] = new String[] {"Ora standard orientale (Victoria)", "EST",
+ "Ora estiva orientale (Victoria)", "EST"};
+ String VLAT[] = new String[] {"Ora di Vladivostok", "VLAT",
+ "Ora estiva di Vladivostok", "VLAST"};
+@@ -193,9 +193,9 @@
+ "Ora estiva dell'Africa occidentale", "WAST"};
+ String WET[] = new String[] {"Ora dell'Europa occidentale", "WET",
+ "Ora estiva dell'Europa occidentale", "WEST"};
+- String WIT[] = new String[] {"Ora dell'Indonesia occidentale", "WIT",
++ String WIT[] = new String[] {"Ora dell'Indonesia occidentale", "WIB",
+ "Ora estiva dell'Indonesia occidentale", "WIST"};
+- String WST_AUS[] = new String[] {"Ora solare dell'Australia occidentale", "WST",
++ String WST_AUS[] = new String[] {"Ora standard dell'Australia occidentale", "WST",
+ "Ora estiva dell'Australia occidentale", "WST"};
+ String WST_SAMOA[] = new String[] {"Ora di Samoa", "WST",
+ "Ora estiva di Samoa", "WSDT"};
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"Ora standard di Metlakatla", "MeST",
++ "Ora legale di Metlakatla", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"Ora solare di Saint-Pierre e Miquelon", "PMST",
+ "Ora legale di Saint-Pierre e Miquelon", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "Ora estiva di Suriname", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "Ora estiva di Davis", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"Ora di Dumont-d'Urville", "DDUT",
+ "Ora estiva di Dumont-d'Urville", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"Ora dell'Isola Macquarie", "MIST",
++ "Ora estiva dell'Isola Macquarie", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"Ora di Mawson", "MAWT",
+ "Ora estiva di Mawson", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Ora di Alma-Ata", "ALMT",
+ "Ora estiva di Alma-Ata", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"Ora di Anadyr", "ANAT",
+ "Ora estiva di Anadyr", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Ora di Aqtau", "AQTT",
+@@ -527,7 +527,7 @@
+ "Ora estiva di Irkutsk", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"Ora dell'Indonesia orientale", "EIT",
++ {"Asia/Jayapura", new String[] {"Ora dell'Indonesia orientale", "WIT",
+ "Ora estiva dell'Indonesia orientale", "EIST"}},
+ {"Asia/Kabul", new String[] {"Ora dell'Afghanistan", "AFT",
+ "Ora estiva dell'Afghanistan", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"Ora di Khandyga", "YAKT",
++ "Ora estiva di Khandyga", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"Ora di Krasnojarsk", "KRAT",
+ "Ora estiva di Krasnojarsk", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"Ora di Ust-Nera", "VLAT",
++ "Ora estiva di Ust-Nera", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -616,8 +618,8 @@
+ {"Australia/Canberra", EST_NSW},
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+- {"Australia/Eucla", new String[] {"Ora solare Australia centrorientale", "CWST",
+- "Ora estiva Australia centrorientale", "CWST"}},
++ {"Australia/Eucla", new String[] {"Ora standard Australia centro-occidentale", "CWST",
++ "Ora estiva Australia centro-occidentale", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"Ora dell'Europa centrale", "MET",
+ "Ora estiva dell'Europa centrale", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_ja.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_ja.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,8 +45,8 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"\u30a2\u30af\u30ec\u6642\u9593", "ACT",
+ "\u30a2\u30af\u30ec\u590f\u6642\u9593", "ACST"};
+- String ADELAIDE[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642 (\u5357\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "CST",
+- "\u4e2d\u90e8\u590f\u6642\u9593 (\u5357\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "CST"};
++ String ADELAIDE[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642(\u5357\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "CST",
++ "\u4E2D\u90E8\u590F\u6642\u9593(\u5357\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "CST"};
+ String AGT[] = new String[] {"\u30a2\u30eb\u30bc\u30f3\u30c1\u30f3\u6642\u9593", "ART",
+ "\u30a2\u30eb\u30bc\u30f3\u30c1\u30f3\u590f\u6642\u9593", "ARST"};
+ String AKST[] = new String[] {"\u30a2\u30e9\u30b9\u30ab\u6a19\u6e96\u6642", "AKST",
+@@ -61,10 +61,10 @@
+ "\u5927\u897f\u6d0b\u590f\u6642\u9593", "ADT"};
+ String BDT[] = new String[] {"\u30d0\u30f3\u30b0\u30e9\u30c7\u30b7\u30e5\u6642\u9593", "BDT",
+ "\u30d0\u30f3\u30b0\u30e9\u30c7\u30b7\u30e5\u590f\u6642\u9593", "BDST"};
+- String BRISBANE[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642 (\u30af\u30a4\u30fc\u30f3\u30ba\u30e9\u30f3\u30c9)", "EST",
+- "\u6771\u90e8\u590f\u6642\u9593 (\u30af\u30a4\u30fc\u30f3\u30ba\u30e9\u30f3\u30c9)", "EST"};
+- String BROKEN_HILL[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642 (\u5357\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2/\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)", "CST",
+- "\u4e2d\u90e8\u590f\u6642\u9593 (\u5357\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2/\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)", "CST"};
++ String BRISBANE[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642(\u30AF\u30A4\u30FC\u30F3\u30BA\u30E9\u30F3\u30C9)", "EST",
++ "\u6771\u90E8\u590F\u6642\u9593(\u30AF\u30A4\u30FC\u30F3\u30BA\u30E9\u30F3\u30C9)", "EST"};
++ String BROKEN_HILL[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642(\u5357\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2/\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)", "CST",
++ "\u4E2D\u90E8\u590F\u6642\u9593(\u5357\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2/\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)", "CST"};
+ String BRT[] = new String[] {"\u30d6\u30e9\u30b8\u30eb\u6642\u9593", "BRT",
+ "\u30d6\u30e9\u30b8\u30eb\u590f\u6642\u9593", "BRST"};
+ String BTT[] = new String[] {"\u30d6\u30fc\u30bf\u30f3\u6642\u9593", "BTT",
+@@ -77,9 +77,9 @@
+ "\u30c1\u30e3\u30bf\u30e0\u590f\u6642\u9593", "CHADT"};
+ String ChST[] = new String[] {"\u30b0\u30a2\u30e0\u6a19\u6e96\u6642", "ChST",
+ "\u30b0\u30a2\u30e0\u590f\u6642\u9593", "ChDT"};
+- String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+- "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"\u4e2d\u592e\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "CIT",
++ String CHUT[] = new String[] {"\u30C1\u30E5\u30FC\u30AF\u6642\u9593", "CHUT",
++ "Chuuk Time", "CHUST"};
++ String CIT[] = new String[] {"\u4e2d\u592e\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "WITA",
+ "\u4e2d\u592e\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u590f\u6642\u9593", "CIST"};
+ String CLT[] = new String[] {"\u30c1\u30ea\u6642\u9593", "CLT",
+ "\u30c1\u30ea\u590f\u6642\u9593", "CLST"};
+@@ -89,8 +89,8 @@
+ "\u4e2d\u56fd\u590f\u6642\u9593", "CDT"};
+ String CUBA[] = new String[] {"\u30ad\u30e5\u30fc\u30d0\u6a19\u6e96\u6642", "CST",
+ "\u30ad\u30e5\u30fc\u30d0\u590f\u6642\u9593", "CDT"};
+- String DARWIN[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642 (\u30ce\u30fc\u30b6\u30f3\u30c6\u30ea\u30c8\u30ea\u30fc)", "CST",
+- "\u4e2d\u90e8\u590f\u6642\u9593 (\u30ce\u30fc\u30b6\u30f3\u30c6\u30ea\u30c8\u30ea\u30fc)", "CST"};
++ String DARWIN[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642(\u30CE\u30FC\u30B6\u30F3\u30C6\u30EA\u30C8\u30EA\u30FC)", "CST",
++ "\u4E2D\u90E8\u590F\u6642\u9593(\u30CE\u30FC\u30B6\u30F3\u30C6\u30EA\u30C8\u30EA\u30FC)", "CST"};
+ String DUBLIN[] = new String[] {"\u30b0\u30ea\u30cb\u30c3\u30b8\u6a19\u6e96\u6642", "GMT",
+ "\u30a2\u30a4\u30eb\u30e9\u30f3\u30c9\u590f\u6642\u9593", "IST"};
+ String EAT[] = new String[] {"\u6771\u30a2\u30d5\u30ea\u30ab\u6642\u9593", "EAT",
+@@ -103,10 +103,10 @@
+ "\u6771\u30b0\u30ea\u30fc\u30f3\u30e9\u30f3\u30c9\u590f\u6642\u9593", "EGST"};
+ String EST[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642", "EST",
+ "\u6771\u90e8\u590f\u6642\u9593", "EDT"};
+- String EST_NSW[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642 (\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)", "EST",
+- "\u6771\u90e8\u590f\u6642\u9593 (\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String EST_NSW[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642(\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)", "EST",
++ "\u6771\u90E8\u590F\u6642\u9593(\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)", "EST"};
++ String FET[] = new String[] {"\u6975\u6771\u30E8\u30FC\u30ED\u30C3\u30D1\u6642\u9593", "FET",
++ "\u6975\u6771\u30E8\u30FC\u30ED\u30C3\u30D1\u590F\u6642\u9593", "FEST"};
+ String GHMT[] = new String[] {"\u30ac\u30fc\u30ca\u6a19\u6e96\u6642", "GMT",
+ "\u30ac\u30fc\u30ca\u590f\u6642\u9593", "GHST"};
+ String GAMBIER[] = new String[] {"\u30ac\u30f3\u30d3\u30a2\u6642\u9593", "GAMT",
+@@ -159,8 +159,8 @@
+ "\u30d4\u30c8\u30b1\u30eb\u30f3\u5cf6\u590f\u6642\u9593", "PDT"};
+ String PKT[] = new String[] {"\u30d1\u30ad\u30b9\u30bf\u30f3\u6642\u9593", "PKT",
+ "\u30d1\u30ad\u30b9\u30bf\u30f3\u590f\u6642\u9593", "PKST"};
+- String PONT[] = new String[] {"Pohnpei Time", "PONT",
+- "Pohnpei Summer Time", "PONST"};
++ String PONT[] = new String[] {"\u30DD\u30F3\u30DA\u30A4\u6642\u9593", "PONT",
++ "\u30DD\u30F3\u30DA\u30A4\u590F\u6642\u9593", "PONST"};
+ String PST[] = new String[] {"\u592a\u5e73\u6d0b\u6a19\u6e96\u6642", "PST",
+ "\u592a\u5e73\u6d0b\u590f\u6642\u9593", "PDT"};
+ String SAMOA[] = new String[] {"\u30b5\u30e2\u30a2\u6a19\u6e96\u6642", "SST",
+@@ -173,8 +173,8 @@
+ "\u30b7\u30f3\u30ac\u30dd\u30fc\u30eb\u590f\u6642\u9593", "SGST"};
+ String SLST[] = new String[] {"\u30b0\u30ea\u30cb\u30c3\u30b8\u6a19\u6e96\u6642", "GMT",
+ "\u30b7\u30a8\u30e9\u30ec\u30aa\u30cd\u590f\u6642\u9593", "SLST"};
+- String TASMANIA[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642 (\u30bf\u30b9\u30de\u30cb\u30a2)", "EST",
+- "\u6771\u90e8\u590f\u6642\u9593 (\u30bf\u30b9\u30de\u30cb\u30a2)", "EST"};
++ String TASMANIA[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642(\u30BF\u30B9\u30DE\u30CB\u30A2)", "EST",
++ "\u6771\u90E8\u590F\u6642\u9593(\u30BF\u30B9\u30DE\u30CB\u30A2)", "EST"};
+ String TMT[] = new String[] {"\u30c8\u30eb\u30af\u30e1\u30cb\u30b9\u30bf\u30f3\u6642\u9593", "TMT",
+ "\u30c8\u30eb\u30af\u30e1\u30cb\u30b9\u30bf\u30f3\u590f\u6642\u9593", "TMST"};
+ String ULAT[]= new String[] {"\u30a6\u30e9\u30fc\u30f3\u30d0\u30fc\u30c8\u30eb\u6642\u9593", "ULAT",
+@@ -183,8 +183,8 @@
+ "\u5354\u5b9a\u4e16\u754c\u6642", "UTC"};
+ String UZT[] = new String[] {"\u30a6\u30ba\u30d9\u30ad\u30b9\u30bf\u30f3\u6642\u9593", "UZT",
+ "\u30a6\u30ba\u30d9\u30ad\u30b9\u30bf\u30f3\u590f\u6642\u9593", "UZST"};
+- String VICTORIA[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642 (\u30d3\u30af\u30c8\u30ea\u30a2)", "EST",
+- "\u6771\u90e8\u590f\u6642\u9593 (\u30d3\u30af\u30c8\u30ea\u30a2)", "EST"};
++ String VICTORIA[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642(\u30D3\u30AF\u30C8\u30EA\u30A2)", "EST",
++ "\u6771\u90E8\u590F\u6642\u9593(\u30D3\u30AF\u30C8\u30EA\u30A2)", "EST"};
+ String VLAT[] = new String[] {"\u30a6\u30e9\u30b8\u30aa\u30b9\u30c8\u30af\u6642\u9593", "VLAT",
+ "\u30a6\u30e9\u30b8\u30aa\u30b9\u30c8\u30af\u590f\u6642\u9593", "VLAST"};
+ String WART[] = new String[] {"\u897f\u30a2\u30eb\u30bc\u30f3\u30c1\u30f3\u6642\u9593", "WART",
+@@ -193,10 +193,10 @@
+ "\u897f\u30a2\u30d5\u30ea\u30ab\u590f\u6642\u9593", "WAST"};
+ String WET[] = new String[] {"\u897f\u30e8\u30fc\u30ed\u30c3\u30d1\u6642\u9593", "WET",
+ "\u897f\u30e8\u30fc\u30ed\u30c3\u30d1\u590f\u6642\u9593", "WEST"};
+- String WIT[] = new String[] {"\u897f\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "WIT",
++ String WIT[] = new String[] {"\u897f\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "WIB",
+ "\u897f\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u590f\u6642\u9593", "WIST"};
+- String WST_AUS[] = new String[] {"\u897f\u90e8\u6a19\u6e96\u6642 (\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "WST",
+- "\u897f\u90e8\u590f\u6642\u9593 (\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "WST"};
++ String WST_AUS[] = new String[] {"\u897F\u90E8\u6A19\u6E96\u6642(\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "WST",
++ "\u897F\u90E8\u590F\u6642\u9593(\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "WST"};
+ String WST_SAMOA[] = new String[] {"\u897f\u30b5\u30e2\u30a2\u6642\u9593", "WST",
+ "\u897f\u30b5\u30e2\u30a2\u590f\u6642\u9593", "WSDT"};
+ String YAKT[] = new String[] {"\u30e4\u30af\u30fc\u30c4\u30af\u6642\u9593", "YAKT",
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"\u30E1\u30C8\u30E9\u30AB\u30C8\u30E9\u6A19\u6E96\u6642\u9593", "MeST",
++ "\u30E1\u30C8\u30E9\u30AB\u30C8\u30E9\u590F\u6642\u9593", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"\u30b5\u30f3\u30d4\u30a8\u30fc\u30eb\u30fb\u30df\u30af\u30ed\u30f3\u8af8\u5cf6\u6a19\u6e96\u6642", "PMST",
+ "\u30b5\u30f3\u30d4\u30a8\u30fc\u30eb\u30fb\u30df\u30af\u30ed\u30f3\u8af8\u5cf6\u590f\u6642\u9593", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "\u30b9\u30ea\u30ca\u30e0\u590f\u6642\u9593", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "\u30c7\u30a4\u30d3\u30b9\u590f\u6642\u9593", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"\u30c7\u30e5\u30e2\u30f3\u30c7\u30e5\u30eb\u30f4\u30a3\u30eb\u6642\u9593", "DDUT",
+ "\u30c7\u30e5\u30e2\u30f3\u30c7\u30e5\u30eb\u30f4\u30a3\u30eb\u590f\u6642\u9593", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"\u30DE\u30C3\u30B3\u30FC\u30EA\u30FC\u5CF6\u6642\u9593", "MIST",
++ "\u30DE\u30C3\u30B3\u30FC\u30EA\u30FC\u5CF6\u590F\u6642\u9593", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"\u30e2\u30fc\u30bd\u30f3\u6642\u9593", "MAWT",
+ "\u30e2\u30fc\u30bd\u30f3\u590f\u6642\u9593", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"\u30a2\u30eb\u30de\u30a2\u30bf\u6642\u9593", "ALMT",
+ "\u30a2\u30eb\u30de\u30a2\u30bf\u590f\u6642\u9593", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"\u30a2\u30ca\u30c9\u30a5\u30a4\u30ea\u6642\u9593", "ANAT",
+ "\u30a2\u30ca\u30c9\u30a5\u30a4\u30ea\u590f\u6642\u9593", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"\u30a2\u30af\u30bf\u30a6\u6642\u9593", "AQTT",
+@@ -527,7 +527,7 @@
+ "\u30a4\u30eb\u30af\u30fc\u30c4\u30af\u590f\u6642\u9593", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"\u6771\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "EIT",
++ {"Asia/Jayapura", new String[] {"\u6771\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "WIT",
+ "\u6771\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u590f\u6642\u9593", "EIST" }},
+ {"Asia/Kabul", new String[] {"\u30a2\u30d5\u30ac\u30cb\u30b9\u30bf\u30f3\u6642\u9593", "AFT",
+ "\u30a2\u30d5\u30ac\u30cb\u30b9\u30bf\u30f3\u590f\u6642\u9593", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"\u30CF\u30F3\u30C9\u30A5\u30A4\u30AC\u6642\u9593", "YAKT",
++ "\u30CF\u30F3\u30C9\u30A5\u30A4\u30AC\u590F\u6642\u9593", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"\u30af\u30e9\u30b9\u30ce\u30e4\u30eb\u30b9\u30af\u6642\u9593", "KRAT",
+ "\u30af\u30e9\u30b9\u30ce\u30e4\u30eb\u30b9\u30af\u590f\u6642\u9593", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"\u30A6\u30B9\u30C1\u30CD\u30E9\u6642\u9593", "VLAT",
++ "\u30A6\u30B9\u30C1\u30CD\u30E9\u590F\u6642\u9593", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -616,8 +618,8 @@
+ {"Australia/Canberra", EST_NSW},
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+- {"Australia/Eucla", new String[] {"\u4e2d\u897f\u90e8\u6a19\u6e96\u6642 (\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "CWST",
+- "\u4e2d\u897f\u90e8\u590f\u6642\u9593 (\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "CWST"}},
++ {"Australia/Eucla", new String[] {"\u4E2D\u897F\u90E8\u6A19\u6E96\u6642(\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "CWST",
++ "\u4E2D\u897F\u90E8\u590F\u6642\u9593(\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"\u4e2d\u90e8\u30e8\u30fc\u30ed\u30c3\u30d1\u6642\u9593", "MET",
+ "\u4e2d\u90e8\u30e8\u30fc\u30ed\u30c3\u30d1\u590f\u6642\u9593", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_ko.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_ko.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,8 +45,8 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"\uc5d0\uc774\ucee4 \uc2dc\uac04", "ACT",
+ "\uc5d0\uc774\ucee4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ACST"};
+- String ADELAIDE[] = new String[] {"\uc911\ubd80 \ud45c\uc900\uc2dc(\uc0ac\uc6b0\uc2a4 \uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544)", "CST",
+- "\uc911\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\uc0ac\uc6b0\uc2a4 \uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544)", "CST"};
++ String ADELAIDE[] = new String[] {"\uC911\uBD80 \uD45C\uC900\uC2DC(\uB0A8\uBD80 \uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "CST",
++ "\uC911\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uB0A8\uBD80 \uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "CST"};
+ String AGT[] = new String[] {"\uc544\ub974\ud5e8\ud2f0\ub098 \uc2dc\uac04", "ART",
+ "\uc544\ub974\ud5e8\ud2f0\ub098 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ARST"};
+ String AKST[] = new String[] {"\uc54c\ub798\uc2a4\uce74 \ud45c\uc900\uc2dc", "AKST",
+@@ -61,10 +61,10 @@
+ "\ub300\uc11c\uc591 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ADT"};
+ String BDT[] = new String[] {"\ubc29\uae00\ub77c\ub370\uc2dc \uc2dc\uac04", "BDT",
+ "\ubc29\uae00\ub77c\ub370\uc2dc \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "BDST"};
+- String BRISBANE[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ud038\uc990\ub79c\ub4dc)", "EST",
+- "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ud038\uc990\ub79c\ub4dc)", "EST"};
+- String BROKEN_HILL[] = new String[] {"\uc911\ubd80 \ud45c\uc900\uc2dc(\uc0ac\uc6b0\uc2a4 \uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544/\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)", "CST",
+- "\uc911\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\uc0ac\uc6b0\uc2a4 \uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544/\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)", "CST"};
++ String BRISBANE[] = new String[] {"\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uD038\uC990\uB79C\uB4DC)", "EST",
++ "\uB3D9\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uD038\uC990\uB79C\uB4DC)", "EST"};
++ String BROKEN_HILL[] = new String[] {"\uC911\uBD80 \uD45C\uC900\uC2DC(\uB0A8\uBD80 \uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544/\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)", "CST",
++ "\uC911\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uB0A8\uBD80 \uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544/\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)", "CST"};
+ String BRT[] = new String[] {"\ube0c\ub77c\uc9c8\ub9ac\uc544 \uc2dc\uac04", "BRT",
+ "\ube0c\ub77c\uc9c8\ub9ac\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "BRST"};
+ String BTT[] = new String[] {"\ubd80\ud0c4 \uc2dc\uac04", "BTT",
+@@ -77,9 +77,9 @@
+ "Chatham \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CHADT"};
+ String ChST[] = new String[] {"\ucc28\ubaa8\ub85c \ud45c\uc900\uc2dc", "ChST",
+ "\ucc28\ubaa8\ub85c \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ChDT"};
+- String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+- "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"\uc911\uc559 \uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "CIT",
++ String CHUT[] = new String[] {"\uCD94\uD06C \uD45C\uC900\uC2DC", "CHUT",
++ "\uCD94\uD06C \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "CHUST"};
++ String CIT[] = new String[] {"\uc911\uc559 \uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "WITA",
+ "\uc911\uc559 \uc778\ub3c4\ub124\uc2dc\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CIST"};
+ String CLT[] = new String[] {"\uce60\ub808 \uc2dc\uac04", "CLT",
+ "\uce60\ub808 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CLST"};
+@@ -89,8 +89,8 @@
+ "\uc911\uad6d \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CDT"};
+ String CUBA[] = new String[] {"\ucfe0\ubc14 \ud45c\uc900\uc2dc", "CST",
+ "\ucfe0\ubc14 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CDT"};
+- String DARWIN[] = new String[] {"\uc911\ubd80 \ud45c\uc900\uc2dc(\ub178\ub358 \uc9c0\uc5ed)", "CST",
+- "\uc911\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ub178\ub358 \uc9c0\uc5ed)", "CST"};
++ String DARWIN[] = new String[] {"\uC911\uBD80 \uD45C\uC900\uC2DC(\uBD81\uBD80 \uC9C0\uC5ED)", "CST",
++ "\uC911\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uBD81\uBD80 \uC9C0\uC5ED)", "CST"};
+ String DUBLIN[] = new String[] {"\uadf8\ub9ac\ub2c8\uce58 \ud45c\uc900\uc2dc", "GMT",
+ "\uc544\uc77c\ub79c\ub4dc \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "IST"};
+ String EAT[] = new String[] {"\ub3d9\ubd80 \uc544\ud504\ub9ac\uce74 \uc2dc\uac04", "EAT",
+@@ -103,10 +103,10 @@
+ "\ub3d9\ubd80 \uadf8\ub9b0\ub79c\ub4dc \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "EGST"};
+ String EST[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc", "EST",
+ "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "EDT"};
+- String EST_NSW[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)", "EST",
+- "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String EST_NSW[] = new String[] {"\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)", "EST",
++ "\uB3D9\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)", "EST"};
++ String FET[] = new String[] {"\uADF9\uB3D9 \uC720\uB7FD \uD45C\uC900\uC2DC", "FET",
++ "\uADF9\uB3D9 \uC720\uB7FD \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "FEST"};
+ String GHMT[] = new String[] {"\uac00\ub098 \ud45c\uc900\uc2dc", "GMT",
+ "\uac00\ub098 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "GHST"};
+ String GAMBIER[] = new String[] {"\uac10\ube44\uc544 \uc2dc\uac04", "GAMT",
+@@ -159,8 +159,8 @@
+ "Pitcairn \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "PDT"};
+ String PKT[] = new String[] {"\ud30c\ud0a4\uc2a4\ud0c4 \uc2dc\uac04", "PKT",
+ "\ud30c\ud0a4\uc2a4\ud0c4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "PKST"};
+- String PONT[] = new String[] {"Pohnpei Time", "PONT",
+- "Pohnpei Summer Time", "PONST"};
++ String PONT[] = new String[] {"\uD3F0\uD398\uC774 \uD45C\uC900\uC2DC", "PONT",
++ "\uD3F0\uD398\uC774 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "PONST"};
+ String PST[] = new String[] {"\ud0dc\ud3c9\uc591 \ud45c\uc900\uc2dc", "PST",
+ "\ud0dc\ud3c9\uc591 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "PDT"};
+ String SAMOA[] = new String[] {"\uc0ac\ubaa8\uc544 \ud45c\uc900\uc2dc", "SST",
+@@ -173,8 +173,8 @@
+ "\uc2f1\uac00\ud3ec\ub974 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "SGST"};
+ String SLST[] = new String[] {"\uadf8\ub9ac\ub2c8\uce58 \ud45c\uc900\uc2dc", "GMT",
+ "\uc2dc\uc5d0\ub77c\ub9ac\uc628 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "SLST"};
+- String TASMANIA[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ud0dc\uc988\uba54\uc774\ub2c8\uc544)", "EST",
+- "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ud0dc\uc988\uba54\uc774\ub2c8\uc544)", "EST"};
++ String TASMANIA[] = new String[] {"\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uD0DC\uC988\uBA54\uC774\uB2C8\uC544)", "EST",
++ "\uB3D9\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uD0DC\uC988\uBA54\uC774\uB2C8\uC544)", "EST"};
+ String TMT[] = new String[] {"\ud22c\ub974\ud06c\uba54\ub2c8\uc2a4\ud0c4 \uc2dc\uac04", "TMT",
+ "\ud22c\ub974\ud06c\uba54\ub2c8\uc2a4\ud0c4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "TMST"};
+ String ULAT[]= new String[] {"\uc6b8\ub780\ubc14\ud0c0\ub974 \uc2dc\uac04", "ULAT",
+@@ -183,8 +183,8 @@
+ "\uc138\uacc4 \ud45c\uc900\uc2dc", "UTC"};
+ String UZT[] = new String[] {"\uc6b0\uc988\ubca0\ud0a4\uc2a4\ud0c4 \uc2dc\uac04", "UZT",
+ "\uc6b0\uc988\ubca0\ud0a4\uc2a4\ud0c4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "UZST"};
+- String VICTORIA[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ube45\ud1a0\ub9ac\uc544)", "EST",
+- "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ube45\ud1a0\ub9ac\uc544)", "EST"};
++ String VICTORIA[] = new String[] {"\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uBE45\uD1A0\uB9AC\uC544)", "EST",
++ "\uB3D9\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uBE45\uD1A0\uB9AC\uC544)", "EST"};
+ String VLAT[] = new String[] {"\ube14\ub77c\ub514\ubcf4\uc2a4\ud1a1 \uc2dc\uac04", "VLAT",
+ "\ube14\ub77c\ub514\ubcf4\uc2a4\ud1a1 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "VLAST"};
+ String WART[] = new String[] {"\uc11c\ubd80 \uc544\ub974\ud5e8\ud2f0\ub098 \uc2dc\uac04", "WART",
+@@ -193,10 +193,10 @@
+ "\uc11c\ubd80 \uc544\ud504\ub9ac\uce74 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "WAST"};
+ String WET[] = new String[] {"\uc11c\uc720\ub7fd \uc2dc\uac04", "WET",
+ "\uc11c\uc720\ub7fd \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "WEST"};
+- String WIT[] = new String[] {"\uc11c\uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "WIT",
++ String WIT[] = new String[] {"\uc11c\uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "WIB",
+ "\uc11c\uc778\ub3c4\ub124\uc2dc\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "WIST"};
+- String WST_AUS[] = new String[] {"\uc11c\ubd80 \ud45c\uc900\uc2dc(\ud638\uc8fc)", "WST",
+- "\uc11c\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ud638\uc8fc)", "WST"};
++ String WST_AUS[] = new String[] {"\uC11C\uBD80 \uD45C\uC900\uC2DC(\uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "WST",
++ "\uC11C\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "WST"};
+ String WST_SAMOA[] = new String[] {"\uc11c\uc0ac\ubaa8\uc544 \uc2dc\uac04", "WST",
+ "\uc11c\uc0ac\ubaa8\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "WSDT"};
+ String YAKT[] = new String[] {"\uc57c\uce20\ud06c \uc2dc\uac04", "YAKT",
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"\uBA54\uD2B8\uB77C\uCE74\uD2B8\uB77C \uD45C\uC900\uC2DC", "MeST",
++ "\uBA54\uD2B8\uB77C\uCE74\uD2B8\uB77C \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"\ud53c\uc5d0\ub974 \ubbf8\ud06c\ub860 \ud45c\uc900\uc2dc", "PMST",
+ "\ud53c\uc5d0\ub974 \ubbf8\ud06c\ub860 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "\uc218\ub9ac\ub0a8 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "Davis \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"\ub4a4\ubabd \ub4a4\ub974\ube4c \uc2dc\uac04", "DDUT",
+ "\ub4a4\ubabd \ub4a4\ub974\ube4c \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"\uB9E4\uCF70\uB9AC \uC12C \uD45C\uC900\uC2DC", "MIST",
++ "\uB9E4\uCF70\uB9AC \uC12C \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"\ubaa8\uc2a8 \uc2dc\uac04", "MAWT",
+ "\ubaa8\uc2a8 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"\uc54c\ub9c8\uc544\ud0c0 \uc2dc\uac04", "ALMT",
+ "\uc54c\ub9c8\uc544\ud0c0 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"\uc544\ub098\ub514\ub974 \uc2dc\uac04", "ANAT",
+ "\uc544\ub098\ub514\ub974 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"\uc545\ud0c0\uc6b0 \uc2dc\uac04", "AQTT",
+@@ -527,7 +527,7 @@
+ "\uc774\ub974\ucfe0\uce20\ud06c \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"\ub3d9\ubd80 \uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "EIT",
++ {"Asia/Jayapura", new String[] {"\ub3d9\ubd80 \uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "WIT",
+ "\ub3d9\ubd80 \uc778\ub3c4\ub124\uc2dc\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "EIST"}},
+ {"Asia/Kabul", new String[] {"\uc544\ud504\uac00\ub2c8\uc2a4\ud0c4 \uc2dc\uac04", "AFT",
+ "\uc544\ud504\uac00\ub2c8\uc2a4\ud0c4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"\uD55C\uB514\uAC00 \uD45C\uC900\uC2DC", "YAKT",
++ "\uD55C\uB514\uAC00 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"\ud06c\ub77c\uc2a4\ub178\uc57c\ub974\uc2a4\ud06c \uc2dc\uac04", "KRAT",
+ "\ud06c\ub77c\uc2a4\ub178\uc57c\ub974\uc2a4\ud06c \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"\uC6B0\uC2A4\uD2F0\uB124\uB77C \uD45C\uC900\uC2DC", "VLAT",
++ "\uC6B0\uC2A4\uD2F0\uB124\uB77C \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -616,8 +618,8 @@
+ {"Australia/Canberra", EST_NSW},
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+- {"Australia/Eucla", new String[] {"\uc911\uc11c\ubd80 \ud45c\uc900\uc2dc(\uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544)", "CWST",
+- "\uc911\uc11c\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544)", "CWST"}},
++ {"Australia/Eucla", new String[] {"\uC911\uC559 \uC11C\uBD80 \uD45C\uC900\uC2DC(\uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "CWST",
++ "\uC911\uC559 \uC11C\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"\uc911\ubd80 \uc720\ub7fd \uc2dc\uac04", "MET",
+ "\uc911\ubd80 \uc720\ub7fd \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_pt_BR.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_pt_BR.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,8 +45,8 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"Fuso hor\u00e1rio do Acre", "ACT",
+ "Fuso hor\u00e1rio de ver\u00e3o do Acre", "ACST"};
+- String ADELAIDE[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o central (Austr\u00e1lia do Sul)", "CST",
+- "Fuso hor\u00e1rio de ver\u00e3o central (Austr\u00e1lia do Sul)", "CST"};
++ String ADELAIDE[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Central (Austr\u00E1lia do Sul)", "CST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Central (Austr\u00E1lia do Sul)", "CST"};
+ String AGT[] = new String[] {"Fuso hor\u00e1rio da Argentina", "ART",
+ "Fuso hor\u00e1rio de ver\u00e3o da Argentina", "ARST"};
+ String AKST[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o do Alaska", "AKST",
+@@ -61,10 +61,10 @@
+ "Hor\u00e1rio de luz natural do Atl\u00e2ntico", "ADT"};
+ String BDT[] = new String[] {"Fuso hor\u00e1rio de Bangladesh", "BDT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Bangladesh", "BDST"};
+- String BRISBANE[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental (Queensland)", "EST",
+- "Fuso hor\u00e1rio de ver\u00e3o oriental (Queensland)", "EST"};
+- String BROKEN_HILL[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o central (Austr\u00e1lia do Sul/Nova Gales do Sul)", "CST",
+- "Fuso hor\u00e1rio de ver\u00e3o central (Austr\u00e1lia do Sul/Nova Gales do Sul)", "CST"};
++ String BRISBANE[] = new String[] {"Hor\u00E1rio-Padr\u00E3o do Leste (Queensland)", "EST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Oriental (Queensland)", "EST"};
++ String BROKEN_HILL[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Central (Austr\u00E1lia do Sul/Nova Gales do Sul)", "CST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Central (Austr\u00E1lia do Sul/Nova Gales do Sul)", "CST"};
+ String BRT[] = new String[] {"Fuso hor\u00e1rio de Bras\u00edlia", "BRT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Bras\u00edlia", "BRST"};
+ String BTT[] = new String[] {"Fuso hor\u00e1rio de But\u00e3o", "BTT",
+@@ -77,7 +77,7 @@
+ "Hor\u00e1rio de luz natural de Chatham", "CHADT"};
+ String ChST[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o de Chamorro", "ChST",
+ "Hor\u00e1rio de luz natural de Chamorro", "ChDT"};
+- String CIT[] = new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Central", "CIT",
++ String CIT[] = new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Central", "WITA",
+ "Fuso hor\u00e1rio de ver\u00e3o da Indon\u00e9sia Central", "CIST"};
+ String CLT[] = new String[] {"Fuso hor\u00e1rio do Chile", "CLT",
+ "Fuso hor\u00e1rio de ver\u00e3o do Chile", "CLST"};
+@@ -87,8 +87,8 @@
+ "Hor\u00e1rio de luz natural da China", "CDT"};
+ String CUBA[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o de Cuba", "CST",
+ "Hor\u00e1rio de luz natural de Cuba", "CDT"};
+- String DARWIN[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o central (Territ\u00f3rio do Norte)", "CST",
+- "Fuso hor\u00e1rio de ver\u00e3o central (Territ\u00f3rio do Norte)", "CST"};
++ String DARWIN[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Central (Territ\u00F3rio do Norte)", "CST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Central (Territ\u00F3rio do Norte)", "CST"};
+ String DUBLIN[] = new String[] {"Fuso hor\u00e1rio do meridiano de Greenwich", "GMT",
+ "Fuso hor\u00e1rio de ver\u00e3o da Irlanda", "IST"};
+ String EAT[] = new String[] {"Fuso hor\u00e1rio da \u00c1frica Oriental", "EAT",
+@@ -101,10 +101,10 @@
+ "Fuso hor\u00e1rio de ver\u00e3o da Groenl\u00e2ndia Oriental", "EGST"};
+ String EST[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental", "EST",
+ "Hor\u00e1rio de luz natural oriental", "EDT"};
+- String EST_NSW[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental (Nova Gales do Sul)", "EST",
+- "Fuso hor\u00e1rio de ver\u00e3o oriental (Nova Gales do Sul)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String EST_NSW[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Oriental (Nova Gales do Sul)", "EST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Oriental (Nova Gales do Sul)", "EST"};
++ String FET[] = new String[] {"Hor\u00E1rio do Extremo Leste Europeu (FET)", "FET",
++ "Fuso Hor\u00E1rio de Ver\u00E3o do Extremo Leste Europeu", "FEST"};
+ String GHMT[] = new String[] {"Fuso hor\u00e1rio do meridiano de Gana", "GMT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Gana", "GHST"};
+ String GAMBIER[] = new String[] {"Fuso hor\u00e1rio de Gambier", "GAMT",
+@@ -157,8 +157,8 @@
+ "Hor\u00e1rio de luz natural de Pitcairn", "PDT"};
+ String PKT[] = new String[] {"Fuso hor\u00e1rio do Paquist\u00e3o", "PKT",
+ "Fuso hor\u00e1rio de ver\u00e3o do Paquist\u00e3o", "PKST"};
+- String PONT[] = new String[] {"Fuso hor\u00e1rio de Pohnpei", "PONT",
+- "Fuso hor\u00e1rio de ver\u00e3o de Pohnpei", "PONST"};
++ String PONT[] = new String[] {"Fuso Hor\u00E1rio de Pohnpei", "PONT",
++ "Fuso Hor\u00E1rio de Ver\u00E3o de Pohnpei", "PONST"};
+ String PST[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o do Pac\u00edfico", "PST",
+ "Hor\u00e1rio de luz natural do Pac\u00edfico", "PDT"};
+ String SAMOA[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o de Samoa", "SST",
+@@ -171,20 +171,20 @@
+ "Fuso hor\u00e1rio de ver\u00e1 de Cingapura", "SGST"};
+ String SLST[] = new String[] {"Fuso hor\u00e1rio do meridiano de Greenwich", "GMT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Serra Leoa", "SLST"};
+- String TASMANIA[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental (Tasm\u00e2nia)", "EST",
+- "Fuso hor\u00e1rio de ver\u00e3o oriental (Tasm\u00e2nia)", "EST"};
++ String TASMANIA[] = new String[] {"Hor\u00E1rio-Padr\u00E3o do Leste (Tasm\u00E2nia)", "EST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Oriental (Tasm\u00E2nia)", "EST"};
+ String TMT[] = new String[] {"Fuso hor\u00e1rio do Turcomenist\u00e3o", "TMT",
+ "Fuso hor\u00e1rio de ver\u00e3o do Turcomenist\u00e3o", "TMST"};
+- String TRUT[] = new String[] {"Fuso hor\u00e1rio de Chuuk", "CHUT",
+- "Fuso hor\u00e1rio de ver\u00e3o de Chuuk", "CHUST"};
++ String TRUT[] = new String[] {"Fuso Hor\u00E1rio de Chuuk", "CHUT",
++ "Fuso Hor\u00E1rio de Ver\u00E3o de Chuuk", "CHUST"};
+ String ULAT[]= new String[] {"Fuso hor\u00e1rio de Ulan Bator", "ULAT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Ulan Bator", "ULAST"};
+ String UTC[] = new String[] {"Tempo universal coordenado", "UTC",
+ "Tempo universal coordenado", "UTC"};
+ String UZT[] = new String[] {"Fuso hor\u00e1rio do Uzbequist\u00e3o", "UZT",
+ "Fuso hor\u00e1rio de ver\u00e3o do Uzbequist\u00e3o", "UZST"};
+- String VICTORIA[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental (Victoria)", "EST",
+- "Fuso hor\u00e1rio de ver\u00e3o oriental (Victoria)", "EST"};
++ String VICTORIA[] = new String[] {"Hor\u00E1rio-Padr\u00E3o do Leste (Victoria)", "EST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Oriental (Victoria)", "EST"};
+ String VLAT[] = new String[] {"Fuso hor\u00e1rio de Vladivostok", "VLAT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Vladivostok", "VLAST"};
+ String WART[] = new String[] {"Fuso hor\u00e1rio da Argentina Ocidental", "WART",
+@@ -193,10 +193,10 @@
+ "Fuso hor\u00e1rio de ver\u00e3o da \u00c1frica Ocidental", "WAST"};
+ String WET[] = new String[] {"Fuso hor\u00e1rio da Europa Ocidental", "WET",
+ "Fuso hor\u00e1rio de ver\u00e3o da Europa Ocidental", "WEST"};
+- String WIT[] = new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Ocidental", "WIT",
++ String WIT[] = new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Ocidental", "WIB",
+ "Fuso hor\u00e1rio de ver\u00e3o da Indon\u00e9sia Ocidental", "WIST"};
+- String WST_AUS[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o ocidental (Austr\u00e1lia)", "WST",
+- "Fuso hor\u00e1rio de ver\u00e3o ocidental (Austr\u00e1lia)", "WST"};
++ String WST_AUS[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Ocidental (Austr\u00E1lia)", "WST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Ocidental (Austr\u00E1lia)", "WST"};
+ String WST_SAMOA[] = new String[] {"Fuso hor\u00e1rio de Samoa Ocidental", "WST",
+ "Fuso hor\u00e1rio de ver\u00e3o de Samoa Ocidental", "WSDT"};
+ String YAKT[] = new String[] {"Fuso hor\u00e1rio de Yakutsk", "YAKT",
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"Hor\u00E1rio Padr\u00E3o de Metlakatla", "MeST",
++ "Hor\u00E1rio de Luz Natural de Metlakatla", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"Fuso hor\u00e1rio padr\u00e3o de S\u00e3o Pedro e Miquelon", "PMST",
+ "Hor\u00e1rio de luz natural de S\u00e3o Pedro e Miquelon", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "Fuso hor\u00e1rio de ver\u00e3o do Suriname", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "Fuso hor\u00e1rio de ver\u00e3o de Davis", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"Fuso hor\u00e1rio de Dumont-d'Urville", "DDUT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Dumont-d'Urville", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"Fuso Hor\u00E1rio da Ilha de Macquarie", "MIST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o da Ilha de Macquarie", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"Fuso hor\u00e1rio de Mawson", "MAWT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Mawson", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Fuso hor\u00e1rio de Alma-Ata", "ALMT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Alma-Ata", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"Fuso hor\u00e1rio de Anadyr", "ANAT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Anadyr", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Fuso hor\u00e1rio de Aqtau", "AQTT",
+@@ -527,7 +527,7 @@
+ "Fuso hor\u00e1rio de ver\u00e3o de Irkutsk", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Oriental", "EIT",
++ {"Asia/Jayapura", new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Oriental", "WIT",
+ "Fuso hor\u00e1rio de ver\u00e3o da Indon\u00e9sia Oriental", "EIST"}},
+ {"Asia/Kabul", new String[] {"Fuso hor\u00e1rio do Afeganist\u00e3o", "AFT",
+ "Fuso hor\u00e1rio de ver\u00e3o do Afeganist\u00e3o", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"Hor\u00E1rio de Khandyga", "YAKT",
++ "Hor\u00E1rio de Ver\u00E3o de Khandyga", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"Fuso hor\u00e1rio de Krasnoyarsk", "KRAT",
+ "Fuso hor\u00e1rio de ver\u00e3o de Krasnoyarsk", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"Hor\u00E1rio de Ust-Nera", "VLAT",
++ "Hor\u00E1rio de Ver\u00E3o de Ust-Nera", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -616,8 +618,8 @@
+ {"Australia/Canberra", EST_NSW},
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+- {"Australia/Eucla", new String[] {"Fuso hor\u00e1rio ocidental central (Austr\u00e1lia)", "CWST",
+- "Fuso hor\u00e1rio de ver\u00e3o ocidental central (Austr\u00e1lia)", "CWST"}},
++ {"Australia/Eucla", new String[] {"Fuso Hor\u00E1rio Ocidental Central (Austr\u00E1lia)", "CWST",
++ "Fuso Hor\u00E1rio de Ver\u00E3o Ocidental Central (Austr\u00E1lia)", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"Fuso hor\u00e1rio da Europa M\u00e9dia", "MET",
+ "Fuso hor\u00e1rio de ver\u00e3o da Europa M\u00e9dia", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_sv.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_sv.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,8 +45,8 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"Acre, normaltid", "ACT",
+ "Acre, sommartid", "ACST"};
+- String ADELAIDE[] = new String[] {"Central normaltid (S\u00f6dra Australien)", "CST",
+- "Central sommartid (S\u00f6dra Australien)", "CST"};
++ String ADELAIDE[] = new String[] {"Central standardtid (Sydaustralien)", "CST",
++ "Central sommartid (South Australia)", "CST"};
+ String AGT[] = new String[] {"Argentina, normaltid", "ART",
+ "Argentina, sommartid", "ARST"};
+ String AKST[] = new String[] {"Alaska, normaltid", "AKST",
+@@ -61,10 +61,10 @@
+ "Atlantisk sommartid", "ADT"};
+ String BDT[] = new String[] {"Bangladesh, normaltid", "BDT",
+ "Bangladesh, sommartid", "BDST"};
+- String BRISBANE[] = new String[] {"\u00d6stlig normaltid (Queensland)", "EST",
+- "\u00d6stlig sommartid (Queensland)", "EST"};
+- String BROKEN_HILL[] = new String[] {"Central normaltid (S\u00f6dra Australien/Nya Sydwales)", "CST",
+- "Central sommartid (S\u00f6dra Australien/Nya Sydwales)", "CST"};
++ String BRISBANE[] = new String[] {"\u00D6stlig standardtid (Queensland)", "EST",
++ "\u00D6stlig sommartid (Queensland)", "EST"};
++ String BROKEN_HILL[] = new String[] {"Central standardtid (Sydaustralien)/New South Wales)", "CST",
++ "Central sommartid (South Australia/New South Wales)", "CST"};
+ String BRT[] = new String[] {"Brasilien, normaltid", "BRT",
+ "Brasilien, sommartid", "BRST"};
+ String BTT[] = new String[] {"Bhutan, normaltid", "BTT",
+@@ -77,9 +77,9 @@
+ "Chatham, sommartid", "CHADT"};
+ String ChST[] = new String[] {"Chamorro, normaltid", "ChST",
+ "Chamorro, sommartid", "ChDT"};
+- String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+- "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"Centralindonesisk tid", "CIT",
++ String CHUT[] = new String[] {"Chuuk, normaltid", "CHUT",
++ "Chuuk, sommartid", "CHUST"};
++ String CIT[] = new String[] {"Centralindonesisk tid", "WITA",
+ "Centralindonesisk sommartid", "CIST"};
+ String CLT[] = new String[] {"Chile, normaltid", "CLT",
+ "Chile, sommartid", "CLST"};
+@@ -89,7 +89,7 @@
+ "Kina, sommartid", "CDT"};
+ String CUBA[] = new String[] {"Kuba, normaltid", "CST",
+ "Kuba, sommartid", "CDT"};
+- String DARWIN[] = new String[] {"Central normaltid (Nordterritoriet)", "CST",
++ String DARWIN[] = new String[] {"Central standardtid (Nordterritoriet)", "CST",
+ "Central sommartid (Nordterritoriet)", "CST"};
+ String DUBLIN[] = new String[] {"Greenwichtid", "GMT",
+ "Irland, sommartid", "IST"};
+@@ -103,10 +103,10 @@
+ "\u00d6stgr\u00f6nl\u00e4ndsk sommartid", "EGST"};
+ String EST[] = new String[] {"Eastern, normaltid", "EST",
+ "Eastern, sommartid", "EDT"};
+- String EST_NSW[] = new String[] {"Eastern, normaltid (Nya Sydwales)", "EST",
+- "Eastern, sommartid (Nya Sydwales)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String EST_NSW[] = new String[] {"\u00D6stlig standardtid (New South Wales)", "EST",
++ "\u00D6stlig sommartid (New South Wales)", "EST"};
++ String FET[] = new String[] {"Kaliningradtid", "FET",
++ "\u00D6steuropeisk sommartid", "FEST"};
+ String GHMT[] = new String[] {"Ghana, normaltid", "GMT",
+ "Ghana, sommartid", "GHST"};
+ String GAMBIER[] = new String[] {"Gambier, normaltid", "GAMT",
+@@ -159,8 +159,8 @@
+ "Pitcairn, sommartid", "PDT"};
+ String PKT[] = new String[] {"Pakistan, normaltid", "PKT",
+ "Pakistan, sommartid", "PKST"};
+- String PONT[] = new String[] {"Pohnpei Time", "PONT",
+- "Pohnpei Summer Time", "PONST"};
++ String PONT[] = new String[] {"Pohnpei, normaltid", "PONT",
++ "Pohnpei, sommartid", "PONST"};
+ String PST[] = new String[] {"Stilla havet, normaltid", "PST",
+ "Stilla havet, sommartid", "PDT"};
+ String SAMOA[] = new String[] {"Samoa, normaltid", "SST",
+@@ -173,8 +173,8 @@
+ "Singapore, sommartid", "SGST"};
+ String SLST[] = new String[] {"Greenwichtid", "GMT",
+ "Sierra Leone, sommartid", "SLST"};
+- String TASMANIA[] = new String[] {"Eastern, normaltid (Tasmanien)", "EST",
+- "Eastern, sommartid (Tasmanien)", "EST"};
++ String TASMANIA[] = new String[] {"\u00D6stlig standardtid (Tasmania)", "EST",
++ "\u00D6stlig sommartid (Tasmanien)", "EST"};
+ String TMT[] = new String[] {"Turkmenistan, normaltid", "TMT",
+ "Turkmenistan, sommartid", "TMST"};
+ String ULAT[]= new String[] {"Ulaanbaatar, normaltid", "ULAT",
+@@ -183,8 +183,8 @@
+ "Koordinerad universell tid", "UTC"};
+ String UZT[] = new String[] {"Uzbekistan, normaltid", "UZT",
+ "Uzbekistan, sommartid", "UZST"};
+- String VICTORIA[] = new String[] {"\u00d6stlig normaltid (Victoria)", "EST",
+- "\u00d6stlig sommartid (Victoria)", "EST"};
++ String VICTORIA[] = new String[] {"\u00D6stlig standardtid (Victoria)", "EST",
++ "\u00D6stlig sommartid (Victoria)", "EST"};
+ String VLAT[] = new String[] {"Vladivostok, normaltid", "VLAT",
+ "Vladivostok, sommartid", "VLAST"};
+ String WART[] = new String[] {"V\u00e4stargentina, normaltid", "WART",
+@@ -193,10 +193,10 @@
+ "V\u00e4stafrikansk sommartid", "WAST"};
+ String WET[] = new String[] {"V\u00e4steuropeisk tid", "WET",
+ "V\u00e4steuropeisk sommartid", "WEST"};
+- String WIT[] = new String[] {"V\u00e4stindonesisk tid", "WIT",
++ String WIT[] = new String[] {"V\u00e4stindonesisk tid", "WIB",
+ "V\u00e4stindonesisk sommartid", "WIST"};
+- String WST_AUS[] = new String[] {"V\u00e4stlig normaltid (Australien)", "WST",
+- "V\u00e4stlig sommartid (Australien)", "WST"};
++ String WST_AUS[] = new String[] {"Western Standard Time (Australien)", "WST",
++ "V\u00E4stlig sommartid (Australien)", "WST"};
+ String WST_SAMOA[] = new String[] {"V\u00e4stsamoansk tid", "WST",
+ "V\u00e4stsamoansk sommartid", "WSDT"};
+ String YAKT[] = new String[] {"Jakutsk, normaltid", "YAKT",
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"Metlakatla, normaltid", "MeST",
++ "Metlakatla, sommartid", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"Saint-Pierre-et-Miquelon, normaltid", "PMST",
+ "Saint-Pierre-et-Miquelon, sommartid", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "Surinam, sommartid", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "Davis, sommartid", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"Dumont-d'Urville, normaltid", "DDUT",
+ "Dumont-d'Urville, sommartid", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"Macquarie\u00F6n, normaltid", "MIST",
++ "Macquarie\u00F6n, sommartid", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"Mawson, normaltid", "MAWT",
+ "Mawson, sommartid", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Alma-Ata, normaltid", "ALMT",
+ "Alma-Ata, sommartid", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"Anadyr, normaltid", "ANAT",
+ "Anadyr, sommartid", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Aqtau, normaltid", "AQTT",
+@@ -527,7 +527,7 @@
+ "Irkutsk, sommartid", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"\u00d6stindonesisk tid", "EIT",
++ {"Asia/Jayapura", new String[] {"\u00d6stindonesisk tid", "WIT",
+ "\u00d6stindonesisk sommartid", "EIST"}},
+ {"Asia/Kabul", new String[] {"Afghanistan, normaltid", "AFT",
+ "Afghanistan, sommartid", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"Khandyga, normaltid", "YAKT",
++ "Khandyga, sommartid", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"Krasnojarsk, normaltid", "KRAT",
+ "Krasnojarsk, sommartid", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"Ust-Nera, normaltid", "VLAT",
++ "Ust-Nera, sommartid", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -616,8 +618,8 @@
+ {"Australia/Canberra", EST_NSW},
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+- {"Australia/Eucla", new String[] {"Central v\u00e4stlig normaltid (Australien)", "CWST",
+- "Central v\u00e4stlig sommartid (Australien)", "CWST"}},
++ {"Australia/Eucla", new String[] {"Central v\u00E4stlig normaltid (Australien)", "CWST",
++ "Central v\u00E4stlig sommartid (Australien)", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"Mellaneuropeisk tid", "MET",
+ "Mellaneuropeisk sommartid", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,8 +45,8 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"Acre \u65f6\u95f4", "ACT",
+ "Acre \u590f\u4ee4\u65f6", "ACST"};
+- String ADELAIDE[] = new String[] {"\u4e2d\u592e\u6807\u51c6\u65f6\u95f4\uff08\u5357\u6fb3\u5927\u5229\u4e9a\uff09", "CST",
+- "\u4e2d\u592e\u590f\u4ee4\u65f6\uff08\u5357\u6fb3\u5927\u5229\u4e9a\uff09", "CST"};
++ String ADELAIDE[] = new String[] {"\u4E2D\u592E\u6807\u51C6\u65F6\u95F4 (\u5357\u6FB3\u5927\u5229\u4E9A)", "CST",
++ "\u4E2D\u592E\u590F\u4EE4\u65F6 (\u5357\u6FB3\u5927\u5229\u4E9A)", "CST"};
+ String AGT[] = new String[] {"\u963f\u6839\u5ef7\u65f6\u95f4", "ART",
+ "\u963f\u6839\u5ef7\u590f\u4ee4\u65f6", "ARST"};
+ String AKST[] = new String[] {"\u963f\u62c9\u65af\u52a0\u6807\u51c6\u65f6\u95f4", "AKST",
+@@ -61,10 +61,10 @@
+ "\u5927\u897f\u6d0b\u590f\u4ee4\u65f6", "ADT"};
+ String BDT[] = new String[] {"\u5b5f\u52a0\u62c9\u65f6\u95f4", "BDT",
+ "\u5b5f\u52a0\u62c9\u590f\u4ee4\u65f6", "BDST"};
+- String BRISBANE[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u6606\u58eb\u5170\uff09", "EST",
+- "\u4e1c\u90e8\u590f\u4ee4\u65f6\uff08\u6606\u58eb\u5170\uff09", "EST"};
+- String BROKEN_HILL[] = new String[] {"\u4e2d\u592e\u6807\u51c6\u65f6\u95f4\uff08\u5357\u6fb3\u5927\u5229\u4e9a/\u65b0\u5357\u5a01\u5c14\u65af\uff09", "CST",
+- "\u4e2d\u592e\u590f\u4ee4\u65f6\uff08\u5357\u6fb3\u5927\u5229\u4e9a/\u65b0\u5357\u5a01\u5c14\u65af\uff09", "CST"};
++ String BRISBANE[] = new String[] {"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u6606\u58EB\u5170)", "EST",
++ "\u4E1C\u90E8\u590F\u4EE4\u65F6 (\u6606\u58EB\u5170)", "EST"};
++ String BROKEN_HILL[] = new String[] {"\u4E2D\u592E\u6807\u51C6\u65F6\u95F4 (\u5357\u6FB3\u5927\u5229\u4E9A/\u65B0\u5357\u5A01\u5C14\u65AF)", "CST",
++ "\u4E2D\u592E\u590F\u4EE4\u65F6 (\u5357\u6FB3\u5927\u5229\u4E9A/\u65B0\u5357\u5A01\u5C14\u65AF)", "CST"};
+ String BRT[] = new String[] {"\u5df4\u897f\u5229\u4e9a\u65f6\u95f4", "BRT",
+ "\u5df4\u897f\u5229\u4e9a\u590f\u4ee4\u65f6", "BRST"};
+ String BTT[] = new String[] {"\u4e0d\u4e39\u65f6\u95f4", "BTT",
+@@ -77,9 +77,9 @@
+ "\u67e5\u8428\u59c6\u590f\u4ee4\u65f6", "CHADT"};
+ String ChST[] = new String[] {"Chamorro \u6807\u51c6\u65f6\u95f4", "ChST",
+ "Chamorro \u590f\u4ee4\u65f6", "ChDT"};
+- String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+- "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"\u4e2d\u90e8\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "CIT",
++ String CHUT[] = new String[] {"\u4E18\u514B\u65F6\u95F4", "CHUT",
++ "\u4E18\u514B\u590F\u4EE4\u65F6", "CHUST"};
++ String CIT[] = new String[] {"\u4e2d\u90e8\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "WITA",
+ "\u4e2d\u90e8\u5370\u5ea6\u5c3c\u897f\u4e9a\u590f\u4ee4\u65f6", "CIST"};
+ String CLT[] = new String[] {"\u667a\u5229\u65f6\u95f4", "CLT",
+ "\u667a\u5229\u590f\u4ee4\u65f6", "CLST"};
+@@ -89,8 +89,8 @@
+ "\u4e2d\u56fd\u590f\u4ee4\u65f6", "CDT"};
+ String CUBA[] = new String[] {"\u53e4\u5df4\u6807\u51c6\u65f6\u95f4", "CST",
+ "\u53e4\u5df4\u590f\u4ee4\u65f6", "CDT"};
+- String DARWIN[] = new String[] {"\u4e2d\u592e\u6807\u51c6\u65f6\u95f4\uff08\u5317\u9886\u5730\uff09", "CST",
+- "\u4e2d\u592e\u590f\u4ee4\u65f6\uff08\u5317\u9886\u5730\uff09", "CST"};
++ String DARWIN[] = new String[] {"\u4E2D\u592E\u6807\u51C6\u65F6\u95F4 (\u5317\u9886\u5730)", "CST",
++ "\u4E2D\u592E\u590F\u4EE4\u65F6 (\u5317\u9886\u5730)", "CST"};
+ String DUBLIN[] = new String[] {"\u683c\u6797\u5a01\u6cbb\u65f6\u95f4", "GMT",
+ "\u7231\u5c14\u5170\u590f\u4ee4\u65f6", "IST"};
+ String EAT[] = new String[] {"\u4e1c\u975e\u65f6\u95f4", "EAT",
+@@ -103,10 +103,10 @@
+ "\u4e1c\u683c\u6797\u5c9b\u590f\u4ee4\u65f6", "EGST"};
+ String EST[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4", "EST",
+ "\u4e1c\u90e8\u590f\u4ee4\u65f6", "EDT"};
+- String EST_NSW[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u65b0\u5357\u5a01\u5c14\u65af\uff09", "EST",
+- "\u4e1c\u90e8\u590f\u4ee4\u65f6\uff08\u65b0\u5357\u5a01\u5c14\u65af\uff09", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String EST_NSW[] = new String[] {"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u65B0\u5357\u5A01\u5C14\u65AF)", "EST",
++ "\u4E1C\u90E8\u590F\u4EE4\u65F6 (\u65B0\u5357\u5A01\u5C14\u65AF)", "EST"};
++ String FET[] = new String[] {"\u8FDC\u4E1C\u6B27\u65F6\u95F4", "FET",
++ "\u8FDC\u4E1C\u6B27\u590F\u4EE4\u65F6", "FEST"};
+ String GHMT[] = new String[] {"\u52a0\u7eb3\u65f6\u95f4", "GMT",
+ "\u52a0\u7eb3\u590f\u4ee4\u65f6", "GHST"};
+ String GAMBIER[] = new String[] {"\u5188\u6bd4\u4e9a\u65f6\u95f4", "GAMT",
+@@ -159,8 +159,8 @@
+ "\u76ae\u7279\u5eb7\u5c9b\u590f\u4ee4\u65f6", "PDT"};
+ String PKT[] = new String[] {"\u5df4\u57fa\u65af\u5766\u65f6\u95f4", "PKT",
+ "\u5df4\u57fa\u65af\u5766\u590f\u4ee4\u65f6", "PKST"};
+- String PONT[] = new String[] {"Pohnpei Time", "PONT",
+- "Pohnpei Summer Time", "PONST"};
++ String PONT[] = new String[] {"\u6CE2\u7EB3\u4F69\u65F6\u95F4", "PONT",
++ "\u6CE2\u7EB3\u4F69\u590F\u4EE4\u65F6", "PONST"};
+ String PST[] = new String[] {"\u592a\u5e73\u6d0b\u6807\u51c6\u65f6\u95f4", "PST",
+ "\u592a\u5e73\u6d0b\u590f\u4ee4\u65f6", "PDT"};
+ String SAMOA[] = new String[] {"\u8428\u6469\u4e9a\u7fa4\u5c9b\u6807\u51c6\u65f6\u95f4", "SST",
+@@ -173,8 +173,8 @@
+ "\u65b0\u52a0\u5761\u590f\u4ee4\u65f6", "SGST"};
+ String SLST[] = new String[] {"\u683c\u6797\u5a01\u6cbb\u65f6\u95f4", "GMT",
+ "\u585e\u62c9\u5229\u6602\u590f\u4ee4\u65f6", "SLST"};
+- String TASMANIA[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u5854\u65af\u9a6c\u5c3c\u4e9a\uff09", "EST",
+- "\u4e1c\u90e8\u590f\u4ee4\u65f6\uff08\u5854\u65af\u9a6c\u5c3c\u4e9a\uff09", "EST"};
++ String TASMANIA[] = new String[] {"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u5854\u65AF\u9A6C\u5C3C\u4E9A)", "EST",
++ "\u4E1C\u90E8\u590F\u4EE4\u65F6 (\u5854\u65AF\u9A6C\u5C3C\u4E9A)", "EST"};
+ String TMT[] = new String[] {"\u571f\u5e93\u66fc\u65f6\u95f4", "TMT",
+ "\u571f\u5e93\u66fc\u590f\u4ee4\u65f6", "TMST"};
+ String ULAT[]= new String[] {"\u5e93\u4f26\u65f6\u95f4", "ULAT",
+@@ -183,8 +183,8 @@
+ "\u534f\u8c03\u4e16\u754c\u65f6\u95f4", "UTC"};
+ String UZT[] = new String[] {"\u4e4c\u5179\u522b\u514b\u65af\u5766\u65f6\u95f4", "UZT",
+ "\u4e4c\u5179\u522b\u514b\u65af\u5766\u590f\u4ee4\u65f6", "UZST"};
+- String VICTORIA[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u7ef4\u591a\u5229\u4e9a\uff09", "EST",
+- "\u4e1c\u90e8\u590f\u4ee4\u65f6\uff08\u7ef4\u591a\u5229\u4e9a\uff09", "EST"};
++ String VICTORIA[] = new String[] {"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u7EF4\u591A\u5229\u4E9A)", "EST",
++ "\u4E1C\u90E8\u590F\u4EE4\u65F6 (\u7EF4\u591A\u5229\u4E9A)", "EST"};
+ String VLAT[] = new String[] {"\u6d77\u53c2\u5d34\u65f6\u95f4", "VLAT",
+ "\u6d77\u53c2\u5d34\u590f\u4ee4\u65f6", "VLAST"};
+ String WART[] = new String[] {"\u897f\u963f\u6839\u5ef7\u65f6\u95f4", "WART",
+@@ -193,10 +193,10 @@
+ "\u897f\u975e\u590f\u4ee4\u65f6", "WAST"};
+ String WET[] = new String[] {"\u897f\u6b27\u65f6\u95f4", "WET",
+ "\u897f\u6b27\u590f\u4ee4\u65f6", "WEST"};
+- String WIT[] = new String[] {"\u897f\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "WIT",
++ String WIT[] = new String[] {"\u897f\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "WIB",
+ "\u897f\u5370\u5ea6\u5c3c\u897f\u4e9a\u590f\u4ee4\u65f6", "WIST"};
+- String WST_AUS[] = new String[] {"\u897f\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u6fb3\u5927\u5229\u4e9a\uff09", "WST",
+- "\u897f\u90e8\u590f\u4ee4\u65f6\uff08\u6fb3\u5927\u5229\u4e9a\uff09", "WST"};
++ String WST_AUS[] = new String[] {"\u897F\u90E8\u6807\u51C6\u65F6\u95F4 (\u6FB3\u5927\u5229\u4E9A)", "WST",
++ "\u897F\u90E8\u590F\u4EE4\u65F6 (\u6FB3\u5927\u5229\u4E9A)", "WST"};
+ String WST_SAMOA[] = new String[] {"\u897f\u8428\u6469\u4e9a\u65f6\u95f4", "WST",
+ "\u897f\u8428\u6469\u4e9a\u590f\u4ee4\u65f6", "WSDT"};
+ String YAKT[] = new String[] {"\u4e9a\u5e93\u6b21\u514b\u65f6\u95f4", "YAKT",
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"\u6885\u7279\u62C9\u5361\u7279\u62C9\u6807\u51C6\u65F6\u95F4", "MeST",
++ "\u6885\u7279\u62C9\u5361\u7279\u62C9\u590F\u4EE4\u65F6", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"\u76ae\u57c3\u5c14\u5c9b\u53ca\u5bc6\u514b\u9686\u5c9b\u6807\u51c6\u65f6\u95f4", "PMST",
+ "\u76ae\u57c3\u5c14\u5c9b\u53ca\u5bc6\u514b\u9686\u5c9b\u590f\u4ee4\u65f6", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "\u82cf\u5229\u5357\u590f\u4ee4\u65f6", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "\u6234\u7ef4\u65af\u590f\u4ee4\u65f6", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"Dumont-d'Urville \u65f6\u95f4", "DDUT",
+ "Dumont-d'Urville \u590f\u4ee4\u65f6", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"\u9EA6\u5938\u91CC\u5C9B\u65F6\u95F4", "MIST",
++ "\u9EA6\u5938\u91CC\u5C9B\u590F\u4EE4\u65F6", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"\u83ab\u68ee\u65f6\u95f4", "MAWT",
+ "\u83ab\u68ee\u590f\u4ee4\u65f6", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Alma-Ata \u65f6\u95f4", "ALMT",
+ "Alma-Ata \u590f\u4ee4\u65f6", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"\u963f\u90a3\u5e95\u6cb3\u65f6\u95f4", "ANAT",
+ "\u963f\u90a3\u5e95\u6cb3\u590f\u4ee4\u65f6", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Aqtau \u65f6\u95f4", "AQTT",
+@@ -527,7 +527,7 @@
+ "\u4f0a\u5c14\u5e93\u6b21\u514b\u590f\u4ee4\u65f6", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"\u4e1c\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "EIT",
++ {"Asia/Jayapura", new String[] {"\u4e1c\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "WIT",
+ "\u4e1c\u5370\u5ea6\u5c3c\u897f\u4e9a\u590f\u4ee4\u65f6", "EIST"}},
+ {"Asia/Kabul", new String[] {"\u963f\u5bcc\u6c57\u65f6\u95f4", "AFT",
+ "\u963f\u5bcc\u6c57\u590f\u4ee4\u65f6", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"\u6C49\u5FB7\u52A0\u65F6\u95F4", "YAKT",
++ "\u6C49\u5FB7\u52A0\u590F\u4EE4\u65F6", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"\u514b\u62c9\u65af\u8bfa\u4e9a\u5c14\u65af\u514b\u65f6\u95f4", "KRAT",
+ "\u514b\u62c9\u65af\u8bfa\u4e9a\u5c14\u65af\u514b\u590f\u4ee4\u65f6", "KRAST"}},
+@@ -586,7 +587,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"\u4E4C\u65AF\u5B63\u6D85\u62C9\u65F6\u95F4", "VLAT",
++ "\u4E4C\u65AF\u5B63\u6D85\u62C9\u590F\u4EE4\u65F6", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -616,8 +618,8 @@
+ {"Australia/Canberra", EST_NSW},
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+- {"Australia/Eucla", new String[] {"\u4e2d\u897f\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u6fb3\u5927\u5229\u4e9a\uff09", "CWST",
+- "\u4e2d\u897f\u90e8\u590f\u4ee4\u65f6\uff08\u6fb3\u5927\u5229\u4e9a\uff09", "CWST"}},
++ {"Australia/Eucla", new String[] {"\u4E2D\u897F\u90E8\u6807\u51C6\u65F6\u95F4 (\u6FB3\u5927\u5229\u4E9A)", "CWST",
++ "\u4E2D\u897F\u90E8\u590F\u4EE4\u65F6 (\u6FB3\u5927\u5229\u4E9A)", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -635,7 +637,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -753,7 +755,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"\u4e2d\u6b27\u65f6\u95f4", "MET",
+ "\u4e2d\u6b27\u590f\u4ee4\u65f6", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java Thu Dec 19 09:01:16 2013 -0800
+@@ -45,8 +45,8 @@
+ protected final Object[][] getContents() {
+ String ACT[] = new String[] {"Acre \u6642\u9593", "ACT",
+ "Acre \u590f\u4ee4\u6642\u9593", "ACST"};
+- String ADELAIDE[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e\u5357\u5340)", "CST",
+- "\u4e2d\u90e8\u590f\u4ee4\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e\u5357\u5340)", "CST"};
++ String ADELAIDE[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E\u5357\u90E8)", "CST",
++ "\u4E2D\u90E8\u590F\u4EE4\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E\u5357\u5340)", "CST"};
+ String AGT[] = new String[] {"\u963f\u6839\u5ef7\u6642\u9593", "ART",
+ "\u963f\u6839\u5ef7\u590f\u4ee4\u6642\u9593", "ARST"};
+ String AKST[] = new String[] {"\u963f\u62c9\u65af\u52a0\u6a19\u6e96\u6642\u9593", "AKST",
+@@ -61,10 +61,10 @@
+ "\u5927\u897f\u6d0b\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "ADT"};
+ String BDT[] = new String[] {"\u5b5f\u52a0\u62c9\u6642\u9593", "BDT",
+ "\u5b5f\u52a0\u62c9\u590f\u4ee4\u6642\u9593", "BDST"};
+- String BRISBANE[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642\u9593 (\u6606\u58eb\u862d)", "EST",
+- "\u6771\u90e8\u590f\u4ee4\u6642\u9593 (\u6606\u58eb\u862d)", "EST"};
+- String BROKEN_HILL[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e\u5357\u5340/\u65b0\u5357\u5a01\u723e\u65af)", "CST",
+- "\u4e2d\u90e8\u590f\u4ee4\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e\u5357\u5340/\u65b0\u5357\u5a01\u723e\u65af)", "CST"};
++ String BRISBANE[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u6606\u58EB\u862D)", "EST",
++ "\u6771\u90E8\u590F\u4EE4\u6642\u9593 (\u6606\u58EB\u862D)", "EST"};
++ String BROKEN_HILL[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E\u5357\u5340/\u65B0\u5357\u5A01\u723E\u65AF)", "CST",
++ "\u4E2D\u90E8\u590F\u4EE4\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E\u5357\u5340/\u65B0\u5357\u5A01\u723E\u65AF)", "CST"};
+ String BRT[] = new String[] {"\u5df4\u897f\u5229\u4e9e\u6642\u9593", "BRT",
+ "\u5df4\u897f\u5229\u4e9e\u590f\u4ee4\u6642\u9593", "BRST"};
+ String BTT[] = new String[] {"\u4e0d\u4e39\u6642\u9593", "BTT",
+@@ -77,9 +77,9 @@
+ "\u67e5\u5766\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "CHADT"};
+ String ChST[] = new String[] {"\u67e5\u83ab\u6d1b\u6a19\u6e96\u6642\u9593", "ChST",
+ "\u67e5\u83ab\u6d1b\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "ChDT"};
+- String CHUT[] = new String[] {"Chuuk Time", "CHUT",
+- "Chuuk Summer Time", "CHUST"};
+- String CIT[] = new String[] {"\u4e2d\u5370\u5ea6\u5c3c\u897f\u4e9e\u6642\u9593", "CIT",
++ String CHUT[] = new String[] {"\u695A\u514B\u6642\u9593", "CHUT",
++ "\u695A\u514B\u590F\u4EE4\u6642\u9593", "CHUST"};
++ String CIT[] = new String[] {"\u4e2d\u5370\u5ea6\u5c3c\u897f\u4e9e\u6642\u9593", "WITA",
+ "\u4e2d\u5370\u5ea6\u5c3c\u897f\u4e9e\u590f\u4ee4\u6642\u9593", "CIST"};
+ String CLT[] = new String[] {"\u667a\u5229\u6642\u9593", "CLT",
+ "\u667a\u5229\u590f\u4ee4\u6642\u9593", "CLST"};
+@@ -89,8 +89,8 @@
+ "\u4e2d\u570b\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "CDT"};
+ String CUBA[] = new String[] {"\u53e4\u5df4\u6a19\u6e96\u6642\u9593", "CST",
+ "\u53e4\u5df4\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "CDT"};
+- String DARWIN[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642\u9593 (\u5317\u90e8\u5404\u5730\u5340)", "CST",
+- "\u4e2d\u90e8\u590f\u4ee4\u6642\u9593 (\u5317\u90e8\u5404\u5730\u5340)", "CST"};
++ String DARWIN[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642\u9593 (\u5317\u90E8\u5404\u5730\u5340)", "CST",
++ "\u4E2D\u90E8\u590F\u4EE4\u6642\u9593 (\u5317\u90E8\u5404\u5730\u5340)", "CST"};
+ String DUBLIN[] = new String[] {"\u683c\u6797\u5a01\u6cbb\u5e73\u5747\u6642\u9593", "GMT",
+ "\u611b\u723e\u862d\u590f\u4ee4\u6642\u9593", "IST"};
+ String EAT[] = new String[] {"\u6771\u975e\u6642\u9593", "EAT",
+@@ -103,10 +103,10 @@
+ "\u6771\u683c\u6797\u5cf6\u590f\u4ee4\u6642\u9593", "EGST"};
+ String EST[] = new String[] {"\u6771\u65b9\u6a19\u6e96\u6642\u9593", "EST",
+ "\u6771\u65b9\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "EDT"};
+- String EST_NSW[] = new String[] {"\u6771\u65b9\u6a19\u6e96\u6642\u9593 (\u65b0\u5357\u5a01\u723e\u65af)", "EST",
+- "\u6771\u65b9\u590f\u4ee4\u6642\u9593 (\u65b0\u5357\u5a01\u723e\u65af)", "EST"};
+- String FET[] = new String[] {"Further-eastern European Time", "FET",
+- "Further-eastern European Summer Time", "FEST"};
++ String EST_NSW[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u65B0\u5357\u5A01\u723E\u65AF)", "EST",
++ "\u6771\u90E8\u590F\u4EE4\u6642\u9593 (\u65B0\u5357\u5A01\u723E\u65AF)", "EST"};
++ String FET[] = new String[] {"\u6771\u6B50\u5167\u9678\u6642\u9593", "FET",
++ "\u6771\u6B50\u5167\u9678\u590F\u4EE4\u6642\u9593", "FEST"};
+ String GHMT[] = new String[] {"\u8fe6\u7d0d\u5e73\u5747\u6642\u9593", "GMT",
+ "\u8fe6\u7d0d\u590f\u4ee4\u6642\u9593", "GHST"};
+ String GAMBIER[] = new String[] {"\u7518\u6bd4\u723e\u6642\u9593", "GAMT",
+@@ -159,8 +159,8 @@
+ "\u76ae\u7279\u5eb7\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "PDT"};
+ String PKT[] = new String[] {"\u5df4\u57fa\u65af\u5766\u6642\u9593", "PKT",
+ "\u5df4\u57fa\u65af\u5766\u590f\u4ee4\u6642\u9593", "PKST"};
+- String PONT[] = new String[] {"Pohnpei Time", "PONT",
+- "Pohnpei Summer Time", "PONST"};
++ String PONT[] = new String[] {"\u6CE2\u7D0D\u4F69\u6642\u9593", "PONT",
++ "\u6CE2\u7D0D\u4F69\u590F\u4EE4\u6642\u9593", "PONST"};
+ String PST[] = new String[] {"\u592a\u5e73\u6d0b\u6a19\u6e96\u6642\u9593", "PST",
+ "\u592a\u5e73\u6d0b\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "PDT"};
+ String SAMOA[] = new String[] {"\u85a9\u6469\u4e9e\u6a19\u6e96\u6642\u9593", "SST",
+@@ -173,8 +173,8 @@
+ "\u65b0\u52a0\u5761\u590f\u4ee4\u6642\u9593", "SGST"};
+ String SLST[] = new String[] {"\u683c\u6797\u5a01\u6cbb\u5e73\u5747\u6642\u9593", "GMT",
+ "\u7345\u5b50\u5c71\u590f\u4ee4\u6642\u9593", "SLST"};
+- String TASMANIA[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642\u9593 (\u5854\u65af\u6885\u5c3c\u4e9e\u5cf6)", "EST",
+- "\u6771\u90e8\u590f\u4ee4\u6642\u9593 (\u5854\u65af\u6885\u5c3c\u4e9e\u5cf6)", "EST"};
++ String TASMANIA[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u5854\u65AF\u6885\u5C3C\u4E9E\u5CF6)", "EST",
++ "\u6771\u90E8\u590F\u4EE4\u6642\u9593 (\u5854\u65AF\u6885\u5C3C\u4E9E\u5CF6)", "EST"};
+ String TMT[] = new String[] {"\u571f\u5eab\u66fc\u6642\u9593", "TMT",
+ "\u571f\u5eab\u66fc\u590f\u4ee4\u6642\u9593", "TMST"};
+ String ULAT[]= new String[] {"\u5eab\u502b\u6642\u9593", "ULAT",
+@@ -183,8 +183,8 @@
+ "\u5354\u8abf\u4e16\u754c\u6642\u9593", "UTC"};
+ String UZT[] = new String[] {"\u70cf\u8332\u5225\u514b\u65af\u5766\u6642\u9593", "UZT",
+ "\u70cf\u8332\u5225\u514b\u65af\u5766\u590f\u4ee4\u6642\u9593", "UZST"};
+- String VICTORIA[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642\u9593 (\u7dad\u591a\u5229\u4e9e\u90a6)", "EST",
+- "\u6771\u90e8\u590f\u4ee4\u6642\u9593 (\u7dad\u591a\u5229\u4e9e\u90a6)", "EST"};
++ String VICTORIA[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u7DAD\u591A\u5229\u4E9E\u90A6)", "EST",
++ "\u6771\u90E8\u590F\u4EE4\u6642\u9593 (\u7DAD\u591A\u5229\u4E9E\u90A6)", "EST"};
+ String VLAT[] = new String[] {"\u6d77\u53c3\u5d34\u6642\u9593", "VLAT",
+ "\u6d77\u53c3\u5d34\u590f\u4ee4\u6642\u9593", "VLAST"};
+ String WART[] = new String[] {"\u897f\u963f\u6839\u5ef7\u6642\u9593", "WART",
+@@ -193,10 +193,10 @@
+ "\u897f\u975e\u590f\u4ee4\u6642\u9593", "WAST"};
+ String WET[] = new String[] {"\u897f\u6b50\u6642\u9593", "WET",
+ "\u897f\u6b50\u590f\u4ee4\u6642\u9593", "WEST"};
+- String WIT[] = new String[] {"\u897f\u5370\u5c3c\u6642\u9593", "WIT",
++ String WIT[] = new String[] {"\u897f\u5370\u5c3c\u6642\u9593", "WIB",
+ "\u897f\u5370\u5c3c\u590f\u4ee4\u6642\u9593", "WIST"};
+- String WST_AUS[] = new String[] {"\u897f\u65b9\u6a19\u6e96\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e)", "WST",
+- "\u897f\u65b9\u590f\u4ee4\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e)", "WST"};
++ String WST_AUS[] = new String[] {"\u897F\u90E8\u6A19\u6E96\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E)", "WST",
++ "\u897F\u90E8\u590F\u4EE4\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E)", "WST"};
+ String WST_SAMOA[] = new String[] {"\u897f\u85a9\u6469\u4e9e\u6642\u9593", "WST",
+ "\u897f\u85a9\u6469\u4e9e\u590f\u4ee4\u6642\u9593", "WSDT"};
+ String YAKT[] = new String[] {"\u4e9e\u5eab\u6b21\u514b\u6642\u9593", "YAKT",
+@@ -291,7 +291,7 @@
+ {"Africa/Porto-Novo", WAT},
+ {"Africa/Sao_Tome", GMT},
+ {"Africa/Timbuktu", GMT},
+- {"Africa/Tripoli", CET},
++ {"Africa/Tripoli", EET},
+ {"Africa/Tunis", CET},
+ {"Africa/Windhoek", WAT},
+ {"America/Adak", HAST},
+@@ -308,7 +308,7 @@
+ {"America/Argentina/Rio_Gallegos", AGT},
+ {"America/Argentina/Salta", AGT},
+ {"America/Argentina/San_Juan", AGT},
+- {"America/Argentina/San_Luis", WART},
++ {"America/Argentina/San_Luis", AGT},
+ {"America/Argentina/Tucuman", AGT},
+ {"America/Argentina/Ushuaia", AGT},
+ {"America/Aruba", AST},
+@@ -349,7 +349,7 @@
+ {"America/Detroit", EST},
+ {"America/Dominica", AST},
+ {"America/Edmonton", MST},
+- {"America/Eirunepe", AMT},
++ {"America/Eirunepe", ACT},
+ {"America/El_Salvador", CST},
+ {"America/Ensenada", PST},
+ {"America/Fort_Wayne", EST},
+@@ -401,8 +401,8 @@
+ {"America/Mendoza", AGT},
+ {"America/Menominee", CST},
+ {"America/Merida", CST},
+- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST",
+- "Metlakatla Daylight Time", "MeDT"}},
++ {"America/Metlakatla", new String[] {"\u6885\u7279\u62C9\u5361\u7279\u62C9\u6A19\u6E96\u6642\u9593", "MeST",
++ "\u6885\u7279\u62C9\u5361\u7279\u62C9\u65E5\u5149\u7BC0\u7D04\u6642\u9593", "MeDT"}},
+ {"America/Mexico_City", CST},
+ {"America/Miquelon", new String[] {"\u76ae\u57c3\u723e\u5cf6\u53ca\u5bc6\u514b\u9686\u5cf6\u6a19\u6e96\u6642\u9593", "PMST",
+ "\u76ae\u57c3\u723e\u5cf6\u53ca\u5bc6\u514b\u9686\u5cf6\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "PMDT"}},
+@@ -426,7 +426,7 @@
+ "\u8607\u5229\u5357\u590f\u4ee4\u6642\u9593", "SRST"}},
+ {"America/Port-au-Prince", EST},
+ {"America/Port_of_Spain", AST},
+- {"America/Porto_Acre", AMT},
++ {"America/Porto_Acre", ACT},
+ {"America/Porto_Velho", AMT},
+ {"America/Puerto_Rico", AST},
+ {"America/Rainy_River", CST},
+@@ -434,7 +434,7 @@
+ {"America/Recife", BRT},
+ {"America/Regina", CST},
+ {"America/Resolute", CST},
+- {"America/Rio_Branco", AMT},
++ {"America/Rio_Branco", ACT},
+ {"America/Rosario", AGT},
+ {"America/Santa_Isabel", PST},
+ {"America/Santarem", BRT},
+@@ -466,8 +466,8 @@
+ "\u81fa\u7dad\u65af\u590f\u4ee4\u6642\u9593", "DAVST"}},
+ {"Antarctica/DumontDUrville", new String[] {"Dumont-d'Urville \u6642\u9593", "DDUT",
+ "Dumont-d'Urville \u590f\u4ee4\u6642\u9593", "DDUST"}},
+- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST",
+- "Macquarie Island Summer Time", "MIST"}},
++ {"Antarctica/Macquarie", new String[] {"\u9EA5\u5938\u5229\u5CF6\u6642\u9593", "MIST",
++ "\u9EA5\u5938\u5229\u5CF6\u590F\u4EE4\u6642\u9593", "MIST"}},
+ {"Antarctica/Mawson", new String[] {"\u83ab\u68ee\u6642\u9593", "MAWT",
+ "\u83ab\u68ee\u590f\u4ee4\u6642\u9593", "MAWST"}},
+ {"Antarctica/McMurdo", NZST},
+@@ -483,7 +483,7 @@
+ {"Asia/Aden", ARAST},
+ {"Asia/Almaty", new String[] {"Alma-Ata \u6642\u9593", "ALMT",
+ "Alma-Ata \u590f\u4ee4\u6642\u9593", "ALMST"}},
+- {"Asia/Amman", EET},
++ {"Asia/Amman", ARAST},
+ {"Asia/Anadyr", new String[] {"\u963f\u90a3\u5e95\u6cb3\u6642\u9593", "ANAT",
+ "\u963f\u90a3\u5e95\u6cb3\u590f\u4ee4\u6642\u9593", "ANAST"}},
+ {"Asia/Aqtau", new String[] {"Aqtau \u6642\u9593", "AQTT",
+@@ -527,7 +527,7 @@
+ "Irkutsk \u590f\u4ee4\u6642\u9593", "IRKST"}},
+ {"Asia/Istanbul", EET},
+ {"Asia/Jakarta", WIT},
+- {"Asia/Jayapura", new String[] {"\u6771\u5370\u5ea6\u5c3c\u897f\u4e9e\u6642\u9593", "EIT",
++ {"Asia/Jayapura", new String[] {"\u6771\u5370\u5ea6\u5c3c\u897f\u4e9e\u6642\u9593", "WIT",
+ "\u6771\u5370\u5ea6\u5c3c\u897f\u4e9e\u590f\u65e5\u6642\u9593", "EIST"}},
+ {"Asia/Kabul", new String[] {"\u963f\u5bcc\u6c57\u6642\u9593", "AFT",
+ "\u963f\u5bcc\u6c57\u590f\u4ee4\u6642\u9593", "AFST"}},
+@@ -537,7 +537,8 @@
+ {"Asia/Kashgar", CTT},
+ {"Asia/Kathmandu", NPT},
+ {"Asia/Katmandu", NPT},
+- {"Asia/Khandyga", YAKT},
++ {"Asia/Khandyga", new String[] {"\u6F22\u5730\u52A0 (Khandyga) \u6642\u9593", "YAKT",
++ "\u6F22\u5730\u52A0 (Khandyga) \u590F\u4EE4\u6642\u9593", "YAKST"}},
+ {"Asia/Kolkata", IST},
+ {"Asia/Krasnoyarsk", new String[] {"\u514b\u62c9\u65af\u8afe\u4e9e\u723e\u65af\u514b\u6642\u9593", "KRAT",
+ "\u514b\u62c9\u65af\u8afe\u4e9e\u723e\u65af\u514b\u590f\u4ee4\u6642\u9593", "KRAST"}},
+@@ -587,7 +588,8 @@
+ {"Asia/Ulaanbaatar", ULAT},
+ {"Asia/Ulan_Bator", ULAT},
+ {"Asia/Urumqi", CTT},
+- {"Asia/Ust-Nera", VLAT},
++ {"Asia/Ust-Nera", new String[] {"\u70CF\u65AF\u5167\u62C9 (Ust-Nera) \u6642\u9593", "VLAT",
++ "\u70CF\u65AF\u5167\u62C9 (Ust-Nera) \u590F\u4EE4\u6642\u9593", "VLAST"}},
+ {"Asia/Vientiane", ICT},
+ {"Asia/Vladivostok", VLAT},
+ {"Asia/Yakutsk", YAKT},
+@@ -617,8 +619,8 @@
+ {"Australia/Canberra", EST_NSW},
+ {"Australia/Currie", EST_NSW},
+ {"Australia/Darwin", DARWIN},
+- {"Australia/Eucla", new String[] {"\u4e2d\u897f\u90e8\u6a19\u6e96\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e)", "CWST",
+- "\u4e2d\u897f\u90e8\u65e5\u5149\u7bc0\u7d04\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e)", "CWST"}},
++ {"Australia/Eucla", new String[] {"\u4E2D\u897F\u90E8\u6A19\u6E96\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E)", "CWST",
++ "\u4E2D\u897F\u90E8\u590F\u4EE4\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E)", "CWST"}},
+ {"Australia/Hobart", TASMANIA},
+ {"Australia/LHI", LORD_HOWE},
+ {"Australia/Lindeman", BRISBANE},
+@@ -636,7 +638,7 @@
+ {"Australia/Yancowinna", BROKEN_HILL},
+ {"BET", BRT},
+ {"BST", BDT},
+- {"Brazil/Acre", AMT},
++ {"Brazil/Acre", ACT},
+ {"Brazil/DeNoronha", NORONHA},
+ {"Brazil/East", BRT},
+ {"Brazil/West", AMT},
+@@ -754,7 +756,7 @@
+ {"Jamaica", EST},
+ {"Japan", JST},
+ {"Kwajalein", MHT},
+- {"Libya", CET},
++ {"Libya", EET},
+ {"MET", new String[] {"\u4e2d\u6b50\u6642\u9593", "MET",
+ "\u4e2d\u6b50\u590f\u4ee4\u6642\u9593", "MEST"}},
+ {"Mexico/BajaNorte", PST},
+--- ./jdk/src/share/lib/security/java.policy Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/lib/security/java.policy Thu Dec 19 09:01:16 2013 -0800
+@@ -2,48 +2,51 @@
+ // Standard extensions get all permissions by default
+
+ grant codeBase "file:${{java.ext.dirs}}/*" {
+- permission java.security.AllPermission;
++ permission java.security.AllPermission;
+ };
+
+ // default permissions granted to all domains
+
+-grant {
+- // Allows any thread to stop itself using the java.lang.Thread.stop()
+- // method that takes no argument.
+- // Note that this permission is granted by default only to remain
+- // backwards compatible.
+- // It is strongly recommended that you either remove this permission
+- // from this policy file or further restrict it to code sources
+- // that you specify, because Thread.stop() is potentially unsafe.
+- // See the API specification of java.lang.Thread.stop() for more
++grant {
++ // Allows any thread to stop itself using the java.lang.Thread.stop()
++ // method that takes no argument.
++ // Note that this permission is granted by default only to remain
++ // backwards compatible.
++ // It is strongly recommended that you either remove this permission
++ // from this policy file or further restrict it to code sources
++ // that you specify, because Thread.stop() is potentially unsafe.
++ // See the API specification of java.lang.Thread.stop() for more
+ // information.
+- permission java.lang.RuntimePermission "stopThread";
++ permission java.lang.RuntimePermission "stopThread";
+
+- // allows anyone to listen on un-privileged ports
+- permission java.net.SocketPermission "localhost:1024-", "listen";
++ // allows anyone to listen on dynamic ports
++ permission java.net.SocketPermission "localhost:0", "listen";
+
+- // "standard" properies that can be read by anyone
++ // permission for standard RMI registry port
++ permission java.net.SocketPermission "localhost:1099", "listen";
+
+- permission java.util.PropertyPermission "java.version", "read";
+- permission java.util.PropertyPermission "java.vendor", "read";
+- permission java.util.PropertyPermission "java.vendor.url", "read";
+- permission java.util.PropertyPermission "java.class.version", "read";
+- permission java.util.PropertyPermission "os.name", "read";
+- permission java.util.PropertyPermission "os.version", "read";
+- permission java.util.PropertyPermission "os.arch", "read";
+- permission java.util.PropertyPermission "file.separator", "read";
+- permission java.util.PropertyPermission "path.separator", "read";
+- permission java.util.PropertyPermission "line.separator", "read";
++ // "standard" properies that can be read by anyone
+
+- permission java.util.PropertyPermission "java.specification.version", "read";
+- permission java.util.PropertyPermission "java.specification.vendor", "read";
+- permission java.util.PropertyPermission "java.specification.name", "read";
++ permission java.util.PropertyPermission "java.version", "read";
++ permission java.util.PropertyPermission "java.vendor", "read";
++ permission java.util.PropertyPermission "java.vendor.url", "read";
++ permission java.util.PropertyPermission "java.class.version", "read";
++ permission java.util.PropertyPermission "os.name", "read";
++ permission java.util.PropertyPermission "os.version", "read";
++ permission java.util.PropertyPermission "os.arch", "read";
++ permission java.util.PropertyPermission "file.separator", "read";
++ permission java.util.PropertyPermission "path.separator", "read";
++ permission java.util.PropertyPermission "line.separator", "read";
+
+- permission java.util.PropertyPermission "java.vm.specification.version", "read";
+- permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
+- permission java.util.PropertyPermission "java.vm.specification.name", "read";
+- permission java.util.PropertyPermission "java.vm.version", "read";
+- permission java.util.PropertyPermission "java.vm.vendor", "read";
+- permission java.util.PropertyPermission "java.vm.name", "read";
++ permission java.util.PropertyPermission "java.specification.version", "read";
++ permission java.util.PropertyPermission "java.specification.vendor", "read";
++ permission java.util.PropertyPermission "java.specification.name", "read";
++
++ permission java.util.PropertyPermission "java.vm.specification.version", "read";
++ permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
++ permission java.util.PropertyPermission "java.vm.specification.name", "read";
++ permission java.util.PropertyPermission "java.vm.version", "read";
++ permission java.util.PropertyPermission "java.vm.vendor", "read";
++ permission java.util.PropertyPermission "java.vm.name", "read";
+ };
+
+--- ./jdk/src/share/lib/security/java.security-linux Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/lib/security/java.security-linux Thu Dec 19 09:01:16 2013 -0800
+@@ -128,7 +128,9 @@
+ com.sun.imageio.,\
+ com.sun.istack.internal.,\
+ com.sun.jmx.,\
++ com.sun.naming.internal.,\
+ com.sun.proxy.,\
++ com.sun.corba.se.,\
+ com.sun.script.,\
+ com.sun.org.apache.bcel.internal.,\
+ com.sun.org.apache.regexp.internal.,\
+@@ -166,7 +168,9 @@
+ com.sun.imageio.,\
+ com.sun.istack.internal.,\
+ com.sun.jmx.,\
++ com.sun.naming.internal.,\
+ com.sun.proxy.,\
++ com.sun.corba.se.,\
+ com.sun.script.,\
+ com.sun.org.apache.bcel.internal.,\
+ com.sun.org.apache.regexp.internal.,\
+@@ -425,4 +429,3 @@
+ #
+ # Example:
+ # jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048
+-
+--- ./jdk/src/share/lib/security/java.security-macosx Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/lib/security/java.security-macosx Thu Dec 19 09:01:16 2013 -0800
+@@ -129,7 +129,9 @@
+ com.sun.imageio.,\
+ com.sun.istack.internal.,\
+ com.sun.jmx.,\
++ com.sun.naming.internal.,\
+ com.sun.proxy.,\
++ com.sun.corba.se.,\
+ com.sun.script.,\
+ com.sun.org.apache.bcel.internal.,\
+ com.sun.org.apache.regexp.internal.,\
+@@ -169,7 +171,9 @@
+ com.sun.imageio.,\
+ com.sun.istack.internal.,\
+ com.sun.jmx.,\
++ com.sun.naming.internal.,\
+ com.sun.proxy.,\
++ com.sun.corba.se.,\
+ com.sun.script.,\
+ com.sun.org.apache.bcel.internal.,\
+ com.sun.org.apache.regexp.internal.,\
+@@ -430,4 +434,3 @@
+ #
+ # Example:
+ # jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048
+-
+--- ./jdk/src/share/lib/security/java.security-solaris Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/lib/security/java.security-solaris Thu Dec 19 09:01:16 2013 -0800
+@@ -130,7 +130,9 @@
+ com.sun.imageio.,\
+ com.sun.istack.internal.,\
+ com.sun.jmx.,\
++ com.sun.naming.internal.,\
+ com.sun.proxy.,\
++ com.sun.corba.se.,\
+ com.sun.script.,\
+ com.sun.org.apache.bcel.internal.,\
+ com.sun.org.apache.regexp.internal.,\
+@@ -169,7 +171,9 @@
+ com.sun.imageio.,\
+ com.sun.istack.internal.,\
+ com.sun.jmx.,\
++ com.sun.naming.internal.,\
+ com.sun.proxy.,\
++ com.sun.corba.se.,\
+ com.sun.script.,\
+ com.sun.org.apache.bcel.internal.,\
+ com.sun.org.apache.regexp.internal.,\
+@@ -429,4 +433,3 @@
+ #
+ # Example:
+ # jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048
+-i
+--- ./jdk/src/share/lib/security/java.security-windows Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/lib/security/java.security-windows Thu Dec 19 09:01:16 2013 -0800
+@@ -129,7 +129,9 @@
+ com.sun.imageio.,\
+ com.sun.istack.internal.,\
+ com.sun.jmx.,\
++ com.sun.naming.internal.,\
+ com.sun.proxy.,\
++ com.sun.corba.se.,\
+ com.sun.script.,\
+ com.sun.org.apache.bcel.internal.,\
+ com.sun.org.apache.regexp.internal.,\
+@@ -169,7 +171,9 @@
+ com.sun.imageio.,\
+ com.sun.istack.internal.,\
+ com.sun.jmx.,\
++ com.sun.naming.internal.,\
+ com.sun.proxy.,\
++ com.sun.corba.se.,\
+ com.sun.script.,\
+ com.sun.org.apache.bcel.internal.,\
+ com.sun.org.apache.regexp.internal.,\
+@@ -430,4 +434,3 @@
+ #
+ # Example:
+ # jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048
+-
+--- ./jdk/src/share/native/sun/awt/splashscreen/splashscreen_impl.c Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/awt/splashscreen/splashscreen_impl.c Thu Dec 19 09:01:16 2013 -0800
+@@ -111,8 +111,9 @@
+ int
+ SplashIsStillLooping(Splash * splash)
+ {
+- if (splash->currentFrame < 0)
++ if (splash->currentFrame < 0) {
+ return 0;
++ }
+ return splash->loopCount != 1 ||
+ splash->currentFrame + 1 < splash->frameCount;
+ }
+@@ -121,17 +122,22 @@
+ SplashUpdateScreenData(Splash * splash)
+ {
+ ImageRect srcRect, dstRect;
++ if (splash->currentFrame < 0) {
++ return;
++ }
+
+ initRect(&srcRect, 0, 0, splash->width, splash->height, 1,
+ splash->width * sizeof(rgbquad_t),
+ splash->frames[splash->currentFrame].bitmapBits, &splash->imageFormat);
+- if (splash->screenData)
++ if (splash->screenData) {
+ free(splash->screenData);
++ }
+ splash->screenStride = splash->width * splash->screenFormat.depthBytes;
+- if (splash->byteAlignment > 1)
++ if (splash->byteAlignment > 1) {
+ splash->screenStride =
+ (splash->screenStride + splash->byteAlignment - 1) &
+ ~(splash->byteAlignment - 1);
++ }
+ splash->screenData = malloc(splash->height * splash->screenStride);
+ initRect(&dstRect, 0, 0, splash->width, splash->height, 1,
+ splash->screenStride, splash->screenData, &splash->screenFormat);
+@@ -146,16 +152,19 @@
+ void
+ SplashNextFrame(Splash * splash)
+ {
+- if (splash->currentFrame < 0)
++ if (splash->currentFrame < 0) {
+ return;
++ }
+ do {
+- if (!SplashIsStillLooping(splash))
++ if (!SplashIsStillLooping(splash)) {
+ return;
++ }
+ splash->time += splash->frames[splash->currentFrame].delay;
+ if (++splash->currentFrame >= splash->frameCount) {
+ splash->currentFrame = 0;
+- if (splash->loopCount > 0)
++ if (splash->loopCount > 0) {
+ splash->loopCount--;
++ }
+ }
+ } while (splash->time + splash->frames[splash->currentFrame].delay -
+ SplashTime() <= 0);
+@@ -183,8 +192,9 @@
+ pSrc += pSrcRect->depthBytes;
+ ++i;
+ }
+- if (i >= pSrcRect->numSamples)
++ if (i >= pSrcRect->numSamples) {
+ break;
++ }
+ i0 = i;
+ while (i < pSrcRect->numSamples &&
+ getRGBA(pSrc, pSrcRect->format) >= ALPHA_THRESHOLD) {
+--- ./jdk/src/share/native/sun/font/layout/AlternateSubstSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/AlternateSubstSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -55,7 +55,7 @@
+ (const AlternateSetTable *) ((char *) this + alternateSetTableOffset));
+ TTGlyphID alternate = SWAPW(alternateSetTable->alternateArray[0]);
+
+- if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, alternate))) {
++ if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, alternate), success)) {
+ glyphIterator->setCurrGlyphID(SWAPW(alternateSetTable->alternateArray[0]));
+ }
+
+--- ./jdk/src/share/native/sun/font/layout/AnchorTables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/AnchorTables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -37,55 +37,54 @@
+
+ U_NAMESPACE_BEGIN
+
+-void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance,
+- LEPoint &anchor) const
++void AnchorTable::getAnchor(const LETableReference &base, LEGlyphID glyphID, const LEFontInstance *fontInstance,
++ LEPoint &anchor, LEErrorCode &success) const
+ {
+ switch(SWAPW(anchorFormat)) {
+ case 1:
+ {
+- const Format1AnchorTable *f1 = (const Format1AnchorTable *) this;
+-
+- f1->getAnchor(fontInstance, anchor);
++ LEReferenceTo<Format1AnchorTable> f1(base, success);
++ f1->getAnchor(f1, fontInstance, anchor, success);
+ break;
+ }
+
+ case 2:
+ {
+- const Format2AnchorTable *f2 = (const Format2AnchorTable *) this;
+-
+- f2->getAnchor(glyphID, fontInstance, anchor);
++ LEReferenceTo<Format2AnchorTable> f2(base, success);
++ f2->getAnchor(f2, glyphID, fontInstance, anchor, success);
+ break;
+ }
+
+ case 3:
+ {
+- const Format3AnchorTable *f3 = (const Format3AnchorTable *) this;
+-
+- f3->getAnchor(fontInstance, anchor);
++ LEReferenceTo<Format3AnchorTable> f3(base, success);
++ f3->getAnchor(f3, fontInstance, anchor, success);
+ break;
+ }
+
+ default:
++ {
+ // unknown format: just use x, y coordinate, like format 1...
+- const Format1AnchorTable *f1 = (const Format1AnchorTable *) this;
+-
+- f1->getAnchor(fontInstance, anchor);
++ LEReferenceTo<Format1AnchorTable> f1(base, success);
++ f1->getAnchor(f1, fontInstance, anchor, success);
+ break;
+ }
+ }
++}
+
+-void Format1AnchorTable::getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const
++void Format1AnchorTable::getAnchor(const LEReferenceTo<Format1AnchorTable>& base, const LEFontInstance *fontInstance, LEPoint &anchor, LEErrorCode &success) const
+ {
+ le_int16 x = SWAPW(xCoordinate);
+ le_int16 y = SWAPW(yCoordinate);
+ LEPoint pixels;
+
+ fontInstance->transformFunits(x, y, pixels);
+-
+ fontInstance->pixelsToUnits(pixels, anchor);
+ }
+
+-void Format2AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const
++void Format2AnchorTable::getAnchor(const LEReferenceTo<Format2AnchorTable>& base,
++ LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor
++ , LEErrorCode &success) const
+ {
+ LEPoint point;
+
+@@ -100,7 +99,8 @@
+ fontInstance->pixelsToUnits(point, anchor);
+ }
+
+-void Format3AnchorTable::getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const
++void Format3AnchorTable::getAnchor(const LEReferenceTo<Format3AnchorTable> &base, const LEFontInstance *fontInstance,
++ LEPoint &anchor, LEErrorCode &success) const
+ {
+ le_int16 x = SWAPW(xCoordinate);
+ le_int16 y = SWAPW(yCoordinate);
+@@ -111,15 +111,15 @@
+ fontInstance->transformFunits(x, y, pixels);
+
+ if (dtxOffset != 0) {
+- const DeviceTable *dtx = (const DeviceTable *) ((char *) this + dtxOffset);
+- le_int16 adjx = dtx->getAdjustment((le_int16) fontInstance->getXPixelsPerEm());
++ LEReferenceTo<DeviceTable> dt(base, success, dtxOffset);
++ le_int16 adjx = dt->getAdjustment(dt, (le_int16) fontInstance->getXPixelsPerEm(), success);
+
+ pixels.fX += adjx;
+ }
+
+ if (dtyOffset != 0) {
+- const DeviceTable *dty = (const DeviceTable *) ((char *) this + dtyOffset);
+- le_int16 adjy = dty->getAdjustment((le_int16) fontInstance->getYPixelsPerEm());
++ LEReferenceTo<DeviceTable> dt(base, success, dtyOffset);
++ le_int16 adjy = dt->getAdjustment(dt, (le_int16) fontInstance->getYPixelsPerEm(), success);
+
+ pixels.fY += adjy;
+ }
+--- ./jdk/src/share/native/sun/font/layout/AnchorTables.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/AnchorTables.h Thu Dec 19 09:01:16 2013 -0800
+@@ -49,20 +49,23 @@
+ le_int16 xCoordinate;
+ le_int16 yCoordinate;
+
+- void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance,
+- LEPoint &anchor) const;
++ void getAnchor(const LETableReference &base, LEGlyphID glyphID, const LEFontInstance *fontInstance,
++ LEPoint &anchor, LEErrorCode &success) const;
+ };
+
+ struct Format1AnchorTable : AnchorTable
+ {
+- void getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const;
++ void getAnchor(const LEReferenceTo<Format1AnchorTable>& base,
++ const LEFontInstance *fontInstance, LEPoint &anchor, LEErrorCode &success) const;
+ };
+
+ struct Format2AnchorTable : AnchorTable
+ {
+ le_uint16 anchorPoint;
+
+- void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const;
++ void getAnchor(const LEReferenceTo<Format2AnchorTable>& base,
++ LEGlyphID glyphID, const LEFontInstance *fontInstance,
++ LEPoint &anchor, LEErrorCode &success) const;
+ };
+
+ struct Format3AnchorTable : AnchorTable
+@@ -70,7 +73,9 @@
+ Offset xDeviceTableOffset;
+ Offset yDeviceTableOffset;
+
+- void getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const;
++ void getAnchor(const LEReferenceTo<Format3AnchorTable>& base,
++ const LEFontInstance *fontInstance, LEPoint &anchor,
++ LEErrorCode &success) const;
+ };
+
+ U_NAMESPACE_END
+--- ./jdk/src/share/native/sun/font/layout/ArabicLayoutEngine.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ArabicLayoutEngine.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -51,7 +51,7 @@
+
+ U_NAMESPACE_BEGIN
+
+-le_bool CharSubstitutionFilter::accept(LEGlyphID glyph) const
++le_bool CharSubstitutionFilter::accept(LEGlyphID glyph, LEErrorCode &/*success*/) const
+ {
+ return fFontInstance->canDisplay((LEUnicode) glyph);
+ }
+@@ -147,7 +147,9 @@
+ GDEFMarkFilter filter(fGDEFTable, success);
+ adjustMarkGlyphs(glyphStorage, &filter, success);
+ } else {
+- LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen);
++ LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(LETableReference::kStaticData,
++ CanonShaping::glyphDefinitionTable,
++ CanonShaping::glyphDefinitionTableLen);
+ GDEFMarkFilter filter(gdefTable, success);
+
+ adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success);
+@@ -157,8 +159,8 @@
+ UnicodeArabicOpenTypeLayoutEngine::UnicodeArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success)
+ : ArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags | LE_CHAR_FILTER_FEATURE_FLAG, success)
+ {
+- fGSUBTable = (const GlyphSubstitutionTableHeader *) CanonShaping::glyphSubstitutionTable;
+- fGDEFTable = (const GlyphDefinitionTableHeader *) CanonShaping::glyphDefinitionTable;
++ fGSUBTable.setTo(LETableReference::kStaticData, (const GlyphSubstitutionTableHeader *) CanonShaping::glyphSubstitutionTable, CanonShaping::glyphSubstitutionTableLen);
++ fGDEFTable.setTo(LETableReference::kStaticData, (const GlyphDefinitionTableHeader *) CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen);
+ /* OpenTypeLayoutEngine will allocate a substitution filter */
+ }
+
+--- ./jdk/src/share/native/sun/font/layout/ArabicShaping.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ArabicShaping.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -59,7 +59,8 @@
+ ArabicShaping::ShapeType ArabicShaping::getShapeType(LEUnicode c)
+ {
+ LEErrorCode success = LE_NO_ERROR;
+- const LEReferenceTo<ClassDefinitionTable> joiningTypes((const ClassDefinitionTable *) ArabicShaping::shapingTypeTable,
++ const LEReferenceTo<ClassDefinitionTable> joiningTypes(LETableReference::kStaticData,
++ (const ClassDefinitionTable *) ArabicShaping::shapingTypeTable,
+ ArabicShaping::shapingTypeTableLen);
+ le_int32 joiningType = joiningTypes->getGlyphClass(joiningTypes, c, success);
+
+--- ./jdk/src/share/native/sun/font/layout/CanonShaping.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/CanonShaping.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -60,7 +60,7 @@
+ LEUnicode *outChars, LEGlyphStorage &glyphStorage)
+ {
+ LEErrorCode success = LE_NO_ERROR;
+- LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen);
++ LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(LETableReference::kStaticData, CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen);
+ LEReferenceTo<ClassDefinitionTable> classTable = gdefTable->getMarkAttachClassDefinitionTable(gdefTable, success);
+ le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount);
+ le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount);
+--- ./jdk/src/share/native/sun/font/layout/CharSubstitutionFilter.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/CharSubstitutionFilter.h Thu Dec 19 09:01:16 2013 -0800
+@@ -43,6 +43,8 @@
+ * This filter is used by character-based GSUB processors. It
+ * accepts only those characters which the given font can display.
+ *
++ * Note: Implementation is in ArabicLayoutEngine.cpp
++ *
+ * @internal
+ */
+ class CharSubstitutionFilter : public UMemory, public LEGlyphFilter
+@@ -97,7 +99,7 @@
+ *
+ * @internal
+ */
+- le_bool accept(LEGlyphID glyph) const;
++ le_bool accept(LEGlyphID glyph, LEErrorCode &success) const;
+ };
+
+ U_NAMESPACE_END
+--- ./jdk/src/share/native/sun/font/layout/ClassDefinitionTables.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ClassDefinitionTables.h Thu Dec 19 09:01:16 2013 -0800
+@@ -49,6 +49,7 @@
+ le_int32 getGlyphClass(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) const;
+ le_bool hasGlyphClass(const LETableReference &base, le_int32 glyphClass, LEErrorCode &success) const;
+
++#if LE_ENABLE_RAW
+ le_int32 getGlyphClass(LEGlyphID glyphID) const {
+ LETableReference base((const le_uint8*)this);
+ LEErrorCode ignored = LE_NO_ERROR;
+@@ -60,6 +61,7 @@
+ LEErrorCode ignored = LE_NO_ERROR;
+ return hasGlyphClass(base,glyphClass,ignored);
+ }
++#endif
+ };
+
+ struct ClassDefFormat1Table : ClassDefinitionTable
+--- ./jdk/src/share/native/sun/font/layout/ContextualSubstSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ContextualSubstSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -48,7 +48,7 @@
+ */
+ void ContextualSubstitutionBase::applySubstitutionLookups(
+ const LookupProcessor *lookupProcessor,
+- const SubstitutionLookupRecord *substLookupRecordArray,
++ const LEReferenceToArrayOf<SubstitutionLookupRecord>& substLookupRecordArray,
+ le_uint16 substCount,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+@@ -60,10 +60,11 @@
+ }
+
+ GlyphIterator tempIterator(*glyphIterator);
++ const SubstitutionLookupRecord *substLookupRecordArrayPtr = substLookupRecordArray.getAlias(); // OK to dereference, range checked against substCount below.
+
+ for (le_int16 subst = 0; subst < substCount && LE_SUCCESS(success); subst += 1) {
+- le_uint16 sequenceIndex = SWAPW(substLookupRecordArray[subst].sequenceIndex);
+- le_uint16 lookupListIndex = SWAPW(substLookupRecordArray[subst].lookupListIndex);
++ le_uint16 sequenceIndex = SWAPW(substLookupRecordArrayPtr[subst].sequenceIndex);
++ le_uint16 lookupListIndex = SWAPW(substLookupRecordArrayPtr[subst].lookupListIndex);
+
+ tempIterator.setCurrStreamPosition(position);
+ tempIterator.next(sequenceIndex);
+@@ -72,7 +73,7 @@
+ }
+ }
+
+-le_bool ContextualSubstitutionBase::matchGlyphIDs(const TTGlyphID *glyphArray, le_uint16 glyphCount,
++le_bool ContextualSubstitutionBase::matchGlyphIDs(const LEReferenceToArrayOf<TTGlyphID>& glyphArray, le_uint16 glyphCount,
+ GlyphIterator *glyphIterator, le_bool backtrack)
+ {
+ le_int32 direction = 1;
+@@ -101,9 +102,12 @@
+ return TRUE;
+ }
+
+-le_bool ContextualSubstitutionBase::matchGlyphClasses(const le_uint16 *classArray, le_uint16 glyphCount,
++le_bool ContextualSubstitutionBase::matchGlyphClasses(
++ const LEReferenceToArrayOf<le_uint16> &classArray,
++ le_uint16 glyphCount,
+ GlyphIterator *glyphIterator,
+- const ClassDefinitionTable *classDefinitionTable,
++ const LEReferenceTo<ClassDefinitionTable> &classDefinitionTable,
++ LEErrorCode &success,
+ le_bool backtrack)
+ {
+ le_int32 direction = 1;
+@@ -120,7 +124,7 @@
+ }
+
+ LEGlyphID glyph = glyphIterator->getCurrGlyphID();
+- le_int32 glyphClass = classDefinitionTable->getGlyphClass(glyph);
++ le_int32 glyphClass = classDefinitionTable->getGlyphClass(classDefinitionTable, glyph, success);
+ le_int32 matchClass = SWAPW(classArray[match]);
+
+ if (glyphClass != matchClass) {
+@@ -128,7 +132,7 @@
+ // in the class array which aren't in the class definition
+ // table. If we're looking for such a class, pretend that
+ // we found it.
+- if (classDefinitionTable->hasGlyphClass(matchClass)) {
++ if (classDefinitionTable->hasGlyphClass(classDefinitionTable, matchClass, success)) {
+ return FALSE;
+ }
+ }
+@@ -140,8 +144,8 @@
+ return TRUE;
+ }
+
+-le_bool ContextualSubstitutionBase::matchGlyphCoverages(const Offset *coverageTableOffsetArray, le_uint16 glyphCount,
+- GlyphIterator *glyphIterator, const char *offsetBase, le_bool backtrack)
++le_bool ContextualSubstitutionBase::matchGlyphCoverages(const LEReferenceToArrayOf<Offset> &coverageTableOffsetArray, le_uint16 glyphCount,
++GlyphIterator *glyphIterator, const LETableReference &offsetBase, LEErrorCode &success, le_bool backtrack)
+ {
+ le_int32 direction = 1;
+ le_int32 glyph = 0;
+@@ -153,13 +157,15 @@
+
+ while (glyphCount > 0) {
+ Offset coverageTableOffset = SWAPW(coverageTableOffsetArray[glyph]);
+- const CoverageTable *coverageTable = (const CoverageTable *) (offsetBase + coverageTableOffset);
++ LEReferenceTo<CoverageTable> coverageTable(offsetBase, success, coverageTableOffset);
+
+- if (! glyphIterator->next()) {
++ if (LE_FAILURE(success) || ! glyphIterator->next()) {
+ return FALSE;
+ }
+
+- if (coverageTable->getGlyphCoverage((LEGlyphID) glyphIterator->getCurrGlyphID()) < 0) {
++ if (coverageTable->getGlyphCoverage(coverageTable,
++ (LEGlyphID) glyphIterator->getCurrGlyphID(),
++ success) < 0) {
+ return FALSE;
+ }
+
+@@ -170,7 +176,7 @@
+ return TRUE;
+ }
+
+-le_uint32 ContextualSubstitutionSubtable::process(const LookupProcessor *lookupProcessor,
++le_uint32 ContextualSubstitutionSubtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+ LEErrorCode& success) const
+@@ -186,20 +192,29 @@
+
+ case 1:
+ {
+- const ContextualSubstitutionFormat1Subtable *subtable = (const ContextualSubstitutionFormat1Subtable *) this;
+- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success);
++ LEReferenceTo<ContextualSubstitutionFormat1Subtable> subtable(base, success, (const ContextualSubstitutionFormat1Subtable *) this);
++ if( LE_FAILURE(success) ) {
++ return 0;
++ }
++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success);
+ }
+
+ case 2:
+ {
+- const ContextualSubstitutionFormat2Subtable *subtable = (const ContextualSubstitutionFormat2Subtable *) this;
+- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success);
++ LEReferenceTo<ContextualSubstitutionFormat2Subtable> subtable(base, success, (const ContextualSubstitutionFormat2Subtable *) this);
++ if( LE_FAILURE(success) ) {
++ return 0;
++ }
++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success);
+ }
+
+ case 3:
+ {
+- const ContextualSubstitutionFormat3Subtable *subtable = (const ContextualSubstitutionFormat3Subtable *) this;
+- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success);
++ LEReferenceTo<ContextualSubstitutionFormat3Subtable> subtable(base, success, (const ContextualSubstitutionFormat3Subtable *) this);
++ if( LE_FAILURE(success) ) {
++ return 0;
++ }
++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success);
+ }
+
+ default:
+@@ -207,7 +222,7 @@
+ }
+ }
+
+-le_uint32 ContextualSubstitutionFormat1Subtable::process(const LookupProcessor *lookupProcessor,
++le_uint32 ContextualSubstitutionFormat1Subtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+ LEErrorCode& success) const
+@@ -227,22 +242,22 @@
+
+ if (coverageIndex < srSetCount) {
+ Offset subRuleSetTableOffset = SWAPW(subRuleSetTableOffsetArray[coverageIndex]);
+- const SubRuleSetTable *subRuleSetTable =
+- (const SubRuleSetTable *) ((char *) this + subRuleSetTableOffset);
++ LEReferenceTo<SubRuleSetTable>
++ subRuleSetTable(base, success, (const SubRuleSetTable *) ((char *) this + subRuleSetTableOffset));
+ le_uint16 subRuleCount = SWAPW(subRuleSetTable->subRuleCount);
+ le_int32 position = glyphIterator->getCurrStreamPosition();
+
+ for (le_uint16 subRule = 0; subRule < subRuleCount; subRule += 1) {
+ Offset subRuleTableOffset =
+ SWAPW(subRuleSetTable->subRuleTableOffsetArray[subRule]);
+- const SubRuleTable *subRuleTable =
+- (const SubRuleTable *) ((char *) subRuleSetTable + subRuleTableOffset);
++ LEReferenceTo<SubRuleTable>
++ subRuleTable(subRuleSetTable, success, subRuleTableOffset);
+ le_uint16 matchCount = SWAPW(subRuleTable->glyphCount) - 1;
+ le_uint16 substCount = SWAPW(subRuleTable->substCount);
+-
+- if (matchGlyphIDs(subRuleTable->inputGlyphArray, matchCount, glyphIterator)) {
+- const SubstitutionLookupRecord *substLookupRecordArray =
+- (const SubstitutionLookupRecord *) &subRuleTable->inputGlyphArray[matchCount];
++ LEReferenceToArrayOf<TTGlyphID> inputGlyphArray(base, success, subRuleTable->inputGlyphArray, matchCount+2);
++ if (matchGlyphIDs(inputGlyphArray, matchCount, glyphIterator)) {
++ LEReferenceToArrayOf<SubstitutionLookupRecord>
++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) &subRuleTable->inputGlyphArray[matchCount], substCount);
+
+ applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success);
+
+@@ -259,7 +274,8 @@
+ return 0;
+ }
+
+-le_uint32 ContextualSubstitutionFormat2Subtable::process(const LookupProcessor *lookupProcessor,
++le_uint32 ContextualSubstitutionFormat2Subtable::process(const LETableReference &base,
++ const LookupProcessor *lookupProcessor,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+ LEErrorCode& success) const
+@@ -275,29 +291,33 @@
+ }
+
+ if (coverageIndex >= 0) {
+- const ClassDefinitionTable *classDefinitionTable =
+- (const ClassDefinitionTable *) ((char *) this + SWAPW(classDefTableOffset));
++ LEReferenceTo<ClassDefinitionTable> classDefinitionTable(base, success,
++ (const ClassDefinitionTable *) ((char *) this + SWAPW(classDefTableOffset)));
+ le_uint16 scSetCount = SWAPW(subClassSetCount);
+- le_int32 setClass = classDefinitionTable->getGlyphClass(glyphIterator->getCurrGlyphID());
++ le_int32 setClass = classDefinitionTable->getGlyphClass(classDefinitionTable,
++ glyphIterator->getCurrGlyphID(),
++ success);
+
+ if (setClass < scSetCount && subClassSetTableOffsetArray[setClass] != 0) {
+ Offset subClassSetTableOffset = SWAPW(subClassSetTableOffsetArray[setClass]);
+- const SubClassSetTable *subClassSetTable =
+- (const SubClassSetTable *) ((char *) this + subClassSetTableOffset);
++ LEReferenceTo<SubClassSetTable>
++ subClassSetTable(base, success, (const SubClassSetTable *) ((char *) this + subClassSetTableOffset));
+ le_uint16 subClassRuleCount = SWAPW(subClassSetTable->subClassRuleCount);
+ le_int32 position = glyphIterator->getCurrStreamPosition();
+
+ for (le_uint16 scRule = 0; scRule < subClassRuleCount; scRule += 1) {
+ Offset subClassRuleTableOffset =
+ SWAPW(subClassSetTable->subClassRuleTableOffsetArray[scRule]);
+- const SubClassRuleTable *subClassRuleTable =
+- (const SubClassRuleTable *) ((char *) subClassSetTable + subClassRuleTableOffset);
++ LEReferenceTo<SubClassRuleTable>
++ subClassRuleTable(subClassSetTable, success, subClassRuleTableOffset);
+ le_uint16 matchCount = SWAPW(subClassRuleTable->glyphCount) - 1;
+ le_uint16 substCount = SWAPW(subClassRuleTable->substCount);
+
+- if (matchGlyphClasses(subClassRuleTable->classArray, matchCount, glyphIterator, classDefinitionTable)) {
+- const SubstitutionLookupRecord *substLookupRecordArray =
+- (const SubstitutionLookupRecord *) &subClassRuleTable->classArray[matchCount];
++ LEReferenceToArrayOf<le_uint16> classArray(base, success, subClassRuleTable->classArray, matchCount+1);
++
++ if (matchGlyphClasses(classArray, matchCount, glyphIterator, classDefinitionTable, success)) {
++ LEReferenceToArrayOf<SubstitutionLookupRecord>
++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) &subClassRuleTable->classArray[matchCount], substCount);
+
+ applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success);
+
+@@ -314,7 +334,8 @@
+ return 0;
+ }
+
+-le_uint32 ContextualSubstitutionFormat3Subtable::process(const LookupProcessor *lookupProcessor,
++le_uint32 ContextualSubstitutionFormat3Subtable::process(const LETableReference &base,
++ const LookupProcessor *lookupProcessor,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+ LEErrorCode& success)const
+@@ -333,9 +354,13 @@
+ // that matched when we're done.
+ glyphIterator->prev();
+
+- if (ContextualSubstitutionBase::matchGlyphCoverages(coverageTableOffsetArray, gCount, glyphIterator, (const char *) this)) {
+- const SubstitutionLookupRecord *substLookupRecordArray =
+- (const SubstitutionLookupRecord *) &coverageTableOffsetArray[gCount];
++ LEReferenceToArrayOf<Offset> covTableOffsetArray(base, success, coverageTableOffsetArray, gCount);
++
++ if( LE_FAILURE(success) ) { return 0; }
++
++ if (ContextualSubstitutionBase::matchGlyphCoverages(covTableOffsetArray, gCount, glyphIterator, base, success)) {
++ LEReferenceToArrayOf<SubstitutionLookupRecord>
++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) &coverageTableOffsetArray[gCount], subCount);
+
+ ContextualSubstitutionBase::applySubstitutionLookups(lookupProcessor, substLookupRecordArray, subCount, glyphIterator, fontInstance, position, success);
+
+@@ -347,7 +372,8 @@
+ return 0;
+ }
+
+-le_uint32 ChainingContextualSubstitutionSubtable::process(const LookupProcessor *lookupProcessor,
++le_uint32 ChainingContextualSubstitutionSubtable::process(const LEReferenceTo<ChainingContextualSubstitutionSubtable> &base,
++ const LookupProcessor *lookupProcessor,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+ LEErrorCode& success) const
+@@ -363,20 +389,23 @@
+
+ case 1:
+ {
+- const ChainingContextualSubstitutionFormat1Subtable *subtable = (const ChainingContextualSubstitutionFormat1Subtable *) this;
+- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success);
++ LEReferenceTo<ChainingContextualSubstitutionFormat1Subtable> subtable(base, success, (ChainingContextualSubstitutionFormat1Subtable *) this);
++ if(LE_FAILURE(success)) return 0;
++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success);
+ }
+
+ case 2:
+ {
+- const ChainingContextualSubstitutionFormat2Subtable *subtable = (const ChainingContextualSubstitutionFormat2Subtable *) this;
+- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success);
++ LEReferenceTo<ChainingContextualSubstitutionFormat2Subtable> subtable(base, success, (const ChainingContextualSubstitutionFormat2Subtable *) this);
++ if( LE_FAILURE(success) ) { return 0; }
++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success);
+ }
+
+ case 3:
+ {
+- const ChainingContextualSubstitutionFormat3Subtable *subtable = (const ChainingContextualSubstitutionFormat3Subtable *) this;
+- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success);
++ LEReferenceTo<ChainingContextualSubstitutionFormat3Subtable> subtable(base, success, (const ChainingContextualSubstitutionFormat3Subtable *) this);
++ if( LE_FAILURE(success) ) { return 0; }
++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success);
+ }
+
+ default:
+@@ -390,7 +419,7 @@
+ // emptyFeatureList matches an le_uint32 or an le_uint16...
+ static const FeatureMask emptyFeatureList = 0x00000000UL;
+
+-le_uint32 ChainingContextualSubstitutionFormat1Subtable::process(const LookupProcessor *lookupProcessor,
++le_uint32 ChainingContextualSubstitutionFormat1Subtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+ LEErrorCode& success) const
+@@ -410,8 +439,8 @@
+
+ if (coverageIndex < srSetCount) {
+ Offset chainSubRuleSetTableOffset = SWAPW(chainSubRuleSetTableOffsetArray[coverageIndex]);
+- const ChainSubRuleSetTable *chainSubRuleSetTable =
+- (const ChainSubRuleSetTable *) ((char *) this + chainSubRuleSetTableOffset);
++ LEReferenceTo<ChainSubRuleSetTable>
++ chainSubRuleSetTable(base, success, (const ChainSubRuleSetTable *) ((char *) this + chainSubRuleSetTableOffset));
+ le_uint16 chainSubRuleCount = SWAPW(chainSubRuleSetTable->chainSubRuleCount);
+ le_int32 position = glyphIterator->getCurrStreamPosition();
+ GlyphIterator tempIterator(*glyphIterator, emptyFeatureList);
+@@ -419,13 +448,19 @@
+ for (le_uint16 subRule = 0; subRule < chainSubRuleCount; subRule += 1) {
+ Offset chainSubRuleTableOffset =
+ SWAPW(chainSubRuleSetTable->chainSubRuleTableOffsetArray[subRule]);
+- const ChainSubRuleTable *chainSubRuleTable =
+- (const ChainSubRuleTable *) ((char *) chainSubRuleSetTable + chainSubRuleTableOffset);
++ LEReferenceTo<ChainSubRuleTable>
++ chainSubRuleTable = LEReferenceTo<ChainSubRuleTable>(chainSubRuleSetTable, success, chainSubRuleTableOffset);
++ if( LE_FAILURE(success) ) { return 0; }
+ le_uint16 backtrackGlyphCount = SWAPW(chainSubRuleTable->backtrackGlyphCount);
++ LEReferenceToArrayOf<TTGlyphID> backtrackGlyphArray(base, success, chainSubRuleTable->backtrackGlyphArray, backtrackGlyphCount);
++ if( LE_FAILURE(success) ) { return 0; }
+ le_uint16 inputGlyphCount = (le_uint16) SWAPW(chainSubRuleTable->backtrackGlyphArray[backtrackGlyphCount]) - 1;
+- const TTGlyphID *inputGlyphArray = &chainSubRuleTable->backtrackGlyphArray[backtrackGlyphCount + 1];
++ LEReferenceToArrayOf<TTGlyphID> inputGlyphArray(base, success, &chainSubRuleTable->backtrackGlyphArray[backtrackGlyphCount + 1], inputGlyphCount+2);
++
++ if( LE_FAILURE(success) ) { return 0; }
+ le_uint16 lookaheadGlyphCount = (le_uint16) SWAPW(inputGlyphArray[inputGlyphCount]);
+- const TTGlyphID *lookaheadGlyphArray = &inputGlyphArray[inputGlyphCount + 1];
++ LEReferenceToArrayOf<TTGlyphID> lookaheadGlyphArray(base, success, inputGlyphArray.getAlias(inputGlyphCount + 1,success), lookaheadGlyphCount+2);
++ if( LE_FAILURE(success) ) { return 0; }
+ le_uint16 substCount = (le_uint16) SWAPW(lookaheadGlyphArray[lookaheadGlyphCount]);
+
+ tempIterator.setCurrStreamPosition(position);
+@@ -435,7 +470,8 @@
+ }
+
+ tempIterator.prev();
+- if (! matchGlyphIDs(chainSubRuleTable->backtrackGlyphArray, backtrackGlyphCount, &tempIterator, TRUE)) {
++
++ if (! matchGlyphIDs(backtrackGlyphArray, backtrackGlyphCount, &tempIterator, TRUE)) {
+ continue;
+ }
+
+@@ -446,8 +482,8 @@
+ }
+
+ if (matchGlyphIDs(inputGlyphArray, inputGlyphCount, glyphIterator)) {
+- const SubstitutionLookupRecord *substLookupRecordArray =
+- (const SubstitutionLookupRecord *) &lookaheadGlyphArray[lookaheadGlyphCount + 1];
++ LEReferenceToArrayOf<SubstitutionLookupRecord>
++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) lookaheadGlyphArray.getAlias(lookaheadGlyphCount + 1,success), substCount);
+
+ applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success);
+
+@@ -464,7 +500,7 @@
+ return 0;
+ }
+
+-le_uint32 ChainingContextualSubstitutionFormat2Subtable::process(const LookupProcessor *lookupProcessor,
++le_uint32 ChainingContextualSubstitutionFormat2Subtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+ LEErrorCode& success) const
+@@ -480,19 +516,21 @@
+ }
+
+ if (coverageIndex >= 0) {
+- const ClassDefinitionTable *backtrackClassDefinitionTable =
+- (const ClassDefinitionTable *) ((char *) this + SWAPW(backtrackClassDefTableOffset));
+- const ClassDefinitionTable *inputClassDefinitionTable =
+- (const ClassDefinitionTable *) ((char *) this + SWAPW(inputClassDefTableOffset));
+- const ClassDefinitionTable *lookaheadClassDefinitionTable =
+- (const ClassDefinitionTable *) ((char *) this + SWAPW(lookaheadClassDefTableOffset));
++ LEReferenceTo<ClassDefinitionTable>
++ backtrackClassDefinitionTable(base, success, (const ClassDefinitionTable *) ((char *) this + SWAPW(backtrackClassDefTableOffset)));
++ LEReferenceTo<ClassDefinitionTable>
++ inputClassDefinitionTable(base, success, (const ClassDefinitionTable *) ((char *) this + SWAPW(inputClassDefTableOffset)));
++ LEReferenceTo<ClassDefinitionTable>
++ lookaheadClassDefinitionTable(base, success, (const ClassDefinitionTable *) ((char *) this + SWAPW(lookaheadClassDefTableOffset)));
+ le_uint16 scSetCount = SWAPW(chainSubClassSetCount);
+- le_int32 setClass = inputClassDefinitionTable->getGlyphClass(glyphIterator->getCurrGlyphID());
++ le_int32 setClass = inputClassDefinitionTable->getGlyphClass(inputClassDefinitionTable,
++ glyphIterator->getCurrGlyphID(),
++ success);
+
+ if (setClass < scSetCount && chainSubClassSetTableOffsetArray[setClass] != 0) {
+ Offset chainSubClassSetTableOffset = SWAPW(chainSubClassSetTableOffsetArray[setClass]);
+- const ChainSubClassSetTable *chainSubClassSetTable =
+- (const ChainSubClassSetTable *) ((char *) this + chainSubClassSetTableOffset);
++ LEReferenceTo<ChainSubClassSetTable>
++ chainSubClassSetTable(base, success, (const ChainSubClassSetTable *) ((char *) this + chainSubClassSetTableOffset));
+ le_uint16 chainSubClassRuleCount = SWAPW(chainSubClassSetTable->chainSubClassRuleCount);
+ le_int32 position = glyphIterator->getCurrStreamPosition();
+ GlyphIterator tempIterator(*glyphIterator, emptyFeatureList);
+@@ -500,13 +538,15 @@
+ for (le_uint16 scRule = 0; scRule < chainSubClassRuleCount; scRule += 1) {
+ Offset chainSubClassRuleTableOffset =
+ SWAPW(chainSubClassSetTable->chainSubClassRuleTableOffsetArray[scRule]);
+- const ChainSubClassRuleTable *chainSubClassRuleTable =
+- (const ChainSubClassRuleTable *) ((char *) chainSubClassSetTable + chainSubClassRuleTableOffset);
++ LEReferenceTo<ChainSubClassRuleTable>
++ chainSubClassRuleTable(chainSubClassSetTable, success, chainSubClassRuleTableOffset);
+ le_uint16 backtrackGlyphCount = SWAPW(chainSubClassRuleTable->backtrackGlyphCount);
+ le_uint16 inputGlyphCount = SWAPW(chainSubClassRuleTable->backtrackClassArray[backtrackGlyphCount]) - 1;
+- const le_uint16 *inputClassArray = &chainSubClassRuleTable->backtrackClassArray[backtrackGlyphCount + 1];
+- le_uint16 lookaheadGlyphCount = SWAPW(inputClassArray[inputGlyphCount]);
+- const le_uint16 *lookaheadClassArray = &inputClassArray[inputGlyphCount + 1];
++ LEReferenceToArrayOf<le_uint16> inputClassArray(base, success, &chainSubClassRuleTable->backtrackClassArray[backtrackGlyphCount + 1],inputGlyphCount+2); // +2 for the lookaheadGlyphCount count
++ le_uint16 lookaheadGlyphCount = SWAPW(inputClassArray.getObject(inputGlyphCount, success));
++ LEReferenceToArrayOf<le_uint16> lookaheadClassArray(base, success, inputClassArray.getAlias(inputGlyphCount + 1,success), lookaheadGlyphCount+2); // +2 for the substCount
++
++ if( LE_FAILURE(success) ) { return 0; }
+ le_uint16 substCount = SWAPW(lookaheadClassArray[lookaheadGlyphCount]);
+
+
+@@ -517,20 +557,22 @@
+ }
+
+ tempIterator.prev();
+- if (! matchGlyphClasses(chainSubClassRuleTable->backtrackClassArray, backtrackGlyphCount,
+- &tempIterator, backtrackClassDefinitionTable, TRUE)) {
++ LEReferenceToArrayOf<le_uint16> backtrackClassArray(base, success, chainSubClassRuleTable->backtrackClassArray, backtrackGlyphCount);
++ if( LE_FAILURE(success) ) { return 0; }
++ if (! matchGlyphClasses(backtrackClassArray, backtrackGlyphCount,
++ &tempIterator, backtrackClassDefinitionTable, success, TRUE)) {
+ continue;
+ }
+
+ tempIterator.setCurrStreamPosition(position);
+ tempIterator.next(inputGlyphCount);
+- if (! matchGlyphClasses(lookaheadClassArray, lookaheadGlyphCount, &tempIterator, lookaheadClassDefinitionTable)) {
++ if (! matchGlyphClasses(lookaheadClassArray, lookaheadGlyphCount, &tempIterator, lookaheadClassDefinitionTable, success)) {
+ continue;
+ }
+
+- if (matchGlyphClasses(inputClassArray, inputGlyphCount, glyphIterator, inputClassDefinitionTable)) {
+- const SubstitutionLookupRecord *substLookupRecordArray =
+- (const SubstitutionLookupRecord *) &lookaheadClassArray[lookaheadGlyphCount + 1];
++ if (matchGlyphClasses(inputClassArray, inputGlyphCount, glyphIterator, inputClassDefinitionTable, success)) {
++ LEReferenceToArrayOf<SubstitutionLookupRecord>
++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) lookaheadClassArray.getAlias(lookaheadGlyphCount + 1, success), substCount);
+
+ applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success);
+
+@@ -547,7 +589,7 @@
+ return 0;
+ }
+
+-le_uint32 ChainingContextualSubstitutionFormat3Subtable::process(const LookupProcessor *lookupProcessor,
++le_uint32 ChainingContextualSubstitutionFormat3Subtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+ LEErrorCode & success) const
+@@ -558,9 +600,13 @@
+
+ le_uint16 backtrkGlyphCount = SWAPW(backtrackGlyphCount);
+ le_uint16 inputGlyphCount = (le_uint16) SWAPW(backtrackCoverageTableOffsetArray[backtrkGlyphCount]);
+- const Offset *inputCoverageTableOffsetArray = &backtrackCoverageTableOffsetArray[backtrkGlyphCount + 1];
++ LEReferenceToArrayOf<Offset> inputCoverageTableOffsetArray(base, success, &backtrackCoverageTableOffsetArray[backtrkGlyphCount + 1], inputGlyphCount+2); // offset
+ const le_uint16 lookaheadGlyphCount = (le_uint16) SWAPW(inputCoverageTableOffsetArray[inputGlyphCount]);
+- const Offset *lookaheadCoverageTableOffsetArray = &inputCoverageTableOffsetArray[inputGlyphCount + 1];
++
++ if( LE_FAILURE(success) ) { return 0; }
++ LEReferenceToArrayOf<Offset> lookaheadCoverageTableOffsetArray(base, success, inputCoverageTableOffsetArray.getAlias(inputGlyphCount + 1, success), lookaheadGlyphCount+2);
++
++ if( LE_FAILURE(success) ) { return 0; }
+ le_uint16 substCount = (le_uint16) SWAPW(lookaheadCoverageTableOffsetArray[lookaheadGlyphCount]);
+ le_int32 position = glyphIterator->getCurrStreamPosition();
+ GlyphIterator tempIterator(*glyphIterator, emptyFeatureList);
+@@ -571,14 +617,14 @@
+
+ tempIterator.prev();
+ if (! ContextualSubstitutionBase::matchGlyphCoverages(backtrackCoverageTableOffsetArray,
+- backtrkGlyphCount, &tempIterator, (const char *) this, TRUE)) {
++ backtrkGlyphCount, &tempIterator, base, success, TRUE)) {
+ return 0;
+ }
+
+ tempIterator.setCurrStreamPosition(position);
+ tempIterator.next(inputGlyphCount - 1);
+ if (! ContextualSubstitutionBase::matchGlyphCoverages(lookaheadCoverageTableOffsetArray,
+- lookaheadGlyphCount, &tempIterator, (const char *) this)) {
++ lookaheadGlyphCount, &tempIterator, base, success)) {
+ return 0;
+ }
+
+@@ -589,9 +635,10 @@
+ glyphIterator->prev();
+
+ if (ContextualSubstitutionBase::matchGlyphCoverages(inputCoverageTableOffsetArray,
+- inputGlyphCount, glyphIterator, (const char *) this)) {
+- const SubstitutionLookupRecord *substLookupRecordArray =
+- (const SubstitutionLookupRecord *) &lookaheadCoverageTableOffsetArray[lookaheadGlyphCount + 1];
++ inputGlyphCount, glyphIterator, base, success)) {
++ LEReferenceToArrayOf<SubstitutionLookupRecord>
++ substLookupRecordArray(base, success,
++ (const SubstitutionLookupRecord *) lookaheadCoverageTableOffsetArray.getAlias(lookaheadGlyphCount + 1,success), substCount);
+
+ ContextualSubstitutionBase::applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success);
+
+--- ./jdk/src/share/native/sun/font/layout/ContextualSubstSubtables.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ContextualSubstSubtables.h Thu Dec 19 09:01:16 2013 -0800
+@@ -56,20 +56,32 @@
+ struct ContextualSubstitutionBase : GlyphSubstitutionSubtable
+ {
+ static le_bool matchGlyphIDs(
+- const TTGlyphID *glyphArray, le_uint16 glyphCount, GlyphIterator *glyphIterator,
++ const LEReferenceToArrayOf<TTGlyphID> &glyphArray, le_uint16 glyphCount, GlyphIterator *glyphIterator,
+ le_bool backtrack = FALSE);
+
+ static le_bool matchGlyphClasses(
+- const le_uint16 *classArray, le_uint16 glyphCount, GlyphIterator *glyphIterator,
+- const ClassDefinitionTable *classDefinitionTable, le_bool backtrack = FALSE);
++ const LEReferenceToArrayOf<le_uint16> &classArray, le_uint16 glyphCount, GlyphIterator *glyphIterator,
++ const LEReferenceTo<ClassDefinitionTable> &classDefinitionTable, LEErrorCode &success, le_bool backtrack = FALSE);
+
+ static le_bool matchGlyphCoverages(
++ const LEReferenceToArrayOf<Offset> &coverageTableOffsetArray, le_uint16 glyphCount,
++ GlyphIterator *glyphIterator, const LETableReference& offsetBase, LEErrorCode &success, le_bool backtrack = FALSE);
++
++ /**
++ * little shim to wrap the Offset array in range checking
++ * @private
++ */
++ static le_bool matchGlyphCoverages(
+ const Offset *coverageTableOffsetArray, le_uint16 glyphCount,
+- GlyphIterator *glyphIterator, const char *offsetBase, le_bool backtrack = FALSE);
++ GlyphIterator *glyphIterator, const LETableReference& offsetBase, LEErrorCode &success, le_bool backtrack = FALSE) {
++ LEReferenceToArrayOf<Offset> ref(offsetBase, success, coverageTableOffsetArray, glyphCount);
++ if( LE_FAILURE(success) ) { return FALSE; }
++ return matchGlyphCoverages(ref, glyphCount, glyphIterator, offsetBase, success, backtrack);
++ }
+
+ static void applySubstitutionLookups(
+ const LookupProcessor *lookupProcessor,
+- const SubstitutionLookupRecord *substLookupRecordArray,
++ const LEReferenceToArrayOf<SubstitutionLookupRecord>& substLookupRecordArray,
+ le_uint16 substCount,
+ GlyphIterator *glyphIterator,
+ const LEFontInstance *fontInstance,
+@@ -79,7 +91,8 @@
+
+ struct ContextualSubstitutionSubtable : ContextualSubstitutionBase
+ {
+- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor,
++ GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+
+ struct ContextualSubstitutionFormat1Subtable : ContextualSubstitutionSubtable
+@@ -87,7 +100,8 @@
+ le_uint16 subRuleSetCount;
+ Offset subRuleSetTableOffsetArray[ANY_NUMBER];
+
+- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+ LE_VAR_ARRAY(ContextualSubstitutionFormat1Subtable, subRuleSetTableOffsetArray)
+
+@@ -116,7 +130,7 @@
+ le_uint16 subClassSetCount;
+ Offset subClassSetTableOffsetArray[ANY_NUMBER];
+
+- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+ LE_VAR_ARRAY(ContextualSubstitutionFormat2Subtable, subClassSetTableOffsetArray)
+
+@@ -152,13 +166,15 @@
+ Offset coverageTableOffsetArray[ANY_NUMBER];
+ //SubstitutionLookupRecord substLookupRecord[ANY_NUMBER];
+
+- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+ LE_VAR_ARRAY(ContextualSubstitutionFormat3Subtable, coverageTableOffsetArray)
+
+ struct ChainingContextualSubstitutionSubtable : ContextualSubstitutionBase
+ {
+- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
++ le_uint32 process(const LEReferenceTo<ChainingContextualSubstitutionSubtable> &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+
+ struct ChainingContextualSubstitutionFormat1Subtable : ChainingContextualSubstitutionSubtable
+@@ -166,7 +182,8 @@
+ le_uint16 chainSubRuleSetCount;
+ Offset chainSubRuleSetTableOffsetArray[ANY_NUMBER];
+
+- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+ LE_VAR_ARRAY(ChainingContextualSubstitutionFormat1Subtable, chainSubRuleSetTableOffsetArray)
+
+@@ -201,7 +218,8 @@
+ le_uint16 chainSubClassSetCount;
+ Offset chainSubClassSetTableOffsetArray[ANY_NUMBER];
+
+- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+ LE_VAR_ARRAY(ChainingContextualSubstitutionFormat2Subtable, chainSubClassSetTableOffsetArray)
+
+@@ -243,7 +261,8 @@
+ //le_uint16 substCount;
+ //SubstitutionLookupRecord substLookupRecord[ANY_NUMBER];
+
+- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor,
++ GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+ LE_VAR_ARRAY(ChainingContextualSubstitutionFormat3Subtable, backtrackCoverageTableOffsetArray)
+
+--- ./jdk/src/share/native/sun/font/layout/CoverageTables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/CoverageTables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -37,8 +37,10 @@
+
+ U_NAMESPACE_BEGIN
+
+-le_int32 CoverageTable::getGlyphCoverage(LEGlyphID glyphID) const
++le_int32 CoverageTable::getGlyphCoverage(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) const
+ {
++ if(LE_FAILURE(success)) return -1;
++
+ switch(SWAPW(coverageFormat))
+ {
+ case 0:
+@@ -46,16 +48,16 @@
+
+ case 1:
+ {
+- const CoverageFormat1Table *f1Table = (const CoverageFormat1Table *) this;
++ LEReferenceTo<CoverageFormat1Table> f1Table(base, success);
+
+- return f1Table->getGlyphCoverage(glyphID);
++ return f1Table->getGlyphCoverage(f1Table, glyphID, success);
+ }
+
+ case 2:
+ {
+- const CoverageFormat2Table *f2Table = (const CoverageFormat2Table *) this;
++ LEReferenceTo<CoverageFormat2Table> f2Table(base, success);
+
+- return f2Table->getGlyphCoverage(glyphID);
++ return f2Table->getGlyphCoverage(f2Table, glyphID, success);
+ }
+
+ default:
+@@ -63,8 +65,10 @@
+ }
+ }
+
+-le_int32 CoverageFormat1Table::getGlyphCoverage(LEGlyphID glyphID) const
++le_int32 CoverageFormat1Table::getGlyphCoverage(LEReferenceTo<CoverageFormat1Table> &base, LEGlyphID glyphID, LEErrorCode &success) const
+ {
++ if(LE_FAILURE(success)) return -1;
++
+ TTGlyphID ttGlyphID = (TTGlyphID) LE_GET_GLYPH(glyphID);
+ le_uint16 count = SWAPW(glyphCount);
+ le_uint8 bit = OpenTypeUtilities::highBit(count);
+@@ -77,6 +81,10 @@
+ return -1;
+ }
+
++ LEReferenceToArrayOf<TTGlyphID>(base, success, glyphArray, count);
++ if(LE_FAILURE(success)) return -1; // range checks array
++
++
+ if (SWAPW(glyphArray[extra]) <= ttGlyphID) {
+ index = extra;
+ }
+@@ -96,14 +104,18 @@
+ return -1;
+ }
+
+-le_int32 CoverageFormat2Table::getGlyphCoverage(LEGlyphID glyphID) const
++le_int32 CoverageFormat2Table::getGlyphCoverage(LEReferenceTo<CoverageFormat2Table> &base, LEGlyphID glyphID, LEErrorCode &success) const
+ {
++ if(LE_FAILURE(success)) return -1;
++
+ TTGlyphID ttGlyphID = (TTGlyphID) LE_GET_GLYPH(glyphID);
+ le_uint16 count = SWAPW(rangeCount);
++
++ LEReferenceToArrayOf<GlyphRangeRecord> rangeRecordArrayRef(base, success, rangeRecordArray, count);
+ le_int32 rangeIndex =
+- OpenTypeUtilities::getGlyphRangeIndex(ttGlyphID, rangeRecordArray, count);
++ OpenTypeUtilities::getGlyphRangeIndex(ttGlyphID, rangeRecordArrayRef, success);
+
+- if (rangeIndex < 0) {
++ if (rangeIndex < 0 || LE_FAILURE(success)) { // could fail if array out of bounds
+ return -1;
+ }
+
+--- ./jdk/src/share/native/sun/font/layout/CoverageTables.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/CoverageTables.h Thu Dec 19 09:01:16 2013 -0800
+@@ -46,7 +46,7 @@
+ {
+ le_uint16 coverageFormat;
+
+- le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
++ le_int32 getGlyphCoverage(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) const;
+ };
+
+ struct CoverageFormat1Table : CoverageTable
+@@ -54,7 +54,7 @@
+ le_uint16 glyphCount;
+ TTGlyphID glyphArray[ANY_NUMBER];
+
+- le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
++ le_int32 getGlyphCoverage(LEReferenceTo<CoverageFormat1Table> &base, LEGlyphID glyphID, LEErrorCode &success) const;
+ };
+ LE_VAR_ARRAY(CoverageFormat1Table, glyphArray)
+
+@@ -64,7 +64,7 @@
+ le_uint16 rangeCount;
+ GlyphRangeRecord rangeRecordArray[ANY_NUMBER];
+
+- le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
++ le_int32 getGlyphCoverage(LEReferenceTo<CoverageFormat2Table> &base, LEGlyphID glyphID, LEErrorCode &success) const;
+ };
+ LE_VAR_ARRAY(CoverageFormat2Table, rangeRecordArray)
+
+--- ./jdk/src/share/native/sun/font/layout/CursiveAttachmentSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/CursiveAttachmentSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -51,23 +51,27 @@
+ }
+
+ LEPoint entryAnchor, exitAnchor;
+- Offset entryOffset = SWAPW(entryExitRecords[coverageIndex].entryAnchor); // TODO
++ Offset entryOffset = SWAPW(entryExitRecords[coverageIndex].entryAnchor);
+ Offset exitOffset = SWAPW(entryExitRecords[coverageIndex].exitAnchor);
+
+ if (entryOffset != 0) {
+- const AnchorTable *entryAnchorTable = (const AnchorTable *) ((char *) this + entryOffset);
++ LEReferenceTo<AnchorTable> entryAnchorTable(base, success, entryOffset);
+
+- entryAnchorTable->getAnchor(glyphID, fontInstance, entryAnchor);
++ if( LE_SUCCESS(success) ) {
++ entryAnchorTable->getAnchor(entryAnchorTable, glyphID, fontInstance, entryAnchor, success);
+ glyphIterator->setCursiveEntryPoint(entryAnchor);
++ }
+ } else {
+ //glyphIterator->clearCursiveEntryPoint();
+ }
+
+ if (exitOffset != 0) {
+- const AnchorTable *exitAnchorTable = (const AnchorTable *) ((char *) this + exitOffset);
++ LEReferenceTo<AnchorTable> exitAnchorTable(base, success, exitOffset);
+
+- exitAnchorTable->getAnchor(glyphID, fontInstance, exitAnchor);
++ if( LE_SUCCESS(success) ) {
++ exitAnchorTable->getAnchor(exitAnchorTable, glyphID, fontInstance, exitAnchor, success);
+ glyphIterator->setCursiveExitPoint(exitAnchor);
++ }
+ } else {
+ //glyphIterator->clearCursiveExitPoint();
+ }
+--- ./jdk/src/share/native/sun/font/layout/DeviceTables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/DeviceTables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -43,7 +43,7 @@
+
+ #define FORMAT_COUNT LE_ARRAY_SIZE(fieldBits)
+
+-le_int16 DeviceTable::getAdjustment(le_uint16 ppem) const
++le_int16 DeviceTable::getAdjustment(const LEReferenceTo<DeviceTable>&base, le_uint16 ppem, LEErrorCode &success) const
+ {
+ le_uint16 start = SWAPW(startSize);
+ le_uint16 format = SWAPW(deltaFormat) - 1;
+@@ -53,6 +53,13 @@
+ le_uint16 sizeIndex = ppem - start;
+ le_uint16 bits = fieldBits[format];
+ le_uint16 count = 16 / bits;
++
++ LEReferenceToArrayOf<le_uint16> deltaValuesRef(base, success, deltaValues, (sizeIndex / count));
++
++ if(LE_FAILURE(success)) {
++ return result;
++ }
++
+ le_uint16 word = SWAPW(deltaValues[sizeIndex / count]);
+ le_uint16 fieldIndex = sizeIndex % count;
+ le_uint16 shift = 16 - (bits * (fieldIndex + 1));
+--- ./jdk/src/share/native/sun/font/layout/DeviceTables.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/DeviceTables.h Thu Dec 19 09:01:16 2013 -0800
+@@ -50,7 +50,7 @@
+ le_uint16 deltaFormat;
+ le_uint16 deltaValues[ANY_NUMBER];
+
+- le_int16 getAdjustment(le_uint16 ppem) const;
++ le_int16 getAdjustment(const LEReferenceTo<DeviceTable> &base, le_uint16 ppem, LEErrorCode &success) const;
+
+ private:
+ static const le_uint16 fieldMasks[];
+--- ./jdk/src/share/native/sun/font/layout/ExtensionSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ExtensionSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -48,7 +48,6 @@
+ const LookupProcessor *lookupProcessor, le_uint16 lookupType,
+ GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const
+ {
+-
+ if (LE_FAILURE(success)) {
+ return 0;
+ }
+--- ./jdk/src/share/native/sun/font/layout/ExtensionSubtables.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ExtensionSubtables.h Thu Dec 19 09:01:16 2013 -0800
+@@ -52,8 +52,7 @@
+ le_uint16 extensionLookupType;
+ le_uint32 extensionOffset;
+
+- le_uint32 process(const LEReferenceTo<ExtensionSubtable> &extRef,
+- const LookupProcessor *lookupProcessor, le_uint16 lookupType,
++ le_uint32 process(const LEReferenceTo<ExtensionSubtable> &base, const LookupProcessor *lookupProcessor, le_uint16 lookupType,
+ GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const;
+ };
+
+--- ./jdk/src/share/native/sun/font/layout/GDEFMarkFilter.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/GDEFMarkFilter.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -49,9 +49,9 @@
+ // nothing to do?
+ }
+
+-le_bool GDEFMarkFilter::accept(LEGlyphID glyph) const
++le_bool GDEFMarkFilter::accept(LEGlyphID glyph, LEErrorCode &success) const
+ {
+- le_int32 glyphClass = classDefTable->getGlyphClass(glyph);
++ le_int32 glyphClass = classDefTable->getGlyphClass(classDefTable, glyph, success);
+
+ return glyphClass == gcdMarkGlyph;
+ }
+--- ./jdk/src/share/native/sun/font/layout/GDEFMarkFilter.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/GDEFMarkFilter.h Thu Dec 19 09:01:16 2013 -0800
+@@ -55,7 +55,7 @@
+ GDEFMarkFilter(const LEReferenceTo<GlyphDefinitionTableHeader> &gdefTable, LEErrorCode &success);
+ virtual ~GDEFMarkFilter();
+
+- virtual le_bool accept(LEGlyphID glyph) const;
++ virtual le_bool accept(LEGlyphID glyph, LEErrorCode &success) const;
+ };
+
+ U_NAMESPACE_END
+--- ./jdk/src/share/native/sun/font/layout/GlyphIterator.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/GlyphIterator.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -41,14 +41,13 @@
+ U_NAMESPACE_BEGIN
+
+ GlyphIterator::GlyphIterator(LEGlyphStorage &theGlyphStorage, GlyphPositionAdjustments *theGlyphPositionAdjustments, le_bool rightToLeft, le_uint16 theLookupFlags,
+- FeatureMask theFeatureMask, const LEReferenceTo<GlyphDefinitionTableHeader> &theGlyphDefinitionTableHeader)
++ FeatureMask theFeatureMask, const LEReferenceTo<GlyphDefinitionTableHeader> &theGlyphDefinitionTableHeader, LEErrorCode &success)
+ : direction(1), position(-1), nextLimit(-1), prevLimit(-1),
+ glyphStorage(theGlyphStorage), glyphPositionAdjustments(theGlyphPositionAdjustments),
+ srcIndex(-1), destIndex(-1), lookupFlags(theLookupFlags), featureMask(theFeatureMask), glyphGroup(0),
+ glyphClassDefinitionTable(), markAttachClassDefinitionTable()
+
+ {
+- LEErrorCode success = LE_NO_ERROR; // TODO
+ le_int32 glyphCount = glyphStorage.getGlyphCount();
+
+ if (theGlyphDefinitionTableHeader.isValid()) {
+--- ./jdk/src/share/native/sun/font/layout/GlyphIterator.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/GlyphIterator.h Thu Dec 19 09:01:16 2013 -0800
+@@ -49,7 +49,7 @@
+ class GlyphIterator : public UMemory {
+ public:
+ GlyphIterator(LEGlyphStorage &theGlyphStorage, GlyphPositionAdjustments *theGlyphPositionAdjustments, le_bool rightToLeft, le_uint16 theLookupFlags,
+- FeatureMask theFeatureMask, const LEReferenceTo<GlyphDefinitionTableHeader> &theGlyphDefinitionTableHeader);
++ FeatureMask theFeatureMask, const LEReferenceTo<GlyphDefinitionTableHeader> &theGlyphDefinitionTableHeader, LEErrorCode &success);
+
+ GlyphIterator(GlyphIterator &that);
+
+--- ./jdk/src/share/native/sun/font/layout/GlyphPosnLookupProc.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/GlyphPosnLookupProc.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -95,6 +95,8 @@
+
+ le_uint32 delta = 0;
+
++ //_LETRACE("attempting lookupType #%d", lookupType);
++
+ switch(lookupType)
+ {
+ case 0:
+@@ -152,21 +154,21 @@
+ {
+ LEReferenceTo<ContextualPositioningSubtable> subtable(lookupSubtable, success);
+
+- delta = subtable->process(this, glyphIterator, fontInstance, success);
++ delta = subtable->process(subtable, this , glyphIterator, fontInstance, success);
+ break;
+ }
+
+ case gpstChainedContext:
+ {
+- LEReferenceTo<ChainingContextualPositioningSubtable> subtable(lookupSubtable, success);
++ const LEReferenceTo<ChainingContextualPositioningSubtable> subtable(lookupSubtable, success);
+
+- delta = subtable->process(this, glyphIterator, fontInstance, success);
++ delta = subtable->process(subtable, this, glyphIterator, fontInstance, success);
+ break;
+ }
+
+ case gpstExtension:
+ {
+- LEReferenceTo<ExtensionSubtable> subtable(lookupSubtable, success);
++ const LEReferenceTo<ExtensionSubtable> subtable(lookupSubtable, success);
+
+ delta = subtable->process(subtable, this, lookupType, glyphIterator, fontInstance, success);
+ break;
+@@ -176,6 +178,12 @@
+ break;
+ }
+
++#if LE_TRACE
++ if(delta != 0) {
++ _LETRACE("GlyphPositioningLookupProcessor applied #%d -> delta %d @ %d", lookupType, delta, glyphIterator->getCurrStreamPosition());
++ }
++#endif
++
+ return delta;
+ }
+
+--- ./jdk/src/share/native/sun/font/layout/GlyphSubstLookupProc.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/GlyphSubstLookupProc.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -123,7 +123,7 @@
+ {
+ const LEReferenceTo<ContextualSubstitutionSubtable> subtable(lookupSubtable, success);
+
+- delta = subtable->process(this, glyphIterator, fontInstance, success);
++ delta = subtable->process(subtable, this, glyphIterator, fontInstance, success);
+ break;
+ }
+
+@@ -131,7 +131,7 @@
+ {
+ const LEReferenceTo<ChainingContextualSubstitutionSubtable> subtable(lookupSubtable, success);
+
+- delta = subtable->process(this, glyphIterator, fontInstance, success);
++ delta = subtable->process(subtable, this, glyphIterator, fontInstance, success);
+ break;
+ }
+
+--- ./jdk/src/share/native/sun/font/layout/IndicLayoutEngine.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/IndicLayoutEngine.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -44,7 +44,7 @@
+ #include "LEGlyphStorage.h"
+
+ #include "IndicReordering.h"
+-#include <stdio.h>
++
+ U_NAMESPACE_BEGIN
+
+ UOBJECT_DEFINE_RTTI_IMPLEMENTATION(IndicOpenTypeLayoutEngine)
+@@ -90,6 +90,7 @@
+ return 0;
+ }
+
++ _LETRACE("IOTLE::gp, calling parent");
+ le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success);
+
+ if (LE_FAILURE(success)) {
+@@ -97,10 +98,14 @@
+ }
+
+ if (fVersion2) {
++ _LETRACE("IOTLE::gp, v2 final,");
+ IndicReordering::finalReordering(glyphStorage,retCount);
++ _LETRACE("IOTLE::gp, v2 pres");
+ IndicReordering::applyPresentationForms(glyphStorage,retCount);
++ _LETRACE("IOTLE::gp, parent gsub");
+ OpenTypeLayoutEngine::glyphSubstitution(count,max, rightToLeft, glyphStorage, success);
+ } else {
++ _LETRACE("IOTLE::gp, adjust mpres");
+ IndicReordering::adjustMPres(fMPreFixups, glyphStorage, success);
+ }
+ return retCount;
+@@ -116,6 +121,8 @@
+ return 0;
+ }
+
++ _LETRACE("IOTLE: charProc");
++
+ if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
+ success = LE_ILLEGAL_ARGUMENT_ERROR;
+ return 0;
+@@ -143,8 +150,10 @@
+
+ le_int32 outCharCount;
+ if (fVersion2) {
++ _LETRACE("v2process");
+ outCharCount = IndicReordering::v2process(&chars[offset], count, fScriptCode, outChars, glyphStorage);
+ } else {
++ _LETRACE("reorder");
+ outCharCount = IndicReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage, &fMPreFixups, success);
+ }
+
+--- ./jdk/src/share/native/sun/font/layout/KernTable.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/KernTable.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -39,7 +39,7 @@
+
+ #include <stdio.h>
+
+-#define DEBUG 0
++#define DEBUG_KERN_TABLE 0
+
+ U_NAMESPACE_BEGIN
+
+@@ -99,14 +99,14 @@
+ : pairsSwapped(NULL), fTable(base)
+ {
+ if(LE_FAILURE(success) || (fTable.isEmpty())) {
+-#if DEBUG
++#if DEBUG_KERN_TABLE
+ fprintf(stderr, "no kern data\n");
+ #endif
+ return;
+ }
+ LEReferenceTo<KernTableHeader> header(fTable, success);
+
+-#if DEBUG
++#if DEBUG_KERN_TABLE
+ // dump first 32 bytes of header
+ for (int i = 0; i < 64; ++i) {
+ fprintf(stderr, "%0.2x ", ((const char*)header.getAlias())[i]&0xff);
+@@ -171,13 +171,13 @@
+ fprintf(stderr, " searchRange: %d entrySelector: %d rangeShift: %d\n", searchRange, entrySelector, rangeShift);
+ fprintf(stderr, "[[ ignored font table entries: range %d selector %d shift %d ]]\n", SWAPW(table->searchRange), SWAPW(table->entrySelector), SWAPW(table->rangeShift));
+ #endif
+-#if DEBUG
++#if DEBUG_KERN_TABLE
+ fprintf(stderr, "coverage: %0.4x nPairs: %d pairs 0x%x\n", coverage, nPairs, pairsSwapped);
+ fprintf(stderr,
+ " searchRange(pairs): %d entrySelector: %d rangeShift(pairs): %d\n",
+ searchRange, entrySelector, rangeShift);
+
+- {
++ if (LE_SUCCESS(success)) {
+ // dump part of the pair list
+ char ids[256];
+ for (int i = 256; --i >= 0;) {
+@@ -242,7 +242,7 @@
+ p = tp;
+ }
+
+-#if DEBUG
++#if DEBUG_KERN_TABLE
+ fprintf(stderr, "binary search for %0.8x\n", key);
+ #endif
+
+@@ -251,13 +251,13 @@
+ probe >>= 1;
+ tp = (const PairInfo*)(p + (probe/KERN_PAIRINFO_SIZE));
+ le_uint32 tkey = tp->key;
+-#if DEBUG
++#if DEBUG_KERN_TABLE
+ fprintf(stdout, " %.3d (%0.8x)\n", (tp - pairsSwapped), tkey);
+ #endif
+ if (tkey <= key) {
+ if (tkey == key) {
+ le_int16 value = SWAPW(tp->value);
+-#if DEBUG
++#if DEBUG_KERN_TABLE
+ fprintf(stdout, "binary found kerning pair %x:%x at %d, value: 0x%x (%g)\n",
+ storage[i-1], storage[i], i, value & 0xffff, font->xUnitsToPoints(value));
+ fflush(stdout);
+--- ./jdk/src/share/native/sun/font/layout/LEFontInstance.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LEFontInstance.h Thu Dec 19 09:01:16 2013 -0800
+@@ -181,6 +181,10 @@
+ *
+ * Subclasses which represent composite fonts should always return <code>NULL</code>.
+ *
++ * Note that implementing this function does not allow for range checking.
++ * Subclasses that desire the safety of range checking must implement the
++ * variation which has a length parameter.
++ *
+ * @param tableTag - the four byte table tag. (e.g. 'cmap')
+ *
+ * @return the address of the table in memory, or <code>NULL</code>
+@@ -200,6 +204,8 @@
+ * Subclasses which represent composite fonts should always return <code>NULL</code>.
+ *
+ * This version sets a length, for range checking.
++ * Note that range checking can only be accomplished if this function is
++ * implemented in subclasses.
+ *
+ * @param tableTag - the four byte table tag. (e.g. 'cmap')
+ * @param length - ignored on entry, on exit will be the length of the table if known, or -1 if unknown.
+@@ -572,5 +578,3 @@
+
+ U_NAMESPACE_END
+ #endif
+-
+-
+--- ./jdk/src/share/native/sun/font/layout/LEGlyphFilter.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LEGlyphFilter.h Thu Dec 19 09:01:16 2013 -0800
+@@ -62,7 +62,7 @@
+ *
+ * @internal
+ */
+- virtual le_bool accept(LEGlyphID glyph) const = 0;
++ virtual le_bool accept(LEGlyphID glyph, LEErrorCode &success) const = 0;
+ };
+ #endif /* U_HIDE_INTERNAL_API */
+
+--- ./jdk/src/share/native/sun/font/layout/LEGlyphStorage.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LEGlyphStorage.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -458,7 +458,7 @@
+ success = LE_INDEX_OUT_OF_BOUNDS_ERROR;
+ return;
+ }
+-
++ _LETRACE("set%-4d\t(%.2f, %.2f)", glyphIndex, x, y);
+ fPositions[glyphIndex * 2] = x;
+ fPositions[glyphIndex * 2 + 1] = y;
+ }
+@@ -694,4 +694,3 @@
+ }
+
+ U_NAMESPACE_END
+-
+--- ./jdk/src/share/native/sun/font/layout/LEGlyphStorage.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LEGlyphStorage.h Thu Dec 19 09:01:16 2013 -0800
+@@ -568,4 +568,3 @@
+
+ U_NAMESPACE_END
+ #endif
+-
+--- ./jdk/src/share/native/sun/font/layout/LEScripts.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LEScripts.h Thu Dec 19 09:01:16 2013 -0800
+@@ -30,7 +30,7 @@
+ * WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS
+ * YOU REALLY KNOW WHAT YOU'RE DOING.
+ *
+- * Generated on: 10/26/2010 02:53:33 PM PDT
++ * Generated on: 11/01/2011 04:08:09 PM PDT
+ */
+
+ #ifndef __LESCRIPTS_H
+@@ -262,7 +262,16 @@
+ khojScriptCode = 157,
+ tirhScriptCode = 158,
+
+- scriptCodeCount = 159
++/**
++ * @stable ICU 52
++ */
++ aghbScriptCode = 159,
++ mahjScriptCode = 160,
++
++/**
++ * @stable ICU 2.2
++ */
++ scriptCodeCount
+ };
+
+ U_NAMESPACE_END
+--- ./jdk/src/share/native/sun/font/layout/LEStandalone.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LEStandalone.h Thu Dec 19 09:01:16 2013 -0800
+@@ -132,6 +132,9 @@
+ #define uprv_memcpy memcpy
+ #define uprv_realloc realloc
+
++#define U_EXPORT2
++#define U_CAPI extern "C"
++
+ #if !defined(U_IS_BIG_ENDIAN)
+ #ifdef _LITTLE_ENDIAN
+ #define U_IS_BIG_ENDIAN 0
+--- ./jdk/src/share/native/sun/font/layout/LETableReference.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LETableReference.h Thu Dec 19 09:01:16 2013 -0800
+@@ -38,34 +38,47 @@
+ #include "LETypes.h"
+ #include "LEFontInstance.h"
+
++/**
++ * \def LE_ENABLE_RAW
++ * If this is 1, enables old non-safe raw access
++ */
++#ifndef LE_ENABLE_RAW
++#define LE_ENABLE_RAW 0
++#endif
+
+-#define kQuestionmarkTableTag 0x3F3F3F3FUL
+-#define kTildeTableTag 0x7e7e7e7eUL
++#define kQuestionmarkTableTag 0x3F3F3F3FUL /* ???? */
++#define kStaticTableTag 0x30303030UL /* 0000 */
++#define kTildeTableTag 0x7e7e7e7eUL /* ~~~~ */
+ #ifdef __cplusplus
+
+ // internal - interface for range checking
+ U_NAMESPACE_BEGIN
+
+ #if LE_ASSERT_BAD_FONT
++
++#ifndef LE_TRACE_TR
++#define LE_TRACE_TR 0
++#endif
++
+ class LETableReference; // fwd
+ /**
+ * defined in OpenTypeUtilities.cpp
+ * @internal
+ */
+-extern void _debug_LETableReference(const char *f, int l, const char *msg, const LETableReference *what, const void *ptr, size_t len);
++U_CAPI void U_EXPORT2 _debug_LETableReference(const char *f, int l, const char *msg, const LETableReference *what, const void *ptr, size_t len);
+
+ #define LE_DEBUG_TR(x) _debug_LETableReference(__FILE__, __LINE__, x, this, NULL, 0);
+ #define LE_DEBUG_TR3(x,y,z) _debug_LETableReference(__FILE__, __LINE__, x, this, (const void*)y, (size_t)z);
+-#if 0
+-#define LE_TRACE_TR(x) _debug_LETableReference(__FILE__, __LINE__, x, this, NULL, 0);
++#if LE_TRACE_TR
++#define _TRTRACE(x) _debug_LETableReference(__FILE__, __LINE__, x, this, NULL, 0);
+ #else
+-#define LE_TRACE_TR(x)
++#define _TRTRACE(x)
+ #endif
+
+ #else
+ #define LE_DEBUG_TR(x)
+ #define LE_DEBUG_TR3(x,y,z)
+-#define LE_TRACE_TR(x)
++#define _TRTRACE(x)
+ #endif
+
+ /**
+@@ -73,6 +86,13 @@
+ */
+ class LETableReference {
+ public:
++
++ /**
++ * Dummy enum asserting that a value is actually static data
++ * and does not need to be range checked
++ */
++ enum EStaticData { kStaticData = 0 };
++
+ /**
+ * @internal
+ * Construct from a specific tag
+@@ -80,28 +100,42 @@
+ LETableReference(const LEFontInstance* font, LETag tableTag, LEErrorCode &success) :
+ fFont(font), fTag(tableTag), fParent(NULL), fStart(NULL),fLength(LE_UINTPTR_MAX) {
+ loadTable(success);
+- LE_TRACE_TR("INFO: new table load")
++ _TRTRACE("INFO: new table load")
+ }
+
+ LETableReference(const LETableReference &parent, LEErrorCode &success) : fFont(parent.fFont), fTag(parent.fTag), fParent(&parent), fStart(parent.fStart), fLength(parent.fLength) {
+ if(LE_FAILURE(success)) {
+ clear();
+ }
+- LE_TRACE_TR("INFO: new clone")
++ _TRTRACE("INFO: new clone")
+ }
+
++#if LE_ENABLE_RAW
++ /**
++ * Construct without a parent LETR.
++ */
+ LETableReference(const le_uint8* data, size_t length = LE_UINTPTR_MAX) :
+ fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(data), fLength(length) {
+- LE_TRACE_TR("INFO: new raw")
++ _TRTRACE("INFO: new raw")
+ }
++#endif
++
++ /**
++ * Construct without a parent LETR.
++ */
++ LETableReference(EStaticData /* NOTUSED */, const le_uint8* data, size_t length) :
++ fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(data), fLength(length) {
++ _TRTRACE("INFO: new EStaticData")
++ }
++
+ LETableReference() :
+ fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(NULL), fLength(0) {
+- LE_TRACE_TR("INFO: new empty")
++ _TRTRACE("INFO: new empty")
+ }
+
+ ~LETableReference() {
+- fTag=kTildeTableTag;
+- LE_TRACE_TR("INFO: new dtor")
++ fTag= (LETag)kTildeTableTag;
++ _TRTRACE("INFO: new dtor")
+ }
+
+ /**
+@@ -127,7 +161,7 @@
+ fLength = (fParent->fLength) - offset; // decrement length as base address is incremented
+ }
+ if(fLength != LE_UINTPTR_MAX) { // if we have bounds:
+- if(offset+fLength > fParent->fLength) {
++ if((offset+fLength < offset) || (offset+fLength > fParent->fLength)) {
+ LE_DEBUG_TR3("offset+fLength out of range: (%p) +%d", NULL, offset+fLength);
+ err = LE_INDEX_OUT_OF_BOUNDS_ERROR; // exceeded
+ clear();
+@@ -137,11 +171,13 @@
+ } else {
+ clear();
+ }
+- LE_TRACE_TR("INFO: new subset")
++ _TRTRACE("INFO: new subset")
+ }
+
+ const void* getAlias() const { return (const void*)fStart; }
+- const void* getAliasTODO() const { LE_DEBUG_TR("getAliasTODO()"); return (const void*)fStart; }
++#ifndef LE_ENABLE_RAW
++ const void* getAliasRAW() const { LE_DEBUG_TR("getAliasRAW()"); return (const void*)fStart; }
++#endif
+ le_bool isEmpty() const { return fStart==NULL || fLength==0; }
+ le_bool isValid() const { return !isEmpty(); }
+ le_bool hasBounds() const { return fLength!=LE_UINTPTR_MAX; }
+@@ -234,7 +270,18 @@
+
+ void setRaw(const void *data, size_t length = LE_UINTPTR_MAX) {
+ fFont = NULL;
+- fTag = kQuestionmarkTableTag;
++ fTag = (LETag)kQuestionmarkTableTag;
++ fParent = NULL;
++ fStart = (const le_uint8*)data;
++ fLength = length;
++ }
++
++ /**
++ * set this object pointing to static data
++ */
++ void setTo(EStaticData /*notused*/, const void *data, size_t length) {
++ fFont = NULL;
++ fTag = (LETag)kStaticTableTag;
+ fParent = NULL;
+ fStart = (const le_uint8*)data;
+ fLength = length;
+@@ -277,97 +324,6 @@
+ * Open a new entry based on an existing table
+ */
+
+-/**
+- * \def LE_UNBOUNDED_ARRAY
+- * define an array with no *known* bound. Will trim to available size.
+- * @internal
+- */
+-#define LE_UNBOUNDED_ARRAY LE_UINT32_MAX
+-
+-template<class T>
+-class LEReferenceToArrayOf : public LETableReference {
+-public:
+- LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, size_t offset, le_uint32 count)
+- : LETableReference(parent, offset, LE_UINTPTR_MAX, success), fCount(count) {
+- LE_TRACE_TR("INFO: new RTAO by offset")
+- if(LE_SUCCESS(success)) {
+- if(count == LE_UNBOUNDED_ARRAY) { // not a known length
+- count = getLength()/LETableVarSizer<T>::getSize(); // fit to max size
+- }
+- LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*count, success);
+- }
+- if(LE_FAILURE(success)) {
+- fCount=0;
+- clear();
+- }
+- }
+-
+- LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, const T* array, le_uint32 count)
+- : LETableReference(parent, parent.ptrToOffset(array, success), LE_UINTPTR_MAX, success), fCount(count) {
+-LE_TRACE_TR("INFO: new RTAO")
+- if(LE_SUCCESS(success)) {
+- if(count == LE_UNBOUNDED_ARRAY) { // not a known length
+- count = getLength()/LETableVarSizer<T>::getSize(); // fit to max size
+- }
+- LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*count, success);
+- }
+- if(LE_FAILURE(success)) clear();
+- }
+- LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, const T* array, size_t offset, le_uint32 count)
+- : LETableReference(parent, parent.ptrToOffset(array, success)+offset, LE_UINTPTR_MAX, success), fCount(count) {
+-LE_TRACE_TR("INFO: new RTAO")
+- if(LE_SUCCESS(success)) {
+- if(count == LE_UNBOUNDED_ARRAY) { // not a known length
+- count = getLength()/LETableVarSizer<T>::getSize(); // fit to max size
+- }
+- LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*count, success);
+- }
+- if(LE_FAILURE(success)) clear();
+- }
+-
+- LEReferenceToArrayOf() :LETableReference(), fCount(0) {}
+-
+- le_uint32 getCount() const { return fCount; }
+-
+- using LETableReference::getAlias;
+-
+- const T *getAlias(le_uint32 i, LEErrorCode &success) const {
+- return ((const T*)(((const char*)getAlias())+getOffsetFor(i, success)));
+- }
+-
+- const T *getAliasTODO() const { LE_DEBUG_TR("getAliasTODO<>"); return (const T*)fStart; }
+-
+- const T& getObject(le_uint32 i, LEErrorCode &success) const {
+- return *getAlias(i,success);
+- }
+-
+- const T& operator()(le_uint32 i, LEErrorCode &success) const {
+- return *getAlias(i,success);
+- }
+-
+- size_t getOffsetFor(le_uint32 i, LEErrorCode &success) const {
+- if(LE_SUCCESS(success)&&i<getCount()) {
+- return LETableVarSizer<T>::getSize()*i;
+- } else {
+- success = LE_INDEX_OUT_OF_BOUNDS_ERROR;
+- }
+- return 0;
+- }
+-
+- LEReferenceToArrayOf<T> &reparent(const LETableReference &base) {
+- fParent = &base;
+- return *this;
+- }
+-
+- LEReferenceToArrayOf(const LETableReference& parent, LEErrorCode & success) : LETableReference(parent,0, LE_UINTPTR_MAX, success), fCount(0) {
+- LE_TRACE_TR("INFO: null RTAO")
+- }
+-
+-private:
+- le_uint32 fCount;
+-};
+-
+-
+ template<class T>
+ class LEReferenceTo : public LETableReference {
+ public:
+@@ -405,14 +361,26 @@
+ verifyLength(0, LETableVarSizer<T>::getSize(), success);
+ if(LE_FAILURE(success)) clear();
+ }
++#if LE_ENABLE_RAW
+ inline LEReferenceTo(const le_uint8 *data, size_t length = LE_UINTPTR_MAX) : LETableReference(data, length) {}
+ inline LEReferenceTo(const T *data, size_t length = LE_UINTPTR_MAX) : LETableReference((const le_uint8*)data, length) {}
+- inline LEReferenceTo() : LETableReference(NULL) {}
++#endif
++ inline LEReferenceTo(EStaticData staticData, const le_uint8 *data, size_t length) : LETableReference(staticData, data, length) {}
++ inline LEReferenceTo(EStaticData staticData, const T *data, size_t length) : LETableReference(staticData, (const le_uint8*)data, length) {}
+
++ inline LEReferenceTo() : LETableReference() {}
++
++#if LE_ENABLE_RAW
+ inline LEReferenceTo<T>& operator=(const T* other) {
+ setRaw(other);
+ return *this;
+ }
++#endif
++
++ LEReferenceTo<T>& setTo(LETableReference::EStaticData staticData, const T* other, size_t length) {
++ LETableReference::setTo(staticData, other, length);
++ return *this;
++ }
+
+ LEReferenceTo<T> &reparent(const LETableReference &base) {
+ fParent = &base;
+@@ -431,11 +399,135 @@
+ }
+
+ const T *operator->() const { return getAlias(); }
++ const T *operator*() const { return getAlias(); }
+ const T *getAlias() const { return (const T*)fStart; }
+- const T *getAliasTODO() const { LE_DEBUG_TR("getAliasTODO<>"); return (const T*)fStart; }
++#if LE_ENABLE_RAW
++ const T *getAliasRAW() const { LE_DEBUG_TR("getAliasRAW<>"); return (const T*)fStart; }
++#endif
++
+ };
+
+
++/**
++ * \def LE_UNBOUNDED_ARRAY
++ * define an array with no *known* bound. Will trim to available size.
++ * @internal
++ */
++#define LE_UNBOUNDED_ARRAY LE_UINT32_MAX
++
++template<class T>
++class LEReferenceToArrayOf : public LETableReference {
++public:
++ LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, size_t offset, le_uint32 count)
++ : LETableReference(parent, offset, LE_UINTPTR_MAX, success), fCount(count) {
++ _TRTRACE("INFO: new RTAO by offset")
++ if(LE_SUCCESS(success)) {
++ if(fCount == LE_UNBOUNDED_ARRAY) { // not a known length
++ fCount = getLength()/LETableVarSizer<T>::getSize(); // fit to max size
++ }
++ LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*fCount, success);
++ }
++ if(LE_FAILURE(success)) {
++ fCount=0;
++ clear();
++ }
++ }
++
++ LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, const T* array, le_uint32 count)
++ : LETableReference(parent, parent.ptrToOffset(array, success), LE_UINTPTR_MAX, success), fCount(count) {
++_TRTRACE("INFO: new RTAO")
++ if(LE_SUCCESS(success)) {
++ if(fCount == LE_UNBOUNDED_ARRAY) { // not a known length
++ fCount = getLength()/LETableVarSizer<T>::getSize(); // fit to max size
++ }
++ LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*fCount, success);
++ }
++ if(LE_FAILURE(success)) clear();
++ }
++ LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, const T* array, size_t offset, le_uint32 count)
++ : LETableReference(parent, parent.ptrToOffset(array, success)+offset, LE_UINTPTR_MAX, success), fCount(count) {
++_TRTRACE("INFO: new RTAO")
++ if(LE_SUCCESS(success)) {
++ if(fCount == LE_UNBOUNDED_ARRAY) { // not a known length
++ fCount = getLength()/LETableVarSizer<T>::getSize(); // fit to max size
++ }
++ LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*fCount, success);
++ }
++ if(LE_FAILURE(success)) clear();
++ }
++
++ LEReferenceToArrayOf() :LETableReference(), fCount(0) {}
++
++ le_uint32 getCount() const { return fCount; }
++
++ const T *getAlias() const { return (const T*)fStart; }
++
++ const T *getAlias(le_uint32 i, LEErrorCode &success) const {
++ return ((const T*)(((const char*)getAlias())+getOffsetFor(i, success)));
++ }
++
++#ifndef LE_ENABLE_RAW
++ const T *getAliasRAW() const { LE_DEBUG_TR("getAliasRAW<>"); return (const T*)fStart; }
++#endif
++
++ const T& getObject(le_uint32 i, LEErrorCode &success) const {
++ return *getAlias(i,success);
++ }
++
++ /**
++ * by-value array accessor for integral types.
++ */
++ const T operator[](le_uint32 i) const {
++ LEErrorCode success = LE_NO_ERROR;
++ const T *ret = getAlias(i, success);
++ if(LE_FAILURE(success) || ret==NULL) {
++#if LE_ASSERT_BAD_FONT
++ LE_DEBUG_TR3("Range error, out of bounds? (%p) #%d", NULL, i);
++#endif
++ return T(0); // will not work for all types.
++ }
++ return *ret;
++ }
++
++ const LEReferenceTo<T> getReference(le_uint32 i, LEErrorCode &success) const {
++ if(LE_FAILURE(success)) return LEReferenceTo<T>();
++ return LEReferenceTo<T>(*this, success, getAlias(i,success));
++ }
++
++ const T& operator()(le_uint32 i, LEErrorCode &success) const {
++ return *getAlias(i,success);
++ }
++
++ size_t getOffsetFor(le_uint32 i, LEErrorCode &success) const {
++ if(LE_SUCCESS(success)&&i<getCount()) {
++ return LETableVarSizer<T>::getSize()*i;
++ } else {
++ LE_DEBUG_TR3("getOffsetFor failed (%p) index=%d",NULL, i);
++ success = LE_INDEX_OUT_OF_BOUNDS_ERROR;
++ }
++ return 0;
++ }
++
++ LEReferenceToArrayOf<T> &reparent(const LETableReference &base) {
++ fParent = &base;
++ return *this;
++ }
++
++ LEReferenceToArrayOf(const LETableReference& parent, LEErrorCode & success) : LETableReference(parent,0, LE_UINTPTR_MAX, success), fCount(0) {
++ _TRTRACE("INFO: null RTAO")
++ }
++
++private:
++ le_uint32 fCount;
++};
++
++
++
++
++#ifdef _TRTRACE
++#undef _TRTRACE
++#endif
++
+ U_NAMESPACE_END
+
+ #endif
+--- ./jdk/src/share/native/sun/font/layout/LETypes.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LETypes.h Thu Dec 19 09:01:16 2013 -0800
+@@ -337,6 +337,20 @@
+ typedef struct LEPoint LEPoint;
+ #endif
+
++/**
++ * \def LE_TRACE
++ * @internal
++ */
++#ifndef LE_TRACE
++# define LE_TRACE 0
++#endif
++
++#if LE_TRACE
++# include <stdio.h>
++# define _LETRACE printf("\n%s:%d: LE: ", __FILE__, __LINE__),printf
++#else
++# define _LETRACE 0&&
++#endif
+
+ #ifndef U_HIDE_INTERNAL_API
+
+@@ -701,6 +715,12 @@
+ LE_FEATURE_ENUM_MAX = LE_CHAR_FILTER_FEATURE_ENUM
+ };
+
++
++/**
++ * Flags for typographic features.
++ * @internal
++ * @{
++ */
+ #define LE_Kerning_FEATURE_FLAG (1 << LE_Kerning_FEATURE_ENUM)
+ #define LE_Ligatures_FEATURE_FLAG (1 << LE_Ligatures_FEATURE_ENUM)
+ #define LE_NoCanon_FEATURE_FLAG (1 << LE_NoCanon_FEATURE_ENUM)
+@@ -727,6 +747,9 @@
+ #define LE_SS07_FEATURE_FLAG (1 << LE_SS07_FEATURE_ENUM)
+
+ #define LE_CHAR_FILTER_FEATURE_FLAG (1 << LE_CHAR_FILTER_FEATURE_ENUM)
++/**
++ * @}
++ */
+
+ #define LE_DEFAULT_FEATURE_FLAG (LE_Kerning_FEATURE_FLAG | LE_Ligatures_FEATURE_FLAG) /**< default features */
+
+@@ -768,7 +791,7 @@
+ *
+ * @stable ICU 2.4
+ */
+-#ifndef LE_FAILURE
++#ifndef LE_SUCCESS
+ #define LE_SUCCESS(code) (U_SUCCESS((UErrorCode)code))
+ #endif
+
+@@ -781,4 +804,4 @@
+ #define LE_FAILURE(code) (U_FAILURE((UErrorCode)code))
+ #endif
+
+-#endif /* __LETYPES_H */
++#endif
+--- ./jdk/src/share/native/sun/font/layout/LayoutEngine.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LayoutEngine.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -156,7 +156,7 @@
+ CanonMarkFilter(const LEReferenceTo<GlyphDefinitionTableHeader> &gdefTable, LEErrorCode &success);
+ virtual ~CanonMarkFilter();
+
+- virtual le_bool accept(LEGlyphID glyph) const;
++ virtual le_bool accept(LEGlyphID glyph, LEErrorCode &success) const;
+ };
+
+ CanonMarkFilter::CanonMarkFilter(const LEReferenceTo<GlyphDefinitionTableHeader> &gdefTable, LEErrorCode &success)
+@@ -169,9 +169,8 @@
+ // nothing to do?
+ }
+
+-le_bool CanonMarkFilter::accept(LEGlyphID glyph) const
++le_bool CanonMarkFilter::accept(LEGlyphID glyph, LEErrorCode &success) const
+ {
+- LEErrorCode success = LE_NO_ERROR;
+ le_int32 glyphClass = classDefTable->getGlyphClass(classDefTable, glyph, success);
+ if(LE_FAILURE(success)) return false;
+ return glyphClass != 0;
+@@ -263,7 +262,9 @@
+ return count;
+ }
+
+- LEReferenceTo<GlyphSubstitutionTableHeader> canonGSUBTable((GlyphSubstitutionTableHeader *) CanonShaping::glyphSubstitutionTable);
++ LEReferenceTo<GlyphSubstitutionTableHeader> canonGSUBTable(LETableReference::kStaticData,
++ (GlyphSubstitutionTableHeader *) CanonShaping::glyphSubstitutionTable,
++ CanonShaping::glyphSubstitutionTableLen);
+ LETag scriptTag = OpenTypeLayoutEngine::getScriptTag(fScriptCode);
+ LETag langSysTag = OpenTypeLayoutEngine::getLangSysTag(fLanguageCode);
+ le_int32 i, dir = 1, out = 0, outCharCount = count;
+@@ -323,7 +324,8 @@
+ LE_DELETE_ARRAY(reordered);
+ }
+
+- outCharCount = canonGSUBTable->process(canonGSUBTable, fakeGlyphStorage, rightToLeft, scriptTag, langSysTag, (const GlyphDefinitionTableHeader*)NULL, substitutionFilter, canonFeatureMap, canonFeatureMapCount, FALSE, success);
++ const LEReferenceTo<GlyphDefinitionTableHeader> noGDEF; // empty gdef header
++ outCharCount = canonGSUBTable->process(canonGSUBTable, fakeGlyphStorage, rightToLeft, scriptTag, langSysTag, noGDEF, substitutionFilter, canonFeatureMap, canonFeatureMapCount, FALSE, success);
+
+ if (LE_FAILURE(success)) {
+ delete substitutionFilter;
+@@ -403,10 +405,13 @@
+ LEPoint advance;
+
+ glyphStorage.setPosition(i, x, y, success);
++ _LETRACE("g#%-4d (%.2f, %.2f)", i, x, y);
+
+ fFontInstance->getGlyphAdvance(glyphStorage[i], advance);
+ x += advance.fX;
+ y += advance.fY;
++
++
+ }
+
+ glyphStorage.setPosition(glyphCount, x, y, success);
+@@ -424,7 +429,7 @@
+ return;
+ }
+
+- LEReferenceTo<GlyphDefinitionTableHeader> gdefTable((GlyphDefinitionTableHeader *) CanonShaping::glyphDefinitionTable,
++ LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(LETableReference::kStaticData, (GlyphDefinitionTableHeader *) CanonShaping::glyphDefinitionTable,
+ CanonShaping::glyphDefinitionTableLen);
+ CanonMarkFilter filter(gdefTable, success);
+
+@@ -464,9 +469,10 @@
+ glyphStorage.getGlyphPosition(p + 1, next, ignore, success);
+
+ xAdvance = next - prev;
++ _LETRACE("p#%d (%.2f,%.2f)", p, xAdvance, 0);
+ glyphStorage.adjustPosition(p, xAdjust, 0, success);
+
+- if (markFilter->accept(glyphStorage[p])) {
++ if (markFilter->accept(glyphStorage[p], success)) {
+ xAdjust -= xAdvance;
+ }
+
+@@ -506,9 +512,13 @@
+ glyphStorage.getGlyphPosition(p + 1, next, ignore, success);
+
+ xAdvance = next - prev;
++
++ _LETRACE("p#%d (%.2f,%.2f)", p, xAdvance, 0);
++
++
+ glyphStorage.adjustPosition(p, xAdjust, 0, success);
+
+- if (markFilter->accept(chars[c])) {
++ if (markFilter->accept(chars[c], success)) {
+ xAdjust -= xAdvance;
+ }
+
+@@ -662,8 +672,10 @@
+ break;
+ }
+ } else {
+- MorphTableHeader2 *morxTable = (MorphTableHeader2 *)fontInstance->getFontTable(morxTableTag);
+- if (morxTable != NULL && SWAPL(morxTable->version)==0x00020000) {
++ LEReferenceTo<MorphTableHeader2> morxTable(fontInstance, morxTableTag, success);
++ if (LE_SUCCESS(success) &&
++ morxTable.isValid() &&
++ SWAPL(morxTable->version)==0x00020000) {
+ result = new GXLayoutEngine2(fontInstance, scriptCode, languageCode, morxTable, typoFlags, success);
+ } else {
+ LEReferenceTo<MorphTableHeader> mortTable(fontInstance, mortTableTag, success);
+@@ -687,7 +699,6 @@
+ }
+
+ case arabScriptCode:
+- //case hebrScriptCode:
+ result = new UnicodeArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success);
+ break;
+
+--- ./jdk/src/share/native/sun/font/layout/LayoutEngine.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LayoutEngine.h Thu Dec 19 09:01:16 2013 -0800
+@@ -156,8 +156,8 @@
+ * @param fontInstance - the font for the text
+ * @param scriptCode - the script for the text
+ * @param languageCode - the language for the text
+- * @param typoFlags - the typographic control flags for the text. Set bit 1 if kerning
+- * is desired, set bit 2 if ligature formation is desired. Others are reserved.
++ * @param typoFlags - the typographic control flags for the text (a bitfield). Use kTypoFlagKern
++ * if kerning is desired, kTypoFlagLiga if ligature formation is desired. Others are reserved.
+ * @param success - set to an error code if the operation fails
+ *
+ * @see LEFontInstance
+--- ./jdk/src/share/native/sun/font/layout/LigatureSubstSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LigatureSubstSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -49,14 +49,20 @@
+ return 0;
+ }
+
+- if (coverageIndex >= 0) {
++ LEReferenceToArrayOf<Offset> ligSetTableOffsetArrayRef(base, success, ligSetTableOffsetArray, SWAPW(ligSetCount));
++
++ if (coverageIndex >= 0 && LE_SUCCESS(success) && (le_uint32)coverageIndex < ligSetTableOffsetArrayRef.getCount()) {
+ Offset ligSetTableOffset = SWAPW(ligSetTableOffsetArray[coverageIndex]);
+- const LigatureSetTable *ligSetTable = (const LigatureSetTable *) ((char *) this + ligSetTableOffset);
++ LEReferenceTo<LigatureSetTable> ligSetTable(base, success, ligSetTableOffset);
++
++ if( LE_FAILURE(success) ) { return 0; }
+ le_uint16 ligCount = SWAPW(ligSetTable->ligatureCount);
+
+- for (le_uint16 lig = 0; lig < ligCount; lig += 1) {
++ LEReferenceTo<Offset> ligatureTableOffsetArray(base, success, ligSetTable->ligatureTableOffsetArray, ligCount);
++ for (le_uint16 lig = 0; LE_SUCCESS(success) && lig < ligCount; lig += 1) {
+ Offset ligTableOffset = SWAPW(ligSetTable->ligatureTableOffsetArray[lig]);
+- const LigatureTable *ligTable = (const LigatureTable *) ((char *)ligSetTable + ligTableOffset);
++ LEReferenceTo<LigatureTable> ligTable(ligSetTable, success, ligTableOffset);
++ if(LE_FAILURE(success)) { return 0; }
+ le_uint16 compCount = SWAPW(ligTable->compCount) - 1;
+ le_int32 startPosition = glyphIterator->getCurrStreamPosition();
+ TTGlyphID ligGlyph = SWAPW(ligTable->ligGlyph);
+@@ -72,7 +78,7 @@
+ }
+ }
+
+- if (comp == compCount && (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, ligGlyph)))) {
++ if (comp == compCount && (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, ligGlyph), success))) {
+ GlyphIterator tempIterator(*glyphIterator);
+ TTGlyphID deletedGlyph = tempIterator.ignoresMarks()? 0xFFFE : 0xFFFF;
+
+--- ./jdk/src/share/native/sun/font/layout/LookupProcessor.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/LookupProcessor.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -60,8 +60,10 @@
+ LEReferenceTo<LookupSubtable> lookupSubtable = lookupTable->getLookupSubtable(lookupTable, subtable, success);
+
+ delta = applySubtable(lookupSubtable, lookupType, glyphIterator, fontInstance, success);
+-
+- if (delta > 0 || LE_FAILURE(success)) {
++ if (delta > 0 && LE_FAILURE(success)) {
++#if LE_TRACE
++ _LETRACE("Posn #%d, type %X, applied subtable #%d/%d - %s\n", startPosition, lookupType, subtable, subtableCount, u_errorName((UErrorCode)success));
++#endif
+ return 1;
+ }
+
+@@ -86,7 +88,7 @@
+ }
+
+ GlyphIterator glyphIterator(glyphStorage, glyphPositionAdjustments,
+- rightToLeft, 0, 0, glyphDefinitionTableHeader);
++ rightToLeft, 0, 0, glyphDefinitionTableHeader, success);
+ le_int32 newGlyphCount = glyphCount;
+
+ for (le_uint16 order = 0; order < lookupOrderCount && LE_SUCCESS(success); order += 1) {
+@@ -94,6 +96,7 @@
+ FeatureMask selectMask = lookupSelectArray[lookup];
+
+ if (selectMask != 0) {
++ _LETRACE("Processing order#%d/%d", order, lookupOrderCount);
+ const LEReferenceTo<LookupTable> lookupTable = lookupListTable->getLookupTable(lookupListTable, lookup, success);
+ if (!lookupTable.isValid() ||LE_FAILURE(success) ) {
+ continue;
+@@ -103,8 +106,11 @@
+ glyphIterator.reset(lookupFlags, selectMask);
+
+ while (glyphIterator.findFeatureTag()) {
+- applyLookupTable(lookupTable, &glyphIterator, fontInstance, success); // TODO
++ applyLookupTable(lookupTable, &glyphIterator, fontInstance, success);
+ if (LE_FAILURE(success)) {
++#if LE_TRACE
++ _LETRACE("Failure for lookup 0x%x - %s\n", lookup, u_errorName((UErrorCode)success));
++#endif
+ return 0;
+ }
+ }
+@@ -138,7 +144,7 @@
+ le_int32 LookupProcessor::selectLookups(const LEReferenceTo<FeatureTable> &featureTable, FeatureMask featureMask, le_int32 order, LEErrorCode &success)
+ {
+ le_uint16 lookupCount = featureTable.isValid()? SWAPW(featureTable->lookupCount) : 0;
+- le_int32 store = order;
++ le_uint32 store = (le_uint32)order;
+
+ LEReferenceToArrayOf<le_uint16> lookupListIndexArray(featureTable, success, featureTable->lookupListIndexArray, lookupCount);
+
+@@ -147,6 +153,9 @@
+ if (lookupListIndex >= lookupSelectCount) {
+ continue;
+ }
++ if (store >= lookupOrderCount) {
++ continue;
++ }
+
+ lookupSelectArray[lookupListIndex] |= featureMask;
+ lookupOrderArray[store++] = lookupListIndex;
+@@ -246,7 +255,7 @@
+
+ if (requiredFeatureIndex != 0xFFFF) {
+ requiredFeatureTable = featureListTable->getFeatureTable(featureListTable, requiredFeatureIndex, &requiredFeatureTag, success);
+- featureReferences += SWAPW(featureTable->lookupCount);
++ featureReferences += SWAPW(requiredFeatureTable->lookupCount);
+ }
+
+ lookupOrderArray = LE_NEW_ARRAY(le_uint16, featureReferences);
+@@ -254,6 +263,7 @@
+ success = LE_MEMORY_ALLOCATION_ERROR;
+ return;
+ }
++ lookupOrderCount = featureReferences;
+
+ for (le_int32 f = 0; f < featureMapCount; f += 1) {
+ FeatureMap fm = featureMap[f];
+--- ./jdk/src/share/native/sun/font/layout/Lookups.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/Lookups.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -65,7 +65,7 @@
+
+ if(LE_FAILURE(success)) return 0;
+
+- return coverageTable->getGlyphCoverage(glyphID);
++ return coverageTable->getGlyphCoverage(coverageTable, glyphID, success);
+ }
+
+ U_NAMESPACE_END
+--- ./jdk/src/share/native/sun/font/layout/MarkArrays.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/MarkArrays.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -38,20 +38,28 @@
+
+ U_NAMESPACE_BEGIN
+
+-le_int32 MarkArray::getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance,
+- LEPoint &anchor) const
++le_int32 MarkArray::getMarkClass(const LETableReference &base, LEGlyphID glyphID,
++ le_int32 coverageIndex, const LEFontInstance *fontInstance,
++ LEPoint &anchor, LEErrorCode &success) const
+ {
+ le_int32 markClass = -1;
+
+- if (coverageIndex >= 0) {
++ if ( coverageIndex >= 0 && LE_SUCCESS(success) ) {
+ le_uint16 mCount = SWAPW(markCount);
+-
+ if (coverageIndex < mCount) {
++ LEReferenceToArrayOf<MarkRecord> markRecordArrayRef(base, success, markRecordArray, mCount);
++ if(LE_FAILURE(success)) {
++ return markClass;
++ }
+ const MarkRecord *markRecord = &markRecordArray[coverageIndex];
+ Offset anchorTableOffset = SWAPW(markRecord->markAnchorTableOffset);
+- const AnchorTable *anchorTable = (AnchorTable *) ((char *) this + anchorTableOffset);
++ LEReferenceTo<AnchorTable> anchorTable(base, success, anchorTableOffset);
+
+- anchorTable->getAnchor(glyphID, fontInstance, anchor);
++ if(LE_FAILURE(success)) {
++ return markClass;
++ }
++
++ anchorTable->getAnchor(anchorTable, glyphID, fontInstance, anchor, success);
+ markClass = SWAPW(markRecord->markClass);
+ }
+
+--- ./jdk/src/share/native/sun/font/layout/MarkArrays.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/MarkArrays.h Thu Dec 19 09:01:16 2013 -0800
+@@ -54,8 +54,9 @@
+ le_uint16 markCount;
+ MarkRecord markRecordArray[ANY_NUMBER];
+
+- le_int32 getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance,
+- LEPoint &anchor) const;
++ le_int32 getMarkClass(const LETableReference &base, LEGlyphID glyphID,
++ le_int32 coverageIndex, const LEFontInstance *fontInstance,
++ LEPoint &anchor, LEErrorCode &success) const;
+ };
+ LE_VAR_ARRAY(MarkArray, markRecordArray)
+
+--- ./jdk/src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -66,11 +66,11 @@
+ }
+
+ LEPoint markAnchor;
+- const MarkArray *markArray = (const MarkArray *) ((char *) this + SWAPW(markArrayOffset));
+- le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor);
++ LEReferenceTo<MarkArray> markArray(base, success, (const MarkArray *) ((char *) this + SWAPW(markArrayOffset)));
++ le_int32 markClass = markArray->getMarkClass(markArray, markGlyph, markCoverage, fontInstance, markAnchor, success);
+ le_uint16 mcCount = SWAPW(classCount);
+
+- if (markClass < 0 || markClass >= mcCount) {
++ if (markClass < 0 || markClass >= mcCount || LE_FAILURE(success)) {
+ // markGlyph isn't in the mark array or its
+ // mark class is too big. The table is mal-formed!
+ return 0;
+@@ -80,7 +80,8 @@
+ GlyphIterator baseIterator(*glyphIterator, (le_uint16) (lfIgnoreMarks /*| lfIgnoreLigatures*/));
+ LEGlyphID baseGlyph = findBaseGlyph(&baseIterator);
+ le_int32 baseCoverage = getBaseCoverage(base, (LEGlyphID) baseGlyph, success);
+- const BaseArray *baseArray = (const BaseArray *) ((char *) this + SWAPW(baseArrayOffset));
++ LEReferenceTo<BaseArray> baseArray(base, success, (const BaseArray *) ((char *) this + SWAPW(baseArrayOffset)));
++ if(LE_FAILURE(success)) return 0;
+ le_uint16 baseCount = SWAPW(baseArray->baseRecordCount);
+
+ if (baseCoverage < 0 || baseCoverage >= baseCount) {
+@@ -89,19 +90,23 @@
+ // table is mal-formed...
+ return 0;
+ }
++ LEReferenceTo<BaseRecord> baseRecord(base, success, &baseArray->baseRecordArray[baseCoverage * mcCount]);
++ if( LE_FAILURE(success) ) { return 0; }
++ LEReferenceToArrayOf<Offset> baseAnchorTableOffsetArray(base, success, &(baseRecord->baseAnchorTableOffsetArray[0]), markClass+1);
+
+- const BaseRecord *baseRecord = &baseArray->baseRecordArray[baseCoverage * mcCount];
++ if( LE_FAILURE(success) ) { return 0; }
+ Offset anchorTableOffset = SWAPW(baseRecord->baseAnchorTableOffsetArray[markClass]);
+- const AnchorTable *anchorTable = (const AnchorTable *) ((char *) baseArray + anchorTableOffset);
+- LEPoint baseAnchor, markAdvance, pixels;
+-
+- if (anchorTableOffset == 0) {
++ if (anchorTableOffset <= 0) {
+ // this means the table is mal-formed...
+ glyphIterator->setCurrGlyphBaseOffset(baseIterator.getCurrStreamPosition());
+ return 0;
+ }
+
+- anchorTable->getAnchor(baseGlyph, fontInstance, baseAnchor);
++ LEReferenceTo<AnchorTable> anchorTable(baseArray, success, anchorTableOffset);
++ LEPoint baseAnchor, markAdvance, pixels;
++
++
++ anchorTable->getAnchor(anchorTable, baseGlyph, fontInstance, baseAnchor, success);
+
+ fontInstance->getGlyphAdvance(markGlyph, pixels);
+ fontInstance->pixelsToUnits(pixels, markAdvance);
+@@ -109,6 +114,8 @@
+ float anchorDiffX = baseAnchor.fX - markAnchor.fX;
+ float anchorDiffY = baseAnchor.fY - markAnchor.fY;
+
++ _LETRACE("Offset: (%.2f, %.2f) glyph 0x%X", anchorDiffX, anchorDiffY, markGlyph);
++
+ glyphIterator->setCurrGlyphBaseOffset(baseIterator.getCurrStreamPosition());
+
+ if (glyphIterator->isRightToLeft()) {
+@@ -132,7 +139,6 @@
+ gi.next();
+ }
+ // end of JK patch
+-
+ fontInstance->pixelsToUnits(pixels, baseAdvance);
+
+ glyphIterator->setCurrGlyphPositionAdjustment(anchorDiffX - baseAdvance.fX, anchorDiffY - baseAdvance.fY, -markAdvance.fX, -markAdvance.fY);
+--- ./jdk/src/share/native/sun/font/layout/MarkToLigaturePosnSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/MarkToLigaturePosnSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -65,8 +65,11 @@
+ }
+
+ LEPoint markAnchor;
+- const MarkArray *markArray = (const MarkArray *) ((char *) this + SWAPW(markArrayOffset));
+- le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor);
++ LEReferenceTo<MarkArray> markArray(base, success, SWAPW(markArrayOffset));
++ if( LE_FAILURE(success) ) {
++ return 0;
++ }
++ le_int32 markClass = markArray->getMarkClass(markArray, markGlyph, markCoverage, fontInstance, markAnchor, success);
+ le_uint16 mcCount = SWAPW(classCount);
+
+ if (markClass < 0 || markClass >= mcCount) {
+@@ -79,7 +82,7 @@
+ GlyphIterator ligatureIterator(*glyphIterator, (le_uint16) (lfIgnoreMarks /*| lfIgnoreBaseGlyphs*/));
+ LEGlyphID ligatureGlyph = findLigatureGlyph(&ligatureIterator);
+ le_int32 ligatureCoverage = getBaseCoverage(base, (LEGlyphID) ligatureGlyph, success);
+- const LigatureArray *ligatureArray = (const LigatureArray *) ((char *) this + SWAPW(baseArrayOffset));
++ LEReferenceTo<LigatureArray> ligatureArray(base, success, SWAPW(baseArrayOffset));
+ le_uint16 ligatureCount = SWAPW(ligatureArray->ligatureCount);
+
+ if (ligatureCoverage < 0 || ligatureCoverage >= ligatureCount) {
+@@ -91,7 +94,7 @@
+
+ le_int32 markPosition = glyphIterator->getCurrStreamPosition();
+ Offset ligatureAttachOffset = SWAPW(ligatureArray->ligatureAttachTableOffsetArray[ligatureCoverage]);
+- const LigatureAttachTable *ligatureAttachTable = (const LigatureAttachTable *) ((char *) ligatureArray + ligatureAttachOffset);
++ LEReferenceTo<LigatureAttachTable> ligatureAttachTable(ligatureArray, success, ligatureAttachOffset);
+ le_int32 componentCount = SWAPW(ligatureAttachTable->componentCount);
+ le_int32 component = ligatureIterator.getMarkComponent(markPosition);
+
+@@ -100,12 +103,14 @@
+ component = componentCount - 1;
+ }
+
+- const ComponentRecord *componentRecord = &ligatureAttachTable->componentRecordArray[component * mcCount];
++ LEReferenceTo<ComponentRecord> componentRecord(base, success, &ligatureAttachTable->componentRecordArray[component * mcCount]);
++ LEReferenceToArrayOf<Offset> ligatureAnchorTableOffsetArray(base, success, &(componentRecord->ligatureAnchorTableOffsetArray[0]), markClass+1);
++ if( LE_FAILURE(success) ) { return 0; }
+ Offset anchorTableOffset = SWAPW(componentRecord->ligatureAnchorTableOffsetArray[markClass]);
+- const AnchorTable *anchorTable = (const AnchorTable *) ((char *) ligatureAttachTable + anchorTableOffset);
++ LEReferenceTo<AnchorTable> anchorTable(ligatureAttachTable, success, anchorTableOffset);
+ LEPoint ligatureAnchor, markAdvance, pixels;
+
+- anchorTable->getAnchor(ligatureGlyph, fontInstance, ligatureAnchor);
++ anchorTable->getAnchor(anchorTable, ligatureGlyph, fontInstance, ligatureAnchor, success);
+
+ fontInstance->getGlyphAdvance(markGlyph, pixels);
+ fontInstance->pixelsToUnits(pixels, markAdvance);
+--- ./jdk/src/share/native/sun/font/layout/MarkToMarkPosnSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/MarkToMarkPosnSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -66,8 +66,11 @@
+ }
+
+ LEPoint markAnchor;
+- const MarkArray *markArray = (const MarkArray *) ((char *) this + SWAPW(markArrayOffset));
+- le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor);
++ LEReferenceTo<MarkArray> markArray(base, success, SWAPW(markArrayOffset));
++ if(LE_FAILURE(success)) {
++ return 0;
++ }
++ le_int32 markClass = markArray->getMarkClass(markArray, markGlyph, markCoverage, fontInstance, markAnchor, success);
+ le_uint16 mcCount = SWAPW(classCount);
+
+ if (markClass < 0 || markClass >= mcCount) {
+@@ -79,7 +82,8 @@
+ GlyphIterator mark2Iterator(*glyphIterator);
+ LEGlyphID mark2Glyph = findMark2Glyph(&mark2Iterator);
+ le_int32 mark2Coverage = getBaseCoverage(base, (LEGlyphID) mark2Glyph, success);
+- const Mark2Array *mark2Array = (const Mark2Array *) ((char *) this + SWAPW(baseArrayOffset));
++ LEReferenceTo<Mark2Array> mark2Array(base, success, (const Mark2Array *) ((char *) this + SWAPW(baseArrayOffset)));
++ if(LE_FAILURE(success)) return 0;
+ le_uint16 mark2Count = SWAPW(mark2Array->mark2RecordCount);
+
+ if (mark2Coverage < 0 || mark2Coverage >= mark2Count) {
+@@ -89,9 +93,11 @@
+ return 0;
+ }
+
+- const Mark2Record *mark2Record = &mark2Array->mark2RecordArray[mark2Coverage * mcCount];
++ LEReferenceTo<Mark2Record> mark2Record(base, success, &mark2Array->mark2RecordArray[mark2Coverage * mcCount]);
++ if(LE_FAILURE(success)) return 0;
+ Offset anchorTableOffset = SWAPW(mark2Record->mark2AnchorTableOffsetArray[markClass]);
+- const AnchorTable *anchorTable = (const AnchorTable *) ((char *) mark2Array + anchorTableOffset);
++ LEReferenceTo<AnchorTable> anchorTable(mark2Array, success, anchorTableOffset);
++ if(LE_FAILURE(success)) return 0;
+ LEPoint mark2Anchor, markAdvance, pixels;
+
+ if (anchorTableOffset == 0) {
+@@ -99,7 +105,7 @@
+ return 0;
+ }
+
+- anchorTable->getAnchor(mark2Glyph, fontInstance, mark2Anchor);
++ anchorTable->getAnchor(anchorTable, mark2Glyph, fontInstance, mark2Anchor, success);
+
+ fontInstance->getGlyphAdvance(markGlyph, pixels);
+ fontInstance->pixelsToUnits(pixels, markAdvance);
+@@ -107,6 +113,8 @@
+ float anchorDiffX = mark2Anchor.fX - markAnchor.fX;
+ float anchorDiffY = mark2Anchor.fY - markAnchor.fY;
+
++ _LETRACE("Offset: (%.2f, %.2f) glyph 0x%X mark2 0x%X", anchorDiffX, anchorDiffY, markGlyph, mark2Glyph);
++
+ glyphIterator->setCurrGlyphBaseOffset(mark2Iterator.getCurrStreamPosition());
+
+ if (glyphIterator->isRightToLeft()) {
+--- ./jdk/src/share/native/sun/font/layout/MultipleSubstSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/MultipleSubstSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -54,9 +54,10 @@
+ // FIXME: is this always the right thing to do?
+ // FIXME: should this only be done for a non-zero
+ // glyphCount?
+- if (filter != NULL && filter->accept(glyph)) {
++ if (filter != NULL && filter->accept(glyph, success)) {
+ return 0;
+ }
++ if(LE_FAILURE(success)) return 0;
+
+ le_int32 coverageIndex = getGlyphCoverage(base, glyph, success);
+ le_uint16 seqCount = SWAPW(sequenceCount);
+@@ -67,7 +68,7 @@
+
+ if (coverageIndex >= 0 && coverageIndex < seqCount) {
+ Offset sequenceTableOffset = SWAPW(sequenceTableOffsetArray[coverageIndex]);
+- const SequenceTable *sequenceTable = (const SequenceTable *) ((char *) this + sequenceTableOffset);
++ LEReferenceTo<SequenceTable> sequenceTable(base, success, sequenceTableOffset);
+ le_uint16 glyphCount = SWAPW(sequenceTable->glyphCount);
+
+ if (glyphCount == 0) {
+@@ -76,7 +77,7 @@
+ } else if (glyphCount == 1) {
+ TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[0]);
+
+- if (filter != NULL && ! filter->accept(LE_SET_GLYPH(glyph, substitute))) {
++ if (filter != NULL && ! filter->accept(LE_SET_GLYPH(glyph, substitute), success)) {
+ return 0;
+ }
+
+@@ -89,7 +90,7 @@
+ for (le_int32 i = 0; i < glyphCount; i += 1) {
+ TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[i]);
+
+- if (! filter->accept(substitute)) {
++ if (! filter->accept(substitute, success)) {
+ return 0;
+ }
+ }
+--- ./jdk/src/share/native/sun/font/layout/OpenTypeLayoutEngine.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/OpenTypeLayoutEngine.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -470,6 +470,7 @@
+ void OpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse,
+ LEGlyphStorage &glyphStorage, LEErrorCode &success)
+ {
++ _LETRACE("OTLE::adjustGPOS");
+ if (LE_FAILURE(success)) {
+ return;
+ }
+@@ -510,14 +511,17 @@
+ if (!fGPOSTable.isEmpty()) {
+ if (fScriptTagV2 != nullScriptTag &&
+ fGPOSTable->coversScriptAndLanguage(fGPOSTable, fScriptTagV2,fLangSysTag,success)) {
++ _LETRACE("OTLE::process [0]");
+ fGPOSTable->process(fGPOSTable, glyphStorage, adjustments, reverse, fScriptTagV2, fLangSysTag,
+ fGDEFTable, success, fFontInstance, fFeatureMap, fFeatureMapCount, fFeatureOrder);
+
+ } else {
++ _LETRACE("OTLE::process [1]");
+ fGPOSTable->process(fGPOSTable, glyphStorage, adjustments, reverse, fScriptTag, fLangSysTag,
+ fGDEFTable, success, fFontInstance, fFeatureMap, fFeatureMapCount, fFeatureOrder);
+ }
+ } else if (fTypoFlags & LE_Kerning_FEATURE_FLAG) { /* kerning enabled */
++ _LETRACE("OTLE::kerning");
+ LETableReference kernTable(fFontInstance, LE_KERN_TABLE_TAG, success);
+ KernTable kt(kernTable, success);
+ kt.process(glyphStorage, success);
+@@ -546,6 +550,7 @@
+
+ xPlacement = fFontInstance->xUnitsToPoints(xPlacement);
+ yPlacement = fFontInstance->yUnitsToPoints(yPlacement);
++ _LETRACE("OTLE GPOS: #%d, (%.2f,%.2f)", i, xPlacement, yPlacement);
+ glyphStorage.adjustPosition(i, xAdjust + xPlacement, -(yAdjust + yPlacement), success);
+
+ xAdjust += fFontInstance->xUnitsToPoints(xAdvance);
+--- ./jdk/src/share/native/sun/font/layout/OpenTypeUtilities.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/OpenTypeUtilities.h Thu Dec 19 09:01:16 2013 -0800
+@@ -46,15 +46,14 @@
+ public:
+ static le_int8 highBit(le_int32 value);
+ static Offset getTagOffset(LETag tag, const LEReferenceToArrayOf<TagAndOffsetRecord> &records, LEErrorCode &success);
+- /**
+- * @deprecated TODO remove
+- */
++#if LE_ENABLE_RAW
+ static le_int32 getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, le_int32 recordCount) {
+ LEErrorCode success = LE_NO_ERROR;
+ LETableReference recordRef0((const le_uint8*)records);
+ LEReferenceToArrayOf<GlyphRangeRecord> recordRef(recordRef0, success, (size_t)0, recordCount);
+ return getGlyphRangeIndex(glyphID, recordRef, success);
+ }
++#endif
+ static le_int32 getGlyphRangeIndex(TTGlyphID glyphID, const LEReferenceToArrayOf<GlyphRangeRecord> &records, LEErrorCode &success);
+ static le_int32 search(le_uint16 value, const le_uint16 array[], le_int32 count);
+ static le_int32 search(le_uint32 value, const le_uint32 array[], le_int32 count);
+--- ./jdk/src/share/native/sun/font/layout/PairPositioningSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/PairPositioningSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -76,19 +76,17 @@
+ {
+ LEGlyphID firstGlyph = glyphIterator->getCurrGlyphID();
+ le_int32 coverageIndex = getGlyphCoverage(base, firstGlyph, success);
+-
+- if (LE_FAILURE(success)) {
+- return 0;
+- }
+ GlyphIterator tempIterator(*glyphIterator);
+
+- if (coverageIndex >= 0 && glyphIterator->next()) {
++ LEReferenceToArrayOf<Offset> pairSetTableOffsetArrayRef(base, success, pairSetTableOffsetArray, SWAPW(pairSetCount));
++
++ if (LE_SUCCESS(success) && coverageIndex >= 0 && glyphIterator->next() && (le_uint32)coverageIndex < pairSetTableOffsetArrayRef.getCount()) {
+ Offset pairSetTableOffset = SWAPW(pairSetTableOffsetArray[coverageIndex]);
+- LEReferenceTo<PairSetTable> pairSetTable(base, success, ((char *) this + pairSetTableOffset));
+- if (LE_FAILURE(success)) {
+- return 0;
+- }
++ LEReferenceTo<PairSetTable> pairSetTable(base, success, pairSetTableOffset);
++ if( LE_FAILURE(success) ) return 0;
+ le_uint16 pairValueCount = SWAPW(pairSetTable->pairValueCount);
++ LEReferenceTo<PairValueRecord> pairValueRecordArray(pairSetTable, success, pairSetTable->pairValueRecordArray);
++ if( LE_FAILURE(success) ) return 0;
+ le_int16 valueRecord1Size = ValueRecord::getSize(SWAPW(valueFormat1));
+ le_int16 valueRecord2Size = ValueRecord::getSize(SWAPW(valueFormat2));
+ le_int16 recordSize = sizeof(PairValueRecord) - sizeof(ValueRecord) + valueRecord1Size + valueRecord2Size;
+@@ -96,21 +94,22 @@
+ LEReferenceTo<PairValueRecord> pairValueRecord;
+
+ if (pairValueCount != 0) {
+- pairValueRecord = findPairValueRecord(base, (TTGlyphID) LE_GET_GLYPH(secondGlyph), pairSetTable->pairValueRecordArray, pairValueCount, recordSize, success);
++ pairValueRecord = findPairValueRecord((TTGlyphID) LE_GET_GLYPH(secondGlyph), pairValueRecordArray, pairValueCount, recordSize, success);
+ }
+
+- if (pairValueRecord.isEmpty()) {
++ if (pairValueRecord.isEmpty() || LE_FAILURE(success)) {
+ return 0;
+ }
+
+ if (valueFormat1 != 0) {
+- pairValueRecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance);
++ pairValueRecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), base, tempIterator, fontInstance, success);
+ }
+
+ if (valueFormat2 != 0) {
+- const ValueRecord *valueRecord2 = (const ValueRecord *) ((char *) &pairValueRecord->valueRecord1 + valueRecord1Size);
+-
+- valueRecord2->adjustPosition(SWAPW(valueFormat2), (char *) this, *glyphIterator, fontInstance);
++ LEReferenceTo<ValueRecord> valueRecord2(base, success, ((char *) &pairValueRecord->valueRecord1 + valueRecord1Size));
++ if(LE_SUCCESS(success)) {
++ valueRecord2->adjustPosition(SWAPW(valueFormat2), base, *glyphIterator, fontInstance, success);
++ }
+ }
+
+ // back up glyphIterator so second glyph can be
+@@ -135,26 +134,28 @@
+
+ if (coverageIndex >= 0 && glyphIterator->next()) {
+ LEGlyphID secondGlyph = glyphIterator->getCurrGlyphID();
+- const ClassDefinitionTable *classDef1 = (const ClassDefinitionTable *) ((char *) this + SWAPW(classDef1Offset));
+- const ClassDefinitionTable *classDef2 = (const ClassDefinitionTable *) ((char *) this + SWAPW(classDef2Offset));
+- le_int32 class1 = classDef1->getGlyphClass(firstGlyph);
+- le_int32 class2 = classDef2->getGlyphClass(secondGlyph);
++ const LEReferenceTo<ClassDefinitionTable> classDef1(base, success, SWAPW(classDef1Offset));
++ const LEReferenceTo<ClassDefinitionTable> classDef2(base, success, SWAPW(classDef2Offset));
++ le_int32 class1 = classDef1->getGlyphClass(classDef1, firstGlyph, success);
++ le_int32 class2 = classDef2->getGlyphClass(classDef2, secondGlyph, success);
+ le_int16 valueRecord1Size = ValueRecord::getSize(SWAPW(valueFormat1));
+ le_int16 valueRecord2Size = ValueRecord::getSize(SWAPW(valueFormat2));
+ le_int16 class2RecordSize = valueRecord1Size + valueRecord2Size;
+ le_int16 class1RecordSize = class2RecordSize * SWAPW(class2Count);
+- const Class1Record *class1Record = (const Class1Record *) ((char *) class1RecordArray + (class1RecordSize * class1));
+- const Class2Record *class2Record = (const Class2Record *) ((char *) class1Record->class2RecordArray + (class2RecordSize * class2));
++ const LEReferenceTo<Class1Record> class1Record(base, success, (const Class1Record *) ((char *) class1RecordArray + (class1RecordSize * class1)));
++ const LEReferenceTo<Class2Record> class2Record(base, success, (const Class2Record *) ((char *) class1Record->class2RecordArray + (class2RecordSize * class2)));
+
+-
++ if( LE_SUCCESS(success) ) {
+ if (valueFormat1 != 0) {
+- class2Record->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance);
++ class2Record->valueRecord1.adjustPosition(SWAPW(valueFormat1), base, tempIterator, fontInstance, success);
+ }
+-
+ if (valueFormat2 != 0) {
+- const ValueRecord *valueRecord2 = (const ValueRecord *) ((char *) &class2Record->valueRecord1 + valueRecord1Size);
+-
+- valueRecord2->adjustPosition(SWAPW(valueFormat2), (const char *) this, *glyphIterator, fontInstance);
++ const LEReferenceTo<ValueRecord> valueRecord2(base, success, ((char *) &class2Record->valueRecord1) + valueRecord1Size);
++ LEReferenceTo<PairPositioningFormat2Subtable> thisRef(base, success, this);
++ if(LE_SUCCESS(success)) {
++ valueRecord2->adjustPosition(SWAPW(valueFormat2), thisRef, *glyphIterator, fontInstance, success);
++ }
++ }
+ }
+
+ // back up glyphIterator so second glyph can be
+@@ -166,23 +167,24 @@
+ return 0;
+ }
+
+-LEReferenceTo<PairValueRecord> PairPositioningFormat1Subtable::findPairValueRecord(const LETableReference &base, TTGlyphID glyphID, const PairValueRecord *records, le_uint16 recordCount, le_uint16 recordSize, LEErrorCode &success) const
++LEReferenceTo<PairValueRecord>
++PairPositioningFormat1Subtable::findPairValueRecord(TTGlyphID glyphID, LEReferenceTo<PairValueRecord>& records,
++ le_uint16 recordCount,
++ le_uint16 recordSize, LEErrorCode &success) const
+ {
+ #if 1
+ // The OpenType spec. says that the ValueRecord table is
+ // sorted by secondGlyph. Unfortunately, there are fonts
+ // around that have an unsorted ValueRecord table.
+- LEReferenceTo<PairValueRecord> record(base, success, records);
+- record.verifyLength(0, recordSize, success);
++ LEReferenceTo<PairValueRecord> record(records);
+
+ for(le_int32 r = 0; r < recordCount; r += 1) {
+- if (LE_FAILURE(success)) return (const PairValueRecord*)NULL;
++ if(LE_FAILURE(success)) return LEReferenceTo<PairValueRecord>();
+ if (SWAPW(record->secondGlyph) == glyphID) {
+ return record;
+ }
+
+- record = LEReferenceTo<PairValueRecord>(base, success, ((const char*)record.getAlias())+ recordSize);
+- record.verifyLength(0, recordSize, success);
++ record.addOffset(recordSize, success);
+ }
+ #else
+ #error dead code - not updated.
+@@ -211,7 +213,7 @@
+ }
+ #endif
+
+- return (const PairValueRecord*)NULL;
++ return LEReferenceTo<PairValueRecord>();
+ }
+
+ U_NAMESPACE_END
+--- ./jdk/src/share/native/sun/font/layout/PairPositioningSubtables.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/PairPositioningSubtables.h Thu Dec 19 09:01:16 2013 -0800
+@@ -77,9 +77,8 @@
+ le_uint32 process(const LEReferenceTo<PairPositioningFormat1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const;
+
+ private:
+- LEReferenceTo<PairValueRecord> findPairValueRecord(const LETableReference &base, TTGlyphID glyphID, const PairValueRecord *records,
++ LEReferenceTo<PairValueRecord> findPairValueRecord(TTGlyphID glyphID, LEReferenceTo<PairValueRecord> &records,
+ le_uint16 recordCount, le_uint16 recordSize, LEErrorCode &success) const;
+-
+ };
+ LE_VAR_ARRAY(PairPositioningFormat1Subtable, pairSetTableOffsetArray)
+
+--- ./jdk/src/share/native/sun/font/layout/ScriptAndLanguage.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ScriptAndLanguage.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -106,7 +106,8 @@
+ }
+ } else {
+ LEReferenceToArrayOf<ScriptRecord> scriptRecordArrayRef(base, success, &scriptRecordArray[0], count);
+- scriptTableOffset = OpenTypeUtilities::getTagOffset(scriptTag, scriptRecordArrayRef, success); // TODO
++
++ scriptTableOffset = OpenTypeUtilities::getTagOffset(scriptTag, scriptRecordArrayRef, success);
+ }
+
+ if (scriptTableOffset != 0) {
+--- ./jdk/src/share/native/sun/font/layout/ScriptAndLanguageTags.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ScriptAndLanguageTags.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -126,13 +126,13 @@
+ linaScriptTag, /* 'lina' (LINA) */
+ mandScriptTag, /* 'mand' (MANDAIC) */
+ mayaScriptTag, /* 'maya' (MAYA) */
+- meroScriptTag, /* 'mero' (MERO) */
++ meroScriptTag, /* 'mero' (MEROITIC_HIEROGLYPHS) */
+ nkooScriptTag, /* 'nko ' (NKO) */
+ orkhScriptTag, /* 'orkh' (OLD_TURKIC) */
+ permScriptTag, /* 'perm' (PERM) */
+ phagScriptTag, /* 'phag' (PHAGS_PA) */
+ phnxScriptTag, /* 'phnx' (PHOENICIAN) */
+- plrdScriptTag, /* 'plrd' (PLRD) */
++ plrdScriptTag, /* 'plrd' (MIAO/POLLARD) */
+ roroScriptTag, /* 'roro' (RORO) */
+ saraScriptTag, /* 'sara' (SARA) */
+ syreScriptTag, /* 'syre' (SYRE) */
+@@ -158,7 +158,7 @@
+ mteiScriptTag, /* 'mtei' (MEETEI_MAYEK) */
+ armiScriptTag, /* 'armi' (IMPERIAL_ARAMAIC) */
+ avstScriptTag, /* 'avst' (AVESTAN) */
+- cakmScriptTag, /* 'cakm' (CAKM) */
++ cakmScriptTag, /* 'cakm' (CHAKMA) */
+ koreScriptTag, /* 'kore' (KORE) */
+ kthiScriptTag, /* 'kthi' (KAITHI) */
+ maniScriptTag, /* 'mani' (MANI) */
+@@ -181,7 +181,7 @@
+ kpelScriptTag, /* 'kpel' (KPEL) */
+ lomaScriptTag, /* 'loma' (LOMA) */
+ mendScriptTag, /* 'mend' (MEND) */
+- mercScriptTag, /* 'merc' (MERC) */
++ mercScriptTag, /* 'merc' (MEROITIC_CURSIVE) */
+ narbScriptTag, /* 'narb' (NARB) */
+ nbatScriptTag, /* 'nbat' (NBAT) */
+ palmScriptTag, /* 'palm' (PALM) */
+--- ./jdk/src/share/native/sun/font/layout/ScriptAndLanguageTags.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ScriptAndLanguageTags.h Thu Dec 19 09:01:16 2013 -0800
+@@ -140,13 +140,13 @@
+ const LETag linaScriptTag = 0x6C696E61; /* 'lina' (LINA) */
+ const LETag mandScriptTag = 0x6D616E64; /* 'mand' (MANDAIC) */
+ const LETag mayaScriptTag = 0x6D617961; /* 'maya' (MAYA) */
+-const LETag meroScriptTag = 0x6D65726F; /* 'mero' (MERO) */
++const LETag meroScriptTag = 0x6D65726F; /* 'mero' (MEROITIC_HIEROGLYPHS) */
+ const LETag nkooScriptTag = 0x6E6B6F20; /* 'nko ' (NKO) */
+ const LETag orkhScriptTag = 0x6F726B68; /* 'orkh' (OLD_TURKIC) */
+ const LETag permScriptTag = 0x7065726D; /* 'perm' (PERM) */
+ const LETag phagScriptTag = 0x70686167; /* 'phag' (PHAGS_PA) */
+ const LETag phnxScriptTag = 0x70686E78; /* 'phnx' (PHOENICIAN) */
+-const LETag plrdScriptTag = 0x706C7264; /* 'plrd' (PLRD) */
++const LETag plrdScriptTag = 0x706C7264; /* 'plrd' (MIAO) */
+ const LETag roroScriptTag = 0x726F726F; /* 'roro' (RORO) */
+ const LETag saraScriptTag = 0x73617261; /* 'sara' (SARA) */
+ const LETag syreScriptTag = 0x73797265; /* 'syre' (SYRE) */
+@@ -172,7 +172,7 @@
+ const LETag mteiScriptTag = 0x6D746569; /* 'mtei' (MEETEI_MAYEK) */
+ const LETag armiScriptTag = 0x61726D69; /* 'armi' (IMPERIAL_ARAMAIC) */
+ const LETag avstScriptTag = 0x61767374; /* 'avst' (AVESTAN) */
+-const LETag cakmScriptTag = 0x63616B6D; /* 'cakm' (CAKM) */
++const LETag cakmScriptTag = 0x63616B6D; /* 'cakm' (CHAKMA) */
+ const LETag koreScriptTag = 0x6B6F7265; /* 'kore' (KORE) */
+ const LETag kthiScriptTag = 0x6B746869; /* 'kthi' (KAITHI) */
+ const LETag maniScriptTag = 0x6D616E69; /* 'mani' (MANI) */
+@@ -195,7 +195,7 @@
+ const LETag kpelScriptTag = 0x6B70656C; /* 'kpel' (KPEL) */
+ const LETag lomaScriptTag = 0x6C6F6D61; /* 'loma' (LOMA) */
+ const LETag mendScriptTag = 0x6D656E64; /* 'mend' (MEND) */
+-const LETag mercScriptTag = 0x6D657263; /* 'merc' (MERC) */
++const LETag mercScriptTag = 0x6D657263; /* 'merc' (MEROITIC_CURSIVE) */
+ const LETag narbScriptTag = 0x6E617262; /* 'narb' (NARB) */
+ const LETag nbatScriptTag = 0x6E626174; /* 'nbat' (NBAT) */
+ const LETag palmScriptTag = 0x70616C6D; /* 'palm' (PALM) */
+--- ./jdk/src/share/native/sun/font/layout/SegmentArrayProcessor2.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/SegmentArrayProcessor2.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -65,16 +65,17 @@
+
+ for (glyph = 0; glyph < glyphCount; glyph += 1) {
+ LEGlyphID thisGlyph = glyphStorage[glyph];
++ // lookupSegment already range checked by lookupSegment() function.
+ const LookupSegment *lookupSegment = segmentArrayLookupTable->lookupSegment(segmentArrayLookupTable, segments, thisGlyph, success);
+
+- if (lookupSegment != NULL) {
++ if (lookupSegment != NULL&& LE_SUCCESS(success)) {
+ TTGlyphID firstGlyph = SWAPW(lookupSegment->firstGlyph);
++ TTGlyphID lastGlyph = SWAPW(lookupSegment->lastGlyph);
+ le_int16 offset = SWAPW(lookupSegment->value);
+-
+- if (offset != 0) {
+- TTGlyphID *glyphArray = (TTGlyphID *) ((char *) subtableHeader.getAliasTODO() + offset);
+- TTGlyphID newGlyph = SWAPW(glyphArray[LE_GET_GLYPH(thisGlyph) - firstGlyph]);
+-
++ TTGlyphID thisGlyphId= LE_GET_GLYPH(thisGlyph);
++ LEReferenceToArrayOf<TTGlyphID> glyphArray(subtableHeader, success, offset, lastGlyph - firstGlyph + 1);
++ if (offset != 0 && thisGlyphId <= lastGlyph && thisGlyphId >= firstGlyph && LE_SUCCESS(success) ) {
++ TTGlyphID newGlyph = SWAPW(glyphArray[thisGlyphId]);
+ glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
+ }
+ }
+--- ./jdk/src/share/native/sun/font/layout/SinglePositioningSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/SinglePositioningSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -75,7 +75,7 @@
+ }
+
+ if (coverageIndex >= 0) {
+- valueRecord.adjustPosition(SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance);
++ valueRecord.adjustPosition(SWAPW(valueFormat), base, *glyphIterator, fontInstance, success);
+
+ return 1;
+ }
+@@ -92,7 +92,7 @@
+ }
+
+ if (coverageIndex >= 0) {
+- valueRecordArray[0].adjustPosition(coverageIndex, SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance);
++ valueRecordArray[0].adjustPosition(coverageIndex, SWAPW(valueFormat), base, *glyphIterator, fontInstance, success);
+
+ return 1;
+ }
+--- ./jdk/src/share/native/sun/font/layout/SingleSubstitutionSubtables.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/SingleSubstitutionSubtables.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -76,7 +76,7 @@
+ if (coverageIndex >= 0) {
+ TTGlyphID substitute = ((TTGlyphID) LE_GET_GLYPH(glyph)) + SWAPW(deltaGlyphID);
+
+- if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) {
++ if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute), success)) {
+ glyphIterator->setCurrGlyphID(substitute);
+ }
+
+@@ -97,7 +97,7 @@
+ if (coverageIndex >= 0) {
+ TTGlyphID substitute = SWAPW(substituteArray[coverageIndex]);
+
+- if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) {
++ if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute), success)) {
+ glyphIterator->setCurrGlyphID(substitute);
+ }
+
+--- ./jdk/src/share/native/sun/font/layout/TibetanReordering.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/TibetanReordering.h Thu Dec 19 09:01:16 2013 -0800
+@@ -39,7 +39,7 @@
+ */
+
+ #ifndef __TIBETANREORDERING_H
+-#define __TIBETANORDERING_H
++#define __TIBETANREORDERING_H
+
+ /**
+ * \file
+--- ./jdk/src/share/native/sun/font/layout/ValueRecords.cpp Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ValueRecords.cpp Thu Dec 19 09:01:16 2013 -0800
+@@ -59,8 +59,8 @@
+ return SWAPW(value);
+ }
+
+-void ValueRecord::adjustPosition(ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator,
+- const LEFontInstance *fontInstance) const
++void ValueRecord::adjustPosition(ValueFormat valueFormat, const LETableReference& base, GlyphIterator &glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode &success) const
+ {
+ float xPlacementAdjustment = 0;
+ float yPlacementAdjustment = 0;
+@@ -118,8 +118,8 @@
+ Offset dtOffset = getFieldValue(valueFormat, vrfXPlaDevice);
+
+ if (dtOffset != 0) {
+- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset);
+- le_int16 xAdj = dt->getAdjustment(xppem);
++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset);
++ le_int16 xAdj = dt->getAdjustment(dt, xppem, success);
+
+ xPlacementAdjustment += fontInstance->xPixelsToUnits(xAdj);
+ }
+@@ -129,8 +129,8 @@
+ Offset dtOffset = getFieldValue(valueFormat, vrfYPlaDevice);
+
+ if (dtOffset != 0) {
+- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset);
+- le_int16 yAdj = dt->getAdjustment(yppem);
++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset);
++ le_int16 yAdj = dt->getAdjustment(dt, yppem, success);
+
+ yPlacementAdjustment += fontInstance->yPixelsToUnits(yAdj);
+ }
+@@ -140,8 +140,8 @@
+ Offset dtOffset = getFieldValue(valueFormat, vrfXAdvDevice);
+
+ if (dtOffset != 0) {
+- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset);
+- le_int16 xAdj = dt->getAdjustment(xppem);
++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset);
++ le_int16 xAdj = dt->getAdjustment(dt, xppem, success);
+
+ xAdvanceAdjustment += fontInstance->xPixelsToUnits(xAdj);
+ }
+@@ -151,8 +151,8 @@
+ Offset dtOffset = getFieldValue(valueFormat, vrfYAdvDevice);
+
+ if (dtOffset != 0) {
+- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset);
+- le_int16 yAdj = dt->getAdjustment(yppem);
++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset);
++ le_int16 yAdj = dt->getAdjustment(dt, yppem, success);
+
+ yAdvanceAdjustment += fontInstance->yPixelsToUnits(yAdj);
+ }
+@@ -163,8 +163,8 @@
+ xPlacementAdjustment, yPlacementAdjustment, xAdvanceAdjustment, yAdvanceAdjustment);
+ }
+
+-void ValueRecord::adjustPosition(le_int16 index, ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator,
+- const LEFontInstance *fontInstance) const
++void ValueRecord::adjustPosition(le_int16 index, ValueFormat valueFormat, const LETableReference& base, GlyphIterator &glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode &success) const
+ {
+ float xPlacementAdjustment = 0;
+ float yPlacementAdjustment = 0;
+@@ -222,8 +222,8 @@
+ Offset dtOffset = getFieldValue(index, valueFormat, vrfXPlaDevice);
+
+ if (dtOffset != 0) {
+- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset);
+- le_int16 xAdj = dt->getAdjustment(xppem);
++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset);
++ le_int16 xAdj = dt->getAdjustment(dt, xppem, success);
+
+ xPlacementAdjustment += fontInstance->xPixelsToUnits(xAdj);
+ }
+@@ -233,8 +233,8 @@
+ Offset dtOffset = getFieldValue(index, valueFormat, vrfYPlaDevice);
+
+ if (dtOffset != 0) {
+- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset);
+- le_int16 yAdj = dt->getAdjustment(yppem);
++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset);
++ le_int16 yAdj = dt->getAdjustment(dt, yppem, success);
+
+ yPlacementAdjustment += fontInstance->yPixelsToUnits(yAdj);
+ }
+@@ -244,8 +244,8 @@
+ Offset dtOffset = getFieldValue(index, valueFormat, vrfXAdvDevice);
+
+ if (dtOffset != 0) {
+- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset);
+- le_int16 xAdj = dt->getAdjustment(xppem);
++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset);
++ le_int16 xAdj = dt->getAdjustment(dt, xppem, success);
+
+ xAdvanceAdjustment += fontInstance->xPixelsToUnits(xAdj);
+ }
+@@ -255,8 +255,8 @@
+ Offset dtOffset = getFieldValue(index, valueFormat, vrfYAdvDevice);
+
+ if (dtOffset != 0) {
+- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset);
+- le_int16 yAdj = dt->getAdjustment(yppem);
++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset);
++ le_int16 yAdj = dt->getAdjustment(dt, yppem, success);
+
+ yAdvanceAdjustment += fontInstance->yPixelsToUnits(yAdj);
+ }
+--- ./jdk/src/share/native/sun/font/layout/ValueRecords.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/font/layout/ValueRecords.h Thu Dec 19 09:01:16 2013 -0800
+@@ -53,10 +53,10 @@
+
+ le_int16 getFieldValue(ValueFormat valueFormat, ValueRecordField field) const;
+ le_int16 getFieldValue(le_int16 index, ValueFormat valueFormat, ValueRecordField field) const;
+- void adjustPosition(ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator,
+- const LEFontInstance *fontInstance) const;
+- void adjustPosition(le_int16 index, ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator,
+- const LEFontInstance *fontInstance) const;
++ void adjustPosition(ValueFormat valueFormat, const LETableReference &base, GlyphIterator &glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode &success) const;
++ void adjustPosition(le_int16 index, ValueFormat valueFormat, const LETableReference &base, GlyphIterator &glyphIterator,
++ const LEFontInstance *fontInstance, LEErrorCode &success) const;
+
+ static le_int16 getSize(ValueFormat valueFormat);
+
+--- ./jdk/src/share/native/sun/java2d/opengl/OGLBlitLoops.c Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/share/native/sun/java2d/opengl/OGLBlitLoops.c Thu Dec 19 09:01:16 2013 -0800
+@@ -661,7 +661,12 @@
+ (sy2-sy1) != (jint)(dy2-dy1) ||
+ oglc->extraAlpha != 1.0f;
+ break;
+-
++#ifdef MACOSX
++ case OGLC_VENDOR_ATI:
++ // see 8024461
++ viaTexture = JNI_TRUE;
++ break;
++#endif
+ default:
+ // just use the glDrawPixels() codepath
+ viaTexture = JNI_FALSE;
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jdk/src/solaris/classes/sun/net/PortConfig.java Thu Dec 19 09:01:16 2013 -0800
+@@ -0,0 +1,89 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package sun.net;
++
++import java.security.AccessController;
++
++/**
++ * Determines the ephemeral port range in use on this system.
++ * If this cannot be determined, then the default settings
++ * of the OS are returned.
++ */
++
++public final class PortConfig {
++
++ private static int defaultUpper, defaultLower;
++ private final static int upper, lower;
++
++ private PortConfig() {}
++
++ static {
++ AccessController.doPrivileged(
++ new java.security.PrivilegedAction<Void>() {
++ public Void run() {
++ System.loadLibrary("net");
++ String os = System.getProperty("os.name");
++ if (os.startsWith("Linux")) {
++ defaultLower = 32768;
++ defaultUpper = 61000;
++ } else if (os.startsWith("SunOS")) {
++ defaultLower = 32768;
++ defaultUpper = 65535;
++ } else if (os.contains("OS X")) {
++ defaultLower = 49152;
++ defaultUpper = 65535;
++ } else {
++ throw new InternalError(
++ "sun.net.PortConfig: unknown OS");
++ }
++ return null;
++ }
++ });
++
++ int v = getLower0();
++ if (v == -1) {
++ v = defaultLower;
++ }
++ lower = v;
++
++ v = getUpper0();
++ if (v == -1) {
++ v = defaultUpper;
++ }
++ upper = v;
++ }
++
++ static native int getLower0();
++ static native int getUpper0();
++
++ public static int getLower() {
++ return lower;
++ }
++
++ public static int getUpper() {
++ return upper;
++ }
++}
+--- ./jdk/src/solaris/classes/sun/nio/ch/SctpChannelImpl.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/solaris/classes/sun/nio/ch/SctpChannelImpl.java Thu Dec 19 09:01:16 2013 -0800
+@@ -180,6 +180,10 @@
+ SctpNet.throwAlreadyBoundException();
+ InetSocketAddress isa = (local == null) ?
+ new InetSocketAddress(0) : Net.checkAddress(local);
++ SecurityManager sm = System.getSecurityManager();
++ if (sm != null) {
++ sm.checkListen(isa.getPort());
++ }
+ Net.bind(fd, isa.getAddress(), isa.getPort());
+ InetSocketAddress boundIsa = Net.localAddress(fd);
+ port = boundIsa.getPort();
+--- ./jdk/src/solaris/doc/sun/man/man1/ja/jarsigner.1 Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/solaris/doc/sun/man/man1/ja/jarsigner.1 Thu Dec 19 09:01:16 2013 -0800
+@@ -1,1673 +1,1403 @@
+-." Copyright (c) 1998, 2011, 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.
+-."
+-." 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.
+-."
+-.TH jarsigner 1 "05 Jul 2012"
+-
+-.LP
+-.SH "̾Á°"
+-jarsigner \- JAR½ð̾¤ª¤è¤Ó¸¡¾Ú¥Ä¡¼¥ë
+-.LP
+-.LP
+-Java ARchive(JAR)¥Õ¥¡¥¤¥ë¤Î½ð̾¤òÀ¸À®¤·¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£
+-.LP
++'\" t
++.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
++.\" Title: jarsigner
++.\" Language: English
++.\" Date: 2013ǯ8·î6Æü
++.\" SectDesc: ¥»¥­¥å¥ê¥Æ¥£¡¦¥Ä¡¼¥ë
++.\" Software: JDK 7
++.\" Arch: ÈÆÍÑ
++.\"
++.\" 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.
++.\"
++.\" 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.
++.\"
++.pl 99999
++.TH "jarsigner" "1" "2013ǯ8·î6Æü" "JDK 7" "¥»¥­¥å¥ê¥Æ¥£¡¦¥Ä¡¼¥ë"
++.\" -----------------------------------------------------------------
++.\" * Define some portability stuff
++.\" -----------------------------------------------------------------
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.\" http://bugs.debian.org/507673
++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.ie \n(.g .ds Aq \(aq
++.el .ds Aq '
++.\" -----------------------------------------------------------------
++.\" * set default formatting
++.\" -----------------------------------------------------------------
++.\" disable hyphenation
++.nh
++.\" disable justification (adjust text to left margin only)
++.ad l
++.\" -----------------------------------------------------------------
++.\" * MAIN CONTENT STARTS HERE *
++.\" -----------------------------------------------------------------
++.SH "NAME"
++jarsigner \- Java¥¢¡¼¥«¥¤¥Ö(JAR)¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ½ð̾¤ª¤è¤Ó¸¡¾Ú¤ò¹Ô¤¤¤Þ¤¹¡£
+ .SH "·Á¼°"
+-.LP
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+-\fP\f3jarsigner\fP [ options ] jar\-file alias
+-.fl
+-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...]
+-.fl
++\fIjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR
+ .fi
+-
+-.LP
+-.LP
+-jarsigner¤Î\-verify¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë̾¤Î¸å¤Ë0¸Ä°Ê¾å¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢ÊÌ̾¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢jarsigner¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ½ð̾ÉÕ¤­¥¨¥ó¥Æ¥£¥Æ¥£¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¡¢¤¤¤º¤ì¤«¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤Ë°ìÃפ¹¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ÊÌ̾¤Ï¡¢\-keystore¤Ç»ØÄꤵ¤ì¤¿¥­¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£
+-.LP
++.if n \{\
++.RE
++.\}
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\fIjarsigner\fR \fI\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR]
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++\fIoptions\fR
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥ª¥×¥·¥ç¥ó¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-verify
++.RS 4
++\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë̾¤Î¸å¤Ë0¸Ä°Ê¾å¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ½ð̾ÉÕ¤­¥¨¥ó¥Æ¥£¥Æ¥£¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¡¢¤¤¤º¤ì¤«¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤Ë°ìÃפ¹¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ÊÌ̾¤Ï¡¢\fI\-keystore\fR¤Ç»ØÄꤵ¤ì¤¿¥­¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£
++.sp
++\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤷ¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤ê½ÅÂç¤Ê·Ù¹ð¤¬¸¡½Ð¤µ¤ì¤ë¤È¡¢¥á¥Ã¥»¡¼¥¸¡Öjar¤¬¸¡¾Ú¤µ¤ì¤Þ¤·¤¿¡£½ð̾¼Ô¥¨¥é¡¼¡×¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
++.RE
++.PP
++\fIjar\-file\fR
++.RS 4
++½ð̾¤µ¤ì¤ëJAR¥Õ¥¡¥¤¥ë¡£
++.RE
++.PP
++\fIalias\fR
++.RS 4
++ÊÌ̾¤Ï¡¢\fI\-keystore\fR¤Ç»ØÄꤵ¤ì¤¿¥­¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£
++.RE
+ .SH "ÀâÌÀ"
+-.LP
+-.LP
+-\f3jarsigner\fP¥Ä¡¼¥ë¤Ï¡¢¼¡¤Î2¤Ä¤ÎÌÜŪ¤Ç»ÈÍѤ·¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-Java ARchive(JAR)¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëÌÜŪ
+-.TP 3
+-2.
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ÈÀ°¹çÀ­¤ò¸¡¾Ú¤¹¤ëÌÜŪ
++.PP
++\fIjarsigner\fR¥Ä¡¼¥ë¤Ë¤Ï¡¢¼¡¤Î2¤Ä¤ÎÌÜŪ¤¬¤¢¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++Java¥¢¡¼¥«¥¤¥Ö(JAR)¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëÌÜŪ¡£
+ .RE
+-
+-.LP
+-.LP
+-JARµ¡Ç½¤ò»ÈÍѤ¹¤ë¤È¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¡¢¥¤¥á¡¼¥¸¡¢¥µ¥¦¥ó¥É¤ª¤è¤Ó¤½¤Î¾¤Î¥Ç¥¸¥¿¥ë¡¦¥Ç¡¼¥¿¤òñ°ì¤Î¥Õ¥¡¥¤¥ë¤Ë¥Ñ¥Ã¥±¡¼¥¸²½¤Ç¤­¤ë¤Î¤Ç¡¢¥Õ¥¡¥¤¥ë¤ò¿×®¤«¤ÄÍÆ°×¤ËÇÛÉۤǤ­¤Þ¤¹¡£³«È¯¼Ô¤Ï¡¢jar(1)¤È¤¤¤¦Ì¾Á°¤Î¥Ä¡¼¥ë¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤­¤Þ¤¹¡£(µ»½ÑŪ¤Ê´ÑÅÀ¤«¤é¸À¤¨¤Ð¡¢¤¹¤Ù¤Æ¤ÎZIP¥Õ¥¡¥¤¥ë¤âJAR¥Õ¥¡¥¤¥ë¤È¤ß¤Ê¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤¿¤À¤·¡¢\f3jar\fP¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï\f3jarsigner\fP¤Ë¤è¤Ã¤Æ½èÍý¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢META\-INF/MANIFEST.MF¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£)
+-.LP
+-.LP
+-\f2¥Ç¥¸¥¿¥ë½ð̾\fP¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ç¡¼¥¿(¡Ö½ð̾¡×¤ÎÂоݤȤʤë¥Ç¡¼¥¿)¤È¡¢¥¨¥ó¥Æ¥£¥Æ¥£(¿Í¡¢²ñ¼Ò¤Ê¤É)¤ÎÈëÌ©¸°¤È¤Ë´ð¤Å¤¤¤Æ·×»»¤µ¤ì¤ë¥Ó¥Ã¥ÈÎó¤Ç¤¹¡£¼ê½ñ¤­¤Î½ð̾ƱÍÍ¡¢¥Ç¥¸¥¿¥ë½ð̾¤Ë¤Ï¿¤¯¤ÎÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-½ð̾¤ÎÀ¸À®¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ÈÂÐ¤Ë¤Ê¤ë¸ø³«¸°¤ò»ÈÍѤ·¤Æ·×»»¤ò¹Ô¤¦¤³¤È¤Ç¡¢¥Ç¥¸¥¿¥ë½ð̾¤¬ËÜʪ¤«¤É¤¦¤«¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-ÈëÌ©¸°¤¬Â¾¿Í¤ËÃΤé¤ì¤Ê¤¤¸Â¤ê¡¢¥Ç¥¸¥¿¥ë½ð̾¤Îµ¶Â¤¤ÏÉÔ²Äǽ¤Ç¤¹¡£
+-.TP 2
+-o
+-¥Ç¥¸¥¿¥ë½ð̾¤Ï¡¢¤½¤Î½ð̾¤¬ÉÕ¤¤¤¿¥Ç¡¼¥¿¤Î¤ß¤òÂоݤȤ¹¤ë¤â¤Î¤Ç¤¢¤ê¡¢Â¾¤Î¥Ç¡¼¥¿¤Î½ð̾¤È¤·¤Æµ¡Ç½¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£
+-.TP 2
+-o
+-½ð̾ÉÕ¤­¤Î¥Ç¡¼¥¿¤ÏÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£¥Ç¡¼¥¿¤¬Êѹ¹¤µ¤ì¤¿¾ì¹ç¤Ï¡¢¤½¤Î½ð̾¤Ë¤è¤Ã¤Æ¥Ç¡¼¥¿¤¬ËÜʪ¤Ç¤Ï¤Ê¤¤¤³¤È¤¬¸¡¾Ú¤µ¤ì¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ÈÀ°¹çÀ­¤ò¸¡¾Ú¤¹¤ëÌÜŪ¡£
+ .RE
+-
+-.LP
+-.LP
+-¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¥¨¥ó¥Æ¥£¥Æ¥£¤Î½ð̾¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢¤½¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ë´ØÏ¢¤¹¤ë¸ø³«¸°¤ÈÈëÌ©¸°¤Î¥Ú¥¢¤ò»ý¤ÄɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢¸ø³«¸°¤òǧ¾Ú¤¹¤ë1¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î¾ÚÌÀ½ñ¤âɬÍפǤ¹¡£\f2¾ÚÌÀ½ñ\fP¤È¤Ï¡¢¤¢¤ë¥¨¥ó¥Æ¥£¥Æ¥£¤¬È¯¹Ô¤·¤¿¥Ç¥¸¥¿¥ë½ð̾ÉÕ¤­¤Îʸ½ñ¤Ç¡¢Ê̤ʥ¨¥ó¥Æ¥£¥Æ¥£¤Î¸ø³«¸°¤¬ÆÃÄê¤ÎÃͤǤ¢¤ë¤³¤È¤ò¾ÚÌÀ¤·¤Æ¤¤¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ï¡¢\f2¥­¡¼¥¹¥È¥¢\fP¤Ë´Þ¤Þ¤ì¤ë¸°¤È¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ï¡¢ÈëÌ©¸°¡¢¤ª¤è¤ÓÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¤¿¤á¤ÎX.509¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬¼ý¤á¤é¤ì¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¹¡£¥­¡¼¥¹¥È¥¢¤ÎºîÀ®¤È´ÉÍý¤Ë¤Ï¡¢keytool(1)¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò»ÈÍѤ·¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ï¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤ËÂФ¹¤ë¡¢¥­¡¼¥¹¥È¥¢Æâ¤Î¾ÚÌÀ½ñ¤Î¥³¥Ô¡¼¤Ê¤É¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£\f3jarsigner\fP¤Ï¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ëÆâ(½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ëÆâ)¤Ë¤¢¤ë¾ÚÌÀ½ñ¤ò»ÈÍѤ·¤Æ¤½¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ï¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤à½ð̾¤òÀ¸À®¤¹¤ë¤Î¤Ç¡¢¥·¥¹¥Æ¥à¤ä¥Ç¥×¥í¥¤¥ä(Java Plug\-in¤ò´Þ¤à)¤ÏJAR¥Õ¥¡¥¤¥ë¤¬½ð̾¾ÚÌÀ½ñ¤ÎÍ­¸ú´ü´ÖÃæ¤Ë½ð̾¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢API¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤«¤é¥¿¥¤¥à¥¹¥¿¥ó¥×¾ðÊó¤ò¼èÆÀ¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-¸½»þÅÀ¤Ç¤Ï¡¢\f3jarsigner\fP¤Ç½ð̾¤Ç¤­¤ë¤Î¤Ï¡¢SDK¤Îjar(1)¥Ä¡¼¥ë¤ÇºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Î¤ß¤Ç¤¹¡£(JAR¥Õ¥¡¥¤¥ë¤ÏZIP¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢JAR¥Õ¥¡¥¤¥ë¤Ë¤ÏMETA\-INF/MANIFEST.MF¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢\f3jarsigner\fP¤¬ZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Ë¼«Æ°Åª¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£)
+-.LP
+-.LP
+-¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢\f3jarsigner\fP¤ÏJAR(¤Þ¤¿¤ÏZIP)¥Õ¥¡¥¤¥ë¤Ë\f2½ð̾¤·¤Þ¤¹\fP¡£½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò\f2¸¡¾Ú\fP¤¹¤ë¾ì¹ç¤Ï¡¢\f2\-verify\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
+-.LP
+-.SS
+-¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾
+-.LP
+-.LP
+-¥­¡¼¥¹¥È¥¢¤Î¤¹¤Ù¤Æ¤Î¥¨¥ó¥È¥ê¤Ï¡¢°ì°Õ¤Î\f2ÊÌ̾\fP¤ò²ð¤·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Ï¡¢½ð̾¤ÎÀ¸À®¤ËɬÍפÊÈëÌ©¸°¤ò´Þ¤à¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤ÎÎã¤Ï¡¢working¥Ç¥£¥ì¥¯¥È¥ê¤Îmystore¤È¤¤¤¦Ì¾Á°¤Î¥­¡¼¥¹¥È¥¢¤Ë´Þ¤Þ¤ì¤ëÊÌ̾duke¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢MyJARFile.jar¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢MyJARFile.jar¤Ï½ð̾ÉÕ¤­¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£
+-.LP
++.PP
++JARµ¡Ç½¤ò»ÈÍѤ¹¤ë¤È¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¡¢¥¤¥á¡¼¥¸¡¢¥µ¥¦¥ó¥É¤ª¤è¤Ó¤½¤Î¾¤Î¥Ç¥¸¥¿¥ë¡¦¥Ç¡¼¥¿¤òñ°ì¤Î¥Õ¥¡¥¤¥ë¤Ë¥Ñ¥Ã¥±¡¼¥¸²½¤Ç¤­¤ë¤Î¤Ç¡¢¥Õ¥¡¥¤¥ë¤ò¿×®¤«¤ÄÍÆ°×¤ËÇÛÉۤǤ­¤Þ¤¹¡£\fIjar\fR¤È¤¤¤¦Ì¾Á°¤Î¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¡¢³«È¯¼Ô¤ÏJAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤­¤Þ¤¹¡£(µ»½ÑŪ¤Ê´ÑÅÀ¤«¤é¸À¤¨¤Ð¡¢¤¹¤Ù¤Æ¤ÎZIP¥Õ¥¡¥¤¥ë¤âJAR¥Õ¥¡¥¤¥ë¤È¤ß¤Ê¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤¿¤À¤·¡¢jar¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï\fIjarsigner\fR¤Ë¤è¤Ã¤Æ½èÍý¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£)
++.PP
++¥Ç¥¸¥¿¥ë½ð̾¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ç¡¼¥¿(½ð̾¤ÎÂоݤȤʤë¥Ç¡¼¥¿)¡¢¤ª¤è¤Ó¥¨¥ó¥Æ¥£¥Æ¥£(¿Í¡¢²ñ¼Ò¤Ê¤É)¤ÎÈëÌ©¸°¤«¤é·×»»¤µ¤ì¤ë¥Ó¥Ã¥È¤Îʸ»úÎó¤Ç¤¹¡£¼ê½ñ¤­¤Î½ð̾ƱÍÍ¡¢¥Ç¥¸¥¿¥ë½ð̾¤Ë¤Ï¿¤¯¤ÎÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++½ð̾¤ÎÀ¸À®¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤ò»ÈÍѤ¹¤ë·×»»¤Ë¤è¤Ã¤Æ¡¢¤½¤ì¤¬ËÜʪ¤Ç¤¢¤ë¤³¤È¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++ÈëÌ©¸°¤¬Â¾¿Í¤ËÃΤé¤ì¤Ê¤¤¸Â¤ê¡¢¥Ç¥¸¥¿¥ë½ð̾¤Îµ¶Â¤¤ÏÉÔ²Äǽ¤Ç¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¤³¤ì¤Ï¡¢½ð̾¤¬ÉÕ¤¤¤¿¥Ç¡¼¥¿¤Îµ¡Ç½¤Ç¤¢¤ê¡¢Â¾¤Î¥Ç¡¼¥¿¤Î½ð̾¤È¤Ê¤ë¤è¤¦¤ËÍ×µá¤Ç¤­¤Þ¤»¤ó¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++½ð̾ÉÕ¤­¥Ç¡¼¥¿¤ÏÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£¥Ç¡¼¥¿¤¬Êѹ¹¤µ¤ì¤¿¾ì¹ç¡¢½ð̾¤Ë¤è¤Ã¤ÆËÜʪ¤Ç¤¢¤ë¤È¸¡¾Ú¤Ç¤­¤Þ¤»¤ó¡£
++.RE
++.PP
++¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¥¨¥ó¥Æ¥£¥Æ¥£¤Î½ð̾¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢¤½¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ë´ØÏ¢¤¹¤ë¸ø³«¸°/ÈëÌ©¸°¤Î¥Ú¥¢¤È¡¢¸ø³«¸°¤òǧ¾Ú¤¹¤ë1¤Ä°Ê¾å¤Î¾ÚÌÀ½ñ¤ò»ý¤ÄɬÍפ¬¤¢¤ê¤Þ¤¹¡£¾ÚÌÀ½ñ¤È¤Ï¡¢¤¢¤ë¥¨¥ó¥Æ¥£¥Æ¥£¤«¤é¤Î¥Ç¥¸¥¿¥ë½ð̾ÉÕ¤­¤Îʸ½ñ¤Ç¡¢Ê̤Υ¨¥ó¥Æ¥£¥Æ¥£¤Î¸ø³«¸°¤¬ÆÃÄê¤ÎÃͤò»ý¤Ä¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢¥­¡¼¥¹¥È¥¢¤«¤é¤Î¸°¤È¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ï¡¢ÈëÌ©¸°¡¢¤ª¤è¤ÓÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¡¢ÈëÌ©¸°¤Ë´ØÏ¢¤·¤¿X\&.509¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¹¡£\fIkeytool\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥­¡¼¥¹¥È¥¢¤òºîÀ®¤ª¤è¤Ó´ÉÍý¤·¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢ÆÃ¤Ë¡¢¥Õ¥¡¥¤¥ë¤Ø¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤Î¥­¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Î¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢ÆâÉô(½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ëÆâ)¤Î¾ÚÌÀ½ñ¤ò»ÈÍѤ·¤Æ¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢½ð̾¾ÚÌÀ½ñ¤ÎÍ­¸ú´ü´ÖÃæ¤ËJAR¥Õ¥¡¥¤¥ë¤¬½ð̾¤µ¤ì¤¿¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥·¥¹¥Æ¥à¤ä¥Ç¥×¥í¥¤¥ä(Java Plug\-in¤ò´Þ¤à)¤¬¥Á¥§¥Ã¥¯¤Ç¤­¤ë¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤à½ð̾¤òÀ¸À®¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢API¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¥¿¥¤¥à¥¹¥¿¥ó¥×¾ðÊó¤ò¼èÆÀ¤Ç¤­¤Þ¤¹¡£
++.PP
++¸½»þÅÀ¤Ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjar\fR¥³¥Þ¥ó¥É¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Î¤ß¤Ë½ð̾¤Ç¤­¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤ÏZIP¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤â´Þ¤Þ¤ì¤Æ¤¤¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤ÆZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëºÝ¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£
++.PP
++¥Ç¥Õ¥©¥ë¥È¤Î\fIjarsigner\fR¥³¥Þ¥ó¥É¤Îưºî¤Ç¤Ï¡¢JAR¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¸å¤Ë½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤Î¸¡¾Ú¤â»î¹Ô¤·¤Þ¤¹¡£¸¡¾Ú¥¨¥é¡¼¤Þ¤¿¤Ï¤½¤Î¾¤ÎÌäÂ꤬ȯÀ¸¤¹¤ë¤È¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬À¸À®¤µ¤ì¤Þ¤¹¡£\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê½ÅÂç¤Ê·Ù¹ð¤¬¥¨¥é¡¼¤È¤·¤Æ½èÍý¤µ¤ì¤Þ¤¹¡£¥¨¥é¡¼¤È·Ù¹ð¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.SS "¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾"
++.PP
++¥­¡¼¥¹¥È¥¢¤Î¤¹¤Ù¤Æ¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢°ì°Õ¤ÎÊÌ̾¤ò»ÈÍѤ·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¤È¤­¤Ï¡¢½ð̾¤ÎÀ¸À®¤ËɬÍפÊÈëÌ©¸°¤ò´Þ¤à¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIworking\fR¥Ç¥£¥ì¥¯¥È¥ê¤Î\fImystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥­¡¼¥¹¥È¥¢¤Ë´Þ¤Þ¤ì¤ëÊÌ̾\fIduke\fR¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢\fIMyJARFile\&.jar\fR¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢\fIMyJARFile\&.jar\fR¤Ï½ð̾ÉÕ¤­¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke
+-.fl
+-\fP
++jarsigner \-keystore /working/mystore \-storepass <keystore password>
++ \-keypass <private key password> MyJARFile\&.jar duke
+ .fi
+-
+-.LP
+-.LP
+-¥­¡¼¥¹¥È¥¢¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£Æ±Íͤˡ¢ÈëÌ©¸°¤â¥­¡¼¥¹¥È¥¢Æâ¤Ç¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï»ØÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥È¤¬Êݸ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹¥ï¡¼¥É¤È°ã¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
+-.LP
+-.SS
+-¥­¡¼¥¹¥È¥¢¤Î¾ì½ê
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ë¤Ï¡¢»ÈÍѤ¹¤ë¥­¡¼¥¹¥È¥¢¤ÎURL¤ò»ØÄꤹ¤ë\f2\-keystore\fP¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\f2user.home\fP¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·è¤Þ¤ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Î\f2.keystore\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÆâ¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£Solaris¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢\f2user.home\fP¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¥æ¡¼¥¶¡¼¤Îhome¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-\f2\-keystore\fP¥ª¥×¥·¥ç¥ó¤«¤é¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ï¡¢\f2KeyStore.load\fP¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£URL¤È¤·¤Æ\f2NONE\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢null¤Î¥¹¥È¥ê¡¼¥à¤¬\f2KeyStore.load\fP¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£\f2NONE\fP¤Ï¡¢\f2KeyStore\fP¤¬¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤¿¤È¤¨¤Ð¡¢¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¡¦¥Ç¥Ð¥¤¥¹¾å¤Ë¸ºß¤·¤Æ¤¤¤ë¾ì¹ç¤Ê¤É¤Ë»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
+-.LP
+-.SS
+-¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ
+-.LP
+-.LP
+-\f2java.security\fP¥Ñ¥Ã¥±¡¼¥¸¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë\f2KeyStore\fP¥¯¥é¥¹¤Ï¡¢¥­¡¼¥¹¥È¥¢Æâ¤Î¾ðÊó¤Ø¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó¾ðÊó¤ÎÊѹ¹¤ò¹Ô¤¦¤¿¤á¤Î¡¢ÌÀ³Î¤ËÄêµÁ¤µ¤ì¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Î¸ÇÄê¼ÂÁõ¤È¤·¤Æ¤Ï¡¢¤½¤ì¤¾¤ì¤¬ÆÃÄê¤Î\f2¥¿¥¤¥×\fP¤Î¥­¡¼¥¹¥È¥¢¤òÂоݤȤ¹¤ëÊ£¿ô¤Î°Û¤Ê¤ë¼ÂÁõ¤¬Â¸ºß²Äǽ¤Ç¤¹¡£
+-.LP
+-.LP
+-¸½ºß¡¢¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤â¤Î¤È¤·¤Æ¡¢\f3keytool\fP¤È\f3jarsigner\fP¤Î2¤Ä¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥Ä¡¼¥ë¤È¡¢\f3Policy Tool\fP¤È¤¤¤¦Ì¾Á°¤Î1¤Ä¤ÎGUI¥Ù¡¼¥¹¤Î¥Ä¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£\f2KeyStore\fP¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢Java 2 SDK¥æ¡¼¥¶¡¼¤ÏKeyStore¤ò»ÈÍѤ¹¤ë¾¤Î¥»¥­¥å¥ê¥Æ¥£¡¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤âºîÀ®¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-¥­¡¼¥¹¥È¥¢¤Ë¤Ï¡¢Sun Microsystems¤¬Ä󶡤¹¤ëÁȹþ¤ß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢JKS¤È¤¤¤¦Ì¾Á°¤ÎÆÈ¼«¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(·Á¼°)¤òÍøÍѤ¹¤ë¤â¤Î¤Ç¡¢¥­¡¼¥¹¥È¥¢¤ò¥Õ¥¡¥¤¥ë¤È¤·¤Æ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤Î¼ÂÁõ¤Ç¤Ï¡¢¸Ä¡¹¤ÎÈëÌ©¸°¤Ï¸ÄÊ̤Υѥ¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¡¢¥­¡¼¥¹¥È¥¢Á´ÂΤÎÀ°¹çÀ­¤â(ÈëÌ©¸°¤È¤ÏÊ̤Î)¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ï¡¢¥×¥í¥Ð¥¤¥À¥Ù¡¼¥¹¤Ç¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢\f2KeyStore\fP¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬¡Ö¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¡×(SPI)¤Ë´ð¤Å¤¤¤Æ¼ÂÁõ¤µ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢Âбþ¤¹¤ë\f2KeystoreSpi\fPÃê¾Ý¥¯¥é¥¹(¤³¤ì¤â\f2java.security\fP¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹)¤¬¤¢¤ê¡¢¤³¤Î¥¯¥é¥¹¤¬¡¢¡Ö¥×¥í¥Ð¥¤¥À¡×¤¬¼ÂÁõ¤¹¤ëɬÍפΤ¢¤ëService Provider Interface¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£(¤³¤³¤Ç¡¢¡Ö¥×¥í¥Ð¥¤¥À¡×¤È¤Ï¡¢Java Security API¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤ËÂФ·¡¢¤½¤Î¸ÇÄê¼ÂÁõ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î½¸¹ç¤Î¤³¤È¤Ç¤¹¡£)¤·¤¿¤¬¤Ã¤Æ¡¢¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¤Ë¤Ï¡¢
+-.na
+-\f2Java°Å¹æ²½¥¢¡¼¥­¥Æ¥¯¥Á¥ãÍÑ¥×¥í¥Ð¥¤¥À¤Î¼ÂÁõÊýË¡\fP @
++.if n \{\
++.RE
++.\}
++.PP
++¥­¡¼¥¹¥È¥¢¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢ÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£Æ±Íͤˡ¢ÈëÌ©¸°¤â¥­¡¼¥¹¥È¥¢Æâ¤Ç¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï»ØÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥È¤¬Êݸ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹¥ï¡¼¥É¤ÈƱ¤¸¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
++.SS "¥­¡¼¥¹¥È¥¢¤Î¾ì½ê"
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤Ï¡¢»ÈÍѤ¹¤ë¥­¡¼¥¹¥È¥¢¤ÎURL¤ò»ØÄꤹ¤ë\fI\-keystore\fR¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\fIuser\&.home\fR¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·è¤Þ¤ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Î\fI\&.keystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÆâ¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£Oracle Solaris¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢\fIuser\&.home\fR¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Ç¥Õ¥©¥ë¥ÈÀßÄꤵ¤ì¤Þ¤¹¡£
++.PP
++\fI\-keystore\fR¥ª¥×¥·¥ç¥ó¤«¤é¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ï¡¢\fIKeyStore\&.load\fR¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£URL¤È¤·¤Æ\fINONE\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢null¤Î¥¹¥È¥ê¡¼¥à¤¬\fIKeyStore\&.load\fR¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£\fINONE\fR¤Ï¡¢\fIKeyStore\fR¥¯¥é¥¹¤¬¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤¿¤È¤¨¤Ð¡¢¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¡¦¥Ç¥Ð¥¤¥¹¤ËÃÖ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë»ØÄꤷ¤Þ¤¹¡£
++.SS "¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ"
++.PP
++\fIjava\&.security package\fR¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë\fIKeyStore\fR¥¯¥é¥¹¤Ï¡¢¥­¡¼¥¹¥È¥¢Æâ¤Î¾ðÊó¤Ø¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó¾ðÊó¤ÎÊѹ¹¤ò¹Ô¤¦¤¿¤á¤Î¡¢ÌÀ³Î¤ËÄêµÁ¤µ¤ì¤¿Â¿¤¯¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£Ê£¿ô¤Î°Û¤Ê¤ë¸ÇÄê¼ÂÁõ¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¡¢³Æ¼ÂÁõ¤ÏÆÃÄê¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤òÂоݤȤ·¤Þ¤¹¡£
++.PP
++¸½ºß¡¢¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë2¤Ä¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥Ä¡¼¥ë(\fIkeytool\fR¤È\fIjarsigner\fR)¡¢¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Ä¡¼¥ë¤È¤¤¤¦Ì¾Á°¤Î1¤Ä¤ÎGUI¥Ù¡¼¥¹¤Î¥Ä¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£\fIKeyStore\fR¥¯¥é¥¹¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤ë¤¿¤á¡¢JDK¥æ¡¼¥¶¡¼¤Ï¡¢¤½¤ì¤ò»ÈÍѤ¹¤ë¾¤Î¥»¥­¥å¥ê¥Æ¥£¡¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò½ñ¤­¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
++.PP
++Oracle¤¬Ä󶡤¹¤ëÁȹþ¤ß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢KS¤È¤¤¤¦Ì¾Á°¤ÎÆÈ¼«¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(·Á¼°)¤ò»ÈÍѤ¹¤ë¤â¤Î¤Ç¡¢¥­¡¼¥¹¥È¥¢¤ò¥Õ¥¡¥¤¥ë¤È¤·¤Æ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£Áȹþ¤ß¤Î¼ÂÁõ¤Ç¤Ï¡¢³ÆÈëÌ©¸°¤Ï¸ÄÊ̤Υѥ¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¡¢¥­¡¼¥¹¥È¥¢Á´ÂΤÎÀ°¹çÀ­¤Ï(ÈëÌ©¸°¤È¤ÏÊ̤Î)¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Þ¤¹¡£
++.PP
++¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ï¥×¥í¥Ð¥¤¥À¥Ù¡¼¥¹¤Ç¡¢¤Ä¤Þ¤ê¡¢\fIKeyStore\fR¥¯¥é¥¹¤Ë¤è¤êÄ󶡤µ¤ì¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¡¢¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹(SPI)¤Ë´Ø¤·¤Æ¼ÂÁõ¤µ¤ì¤Þ¤¹¡£Âбþ¤¹¤ë\fIKeystoreSpi\fRÃê¾Ý¥¯¥é¥¹¤¬¤¢¤ê¡¢¤³¤ì¤â\fIjava\&.security package\fR¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¤¬¡¢¥×¥í¥Ð¥¤¥À¤¬¼ÂÁõ¤¹¤ëɬÍפΤ¢¤ë¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢¥×¥í¥Ð¥¤¥À¤È¤Ï¡¢Java Security API¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤ËÂФ·¡¢¤½¤Î¸ÇÄê¼ÂÁõ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î½¸¹ç¤Î¤³¤È¤Ç¤¹¡£¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¤Ë¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html¤Ë¤¢¤ë
++Java°Å¹æ²½¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Î¥×¥í¥Ð¥¤¥À¤Î¼ÂÁõÊýË¡¤ÇÀâÌÀ¤·¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¥×¥í¥Ð¥¤¥À¤ò¼ÂÁõ¤·¡¢\fIKeystoreSpi\fR¥µ¥Ö¥¯¥é¥¹¤Î¼ÂÁõ¤òÄ󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++.PP
++¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢\fIKeyStore\fR¥¯¥é¥¹¤Î\fIgetInstance\fR¥Õ¥¡¥¯¥È¥ê¡¦¥á¥½¥Ã¥É¤ò»ÈÍѤ·¤Æ¡¢ÍÍ¡¹¤Ê¥×¥í¥Ð¥¤¥À¤«¤é°Û¤Ê¤ë¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÁªÂò¤Ç¤­¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Ï¡¢¥­¡¼¥¹¥È¥¢¾ðÊó¤Î³ÊǼ·Á¼°¤È¥Ç¡¼¥¿·Á¼°¤òÄêµÁ¤¹¤ë¤È¤È¤â¤Ë¡¢¥­¡¼¥¹¥È¥¢Æâ¤ÎÈëÌ©¸°¤È¥­¡¼¥¹¥È¥¢¼«ÂΤÎÀ°¹çÀ­¤òÊݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤òÄêµÁ¤·¤Þ¤¹¡£°Û¤Ê¤ë¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ë¤Ï¡¢¸ß´¹À­¤Ï¤¢¤ê¤Þ¤»¤ó¡£
++.PP
++\fIkeytool\fR¥³¥Þ¥ó¥É¤Ï¡¢Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Î¥­¡¼¥¹¥È¥¢¼ÂÁõ¤Çưºî¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÅϤµ¤ì¤¿¥­¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ°·¤¤¡¢¤³¤ì¤ò\fIFileInputStream\fR¤ËÊÑ´¹¤·¤Æ¡¢¤½¤³¤«¤é¥­¡¼¥¹¥È¥¢¤Î¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤¹¡£\fIjarsigner\fR¥Ä¡¼¥ë¤ª¤è¤Ó\fIpolicytool\fR¥Ä¡¼¥ë¤Ï¡¢URL¤ò»ÈÍѤ·¤Æ»ØÄê²Äǽ¤ÊǤ°Õ¤Î¾ì½ê¤«¤é¥­¡¼¥¹¥È¥¢¤òÆÉ¤ß¼è¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ª¤è¤Ó\fIkeytool\fR¥³¥Þ¥ó¥É¤Î¾ì¹ç¡¢\fI\-storetype\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£¥Ý¥ê¥·¡¼¡¦¥Ä¡¼¥ë¤Î¾ì¹ç¡¢¡ÖÊÔ½¸¡×¥á¥Ë¥å¡¼¤ÎChange Keystore¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£
++.PP
++¥æ¡¼¥¶¡¼¤¬¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿\fIkeystore\&.type\fR¥×¥í¥Ñ¥Æ¥£¤ÎÃͤ˴ð¤Å¤¤¤Æ¡¢¥Ä¡¼¥ë¤Ë¤è¤Ã¤Æ¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ï\fIjava\&.security\fR¤È¸Æ¤Ð¤ì¡¢JDK¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Ç¥£¥ì¥¯¥È¥ê\fIjava\&.home/lib/security\fRÆâ¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢java\&.home¤Ï¼Â¹Ô»þ´Ä¶­¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£\fIjre\fR¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢JDK¤Þ¤¿¤ÏJava Runtime Environment (JRE)¤ÎºÇ¾å°Ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£
++.PP
++³Æ¥Ä¡¼¥ë¤Ï¡¢\fIkeystore\&.type\fR¤ÎÃͤò¼èÆÀ¤·¡¢¤½¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥Ð¥¤¥À¤òÄ´¤Ù¤Þ¤¹¡£ÌÜŪ¤Î¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤Î¥×¥í¥Ð¥¤¥À¤«¤é¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ·¤Þ¤¹¡£
++.PP
++\fIKeyStore\fR¥¯¥é¥¹¤Ç¤Ï¡¢\fIgetDefaultType\fR¤È¤¤¤¦Ì¾Á°¤Îstatic¥á¥½¥Ã¥É¤òÄêµÁ¤·¡¢¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ª¤è¤Ó¥¢¥×¥ì¥Ã¥È¤«¤é\fIkeystore\&.type property\fR¤ÎÃͤò¼èÆÀ¤Ç¤­¤Þ¤¹¡£¼¡¤Î¥³¡¼¥É¤Î¹Ô¤Ç¤Ï¡¢\fIkeystore\&.type property\fR¤Ç»ØÄꤵ¤ì¤¿¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òºîÀ®¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());
+ .fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html¤ÇÀâÌÀ¤·¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬¡Ö¥×¥í¥Ð¥¤¥À¡×¤ò¼ÂÁõ¤·¡¢KeystoreSpi¥µ¥Ö¥¯¥é¥¹¤Î¼ÂÁõ¤òÄ󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢\f2KeyStore\fP¥¯¥é¥¹¤¬Ä󶡤¹¤ëgetInstance¥Õ¥¡¥¯¥È¥ê¡¦¥á¥½¥Ã¥É¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢ÍÍ¡¹¤Ê¥×¥í¥Ð¥¤¥À¤«¤é°Û¤Ê¤ë\f2¥¿¥¤¥×\fP¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÁªÂò¤Ç¤­¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Ï¡¢¥­¡¼¥¹¥È¥¢¾ðÊó¤Î³ÊǼ·Á¼°¤È¥Ç¡¼¥¿·Á¼°¤òÄêµÁ¤¹¤ë¤È¤È¤â¤Ë¡¢¥­¡¼¥¹¥È¥¢Æâ¤ÎÈëÌ©¸°¤È¥­¡¼¥¹¥È¥¢¼«ÂΤÎÀ°¹çÀ­¤òÊݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤òÄêµÁ¤·¤Þ¤¹¡£°Û¤Ê¤ë¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ë¤Ï¡¢¸ß´¹À­¤Ï¤¢¤ê¤Þ¤»¤ó¡£
+-.LP
+-.LP
+-\f3keytool\fP¤Ï¡¢Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Î¥­¡¼¥¹¥È¥¢¼ÂÁõ¤Çưºî¤·¤Þ¤¹¡£(¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÅϤµ¤ì¤¿¥­¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ°·¤¤¡¢¤³¤ì¤òFileInputStream¤ËÊÑ´¹¤·¤Æ¡¢FileInputStream¤«¤é¥­¡¼¥¹¥È¥¢¤Î¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤¹¡£)°ìÊý¡¢\f3jarsigner\fP¥Ä¡¼¥ë¤È\f3policytool\fP¥Ä¡¼¥ë¤Ï¡¢URL¤Ç»ØÄê²Äǽ¤ÊǤ°Õ¤Î¾ì½ê¤«¤é¥­¡¼¥¹¥È¥¢¤òÆÉ¤ß¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3jarsigner\fP¤È\f3keytool\fP¤Î¾ì¹ç¡¢\f2\-storetype\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£\f3Policy Tool\fP¤Î¾ì¹ç¤Ï¡¢¡ÖEdit¡×¥á¥Ë¥å¡¼¤Î¡ÖChange Keystore¡×¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.LP
+-¥æ¡¼¥¶¡¼¤¬¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢Ã±½ã¤Ë¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤ÎÃͤ˴ð¤Å¤¤¤Æ¡¢¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ï\f2java.security\fP¤È¸Æ¤Ð¤ì¡¢SDK¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Ç¥£¥ì¥¯¥È¥ê\f2java.home\fP/lib/securityÆâ¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢\f2java.home\fP¤Ï¼Â¹Ô»þ´Ä¶­¤Î¥Ç¥£¥ì¥¯¥È¥ê(SDK¤Î\f2jre\fP¥Ç¥£¥ì¥¯¥È¥ê¤Þ¤¿¤ÏJava 2 Runtime Environment¤Î¥È¥Ã¥×¥ì¥Ù¥ë¡¦¥Ç¥£¥ì¥¯¥È¥ê)¤Ç¤¹¡£
+-.LP
+-.LP
+-³Æ¥Ä¡¼¥ë¤Ï¡¢\f2keystore.type\fP¤ÎÃͤò¼èÆÀ¤·¡¢¤³¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¡¢¸½ºß¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥Ð¥¤¥À¤òÄ´¤Ù¤Þ¤¹¡£ÌÜŪ¤Î¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤Î¥×¥í¥Ð¥¤¥À¤«¤é¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ·¤Þ¤¹¡£
+-.LP
+-.LP
+-\f2KeyStore\fP¥¯¥é¥¹¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ëstatic¥á¥½¥Ã¥É\f2getDefaultType\fP¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ä¥¢¥×¥ì¥Ã¥È¤«¤é\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤ÎÃͤò¼èÆÀ¤Ç¤­¤Þ¤¹¡£¼¡¤Î¥³¡¼¥É¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤Ç»ØÄꤵ¤ì¤¿¥¿¥¤¥×)¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤·¤Þ¤¹¡£
+-.LP
++.if n \{\
++.RE
++.\}
++.PP
++¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢\fIjks\fR
++(Oracle¤¬Ä󶡤¹¤ëÆÈ¼«¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ)¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¼¡¤Î¹Ô¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
+-.fl
+-\fP
++keystore\&.type=jks
+ .fi
+-
+-.LP
+-.LP
+-¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ïjks(Sun¤¬Ä󶡤¹¤ëÆÈ¼«¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ)¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¼¡¤Î¹Ô¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£
+-.LP
++.if n \{\
++.RE
++.\}
++.PP
++¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î»ØÄê¤Ç¤Ï¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£¤¿¤È¤¨¤Ð¡¢\fIJKS\fR¤Ï\fIjks\fR¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£
++.PP
++¥Ä¡¼¥ë¤Ç¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¤½¤Î¹Ô¤òÊѹ¹¤·¤ÆÊ̤Υ­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢\fIpkcs12\fR¤È¸Æ¤Ð¤ì¤ë¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤¬¤¢¤ë¾ì¹ç¡¢¹Ô¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+- keystore.type=jks
+-.fl
+-\fP
++keystore\&.type=pkcs12
+ .fi
+-
+-.LP
+-.LP
+-Ãí°Õ: ¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î»ØÄê¤Ç¤Ï¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£¤¿¤È¤¨¤Ð¡¢JKS¤Èjks¤ÏƱ¤¸¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-³Æ¥Ä¡¼¥ë¤Ç¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¾å¤Î¹Ô¤òÊѹ¹¤·¤ÆÊ̤Υ­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢pkcs12¤È¸Æ¤Ð¤ì¤ë¥¿¥¤¥×¤Î¥­¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¾å¤Î¹Ô¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£
+-.LP
++.if n \{\
++.RE
++.\}
++.PP
++\fBÃí°Õ: \fRPKCS 11¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¾ì¹ç¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html¤Ë¤¢¤ë
++Java PKCS #11¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖKeyTool¡×¤ª¤è¤Ó¡ÖJarSigner¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.SS "¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à"
++.PP
++¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¼¡¤Î¤¤¤º¤ì¤«¤Î¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++SHA1¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à(DSA)
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++SHA256¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿RSA¥¢¥ë¥´¥ê¥º¥à¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++SHA256¤ÈÂʱ߶ÊÀþ¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à(ECDSA)¤ò»ÈÍѤ·¤¿Âʱ߶ÊÀþ(EC)°Å¹æÊý¼°¥¢¥ë¥´¥ê¥º¥à
++.RE
++.PP
++½ð̾¼Ô¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤¬DSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA¤ÈDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬RSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA256¤ÈRSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤è¤¦¤È¤·¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬EC¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA256¤ÈECDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£
++.PP
++¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢\fI\-sigalg\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥ª¡¼¥Ð¡¼¥é¥¤¥É¤Ç¤­¤Þ¤¹¡£
++.SS "½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë"
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¡¢½ÐÎϤµ¤ì¤ë½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ÏÆþÎÏJAR¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¼¡¤Î2¤Ä¤ÎÄɲåե¡¥¤¥ë¤¬META\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fI\&.SF\fR³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Õ¥¡¥¤¥ë
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fI\&.DSA\fR¡¢\fI\&.RSA\fR¤Þ¤¿¤Ï\fI\&.EC\fR³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë
++.RE
++.PP
++¤³¤ì¤é2¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢\fI\-sigFile\fR¥ª¥×¥·¥ç¥ó¤ÎÃͤ«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥ª¥×¥·¥ç¥ó¤¬\fI\-sigFile MKSIGN\fR¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë¤Ï\fIMKSIGN\&.SF\fR¤ª¤è¤Ó\fIMKSIGN\&.DSA\fR¤È¤¤¤¦Ì¾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£
++.PP
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sigfile\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ç»ÈÍѤǤ­¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤ÎºîÀ®»þ¤Ë¡¢³ºÅö¤¹¤ëʸ»ú¤¬²¼Àþ(_)ʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£Í­¸ú¤Êʸ»ú¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥ó¤Ç¤¹¡£
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++.ps +1
++\fB½ð̾¥Õ¥¡¥¤¥ë\fR
++.RS 4
++.PP
++½ð̾¥Õ¥¡¥¤¥ë(\fI\&.SF\fR¥Õ¥¡¥¤¥ë)¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëºÝ¤ËJAR¥Õ¥¡¥¤¥ë¤Ë¾ï¤Ë´Þ¤Þ¤ì¤ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤´¤È¤Ë¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë¤è¤¦¤Ê¡¢¼¡¤Ë¼¨¤¹3¤Ä¤Î¹Ô¤¬¤¢¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¥Õ¥¡¥¤¥ë̾
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à(SHA)¤Î̾Á°
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++SHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃÍ
++.RE
++.PP
++¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎSHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¡¦¥Ç¡¼¥¿¤Î¥À¥¤¥¸¥§¥¹¥È(¥Ï¥Ã¥·¥å)¤Ë¤Ê¤ê¤Þ¤¹¡£\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢»ØÄꤵ¤ì¤¿¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¤½¤Î3¹Ô¤Î¥Ï¥Ã¥·¥å¤Ë¤Ê¤ê¤Þ¤¹¡£
++.PP
++½ð̾¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¤È¡¢¸¡¾Ú¤ÎºÇŬ²½¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++.ps +1
++\fB½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë\fR
++.RS 4
++.PP
++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï½ð̾¤¬ÉÕ¤±¤é¤ì¡¢½ð̾¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¥­¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤â¡¢ÆâÉô¤Ç¥¨¥ó¥³¡¼¥É¤µ¤ì¤Æ´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¡¢»ÈÍѤµ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Ë±þ¤¸¤Æ¡¢\fI\&.DSA\fR¡¢\fI\&.RSA\fR¤Þ¤¿¤Ï\fI\&.EC\fR¤Ë¤Ê¤ê¤Þ¤¹¡£
++.RE
++.SS "½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×"
++.PP
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤ª¤è¤ÓÊݸ¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢\fIjarsigner\fR¤ÏÂåÂØ½ð̾µ¡¹½¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îưºî¤Ï¾Êά²Äǽ¤Ç¡¢½ð̾»þ¤Ë¼¡¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+- keystore.type=pkcs12
+-.fl
+-\fP
++\-tsa \fIurl\fR
++\-tsacert \fIalias\fR
++\-altsigner \fIclass\fR
++\-altsignerpath \fIclasspathlist\fR
++\-tsapolicyid \fIpolicyid\fR
+ .fi
+-
+-.LP
+-.LP
+-PKCS#11¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Î¾ÜºÙ¤Ï¡¢Java PKCS#11¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Ë¤¢¤ë
+-.na
+-\f2KeyTool¤ÈJarSigner\fP @
++.if n \{\
++.RE
++.\}
++.SS "JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú"
++.PP
++JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤¬À®¸ù¤¹¤ë¤Î¤Ï¡¢½ð̾¤¬Í­¸ú¤Ç¤¢¤ê¡¢¤«¤Ä½ð̾¤ÎÀ¸À®°Ê¹ß¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ï¡¢¼¡¤Î¼ê½ç¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 1.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 1." 4.2
++.\}
++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£
++.sp
++¸¡¾Ú¤Ç¤Ï¡¢³Æ½ð̾¥Ö¥í¥Ã¥¯(\fI\&.DSA\fR)¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤¿½ð̾¤¬¡¢¾ÚÌÀ½ñ(¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó)¤â\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë¼¨¤µ¤ì¤ë¸ø³«¸°¤ËÂбþ¤¹¤ëÈëÌ©¸°¤ò»ÈÍѤ·¤ÆÀ¸À®¤µ¤ì¤¿¤³¤È¤ò³Îǧ¤·¤Þ¤¹¡£¤Þ¤¿¡¢½ð̾¤¬Âбþ¤¹¤ë½ð̾(\fI\&.SF\fR)¥Õ¥¡¥¤¥ë¤ÎÍ­¸ú¤Ê½ð̾¤Ç¤¢¤ë¤³¤È¤¬³Îǧ¤µ¤ì¡¢¤½¤ì¤Ë¤è¤ê¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤¬²þ¤¶¤ó¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤â³Îǧ¤µ¤ì¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 2.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 2." 4.2
++.\}
++\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥¨¥ó¥È¥ê¤Ë¼¨¤µ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¤ò¡¢¥Þ¥Ë¥Õ¥§¥¹¥ÈÆâ¤ÎÂбþ¤¹¤ë³Æ¥»¥¯¥·¥ç¥ó¤ÈÆÍ¤­¤¢¤ï¤»¤Æ¸¡¾Ú¤·¤Þ¤¹¡£
++.sp
++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ç¤Ï¡¢¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ç¤­¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£
++.sp
++°ìÃפ·¤Ê¤¤¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤³¤È¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¡¢¤¢¤Þ¤êºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¸¡¾Ú¤¬É¬Íפˤʤê¤Þ¤¹¡£½ð̾¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼¤Ë³ÊǼ¤µ¤ì¤¿¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤¬¡¢¸½ºß¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤Ë°ìÃפ·¤Ê¤¤Íýͳ¤Î1¤Ä¤Ï¡¢½ð̾¤ª¤è¤Ó\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¸å¤Ë¡¢(\fIjar\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ)1¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ë¤ËÄɲ䵤줿¤³¤È¤Ç¤¹¡£\fIjar\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤òÄɲä·¤¿¾ì¹ç¡¢¿·¤·¤¤¥Õ¥¡¥¤¥ëÍѤΥ»¥¯¥·¥ç¥ó¤¬Äɲ䵤ì¤ë¤³¤È¤Ë¤è¤ê¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤¹¤¬¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£¸¡¾Ú¤¬¤Þ¤ÀÀ®¸ù¤·¤Æ¤¤¤ë¤È¤ß¤Ê¤µ¤ì¤ë¤Î¤Ï¡¢½ð̾¤ÎÀ¸À®°Ê¹ß¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£¤³¤ì¤¬È¯À¸¤¹¤ë¤Î¤Ï¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼°Ê³°¤Î¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¾ì¹ç¤Ç¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 3.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 3." 4.2
++.\}
++\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Ë¥¨¥ó¥È¥ê¤ò»ý¤ÄJAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¼è¤ê¤Þ¤¹¡£ÆÉ¼è¤êÃæ¤Ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ò·×»»¤·¡¢·ë²Ì¤ò¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥»¥¯¥·¥ç¥óÆâ¤Î¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÈÈæ³Ó¤·¤Þ¤¹¡£¥À¥¤¥¸¥§¥¹¥È¤ÏƱ¤¸¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£
++.sp
++¸¡¾Ú¥×¥í¥»¥¹Ãæ¤Ë¤Ê¤ó¤é¤«¤Î½ÅÂç¤Ê¸¡¾Ú¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¤½¤Î¥×¥í¥»¥¹¤ÏÄä»ß¤µ¤ì¡¢¥»¥­¥å¥ê¥Æ¥£Îã³°¤¬¥¹¥í¡¼¤µ¤ì¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢Îã³°¤òÊ᪤ª¤è¤Óɽ¼¨¤·¤Þ¤¹¡£
++.RE
++.if n \{\
++.sp
++.\}
++.RS 4
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++.ps +1
++\fBNote\fR
++.ps -1
++.br
++.TS
++allbox tab(:);
++l.
++T{
++¥Î¡¼¥È
++.PP
++Äɲäηٹð(¤Þ¤¿¤Ï¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¥¨¥é¡¼)¤Ï¤¹¤Ù¤ÆÆÉ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£Æ±Íͤˡ¢¾ÚÌÀ¤¬¿®Íê¤Ç¤­¤ë¤«¤ò·èÄꤹ¤ë¤¿¤á¤Ë¡¢(\fI\-verbose\fR¤ª¤è¤Ó\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ)¾ÚÌÀ½ñ¤ÎÆâÍÆ¤âÆÉ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++T}
++.TE
++.sp 1
++.sp .5v
++.RE
++.SS "1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤òÂоݤȤ¹¤ëÊ£¿ô¤Î½ð̾"
++.PP
++¼¡¤Î¤è¤¦¤Ë¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò¥Õ¥¡¥¤¥ë¤ÇÊ£¿ô²ó¼Â¹Ô¤·¡¢¼Â¹Ô¤Î¤¿¤Ó¤Ë°Û¤Ê¤ë¥æ¡¼¥¶¡¼¤ÎÊÌ̾¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤Î½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner myBundle\&.jar susan
++jarsigner myBundle\&.jar kevin
+ .fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.LP
+-.SS
+-¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à
+-.LP
+-.LP
+-\f3jarsigner\fP¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¼¡¤Î¤¤¤º¤ì¤«¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-SHA1¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿DSA(¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à)
+-.TP 2
+-o
+-SHA256¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿RSA¥¢¥ë¥´¥ê¥º¥à
+-.TP 2
+-o
+-SHA256¤ÈECDSA(Âʱ߶ÊÀþ¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à)¤ò»ÈÍѤ·¤¿EC(Âʱ߶ÊÀþ)°Å¹æÊý¼°¥¢¥ë¥´¥ê¥º¥à
++.if n \{\
+ .RE
+-
+-.LP
+-.LP
+-¶ñÂÎŪ¤Ë¤Ï¡¢½ð̾¼Ô¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤¬DSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA1withDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬RSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA256withRSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬EC¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA256withECDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£
+-.LP
+-.LP
+-¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢\f2\-sigalg\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥ª¡¼¥Ð¡¼¥é¥¤¥É¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.SS
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë
+-.LP
+-.LP
+-\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤¿¾ì¹ç¡¢½ÐÎϤµ¤ì¤ë½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ÏÆþÎÏJAR¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¼¡¤Î2¤Ä¤ÎÄɲåե¡¥¤¥ë¤¬META\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-.SF³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Õ¥¡¥¤¥ë
+-.TP 2
+-o
+-.DSA¡¢.RSA¤Þ¤¿¤Ï.EC¤ò³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë
++.\}
++.PP
++JAR¥Õ¥¡¥¤¥ë¤¬Ê£¿ô²ó½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢Ê£¿ô¤Î\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤ª¤ê¡¢1²ó¤Î½ð̾¤ËÂФ·¤Æ1¤Ä¤Î¥Ú¥¢¤È¤Ê¤ê¤Þ¤¹¡£Á°½Ò¤ÎÎã¤Ç¤Ï¡¢½ÐÎÏJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¼¡¤Î̾Á°¤Î¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++SUSAN\&.SF
++SUSAN\&.DSA
++KEVIN\&.SF
++KEVIN\&.DSA
++.fi
++.if n \{\
+ .RE
+-
+-.LP
+-.LP
+-¤³¤ì¤é2¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢\f2\-sigFile\fP¥ª¥×¥·¥ç¥ó¤ÎÃͤ«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¤È¤·¤Þ¤¹¡£
+-.LP
++.\}
++.PP
++\fBÃí°Õ: \fRJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢JDK 1\&.1¤Î\fIjavakey\fR¥³¥Þ¥ó¥É¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿½ð̾¤È¡¢\fIjarsigner\fR¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿½ð̾¤òº®ºß¤µ¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢\fIjavakey\fR¥³¥Þ¥ó¥É¤Ç¤¹¤Ç¤Ë½ð̾¤µ¤ì¤Æ¤¤¤ëJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤Ç¤­¤Þ¤¹¡£
++.SH "¥ª¥×¥·¥ç¥ó"
++.PP
++¼¡¤Î³Æ¹à¤Ç¤Ï¡¢ÍÍ¡¹¤Ê\fIjarsigner\fR¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£¼¡¤Îɸ½à¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¤É¤Î¥ª¥×¥·¥ç¥ó̾¤Ë¤âÀèÆ¬¤Ë¥Þ¥¤¥Ê¥¹µ­¹æ(\-)¤¬ÉÕ¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç½ø¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++¥¤¥¿¥ê¥Ã¥¯ÂΤιàÌܤμºݤÎÃÍ(¥ª¥×¥·¥ç¥ó¤ÎÃÍ)¤Ï¡¢»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fI\-keystore\fR¡¢\fI\-storepass\fR¡¢\fI\-keypass\fR¡¢\fI\-sigfile\fR¡¢\fI\-sigalg\fR¡¢\fI\-digestalg\fR¤ª¤è¤Ó\fI\-signedjar\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤǤ­¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú»þ¤Ë¤Ï¡¢¤³¤ì¤é¤Ï´Ø·¸¤¢¤ê¤Þ¤»¤ó¡£Æ±Íͤˡ¢ÊÌ̾¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ø¤Î½ð̾»þ¤Î¤ß¤Ç¤¹¡£
++.RE
++.PP
++\-keystore \fIurl\fR
++.RS 4
++¥­¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¼¨¤¹URL¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢\fIuser\&.home\fR¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·èÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë\fI\&.keystore\fR¤Ë¥Ç¥Õ¥©¥ë¥ÈÀßÄꤵ¤ì¤Þ¤¹¡£
++.sp
++¥­¡¼¥¹¥È¥¢¤Ï½ð̾»þ¤Ë¤ÏɬÍפǤ¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥­¡¼¥¹¥È¥¢¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¥­¡¼¥¹¥È¥¢¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++.sp
++¸¡¾Ú¤¹¤ë¤È¤­¤Ï¥­¡¼¥¹¥È¥¢¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¥­¡¼¥¹¥È¥¢¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤µ¤é¤Ë\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¤½¤Î¥­¡¼¥¹¥È¥¢¤Ë1¤Ä¤Ç¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤¹¤ëÄɲþðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£
++.sp
++\fI\-keystore\fR°ú¿ô¤Ë¤Ï¡¢URL¤Ç¤Ï¤Ê¤¯¥Õ¥¡¥¤¥ë̾¤È¥Ñ¥¹¤ò»ØÄê¤Ç¤­¡¢¤³¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë: URL¤ÈƱ¤¸¤è¤¦¤Ë½èÍý¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Ë¤è¤¦¤Ë»ØÄꤹ¤ë¤ÈƱÅù¤Ë¤Ê¤ê¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
+ .nf
+-\f3
+-.fl
+-\-sigFile MKSIGN
+-.fl
+-\fP
++\-keystore \fIfilePathAndName\fR
+ .fi
+-
+-.LP
+-.LP
+-¤³¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤Ï¤½¤ì¤¾¤ìMKSIGN.SF¤ÈMKSIGN.DSA¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2\-sigfile\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤ÎÃæ¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ë»ÈÍѤǤ­¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³ºÅö¤¹¤ëʸ»ú¤ò²¼Àþ(_)¤ËÃÖ¤­´¹¤¨¤Æ¥Õ¥¡¥¤¥ë̾¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£»ÈÍѤǤ­¤ëʸ»ú¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ(_)¡¢¥Ï¥¤¥Õ¥ó¤Ç¤¹¡£
+-.LP
+-\f3½ð̾(.SF)¥Õ¥¡¥¤¥ë\fP
+-.LP
+-.LP
+-½ð̾¥Õ¥¡¥¤¥ë(.SF¥Õ¥¡¥¤¥ë)¤Ï¡¢\f3jarsigner\fP¤Ç½ð̾¤òÉÕ¤±¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¾ï¤Ë´Þ¤Þ¤ì¤ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëƱÍÍ¡¢.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤´¤È¤Ë¡¢¼¡¤Î3¤Ä¤Î¹Ô¤¬¤¢¤ê¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-¥Õ¥¡¥¤¥ë̾
+-.TP 2
+-o
+-»ÈÍѤµ¤ì¤Æ¤¤¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à(SHA)¤Î̾Á°
+-.TP 2
+-o
+-SHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃÍ
++.if n \{\
+ .RE
+-
+-.LP
+-.LP
+-¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎSHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¡¦¥Ç¡¼¥¿¤Î¥À¥¤¥¸¥§¥¹¥È(¥Ï¥Ã¥·¥å)¤Ë¤Ê¤ê¤Þ¤¹¡£°ìÊý¡¢.SF¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¤³¤ì¤é3¹Ô¤Î¥Ï¥Ã¥·¥å¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-½ð̾¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ÇÀâÌÀ¤¹¤ë¤è¤¦¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤Î¸ºß¤Ë¤è¤Ã¤Æ¸¡¾Ú¤ÎºÇŬ²½¤¬²Äǽ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
+-.LP
+-\f3½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë\fP
+-.LP
+-.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï½ð̾¤¬ÉÕ¤±¤é¤ì¡¢½ð̾¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥­¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤âÉ乿²½¤µ¤ì¤¿·Á¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤Ï¡¢½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤·¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¡¢»ÈÍѤµ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Ë±þ¤¸¤Æ.DSA¡¢.RSA¡¢.EC¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.SS
+-½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×
+-.LP
+-.LP
+-\f2jarsigner\fP¥Ä¡¼¥ë¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤·¤ÆÊݸ¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢\f2jarsigner\fP¤ÏÂåÂØ½ð̾µ¡¹½¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îưºî¤Ï¾Êά²Äǽ¤Ç¡¢½ð̾»þ¤Ë¼¡¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-\f2\-tsa url\fP
+-.TP 2
+-o
+-\f2\-tsacert alias\fP
+-.TP 2
+-o
+-\f2\-altsigner class\fP
+-.TP 2
+-o
+-\f2\-altsignerpath classpathlist\fP
++.\}
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\-keystore file:\fIfilePathAndName\fR
++.fi
++.if n \{\
+ .RE
+-
+-.LP
+-.LP
+-¤³¤ì¤é¤Î³Æ¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï¡¢¥ª¥×¥·¥ç¥ó¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.LP
+-.SS
+-JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú
+-.LP
+-.LP
+-JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤¬À®¸ù¤¹¤ë¤Î¤Ï¡¢½ð̾¤¬Í­¸ú¤Ç¤¢¤ê¡¢¤«¤Ä½ð̾¤ÎÀ¸À®°Ê¸å¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ï¡¢¼¡¤Î¼ê½ç¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-.SF¥Õ¥¡¥¤¥ë¼«ÂΤνð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£
++.\}
++(JRE¤Î\fI$JAVA_HOME/lib/security directory\fR¤Ë¤¢¤ë)
++\fIjava\&.security\fR¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS #11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤¿¾ì¹ç¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤ÏPKCS#11¥È¡¼¥¯¥ó¤Ë´ð¤Å¤¤¤ÆÆ°ºî¤Ç¤­¤Þ¤¹¡£¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\-keystore NONE
++\-storetype PKCS11
++.fi
++.if n \{\
++.RE
++.\}
++¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢¹½À®¤µ¤ì¤¿PKCS#11¥È¡¼¥¯¥ó¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore NONE \-storetype PKCS11 \-list
++.fi
++.if n \{\
++.RE
++.\}
++.RE
++.PP
++\-storetype \fIstoretype\fR
++.RS 4
++¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤ë¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î\fIkeystore\&.type\fR¥×¥í¥Ñ¥Æ¥£¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Ç¡¢¤³¤ÎÃͤϡ¢\fIjava\&.security\&.KeyStore\fR¤Îstatic
++\fIgetDefaultType\fR¥á¥½¥Ã¥É¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£
++.sp
++\fI\-storepass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢PCKS #11¥È¡¼¥¯¥ó¤ÎPIN¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£²¿¤â»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ¡¢¥È¡¼¥¯¥óPIN¤Î»ØÄê¤òµá¤á¤é¤ì¤Þ¤¹¡£¥È¡¼¥¯¥ó¤ËÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹(ÀìÍѤÎPIN¥Ñ¥Ã¥É¤äÀ¸ÂÎÆÉ¼è¤êµ¡¤Ê¤É)¤¬¤¢¤ë¾ì¹ç¡¢\fI\-protected\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¥¹¥ï¡¼¥É¡¦¥ª¥×¥·¥ç¥ó¤Ï»ØÄê¤Ç¤­¤Þ¤»¤ó¡£
++.RE
++.PP
++\-storepass[:env | :file} \fIargument\fR
++.RS 4
++¥­¡¼¥¹¥È¥¢¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤¬É¬ÍפʤΤϡ¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Î¤ß¤Ç¤¹(¸¡¾Ú¤¹¤ë¤È¤­¤Ë¤ÏÉÔÍפǤ¹)¡£¤½¤Î¾ì¹ç¡¢\fI\-storepass\fR¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
++.sp
++½¤¾þ»Ò\fIenv\fR¤Þ¤¿¤Ï\fIfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\fIargument\fR¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIenv\fR:
++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î´Ä¶­ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIfile\fR:
++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.RE
++.sp
++\fBÃí°Õ:\fR¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¤Þ¤¿¤Ï¥»¥­¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-keypass [:env | :file] \fIargument\fR
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ËÂбþ¤¹¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤òÊݸ¤ë¤Î¤Ë»ÈÍѤ¹¤ë¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£\fIjarsigner\fR¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬É¬ÍפǤ¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢É¬Íפʥѥ¹¥ï¡¼¥É¤¬¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤È°Û¤Ê¤ë¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
++.sp
++½¤¾þ»Ò\fIenv\fR¤Þ¤¿¤Ï\fIfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\fIargument\fR¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIenv\fR:
++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î´Ä¶­ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIfile\fR:
++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.RE
++.sp
++\fBÃí°Õ: \fR¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¤Þ¤¿¤Ï¥»¥­¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-sigfile \fIfile\fR
++.RS 4
++À¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë»ÈÍѤ¹¤ë¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥Õ¥¡¥¤¥ë¤¬\fIDUKESIGN\fR¤Î¾ì¹ç¡¢À¸À®¤µ¤ì¤ë\fI\&.SF\fR¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ï¡¢\fIDUKESIGN\&.SF\fR¤ª¤è¤Ó\fIDUKESIGN\&.DSA\fR¤È¤¤¤¦Ì¾Á°¤Ç¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î\fIMETA\-INF\fR¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£
++.sp
++¥Õ¥¡¥¤¥ëÆâ¤Îʸ»ú¤Ï¡¢¥»¥Ã¥È\fIa\-zA\-Z0\-9_\-\fR¤«¤é»ØÄꤵ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥óʸ»ú¤Î¤ß¤ò»ÈÍѤǤ­¤Þ¤¹¡£\fI\&.SF\fR¤ª¤è¤Ó\fI\&.DSA\fR¤Î¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¡¢¾®Ê¸»ú¤Ï¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£
++.sp
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sigfile\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ç̵¸ú¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤òºîÀ®¤¹¤ë¤¿¤á¤Ë¡¢³ºÅö¤¹¤ëʸ»ú¤¬²¼Àþ(_)ʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£
++.RE
++.PP
++\-sigalg \fIalgorithm\fR
++.RS 4
++JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë½ð̾¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
++.sp
++ɸ½àŪ¤Ê½ð̾¥¢¥ë¥´¥ê¥º¥à̾¤Î¥ê¥¹¥È¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA¤Ë¤¢¤ë
++Java Cryptography Architecture (JCA)¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖÉÕÏ¿A: ɸ½à̾¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤È¤Î¸ß´¹À­¤¬É¬ÍפǤ¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢ÈëÌ©¸°¤Î¥¿¥¤¥×¤Ë±þ¤¸¤Æ¡¢\fISHA1withDSA\fR¡¢\fISHA256withRSA\fR¤Þ¤¿¤Ï\fISHA256withECDSA\fR¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\fI\-providerClass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¼ºÇÔ¤·¤Þ¤¹¡£
++.RE
++.PP
++\-digestalg \fIalgorithm\fR
++.RS 4
++JAR¥Õ¥¡¥¤¥ë¤Î¥¨¥ó¥È¥ê¤ò¥À¥¤¥¸¥§¥¹¥È¤¹¤ëºÝ¤Ë»ÈÍѤ¹¤ë¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
++.sp
++ɸ½àŪ¤Ê¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à̾¤Î¥ê¥¹¥È¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA¤Ë¤¢¤ë
++Java Cryptography Architecture (JCA)¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖÉÕÏ¿A: ɸ½à̾¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢\fISHA256\fR¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\fI\-providerClass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¼ºÇÔ¤·¤Þ¤¹¡£
++.RE
++.PP
++\-certs
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò\fI\-verify\fR¤ª¤è¤Ó\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¡¢½ð̾¼Ô¤Î¸ø³«¸°¤ò¾ÚÌÀ¤¹¤ë¾ÚÌÀ½ñ(\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ)¤Î¥¿¥¤¥×¤Î̾Á°¤¬´Þ¤Þ¤ì¡¢¾ÚÌÀ½ñ¤¬X\&.509¾ÚÌÀ½ñ(\fIjava\&.security\&.cert\&.X509Certificate\fR¤Î¥¤¥ó¥¹¥¿¥ó¥¹)¤Î¾ì¹ç¡¢½ð̾¼Ô¤Î¼±ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
++.sp
++¥­¡¼¥¹¥È¥¢¤Î³Îǧ¤â¹Ô¤ï¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥­¡¼¥¹¥È¥¢¤ÎÃͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥Õ¥¡¥¤¥ë(¤¢¤ë¾ì¹ç)¤¬¥Á¥§¥Ã¥¯¤µ¤ì¤Þ¤¹¡£½ð̾¼Ô¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢Æâ¤Î¥¨¥ó¥È¥ê¤È°ìÃפ¹¤ë¾ì¹ç¡¢¤½¤Î½ð̾¼Ô¤Î¥­¡¼¥¹¥È¥¢¤Î¥¨¥ó¥È¥ê¤ÎÊÌ̾¤¬´Ý¥«¥Ã¥³Æâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£¥­¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1\&.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËͳÍ褹¤ë½ð̾¼Ô¤Î¾ì¹ç¡¢ÊÌ̾¤Ï´Ý¥«¥Ã¥³¤Ç¤Ï¤Ê¤¯Â祫¥Ã¥³Æâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
++.RE
++.PP
++\-certchain \fIfile\fR
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÊÌ̾¤Ë¤è¤Ã¤ÆÉ½¤µ¤ì¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬´°Á´¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ë¡¢»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ï¡¢¾ÚÌÀ½ñ¥Á¥§¡¼¥óÁ´ÂΤòÊÝ»ý¤¹¤ë¤Î¤Ë½½Ê¬¤ÊÎΰ褬¤Ê¤¤¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¾å¤Ë¥­¡¼¥¹¥È¥¢¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤ËȯÀ¸¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÏ¢¤ÎÏ¢·ë¤µ¤ì¤¿X\&.509¾ÚÌÀ½ñ¡¢PKCS#7·Á¼°¤Îñ°ì¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤È¤Ê¤ê¡¢¤½¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¤Ï¥Ð¥¤¥Ê¥ê¡¦¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¡¢Internet RFC 1421ɸ½à¤Çµ¬Äꤵ¤ì¤ë°õºþ²Äǽ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°(Base64¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤È¤â¸Æ¤Ð¤ì¤ë)¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈRFC 1421¾ÚÌÀ½ñÉ乿²½µ¬³Ê¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-verbose
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¾éĹ¥â¡¼¥É¤Çưºî¤·¡¢¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢\fIjarsigner\fR¤Ï¡¢JAR¤Î½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¿Ê¹Ô¾õ¶·¤Ë´Ø¤¹¤ëÄɲþðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£
++.RE
++.PP
++\-internalsf
++.RS 4
++°ÊÁ°¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤¿\fI\&.DSA\fR
++(½ð̾¥Ö¥í¥Ã¥¯)¥Õ¥¡¥¤¥ë¤Ë¡¢À¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Î¥¨¥ó¥³¡¼¥É¤µ¤ì¤¿´°Á´¤Ê¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£ ¤³¤Îưºî¤ÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£½ÐÎÏJAR¥Õ¥¡¥¤¥ëÁ´ÂΤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-internalsf\fR¤ò»ØÄꤷ¤¿¾ì¹ç¡¢°ÊÁ°¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£¼ÂºÝ¤Ë¤Ï¡¢\fI\-internalsf\fR¥ª¥×¥·¥ç¥ó¤Ï¡¢¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Â礭¤¯¤Ê¤ë¤¿¤á¡¢»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-sectionsonly
++.RS 4
++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sectionsonly\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤ë\fI\&.SF\fR¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤ò´Þ¤à¥Ø¥Ã¥À¡¼¤Ï´Þ¤Þ¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ë´Þ¤Þ¤ì¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢¤¹¤ë¾ðÊ󤪤è¤Ó¥Ï¥Ã¥·¥å¤Î¤ß¤Ç¤¹¡£½ð̾¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇŬ²½¤Î¤¿¤á¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤¬Äɲ䵤ì¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¤¿¤Ó¤Ë¡¢¸¡¾Ú¤Ç¤Ï¡¢¤Þ¤º¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ç¤­¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£°ìÃפ·¤Ê¤¤¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤È¤¤¤¦¡¢¤¢¤Þ¤êºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¸¡¾Ú¤ò¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++\fI\-sectionsonly\fR¥ª¥×¥·¥ç¥ó¤Ï¡¢¼ç¤Ë¥Æ¥¹¥ÈÍѤ˻ÈÍѤµ¤ì¤Þ¤¹¡£¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Â礭¤¯¤Ê¤ë¤¿¤á¡¢¥Æ¥¹¥ÈÍѰʳ°¤Ç¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-protected
++.RS 4
++\fItrue\fR¤Þ¤¿¤Ï\fIfalse\fR¤Î¤¤¤º¤ì¤«¤ÎÃͤò»ØÄê¤Ç¤­¤Þ¤¹¡£ÀìÍÑPIN¥ê¡¼¥À¡¼¤Ê¤É¤ÎÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹¤Ë¤è¤Ã¤Æ¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¾ì¹ç¡¢\fItrue\fR¤ò»ØÄꤷ¤Þ¤¹¡£
++.RE
++.PP
++\-providerClass \fIprovider\-class\-name\fR
++.RS 4
++°Å¹æ²½¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤¬\fIjava\&.security\fR¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ë»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¤­¤Ï¡¢¤½¤Î¥Þ¥¹¥¿¡¼¡¦¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¤È¤­¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£
++.sp
++\fI\-providerArg \fR\fIConfigFilePath\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ·¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤Ï¡¢¥×¥í¥Ð¥¤¥À¤òưŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢¥È¡¼¥¯¥ó¹½À®¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ë\fIConfigFilePath\fR¤ò»ÈÍѤ·¤Þ¤¹¡£¼¡¤ÎÎã¤Ï¡¢Oracle PKCS #11¥×¥í¥Ð¥¤¥À¤¬¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ë¹½À®¤µ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë\fIPKCS #11\fR¥­¡¼¥¹¥È¥¢¤ò°ìÍ÷ɽ¼¨¤¹¤ë¥³¥Þ¥ó¥É¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore NONE \-storetype PKCS11 \e
++ \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e
++ \-providerArg /mydir1/mydir2/token\&.config \e
++ \-list
++.fi
++.if n \{\
++.RE
++.\}
++.RE
++.PP
++\-providerName \fIproviderName\fR
++.RS 4
++\fIjava\&.security\fR¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Ç2¤Ä°Ê¾å¤Î¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤¿¾ì¹ç¡¢\fI\-providerName\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢ÆÃÄê¤Î¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤òÂоݤˤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ï¡¢¥×¥í¥Ð¥¤¥À¤Î̾Á°¤Ç¤¹¡£
++.sp
++Oracle PKCS #11¥×¥í¥Ð¥¤¥À¤Î¾ì¹ç¡¢\fIproviderName\fR¤Ï\fISunPKCS11\-\fR\fITokenName\fR¤È¤¤¤¦·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç¡¢¹½À®Â°À­¤Îɽ¤Ç¾ÜºÙ¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢\fITokenName\fR¤Ï¡¢¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤¬¹½À®¤µ¤ì¤¿Ì¾Á°¤ÎÀÜÈø¼­¤Ç¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ì¾Á°ÀÜÈø¼­\fISmartCard\fR¤Î\fIPKCS #11\fR¥­¡¼¥¹¥È¥¢¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore NONE \-storetype PKCS11 \e
++ \-providerName SunPKCS11\-SmartCard \e
++ \-list
++.fi
++.if n \{\
++.RE
++.\}
++.RE
++.PP
++\-J\fIjavaoption\fR
++.RS 4
++»ØÄꤵ¤ì¤¿\fIjavaoption\fRʸ»úÎó¤òJava¥¤¥ó¥¿¥×¥ê¥¿¤ËľÀÜÅϤ·¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢¥¤¥ó¥¿¥×¥ê¥¿¤ËÂФ¹¤ë¥é¥Ã¥Ñ¡¼¤Ç¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢¶õÇò¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼Â¹Ô´Ä¶­¤Þ¤¿¤Ï¥á¥â¥ê¡¼»ÈÍѤòÄ´À°¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£»ØÄê¤Ç¤­¤ë¥¤¥ó¥¿¥×¥ê¥¿¡¦¥ª¥×¥·¥ç¥ó¤ò°ìÍ÷ɽ¼¨¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fIjava \-h\fR¤Þ¤¿¤Ï\fIjava \-X\fR¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-tsa \fIurl\fR
++.RS 4
++\fI\-tsa http://example\&.tsa\&.url\fR¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£URL
++\fIhttp://example\&.tsa\&.url\fR¤Ï¡¢Time Stamping Authority (TSA)¤Î¾ì½ê¤òÆÃÄꤷ¡¢\fI\-tsacert\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¸¡½Ð¤µ¤ì¤¿URL¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤¹¡£\fI\-tsa\fR¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¥­¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
++.sp
++¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢\fIjarsigner\fR¤Ï¡¢RFC 3161¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥×¥í¥È¥³¥ë(TSP)¤ò»ÈÍѤ·¤ÆTSA¤ÈÄÌ¿®¤·¤Þ¤¹¡£À®¸ù¤¹¤ë¤È¡¢TSA¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤¿¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥È¡¼¥¯¥ó¤Ï¡¢½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤Î½ð̾¤È¤È¤â¤ËÊݸ¤µ¤ì¤Þ¤¹¡£
++.RE
++.PP
++\-tsacert \fIalias\fR
++.RS 4
++\fI\-tsacert\fR
++\fIalias\fR¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£ÊÌ̾¤Ï¡¢¥­¡¼¥¹¥È¥¢Æâ¤ÎÍ­¸ú¤ÊTSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤òÆÃÄꤷ¤Þ¤¹¡£¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ç¡¢TSA¤Î¾ì½ê¤òÆÃÄꤹ¤ëURL¤ò´Þ¤àSubject Information Access³ÈÄ¥µ¡Ç½¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£
++.sp
++\fI\-tsacert\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
++.RE
++.PP
++\-tsapolicyid \fIpolicyid\fR
++.RS 4
++TSA¥µ¡¼¥Ð¡¼¤ËÁ÷¿®¤¹¤ë¥Ý¥ê¥·¡¼ID¤ò¼±Ê̤¹¤ë¥ª¥Ö¥¸¥§¥¯¥È¼±ÊÌ»Ò(OID)¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢¥Ý¥ê¥·¡¼ID¤ÏÁ÷¿®¤µ¤ì¤º¡¢TSA¥µ¡¼¥Ð¡¼¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥Ý¥ê¥·¡¼ID¤òÁªÂò¤·¤Þ¤¹¡£
++.sp
++¥ª¥Ö¥¸¥§¥¯¥È¼±Ê̻Ҥϡ¢ITU Telecommunication Standardization Sector (ITU\-T)ɸ½à¤Ç¤¢¤ëX\&.696¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¼±Ê̻Ҥϡ¢Ä̾\fI1\&.2\&.3\&.4\fR¤Ê¤É¤Î¡¢Éé¤Ç¤Ï¤Ê¤¤¿ô»ú¤Î¥Ô¥ê¥ª¥É¶èÀÚ¤ê¤Î¥»¥Ã¥È¤Ç¤¹¡£
++.RE
++.PP
++\-altsigner \fIclass\fR
++.RS 4
++¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ÂåÂØ½ð̾¥á¥«¥Ë¥º¥à¤ò»ØÄꤷ¤Þ¤¹¡£´°Á´½¤¾þ¥¯¥é¥¹Ì¾¤Ï¡¢\fIcom\&.sun\&.jarsigner\&.ContentSigner\fRÃê¾Ý¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò¼±Ê̤·¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ï¡¢\fI\-altsignerpath\fR¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£\fI\-altsigner\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£
++.sp
++¤¿¤È¤¨¤Ð¡¢\fIcom\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR¤È¤¤¤¦Ì¾Á°¤Î¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢jarsigner¤Î¥ª¥×¥·¥ç¥ó\fI\-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR¤ò»ÈÍѤ·¤Þ¤¹¡£
++.RE
++.PP
++\-altsignerpath \fIclasspathlist\fR
++.RS 4
++¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ª¤è¤Ó¤½¤ì¤¬°Í¸¤¹¤ëJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£\fI\-altsigner\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ëÆâ¤Ë¤¢¤ë¾ì¹ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£
++.sp
++ÀäÂХѥ¹¤Þ¤¿¤Ï¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤ÎÁêÂХѥ¹¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£\fIclasspathlist\fR¤ËÊ£¿ô¤Î¥Ñ¥¹¤äJAR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¡¢¤½¤ì¤é¤ò¡¢Oracle Solaris¤Î¾ì¹ç¤Ï¥³¥í¥ó(:)¤Ç¡¢Windows¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó(;)¤Ç¡¢¤½¤ì¤¾¤ì¶èÀÚ¤ê¤Þ¤¹¡£ÌÜŪ¤Î¥¯¥é¥¹¤¬¤¹¤Ç¤Ë¸¡º÷¥Ñ¥¹Æâ¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÉÔÍפǤ¹¡£
++.sp
++¼¡¤ÎÎã¤Ç¤Ï¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÊýË¡¤ò¼¨¤·¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë̾¤ò´Þ¤á¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\-altsignerpath /home/user/lib/authsigner\&.jar
++.fi
++.if n \{\
++.RE
++.\}
++¼¡¤ÎÎã¤Ç¤Ï¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÊýË¡¤ò¼¨¤·¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë̾¤ò¾Êά¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/
++.fi
++.if n \{\
++.RE
++.\}
++.RE
++.PP
++\-strict
++.RS 4
++½ð̾¤Þ¤¿¤Ï¸¡¾Ú½èÍýÃæ¤Ë¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬È¯¹Ô¤µ¤ì¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê¸¡½Ð¤µ¤ì¤¿½ÅÂç¤Ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£¥¨¥é¡¼¤È·Ù¹ð¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++\-verbose \fIsuboptions\fR
++.RS 4
++¸¡¾Ú½èÍý¤Î¾ì¹ç¡¢\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢É½¼¨¤¹¤ë¾ðÊó¤ÎÎ̤ò·èÄꤹ¤ë¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤷ¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¡¦¥â¡¼¥É(¤Þ¤¿¤Ï¥µ¥Ö¥ª¥×¥·¥ç¥ó\fIall\fR)¤Ç¤Ï¡¢¥¨¥ó¥È¥ê¤¬½èÍý¤µ¤ì¤ë¤¿¤Ó¤Ë³Æ¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¡¢¤½¤Î¸å¤ËJAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£\fI\-certs\fR¤ª¤è¤Ó\fI\-verbose:grouped\fR¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤¬¡¢¤½¤Î¾ÚÌÀ½ñ¾ðÊó¤È¤È¤â¤Ë¡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£\fI\-certs\fR¤ª¤è¤Ó\fI\-verbose:summary\fR¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤¬¡¢¤½¤Î¾ÚÌÀ½ñ¾ðÊó¤È¤È¤â¤Ë¡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£³Æ¥¨¥ó¥È¥ê¤Î¾ÜºÙ¤Ï¡¢\fI1¤Ä¤Î¥¨¥ó¥È¥ê(°Ê¾å)\fR¤Ë¤Þ¤È¤á¤é¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£Îã¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.SH "¥¨¥é¡¼¤È·Ù¹ð"
++.PP
++½ð̾¤Þ¤¿¤Ï¸¡¾Ú¥×¥í¥»¥¹Ãæ¤Ë¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¡¢ÍÍ¡¹¤Ê¥¨¥é¡¼¤Þ¤¿¤Ï·Ù¹ð¤¬È¯¹Ô¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£
++.PP
++¾ã³²¤¬¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É1¤Ç½ªÎ»¤·¤Þ¤¹¡£¾ã³²¤Ï¤Ê¤¤¤¬¡¢1¤Ä°Ê¾å¤Î½ÅÂç¤Ê·Ù¹ð¤¬¤¢¤ë¾ì¹ç¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ\fB¤¤¤Ê¤¤\fR¾ì¹ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É0¤Ç½ªÎ»¤·¡¢\fI\-strict\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï·Ù¹ð¥³¡¼¥É¤ÎORÃͤǽªÎ»¤·¤Þ¤¹¡£¾ðÊó·Ù¹ð¤Î¤ß¤¬¤¢¤ë¡¢¤Þ¤¿¤Ï·Ù¹ð¤¬¤Þ¤Ã¤¿¤¯¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¾ï¤Ë¥³¡¼¥É0¤Ç½ªÎ»¤·¤Þ¤¹¡£
++.PP
++¤¿¤È¤¨¤Ð¡¢¥¨¥ó¥È¥ê¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Ç¡¢¥Õ¥¡¥¤¥ë¤Î½ð̾¤òµö²Ä¤·¤Ê¤¤KeyUsage³ÈÄ¥µ¡Ç½¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É12 (=4+8)¤Ç½ªÎ»¤·¤Þ¤¹¡£
++.if n \{\
++.sp
++.\}
++.RS 4
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
++.ps +1
++\fBNote\fR
++.ps -1
+ .br
+-¤³¤Î¼ê½ç¤Ç¤Ï¡¢³Æ½ð̾¥Ö¥í¥Ã¥¯(.DSA)¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë½ð̾¤¬¡¢¼ÂºÝ¤Ë¡¢¸ø³«¸°¤ËÂбþ¤¹¤ëÈëÌ©¸°¤ò»ÈÍѤ·¤ÆÀ¸À®¤µ¤ì¤¿¤â¤Î¤Ç¤¢¤ë¤³¤È¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£.DSA¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¸ø³«¸°¤Î¾ÚÌÀ½ñ(¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó)¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢¤³¤Î¼ê½ç¤Ç¤Ï¡¢ÌÜŪ¤Î½ð̾¤¬¡¢Âбþ¤¹¤ë½ð̾(.SF)¥Õ¥¡¥¤¥ëÆâ¤ÎÍ­¸ú¤Ê½ð̾¤Ç¤¢¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¡¢.SF¥Õ¥¡¥¤¥ë¤¬²þÊѤµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤â³Îǧ¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-2.
+-.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥¨¥ó¥È¥ê¤Î¥À¥¤¥¸¥§¥¹¥È¤ò¥Þ¥Ë¥Õ¥§¥¹¥ÈÆâ¤ÎÂбþ¤¹¤ë³Æ¥»¥¯¥·¥ç¥ó¤ÈÆÍ¤­¤¢¤ï¤»¤Æ¸¡¾Ú¤·¤Þ¤¹¡£
++.TS
++allbox tab(:);
++l.
++T{
++¥Î¡¼¥È
++.PP
++Unix¥Ù¡¼¥¹¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¡¦¥·¥¹¥Æ¥à¤Ç¤Ï0¤«¤é255¤Þ¤Ç¤ÎÃͤΤߤ¬Í­¸ú¤Î¤¿¤á¡¢½ªÎ»¥³¡¼¥É¤ÏºÆÍøÍѤµ¤ì¤Þ¤¹¡£
++T}
++.TE
++.sp 1
++.sp .5v
++.RE
++.PP
++¼¡¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤êȯ¹Ô¤Ç¤­¤ë¥¨¥é¡¼¤ª¤è¤Ó·Ù¹ð¤Î̾Á°¡¢¥³¡¼¥É¡¢ÀâÌÀ¤òµ­½Ò¤·¤Þ¤¹¡£
++.SS "¾ã³²"
++.PP
++¥³¥Þ¥ó¥É¥é¥¤¥ó²òÀÏ¥¨¥é¡¼¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¸°¥Ú¥¢¤ò¸¡º÷¤Ç¤­¤Ê¤¤¡¢¤Þ¤¿¤Ï½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¼ºÇԤʤÉ(¸ÂÄꤵ¤ì¤Þ¤»¤ó)¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Î¼ºÇÔÍýͳ¡£
++.PP
++failure
++.RS 4
++¥³¡¼¥É1¡£½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£
++.RE
++.SS "½ÅÂç¤Ê·Ù¹ð"
++.if n \{\
++.sp
++.\}
++.RS 4
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
++.ps +1
++\fBNote\fR
++.ps -1
+ .br
+-.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¢¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¼ÂºÝ¤Ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò¸¡¾Ú¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Ï¥Ã¥·¥å¤¬°ìÃפ¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Î¼ê½ç¤Ë¸¡¾Ú¤¬¿Ê¤ß¤Þ¤¹¡£
++.TS
++allbox tab(:);
++l.
++T{
++¥Î¡¼¥È
++.PP
++\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢½ÅÂç¤Ê·Ù¹ð¤Ï¥¨¥é¡¼¤È¤·¤ÆÊó¹ð¤µ¤ì¤Þ¤¹¡£
++T}
++.TE
++.sp 1
++.sp .5v
++.RE
++.PP
++JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¤Ë¥¨¥é¡¼¤¬¤¢¤ë¡¢¤Þ¤¿¤Ï½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë¾¤ÎÌäÂ꤬¤¢¤ë¤Ê¤É¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤¬½ÅÂç¤Ê·Ù¹ð¤òȯ¹Ô¤¹¤ëÍýͳ¡£
++.PP
++hasExpiredCert
++.RS 4
++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Î¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++notYetValidCert
++.RS 4
++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬¤Þ¤ÀÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++chainNotValidated
++.RS 4
++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬Àµ¤·¤¯¸¡¾Ú¤Ç¤­¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++badKeyUsage
++.RS 4
++¥³¡¼¥É8¡£¤³¤ÎJAR¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎKeyUsage³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++badExtendedKeyUsage
++.RS 4
++¥³¡¼¥É8¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎExtendedKeyUsage³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++badNetscapeCertType
++.RS 4
++¥³¡¼¥É8¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎNetscapeCertType³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++hasUnsignedEntry
++.RS 4
++¥³¡¼¥É16¡£¤³¤Îjar¤Ë¤Ï¡¢À°¹çÀ­¥Á¥§¥Ã¥¯¤ò¤·¤Æ¤¤¤Ê¤¤Ì¤½ð̾¤Î¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++notSignedByAlias
++.RS 4
++¥³¡¼¥É32¡£¤³¤Îjar¤Ë¤Ï¡¢»ØÄꤵ¤ì¤¿ÊÌ̾¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤½ð̾ºÑ¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++aliasNotInStore
++.RS 4
++¥³¡¼¥É32¡£¤³¤Îjar¤Ë¤Ï¡¢¤³¤Î¥­¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤½ð̾ºÑ¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
++.RE
++.SS "¾ðÊó·Ù¹ð"
++.PP
++¾ðÊó·Ù¹ð¤Ë¤Ï¡¢¥¨¥é¡¼¤Ç¤Ï¤Ê¤¤¤¬ÉÔŬÀڤȤߤʤµ¤ì¤ë¤â¤Î¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¥³¡¼¥É¤Ï¤¢¤ê¤Þ¤»¤ó¡£
++.PP
++hasExpiringCert
++.RS 4
++¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬6¤«·î°ÊÆâ¤Ë´ü¸ÂÀÚ¤ì¤È¤Ê¤ë¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
++.RE
++.PP
++noTimestamp
++.RS 4
++¤³¤Îjar¤Ë¤Ï¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤Þ¤Ê¤¤½ð̾¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥¿¥¤¥à¥¹¥¿¥ó¥×¤Ê¤·¤Ç¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎÍ­¸ú´ü¸Â(·Á¼°¤Ï\fIYYYY\-MM\-DD\fR)¸å¤Þ¤¿¤Ï¾­Íè¤Î¼è¾ÃÆü¸å¡¢¥æ¡¼¥¶¡¼¤Ï¤³¤ÎJAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤­¤Ê¤¤¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£
++.RE
++.SH "Îã"
++.SS "JAR¥Õ¥¡¥¤¥ë¤Î½ð̾"
++.PP
++¼¡¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥­¡¼¥¹¥È¥¢ÊÌ̾¤¬\fIworking\fR¥Ç¥£¥ì¥¯¥È¥ê¤Î\fImystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥­¡¼¥¹¥È¥¢¤Ë¤¢¤ë\fIjane\fR¤Ç¤¢¤ë¥æ¡¼¥¶¡¼¤ÎÈëÌ©¸°¤Çbundle\&.jar¤Ë½ð̾¤·¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ësbundle\&.jar¤È¤¤¤¦Ì¾Á°¤òÉÕ¤±¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore /working/mystore \-storepass <keystore password>
++ \-keypass <private key password> \-signedjar sbundle\&.jar bundle\&.jar jane
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++Á°½Ò¤Î¥³¥Þ¥ó¥É¤Ç¤Ï\fI\-sigfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤ëÀ¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ÊÌ̾¤Ë´ð¤Å¤¤¤¿¥Ç¥Õ¥©¥ë¥È¤Î̾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢Ì¾Á°ÉÕ¤­¤Î\fIJANE\&.SF\fR¤ª¤è¤Ó\fIJANE\&.DSA\fR¤Ç¤¹¡£
++.PP
++¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ª¤è¤ÓÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤òµá¤á¤é¤ì¤ë¾ì¹ç¡¢Á°½Ò¤Î¥³¥Þ¥ó¥É¤òû½Ì¤·¤Æ¡¢¼¡¤Î¤³¤È¤ò¼Â¹Ô¤Ç¤­¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore /working/mystore
++ \-signedjar sbundle\&.jar bundle\&.jar jane
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++¥­¡¼¥¹¥È¥¢¤¬¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢(¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î\&.keystore)¤Ç¤¢¤ë¾ì¹ç¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥­¡¼¥¹¥È¥¢¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤»¤ó¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++ÆþÎÏJAR¥Õ¥¡¥¤¥ë(bundle\&.jar)¤ò½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ç¾å½ñ¤­¤¹¤ë¾ì¹ç¡¢¼¡¤Î¤è¤¦¤Ë\fI\-signedjar\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner bundle\&.jar jane
++.fi
++.if n \{\
++.RE
++.\}
++.SS "½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú"
++.PP
++½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤Æ¡¢½ð̾¤¬Í­¸ú¤ÇJAR¥Õ¥¡¥¤¥ë¤¬²þ¤¶¤ó¤µ¤ì¤Ê¤«¤Ã¤¿¤³¤È¤ò³Îǧ¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-verify sbundle\&.jar
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢\fIjar verified\fR¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£Í­¸ú¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¥¨¥é¡¼¡¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢¾ÜºÙ¾ðÊó¤ò¼èÆÀ¤Ç¤­¤Þ¤¹¡£\fIjarsigner\fR¤ò\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ¹¤ë¥µ¥ó¥×¥ë¤ò¡¢¼¡¤Ë¼¨¤·¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-verify \-verbose sbundle\&.jar
++
++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF
++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF
++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA
++ smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class
++ smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class
++
++ s = signature was verified
++ m = entry is listed in manifest
++ k = at least one certificate was found in keystore
++
++ jar verified\&.
++.fi
++.if n \{\
++.RE
++.\}
++.SS "¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤¿¸¡¾Ú"
++.PP
++\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò\fI\-verify\fR¤ª¤è¤Ó\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥¿¥¤¥×¡¢½ð̾¼Ô¤Î¼±ÊÌ̾¾ðÊó(X\&.509¾ÚÌÀ½ñ¤Î¾ì¹ç)¤¬´Þ¤Þ¤ì¡¢´Ý¥«¥Ã¥³Æâ¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤Î¸ø³«¸°¾ÚÌÀ½ñ¤Ë°ìÃפ¹¤ë¾ì¹ç¤Î½ð̾¼Ô¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar
++
++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF
++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF
++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA
++ 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF
++ 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA
++ smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class
++
++ X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)
++ X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)
++
++ s = signature was verified
++ m = entry is listed in manifest
++ k = at least one certificate was found in keystore
++
++ jar verified\&.
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤¬X\&.509¾ÚÌÀ½ñ¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¼±ÊÌ̾¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¾ÚÌÀ½ñ¤Î¥¿¥¤¥×¤ÈÊÌ̾¤Î¤ß¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¾ÚÌÀ½ñ¤¬PGP¾ÚÌÀ½ñ¤Ç¡¢ÊÌ̾¤¬\fIbob\fR¤Ç¤¢¤ë¾ì¹ç¡¢\fIPGP, (bob)\fR¤ò¼èÆÀ¤·¤Þ¤¹¡£
++.SS "¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½ð̾¼Ô¤ò´Þ¤à¸¡¾Ú"
++.PP
++JAR¥Õ¥¡¥¤¥ë¤¬JDK 1\&.1¤Î\fIjavakey\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¡¢½ð̾¼Ô¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ç¤¢¤ë¾ì¹ç¡¢¸¡¾Ú¤Î½ÐÎϤˤÏ\fIi\fR¤¬´Þ¤Þ¤ì¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤È¥­¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤ÎξÊý¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤¿¾ì¹ç¡¢\fIk\fR¤È\fIi\fR¤ÎξÊý¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
++.PP
++\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ï¡¢¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ë»ÈÍѤµ¤ì¤ë´Ý¥«¥Ã¥³¤Ç¤Ï¤Ê¤¯¡¢Â祫¥Ã¥³¤Ç°Ï¤ß¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
++.sp
++.if n \{\
++.RS 4
++.\}
++.nf
++ jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar
++
++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF
++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF
++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA
++ 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF
++ 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA
++ smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html
++
++ X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)
++ X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]
++
++ s = signature was verified
++ m = entry is listed in manifest
++ k = at least one certificate was found in keystore
++ i = at least one certificate was found in identity scope
++
++ jar verified\&.
++.fi
++.if n \{\
++.RE
++.\}
++.PP
++\fBÃí°Õ: \fRÊÌ̾¤¬¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ç¤Ï¤Ê¤¯¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¤Ë¤Ï¡¢ÊÌ̾\fIduke\fR¤òÂ祫¥Ã¥³¤Ç°Ï¤ß¤Þ¤¹¡£
++.SH "JDK 1.1¤Î¸ß´¹À­"
++.PP
++\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤Ï¡¢JDK 1\&.1¤Ë¤ª¤±¤ë\fIjavakey\fR¥Ä¡¼¥ë¤òÃÖ¤­´¹¤¨¤¿¤â¤Î¤Ç¤¹¡£¤³¤ì¤é¤Î¿·¤·¤¤¥Ä¡¼¥ë¤Ï¡¢¥­¡¼¥¹¥È¥¢¤ÈÈëÌ©¸°¤ò¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ëµ¡Ç½¤ä¡¢½ð̾¤ÎÀ¸À®¤Ë²Ã¤¨¤Æ½ð̾¤ò¸¡¾Ú¤¹¤ëµ¡Ç½¤Ê¤É¡¢\fIjavakey\fR¤è¤ê¿¤¯¤Î¤òµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£
++.PP
++¿·¤·¤¤¥­¡¼¥¹¥È¥¢¡¦¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ï¡¢\fIjavakey\fR¤¬ºîÀ®¤·¤Æ´ÉÍý¤·¤Æ¤¤¤¿¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÂå¤ï¤ë¤â¤Î¤Ç¤¹¡£¥­¡¼¥¹¥È¥¢·Á¼°¤È¡¢JDK 1\&.1¤Î\fIjavakey\fR¤¬»ÈÍѤ·¤Æ¤¤¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°¤È¤Î´Ö¤Ë¤Ï¡¢²¼°Ì¸ß´¹À­¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¼¡¤ÎÅÀ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIkeytool \-identitydb\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¥­¡¼¥¹¥È¥¢¤Ë¾ðÊó¤ò¥¤¥ó¥Ý¡¼¥È¤Ç¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjavakey\fR¥³¥Þ¥ó¥É¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤Ç¤­¤Þ¤¹¡£
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjavakey\fR¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JDK¤Î¥­¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1\&.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¤Î½ð̾¼ÔÊÌ̾¤òǧ¼±¤·¡¢¤½¤ì¤òÂоݤ˽èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
++.RE
++.SS "½ð̾¤Î¤Ê¤¤JAR"
++.PP
++½ð̾¤Î¤Ê¤¤JAR¤Ë¤Ï¡¢¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â¤¬¤¢¤ê¤Þ¤¹¡£
++.SS "½ð̾ÉÕ¤­JAR"
++.PP
++½ð̾ÉÕ¤­JAR¤Ë¤Ï¡¢µ­½Ò¤É¤ª¤ê¤ÎJDK 1\&.1\&.\fIn\fR¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Î¥¹¥Æ¡¼¥¿¥¹¤Ë´ð¤Å¤¤¤¿¸¢¸Â¹½À®¤¬¤¢¤ê¤Þ¤¹¡£JDK¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤­¤ë¤Î¤Ï¡¢¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Î¤ß¤Ç¤¹¡£
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
++.ps +1
++\fB¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â\fR
++.RS 4
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: ¤Ï¤¤/¿®Íꤵ¤ì¤Ê¤¤
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++Ãí°Õ¤Î3¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: ¤Ï¤¤/¿®Íꤵ¤ì¤Ê¤¤
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++Ãí°Õ¤Î1¤ª¤è¤Ó3¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
+-¥Ï¥Ã¥·¥å¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢¸úΨŪ¤Ë¤ÏÎô¤ëÊýË¡¤ò»ÈÍѤ·¤¿¸¡¾Ú¤¬É¬Íפˤʤê¤Þ¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹(½ð̾(.SF)¥Õ¥¡¥¤¥ë¤ò»²¾È)¡£
++.ps +1
++\fBÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¸¢¸Â\fR
++.RS 4
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++Ãí°Õ¤Î2¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
++.ps +1
++\fBÉÕÍ¿¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î¸¢¸Â\fR
++.RS 4
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.PP
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++Ãí°Õ¤Î1¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.RS 4
++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR
++.RE
++.RS 4
++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR
++.RE
++.RS 4
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR
++.RE
++.RS 4
++Ãí°Õ¤Î1¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
++.RE
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
+ .br
+-.SF¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼¤Ë³ÊǼ¤µ¤ì¤¿¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È¡¢¼ÂºÝ¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢½ð̾(¤Ä¤Þ¤ê.SF¥Õ¥¡¥¤¥ë)¤ÎÀ¸À®¸å¤Ë¡¢JAR¥Õ¥¡¥¤¥ë¤Ë1¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤¬(\f2jar\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ)Äɲ䵤줿²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£\f2jar\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤òÄɲä·¤¿¾ì¹ç¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤¹(¿·¤·¤¤¥Õ¥¡¥¤¥ëÍѤΥ»¥¯¥·¥ç¥ó¤¬Äɲ䵤ì¤Þ¤¹)¤¬¡¢.SF¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£¤³¤Î¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼°Ê³°¤Î¥»¥¯¥·¥ç¥ó¤Ë³ÊǼ¤µ¤ì¤¿¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤È¤­¤Ï¡¢½ð̾¤ÎÀ¸À®»þ¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Ë¸ºß¤·¤Æ¤¤¤¿¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¡¢¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¡¢¸¡¾Ú¤ÏÀ®¸ù¤·¤¿¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£
+-.TP 3
+-3.
+-JAR¥Õ¥¡¥¤¥ëÆâ¤Î¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Ë¥¨¥ó¥È¥ê¤ò»ý¤Ä³Æ¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡£ÆÉ¹þ¤ßÃæ¤Ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ò·×»»¤·¡¢·ë²Ì¤ò¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥»¥¯¥·¥ç¥óÆâ¤Î³ºÅö¤¹¤ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÈÈæ³Ó¤·¤Þ¤¹¡£2¤Ä¤Î¥À¥¤¥¸¥§¥¹¥È¤ÏƱ¤¸¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£
++.ps +1
++\fBÃí°Õ\fR
++.RS 4
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 1.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 1." 4.2
++.\}
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤Ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Þ¤¿¤ÏÊÌ̾¤Ë¤Ä¤¤¤Æ¤Î¸ÀµÚ¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤ò¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¡¢ÉÕÍ¿¤µ¤ì¤¿¸¢¸Â¤Ë¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤬ȿ±Ç¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+ .RE
+-
+-.LP
+-.LP
+-¸¡¾Ú¥×¥í¥»¥¹¤ÎÅÓÃæ¤Ç¤Ê¤ó¤é¤«¤Î½ÅÂç¤Ê¸¡¾Ú¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¸¡¾Ú¥×¥í¥»¥¹¤ÏÃæ»ß¤µ¤ì¡¢¥»¥­¥å¥ê¥Æ¥£Îã³°¤¬¥¹¥í¡¼¤µ¤ì¤Þ¤¹¡£Îã³°¤Ï¡¢\f3jarsigner\fP¤¬¥­¥ã¥Ã¥Á¤·¤ÆÉ½¼¨¤·¤Þ¤¹¡£
+-.LP
+-.SS
+-1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤òÂоݤȤ¹¤ëÊ£¿ô¤Î½ð̾
+-.LP
+-.LP
+-1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ\f3jarsigner\fP¥Ä¡¼¥ë¤òÊ£¿ô²ó¼Â¹Ô¤·¡¢¼Â¹Ô¤Î¤¿¤Ó¤Ë¡¢°Û¤Ê¤ë¥æ¡¼¥¶¡¼¤ÎÊÌ̾¤ò»ØÄꤹ¤ì¤Ð¡¢JAR¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤Î½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner myBundle.jar susan
+-.fl
+- jarsigner myBundle.jar kevin
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-JAR¥Õ¥¡¥¤¥ë¤¬Ê£¿ô²ó½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ú¥¢¤¬Ê£¿ô´Þ¤Þ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ú¥¢¤Ï¡¢1²ó¤Î½ð̾¤ËÂФ·¤Æ1¤ÄºîÀ®¤µ¤ì¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢¾å¤ÎÎã¤Ç½ÐÎϤµ¤ì¤ëJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¼¡¤Î̾Á°¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- SUSAN.SF
+-.fl
+- SUSAN.DSA
+-.fl
+- KEVIN.SF
+-.fl
+- KEVIN.DSA
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-Ãí°Õ: JAR¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢JDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤ÇÀ¸À®¤µ¤ì¤¿½ð̾¤È\f3jarsigner\fP¤ÇÀ¸À®¤µ¤ì¤¿½ð̾¤¬º®ºß¤Ç¤­¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤¹¤Ç¤Ë\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤¬ÉÕ¤±¤é¤ì¤Æ¤¤¤ëJAR¥Õ¥¡¥¤¥ë¤Ë¡¢\f3jarsigner\fP¤ò»ÈÍѤ·¤Æ½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.SH "¥ª¥×¥·¥ç¥ó"
+-.LP
+-.LP
+-¼¡¤Ë¡¢\f3jarsigner\fP¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£Ãí°Õ:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-¤É¤Î¥ª¥×¥·¥ç¥ó̾¤Ë¤âÀèÆ¬¤Ë¥Þ¥¤¥Ê¥¹µ­¹æ(\-)¤¬ÉÕ¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç½ø¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-¥¤¥¿¥ê¥Ã¥¯ÂΤιàÌܤμºݤÎÃÍ(¥ª¥×¥·¥ç¥ó¤ÎÃÍ)¤Ï¡¢»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.TP 2
+-o
+-\f2\-keystore\fP¡¢\f2\-storepass\fP¡¢\f2\-keypass\fP¡¢\f2\-sigfile\fP¡¢\f2\-sigalg\fP¡¢\f2\-digestalg\fP¤ª¤è¤Ó\f2\-signedjar\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤǤ­¤ë¤Î¤Ï¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¾ì¹ç¤Ç¤Ï¤Ê¤¯¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£Æ±Íͤˡ¢ÊÌ̾¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 2.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 2." 4.2
++.\}
++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë/¥­¡¼¥¹¥È¥¢¤ÎÁȹ礻¤Ï¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£
+ .RE
+-
+-.LP
+-.RS 3
+-.TP 3
+-\-keystore url
+-¥­¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¼¨¤¹URL¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë\f2.keystore\fP¤Ç¤¹¡£¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢user.home¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ë¤è¤Ã¤Æ·è¤Þ¤ê¤Þ¤¹¡£
++.sp
++.RS 4
++.ie n \{\
++\h'-04' 3.\h'+01'\c
++.\}
++.el \{\
++.sp -1
++.IP " 3." 4.2
++.\}
++Java¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢¿®Íê¤Ç¤­¤Ê¤¤¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
++.RE
++.RE
++.SH "»²¾È"
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++jar(1)
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++keytool(1)
++.RE
++.sp
++.RS 4
++.ie n \{\
++\h'-04'\(bu\h'+03'\c
++.\}
++.el \{\
++.sp -1
++.IP \(bu 2.3
++.\}
++http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html¤Ë¤¢¤ë
++¡Ö¥³¡¼¥¹: Java SE¤Î¥»¥­¥å¥ê¥Æ¥£µ¡Ç½¡×
++.RE
+ .br
+-.br
+-½ð̾¤¹¤ë¤È¤­¤Ï¥­¡¼¥¹¥È¥¢¤¬É¬ÍפǤ¹¡£¤³¤Î¤¿¤á¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç(¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥­¡¼¥¹¥È¥¢¤ò»ÈÍѤ¹¤ë¾ì¹ç)¤Ï¡¢¥­¡¼¥¹¥È¥¢¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.br
+-.br
+-¸¡¾Ú¤¹¤ë¤È¤­¤Ï¥­¡¼¥¹¥È¥¢¤Ï\f2ɬÍפ¢¤ê¤Þ¤»¤ó\fP¡£¤¿¤À¤·¡¢¥­¡¼¥¹¥È¥¢¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤µ¤é¤Ë\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤â»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¤½¤Î¥­¡¼¥¹¥È¥¢¤Ë1¤Ä¤Ç¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤¹¤ëÄɲþðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-Ãí°Õ: \f2\-keystore\fP¤Î°ú¿ô¤Ë¤Ï¡¢URL¤Î¤«¤ï¤ê¤Ë¥Õ¥¡¥¤¥ë̾(¤È¥Ñ¥¹)¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£¥Õ¥¡¥¤¥ë̾(¤È¥Ñ¥¹)¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢¡Öfile:¡×URL¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+- \-keystore \fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-¤³¤ì¤Ï¡¢¼¡¤Î»ØÄê¤ÈƱ¤¸¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+- \-keystore file:\fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-JRE¤Î\f2$JAVA_HOME/lib/security\fP¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤µ¤ì¤¿\f2java.security\fP¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS#11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢keytool¤Èjarsigner¤ÏPKCS#11¥È¡¼¥¯¥ó¤Ë´ð¤Å¤¤¤ÆÆ°ºî¤Ç¤­¤Þ¤¹¡£¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-\f2\-keystore NONE\fP
+-.TP 2
+-o
+-\f2\-storetype PKCS11\fP
+-.RE
+-¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢¹½À®¤µ¤ì¤¿PKCS#11¥È¡¼¥¯¥ó¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore NONE \-storetype PKCS11 \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-storetype storetype
+-¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤ë¥­¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Îkeystore.type¥×¥í¥Ñ¥Æ¥£¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Ç¤¹¡£¤³¤ÎÃͤϡ¢\f2java.security.KeyStore\fP¤Îstatic \f2getDefaultType\fP¥á¥½¥Ã¥É¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-\f2\-storepass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆPCKS#11¥È¡¼¥¯¥ó¤ÎPIN¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£²¿¤â»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢keytool¤Èjarsigner¤Ï¥æ¡¼¥¶¡¼¤Ë¥È¡¼¥¯¥óPIN¤ÎÆþÎϤòµá¤á¤Þ¤¹¡£¥È¡¼¥¯¥ó¤ËÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹(ÀìÍѤÎPIN¥Ñ¥Ã¥É¤äÀ¸ÂÎÆÉ¼è¤êµ¡¤Ê¤É)¤¬¤¢¤ë¾ì¹ç¡¢\f2\-protected\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¥¹¥ï¡¼¥É¡¦¥ª¥×¥·¥ç¥ó¤Ï»ØÄê¤Ç¤­¤Þ¤»¤ó¡£
+-.TP 3
+-\-storepass[:env | :file] argument
+-¥­¡¼¥¹¥È¥¢¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤¬É¬ÍפʤΤϡ¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Î¤ß¤Ç¤¹(¸¡¾Ú¤¹¤ë¤È¤­¤Ë¤ÏÉÔÍפǤ¹)¡£¤½¤Î¾ì¹ç¡¢\f2\-storepass\fP¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
+-.br
+-.br
+-½¤¾þ»Ò\f2env\fP¤Þ¤¿¤Ï\f2file\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\f2argument\fP¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î´Ä¶­ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
+-.TP 2
+-o
+-\f2file\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
+-.RE
+-Ãí°Õ: ¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï¥»¥­¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-keypass[:env | :file] argument
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ËÂбþ¤¹¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤òÊݸ¤ë¤Î¤Ë»ÈÍѤ¹¤ë¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤­¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬É¬ÍפǤ¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢É¬Íפʥѥ¹¥ï¡¼¥É¤¬¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤È°Û¤Ê¤ë¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£
+-.br
+-.br
+-½¤¾þ»Ò\f2env\fP¤Þ¤¿¤Ï\f2file\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\f2argument\fP¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î´Ä¶­ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
+-.TP 2
+-o
+-\f2file\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£
+-.RE
+-Ãí°Õ: ¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï¥»¥­¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-sigfile file
+-.SF¥Õ¥¡¥¤¥ë¤È .DSA¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¤Ë»ÈÍѤ¹¤ë¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢\f2file\fP¤ËDUKESIGN¤ò»ØÄꤹ¤ë¤È¡¢À¸À®¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢¤½¤ì¤¾¤ìDUKESIGN.SF¤ÈDUKESIGN.DSA¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ÎMETA\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤Þ¤¹¡£
+-.br
+-.br
+-\f2file\fP¤Ë»ÈÍѤǤ­¤ëʸ»ú¤Ï¡Öa\-zA\-Z0\-9_\-¡×¤Ç¤¹¡£¤Ä¤Þ¤ê¡¢Ê¸»ú¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥ó¤Î¤ß¤ò»ÈÍѤǤ­¤Þ¤¹¡£Ãí°Õ: .SF¤ª¤è¤Ó.DSA¤Î¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¡¢¾®Ê¸»ú¤Ï¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2\-sigfile\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤ÎÃæ¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ë»ÈÍѤǤ­¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³ºÅö¤¹¤ëʸ»ú¤ò²¼Àþ(_)¤ËÃÖ¤­´¹¤¨¤Æ¥Õ¥¡¥¤¥ë̾¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-\-sigalg algorithm
+-JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë½ð̾¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
+-.br
+-.br
+-ɸ½à½ð̾¥¢¥ë¥´¥ê¥º¥à̾¤Î°ìÍ÷¤Ï¡¢Java°Å¹æ²½¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Î
+-.na
+-\f2ÉÕÏ¿A\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤È¤Î¸ß´¹À­¤¬É¬ÍפǤ¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ÈëÌ©¸°¤Î¥¿¥¤¥×¤Ë±þ¤¸¤ÆSHA1withDSA¡¢SHA256withRSA¡¢SHA256withECDSA¤Î¤¤¤º¤ì¤«¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\f2\-providerClass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬¼ºÇÔ¤·¤Þ¤¹¡£
+-.TP 3
+-\-digestalg algorithm
+-JAR¥Õ¥¡¥¤¥ë¤Î¥¨¥ó¥È¥ê¤ò¥À¥¤¥¸¥§¥¹¥È¤¹¤ëºÝ¤Ë»ÈÍѤ¹¤ë¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
+-.br
+-.br
+-¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à̾¤Î°ìÍ÷¤Ï¡¢Java°Å¹æ²½¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Î
+-.na
+-\f2ÉÕÏ¿A\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢SHA256¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\f2\-providerClass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬¼ºÇÔ¤·¤Þ¤¹¡£
+-.TP 3
+-\-signedjar file
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
+-.br
+-.br
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç̾Á°¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë(½ð̾¤ÎÂоݤȤʤëJAR¥Õ¥¡¥¤¥ë)¤Î̾Á°¤ÈƱ¤¸Ì¾Á°¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë¤Ï½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-\-verify
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢»ØÄꤵ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ç¤Ï¤Ê¤¯¸¡¾Ú¤¬¹Ô¤ï¤ì¤Þ¤¹¡£¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢¡Öjar¤¬¸¡¾Ú¤µ¤ì¤Þ¤·¤¿¡£¡×¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¥¢¥ë¥´¥ê¥º¥à(RSA¥×¥í¥Ð¥¤¥À¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ò½ªÎ»¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤ÎRSA¤Ê¤É)¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤è¤¦¤È¤¹¤ë¤È¡¢¡Öjar¤Ï½ð̾¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£(½ð̾¤¬¸«¤Ä¤«¤é¤Ê¤¤¤«¡¢¹½Ê¸²òÀϤǤ­¤Þ¤»¤ó)¡×¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ï¡¢\f3jarsigner\fP¤Þ¤¿¤ÏJDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤Î¤É¤Á¤é¤«¤Þ¤¿¤ÏξÊý¤ò»ÈÍѤ·¤Æ¸¡¾Ú¤Ç¤­¤Þ¤¹¡£
+-.br
+-.br
+-¸¡¾Ú¤Î¾ÜºÙ¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-certs
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢\f2\-verify\fP¤ª¤è¤Ó\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¼¡¤Î¤â¤Î¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-½ð̾¼Ô¤Î¸ø³«¸°¤ò¾ÚÌÀ¤¹¤ë(.DSA¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤¿)¾ÚÌÀ½ñ¥¿¥¤¥×¤Î̾Á°
+-.TP 2
+-o
+-¾ÚÌÀ½ñ¤¬X.509¾ÚÌÀ½ñ(¤Ä¤Þ¤ê¡¢\f2java.security.cert.X509Certificate\fP¤Î¥¤¥ó¥¹¥¿¥ó¥¹)¤Ç¤¢¤ë¾ì¹ç¤Ï¡¢½ð̾¼Ô¤Î¼±ÊÌ̾
+-.RE
+-¥­¡¼¥¹¥È¥¢¤Î³Îǧ¤â¹Ô¤ï¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥­¡¼¥¹¥È¥¢¤ÎÃͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢¡¦¥Õ¥¡¥¤¥ë¤¬¤¢¤ì¤Ð¡¢¸¡ºº¤µ¤ì¤Þ¤¹¡£½ð̾¼Ô¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢Æâ¤Î¥¨¥ó¥È¥ê¤È°ìÃפ·¤¿¾ì¹ç¤Ï¡¢¼¡¤Î¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£
+-.RS 3
+-.TP 2
+-o
+-½ð̾¼Ô¤Ë³ºÅö¤¹¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¡£¤³¤ÎÊÌ̾¤Ï³ç¸Ì¤Ç°Ï¤Þ¤ì¤Þ¤¹¡£¤¿¤À¤·¡¢¥­¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËͳÍ褹¤ë½ð̾¼Ô¤Î¾ì¹ç¤Ï¡¢³ç¸Ì¤Ç¤Ï¤Ê¤¯Âç³ç¸Ì¤Ç°Ï¤Þ¤ì¤Þ¤¹¡£
+-.RE
+-.TP 3
+-\-certchain file
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÊÌ̾¤Ç·è¤Þ¤ë¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬´°Á´¤Ç¤Ê¤¤¾ì¹ç¤Ë¡¢»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ò»ØÄꤷ¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¾õÂ֤ˤʤë²ÄǽÀ­¤¬¤¢¤ë¤Î¤Ï¡¢¥­¡¼¥¹¥È¥¢¤¬¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¾å¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë¤¬¡¢¤½¤³¤Ë¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ÎÁ´ÂΤòÊÝ»ý¤Ç¤­¤ëÎΰ褬¸ºß¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¾ì¹ç¤Ç¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÏ¢¤ÎX.509¾ÚÌÀ½ñ¤¬½ç¤ËÏ¢·ë¤µ¤ì¤¿¤â¤Î¡¢PKCS#7·Á¼°¤Îñ°ì¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤È¤Ê¤ê¡¢¤½¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¤Ï¥Ð¥¤¥Ê¥ê¡¦¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¡¢Internet RFC 1421ɸ½à¤Çµ¬Äꤵ¤ì¤ë°õºþ²Äǽ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°(BASE64¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤È¤â¸Æ¤Ð¤ì¤ë)¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.TP 3
+-\-verbose
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\f3jarsigner\fP¤Ï¡Ö¾éĹ¡×¥â¡¼¥É¤Çưºî¤·¡¢JAR¤Î½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¿Ê¹Ô¾õ¶·¤Ë´Ø¤¹¤ëÄɲþðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£
+-.TP 3
+-\-internalsf
+-°ÊÁ°¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤¿.DSA(½ð̾¥Ö¥í¥Ã¥¯)¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¡¢À¸À®¤µ¤ì¤¿.SF¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Î´°Á´¤Ê¥³¥Ô¡¼¤¬É乿²½¤µ¤ì¤¿·Á¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤³¤Îưºî¤ÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£¸½ºß¤Ç¤Ï¡¢½ÐÎÏJAR¥Õ¥¡¥¤¥ëÁ´ÂΤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï.SF¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬.DSA¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤¿¤À¤·¡¢\f2\-internalsf\fP¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤È¡¢°ÊÁ°¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡£\f3¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤Ë¤ÏÊØÍø¤Ç¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢Í­±×¤ÊºÇŬ²½¤¬¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£\fP
+-.TP 3
+-\-sectionsonly
+-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤ò´Þ¤à¥Ø¥Ã¥À¡¼¤Ï\f2´Þ¤Þ¤ì¤Þ¤»¤ó\fP¡£¤³¤Î¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ë¾ðÊ󤪤è¤Ó¥Ï¥Ã¥·¥å¤Î¤ß¤Ç¤¹¡£¾ÜºÙ¤Ï¡¢½ð̾(.SF)¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.br
+-.br
+-¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇŬ²½¤Î¤¿¤á¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤¬Äɲ䵤ì¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú»þ¤Ë¡¢¤Þ¤º¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤È¼ÂºÝ¤Ë°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£¥Ï¥Ã¥·¥å¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢¸úΨŪ¤Ë¤ÏÎô¤ëÊýË¡¤ò»ÈÍѤ·¤Æ¸¡¾Ú¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-¾ÜºÙ¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.br
+-.br
+-\f3¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤Ë¤ÏÊØÍø¤Ç¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢Í­±×¤ÊºÇŬ²½¤¬¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£\fP
+-.TP 3
+-\-protected
+-\f2true\fP¤Þ¤¿¤Ï\f2false\fP¤Î¤¤¤º¤ì¤«¡£ÀìÍÑPIN¥ê¡¼¥À¡¼¤Ê¤É¤ÎÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹¤ò²ð¤·¤Æ¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎÃͤË\f2true\fP¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-providerClass provider\-class\-name
+-¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤¬¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë(\f2java.security\fP)¤Î¥ê¥¹¥È¤ËÆþ¤Ã¤Æ¤¤¤Ê¤¤¤È¤­¤Ë¡¢°Å¹æ²½¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤Î¥Þ¥¹¥¿¡¼¡¦¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£
+-.br
+-.br
+-\f2\-providerArg\fP \f2ConfigFilePath\fP¥ª¥×¥·¥ç¥ó¤ÈÁȤ߹礻¤Æ»ÈÍѤ·¤Þ¤¹¡£keytool¤Èjarsigner¤Ï¥×¥í¥Ð¥¤¥À¤òưŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹(¤³¤³¤Ç¡¢\f2ConfigFilePath\fP¤Ï¥È¡¼¥¯¥ó¹½À®¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ç¤¹)¡£¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS#11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤ËPKCS#11¥­¡¼¥¹¥È¥¢¤ò°ìÍ÷ɽ¼¨¤¹¤ë¥³¥Þ¥ó¥É¤ÎÎã¤ò¼¡¤Ë¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerClass sun.security.pkcs11.SunPKCS11 \\
+-.fl
+- \-providerArg /foo/bar/token.config \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-providerName providerName
+-\f2java.security\fP¥»¥­¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Ç2¤Ä°Ê¾å¤Î¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\f2\-providerName\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆÆÃÄê¤Î¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤òÁªÂò¤Ç¤­¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ï¡¢¥×¥í¥Ð¥¤¥À¤Î̾Á°¤Ç¤¹¡£
+-.br
+-.br
+-Sun PKCS#11¥×¥í¥Ð¥¤¥À¤Î¾ì¹ç¡¢\f2providerName\fP¤Ï\f2SunPKCS11\-\fP\f2TokenName\fP¤È¤¤¤¦·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç\f2TokenName\fP¤Ï¡¢¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤¬¹½À®¤µ¤ì¤¿Ì¾Á°¤ÎÀÜÈø¼­¤Ç¤¹¡£¾ÜºÙ¤Ï
+-.na
+-\f2¹½À®Â°À­¤Îɽ\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ì¾Á°ÀÜÈø¼­\f2SmartCard\fP¤ÎPKCS#11¥­¡¼¥¹¥È¥¢¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÆâÍÆ¤ò¥ê¥¹¥È¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerName SunPKCS11\-SmartCard \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-Jjavaoption
+-»ØÄꤵ¤ì¤¿\f2javaoption\fPʸ»úÎó¤òJava¥¤¥ó¥¿¥×¥ê¥¿¤ËľÀÜÅϤ·¤Þ¤¹¡£(\f3jarsigner\fP¤Ï¡¢¼ÂºÝ¤Ë¤ÏJava¥¤¥ó¥¿¥×¥ê¥¿¤ËÂФ¹¤ë¡Ö¥é¥Ã¥Ñ¡¼¡×¤Ç¤¹¡£)¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢¶õÇò¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼Â¹Ô´Ä¶­¤Þ¤¿¤Ï¥á¥â¥ê¡¼»ÈÍѤòÄ´À°¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£»ØÄê¤Ç¤­¤ë¥¤¥ó¥¿¥×¥ê¥¿¡¦¥ª¥×¥·¥ç¥ó¤ò°ìÍ÷ɽ¼¨¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2java \-h\fP¤Þ¤¿¤Ï\f2java \-X\fP¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-tsa url
+-\f2¡Ö\-tsa http://example.tsa.url¡×\fP¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£URL\f2http://example.tsa.url\fP¤Ï¡¢TSA(Time Stamping Authority)¤Î¾ì½ê¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢\f2\-tsacert\fP¥ª¥×¥·¥ç¥ó¤Ç¸¡½Ð¤µ¤ì¤¿URL¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤¹¡£\f2\-tsa\fP¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¥­¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
+-.br
+-.br
+-¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢\f2jarsigner\fP¤Ï¡¢
+-.na
+-\f2RFC 3161\fP @
+-.fi
+-http://www.ietf.org/rfc/rfc3161.txt¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥×¥í¥È¥³¥ë(TSP)¤ò»ÈÍѤ·¤ÆTSA¤ÈÄÌ¿®¤·¤Þ¤¹¡£À®¸ù¤¹¤ë¤È¡¢TSA¤«¤éÊÖ¤µ¤ì¤¿¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥È¡¼¥¯¥ó¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤Î½ð̾¤È¤È¤â¤ËÊݸ¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-\-tsacert alias
+-\f2¡Ö\-tsacert alias¡×\fP¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£\f2alias\fP¤Ï¡¢¥­¡¼¥¹¥È¥¢Æâ¤Î¸½ºßÍ­¸ú¤ÊTSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ç¡¢TSA¤Î¾ì½ê¤òÆÃÄꤹ¤ëURL¤ò´Þ¤àSubject Information Access³ÈÄ¥µ¡Ç½¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-\f2\-tsacert\fP¤ò»ÈÍѤ·¤¿¾ì¹ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.TP 3
+-\-altsigner class
+-ÂåÂØ½ð̾µ¡¹½¤ò»ÈÍѤ¹¤ë¤³¤È¤ò»ØÄꤷ¤Þ¤¹¡£´°Á´½¤¾þ¥¯¥é¥¹Ì¾¤Ç¡¢\f2com.sun.jarsigner.ContentSigner\fPÃê¾Ý¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ï¡¢\f2\-altsignerpath\fP¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£\f2\-altsigner\fP¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤµ¤ì¤ë¤È¡¢\f2jarsigner\fP¤Ï¡¢»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾µ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢\f2jarsigner\fP¤Ï¥Ç¥Õ¥©¥ë¥È¤Î½ð̾µ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¡£
+-.br
+-.br
+-¤¿¤È¤¨¤Ð¡¢\f2com.sun.sun.jarsigner.AuthSigner\fP¤È¤¤¤¦Ì¾Á°¤Î¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾µ¡¹½¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢\f2jarsigner\fP¤Ç\f2¡Ö\-altsigner com.sun.jarsigner.AuthSigner¡×\fP¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Þ¤¹¡£
+-.TP 3
+-\-altsignerpath classpathlist
+-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë(¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ÏÁ°½Ò¤Î\f2\-altsigner\fP¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤷ¤Þ¤¹)¤ª¤è¤Ó¤½¤Î¥¯¥é¥¹¤¬°Í¸¤¹¤ë¤¹¤Ù¤Æ¤ÎJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ëÆâ¤Ë¤¢¤ë¾ì¹ç¡¢°Ê²¼¤ÎÎã¤Î¤è¤¦¤ËJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤¬»ØÄꤵ¤ì¤Þ¤¹¡£
+-.br
+-.br
+-ÀäÂХѥ¹¤Þ¤¿¤Ï¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£\f2classpathlist\fP¤ËÊ£¿ô¤Î¥Ñ¥¹¤äJAR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¤Ë¤Ï¡¢¤½¤ì¤é¤òSolaris¤Î¾ì¹ç¤Ï¥³¥í¥ó(\f2:\fP)¤Ç¡¢Windows¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó(\f2;\fP)¤Ç¤½¤ì¤¾¤ì¶èÀÚ¤ê¤Þ¤¹¡£ÌÜŪ¤Î¥¯¥é¥¹¤¬¤¹¤Ç¤Ë¸¡º÷¥Ñ¥¹Æâ¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÉÔÍפǤ¹¡£
+-.br
+-.br
+-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤à¡¢JAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÎã¤ò¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/lib/authsigner.jar
+-.fl
+-\fP
+-.fi
+-JAR¥Õ¥¡¥¤¥ë̾¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.br
+-.br
+-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÎã¤ò¼¨¤·¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/
+-.fl
+-\fP
+-.fi
+-JAR¥Õ¥¡¥¤¥ë̾¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ëα°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-strict
+-½ð̾¤Þ¤¿¤Ï¸¡¾Ú½èÍýÃæ¤Ë¡¢¤Ê¤ó¤é¤«¤Î·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¸«¤Ä¤«¤Ã¤¿·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢·Ù¹ð¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.TP 3
+-\-verbose:sub\-options
+-¸¡¾Ú½èÍý¤Î¾ì¹ç¡¢É½¼¨¤¹¤ë¾ðÊó¤ÎÎ̤ò·èÄꤹ¤ë¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤Ë»ØÄê¤Ç¤­¤Þ¤¹¡£\f2\-certs\fP¤â»ØÄꤷ¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¡¦¥â¡¼¥É(¤Þ¤¿¤Ï¥µ¥Ö¥ª¥×¥·¥ç¥óall)¤Ç¤Ï¡¢¥¨¥ó¥È¥ê¤¬½èÍý¤µ¤ì¤ë¤¿¤Ó¤Ë¤½¤ì¤é¤Î³Æ¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¡¢¤½¤Î¸å¤ËJAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£\f2\-certs\fP¤È\f2\-verbose:grouped\fP¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤È¤½¤Î¾ÚÌÀ½ñ¾ðÊ󤬡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£\f2\-certs\fP¤È\f2\-verbose:summary\fP¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤È¤½¤Î¾ÚÌÀ½ñ¾ðÊ󤬥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¤¬¡¢³Æ¥¨¥ó¥È¥ê¤Î¾ÜºÙ¤¬¡Ö1¤Ä¤Î¥¨¥ó¥È¥ê(¤ª¤è¤Ó¤½¤ì°Ê¾å)¡×¤È¤·¤ÆÍ×Ìó¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢Îã¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
+-.RE
+-
+-.LP
+-.SH "Îã"
+-.LP
+-.SS
+-JAR¥Õ¥¡¥¤¥ë¤Î½ð̾
+-.LP
+-.LP
+-bundle.jar¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¤È¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¡¢working¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Îmystore¤È¤¤¤¦¥­¡¼¥¹¥È¥¢¤Ë¤¢¤ë¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤¬jane¤Ç¤¢¤ë¥æ¡¼¥¶¡¼¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢½ð̾¤òÉÕ¤±¤ë¤È¤·¤Þ¤¹¡£¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Æsbundle.jar¤È¤¤¤¦½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-¾å¤Î¥³¥Þ¥ó¥É¤Ç¤Ï\f2\-sigfile\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ÊÌ̾¤«¤é¥Ç¥Õ¥©¥ë¥È̾¤¬ÉÕ¤±¤é¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤½¤ì¤é¤Î̾Á°¤Ï\f2JANE.SF\fP¤ª¤è¤Ó\f2JANE.DSA\fP¤Ë¤Ê¤ê¤Þ¤¹¡£
+-.LP
+-.LP
+-¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ÈÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤ë¥×¥í¥ó¥×¥È¤òɽ¼¨¤¹¤ë¾ì¹ç¤Ï¡¢¾å¤Î¥³¥Þ¥ó¥É¤òû½Ì¤·¤Æ¼¡¤Î¤è¤¦¤ËÆþÎϤǤ­¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore
+-.fl
+- \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼¥¹¥È¥¢(¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î.keystore¤È¤¤¤¦Ì¾Á°¤Î¥­¡¼¥¹¥È¥¢)¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥­¡¼¥¹¥È¥¢¤Î»ØÄê¤ò¾Êά¤Ç¤­¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-ºÇ¸å¤Ë¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë(\f2bundle.jar\fP)¤ò½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Çñ½ã¤Ë¾å½ñ¤­¤¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë\f2\-signedjar\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner bundle.jar jane
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú
+-.LP
+-.LP
+-½ð̾ÉÕ¤­JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¡¢¤Ä¤Þ¤ê½ð̾¤¬Í­¸ú¤ÇJAR¥Õ¥¡¥¤¥ë¤¬²þÊѤµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò³Îǧ¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify sbundle.jar
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢
+-.LP
+-.nf
+-\f3
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¡¢¥¨¥é¡¼¡¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢¤è¤ê¿¤¯¤Î¾ðÊó¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£\f2\-verbose\fP¥ª¥×¥·¥ç¥óÉÕ¤­¤Ç\f3jarsigner\fP¤ò»ÈÍѤ¹¤ëÎã¤È¤½¤Î½ÐÎÏÎã¤ò¡¢¼¡¤Ë¼¨¤·¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify \-verbose sbundle.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class
+-.fl
+- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤¿¸¡¾Ú
+-.LP
+-.LP
+-¸¡¾Ú»þ¤Ë\f2\-verify\fP¤È\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤Ë²Ã¤¨¤Æ\f2\-certs\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤â½ÐÎϤµ¤ì¤Þ¤¹¡£¤³¤ì¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥¿¥¤¥×¡¢½ð̾¼Ô¼±ÊÌ̾¾ðÊó(X.509¾ÚÌÀ½ñ¤Î¾ì¹ç¤Î¤ß)¡¢¤ª¤è¤ÓJAR¥Õ¥¡¥¤¥ë¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥­¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ë°ìÃפ·¤¿¾ì¹ç¤Ë¤Ï¡¢³ç¸Ì¤Ç°Ï¤Þ¤ì¤¿½ð̾¼Ô¤Î¥­¡¼¥¹¥È¥¢ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¼¡¤Ë¼¨¤·¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF
+-.fl
+- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class
+-.fl
+-
+-.fl
+- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest)
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤¬X.509¾ÚÌÀ½ñ¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¼±ÊÌ̾¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¾ÚÌÀ½ñ¤Î¥¿¥¤¥×¤ÈÊÌ̾¤Î¤ß¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¾ÚÌÀ½ñ¤¬PGP¾ÚÌÀ½ñ¤Ç¡¢ÊÌ̾¤¬bob¤Î¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- PGP, (bob)
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½ð̾¼Ô¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú
+-.LP
+-.LP
+-JAR¥Õ¥¡¥¤¥ë¤¬¡¢JDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢½ð̾¼Ô¤Ï¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ç¤¹¡£¤³¤Î¾ì¹ç¡¢¸¡¾Ú¤Î½ÐÎϤˤϡÖi¡×¤È¤¤¤¦µ­¹æ¤¬´Þ¤Þ¤ì¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤¬¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤È¥­¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤ÎξÊý¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¡Ök¡×¤È¡Öi¡×¤ÎξÊý¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-\f2\-certs\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ï³ç¸Ì¤Ç°Ï¤Þ¤ì¤ë¤Î¤ËÂФ·¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ï³Ñ³ç¸Ì¤Ç°Ï¤Þ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF
+-.fl
+- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA
+-.fl
+- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html
+-.fl
+-
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke]
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+- i = at least one certificate was found in identity scope
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-ÊÌ̾duke¤Ï³Ñ³ç¸Ì¤Ç°Ï¤Þ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¤³¤ÎÊÌ̾¤Ï¥­¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ç¤Ï¤Ê¤¯¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ç¤¹¡£
+-.LP
+-.SH "·Ù¹ð"
+-.LP
+-½ð̾/¸¡¾Ú½èÍýÃæ¤Ë¤Ï¡¢jarsigner¤«¤éÍÍ¡¹¤Ê·Ù¹ð¤¬É½¼¨¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î·Ù¹ð¥³¡¼¥É¤Ï¼¡¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
+-.nf
+-\f3
+-.fl
+- hasExpiringCert 2
+-.fl
+- This jar contains entries whose signer certificate will expire within six months
+-.fl
+-
+-.fl
+- hasExpiredCert 4
+-.fl
+- This jar contains entries whose signer certificate has expired.
+-.fl
+-
+-.fl
+- notYetValidCert 4
+-.fl
+- This jar contains entries whose signer certificate is not yet valid.
+-.fl
+-
+-.fl
+- chainNotValidated 4
+-.fl
+- This jar contains entries whose certificate chain cannot be correctly validated.
+-.fl
+-
+-.fl
+- badKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing.
+-.fl
+-
+-.fl
+- badExtendedKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's ExtendedKeyUsage extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- badNetscapeCertType 8
+-.fl
+- This jar contains entries whose signer certificate's NetscapeCertType extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- hasUnsignedEntry 16
+-.fl
+- This jar contains unsigned entries which have not been integrity\-checked.
+-.fl
+-
+-.fl
+- notSignedByAlias 32
+-.fl
+- This jar contains signed entries which are not signed by the specified alias(es)
+-.fl
+-
+-.fl
+- aliasNotInStore 32
+-.fl
+- This jar contains signed entries that are not signed by alias in this keystore
+-.fl
+-
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-\f2\-strict\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¸¡½Ð¤µ¤ì¤¿·Ù¹ð¤ÎOR¤ò¼è¤Ã¤¿Ãͤ¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤È¤·¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥¨¥ó¥È¥ê¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢¤«¤Ä¤½¤Î¾ÚÌÀ½ñ¤ÎkeyUsage³ÈÄ¥¤Ç¥Õ¥¡¥¤¥ë¤Î½ð̾¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢½ªÎ»¥³¡¼¥É12(=4+8)¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.LP
+-\f3Ãí°Õ\fP: UNIX¤Ç»ÈÍѲÄǽ¤ÊÃͤÏ0¤«¤é255¤Î¤ß¤Ç¤¢¤ë¤¿¤á¡¢½ªÎ»¥³¡¼¥É¤ÏºÆÍøÍѤµ¤ì¤Þ¤¹¡£¤¤¤º¤ì¤Ë¤·¤Æ¤â¡¢½ð̾/¸¡¾Ú½èÍý¤¬¼ºÇÔ¤¹¤ë¤È¡¢¼¡¤Î½ªÎ»¥³¡¼¥É¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£
+-.LP
+-.nf
+-\f3
+-.fl
+-failure 1
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-JDK 1.1¤È¤Î¸ß´¹À­
+-.LP
+-.LP
+-\f3keytool\fP¥Ä¡¼¥ë¤È\f3jarsigner\fP¥Ä¡¼¥ë¤Ï¡¢JDK 1.1¤ÇÄ󶡤µ¤ì¤Æ¤¤¤¿\f3javakey\fP¥Ä¡¼¥ë¤ò´°Á´¤ËÃÖ¤­´¹¤¨¤ë¤â¤Î¤Ç¤¹¡£¤³¤ì¤é¤Î¿·¤·¤¤¥Ä¡¼¥ë¤Ï¡¢¥­¡¼¥¹¥È¥¢¤ÈÈëÌ©¸°¤ò¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ëµ¡Ç½¤ä¡¢½ð̾¤ÎÀ¸À®¤Ë²Ã¤¨¤Æ½ð̾¤ò¸¡¾Ú¤¹¤ëµ¡Ç½¤Ê¤É¡¢\f3javakey\fP¤è¤ê¿¤¯¤Î¤òµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£
+-.LP
+-.LP
+-¿·¤·¤¤¥­¡¼¥¹¥È¥¢¡¦¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ï¡¢\f3javakey\fP¤¬ºîÀ®¤·¤Æ´ÉÍý¤·¤Æ¤¤¤¿¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÂå¤ï¤ë¤â¤Î¤Ç¤¹¡£¥­¡¼¥¹¥È¥¢·Á¼°¤È¡¢1.1¤Î\f3javakey\fP¤¬»ÈÍѤ·¤Æ¤¤¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°¤È¤Î´Ö¤Ë¤Ï²¼°Ì¸ß´¹À­¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¼¡¤Î¤³¤È¤Ï²Äǽ¤Ç¤¹¡£
+-.LP
+-.RS 3
+-.TP 2
+-o
+-\f3keytool\fP¤Î\f2\-identitydb\fP¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ðÊó¤ò¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-\f3jarsigner\fP¤Ï¡¢°ÊÁ°¤Ë\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.TP 2
+-o
+-\f3jarsigner\fP¤Ï¡¢\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤­¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢Java 2 SDK¤Î¥­¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¤Î½ð̾¼ÔÊÌ̾¤òǧ¼±¤·¡¢¤³¤ì¤é¤òÂоݤ˽èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
+-.RE
+-
+-.LP
+-.LP
+-¼¡¤Îɽ¤Ï¡¢JDK 1.1.x¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤¬¡¢Java 2¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤É¤Î¤è¤¦¤Ë°·¤ï¤ì¤ë¤«¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
+-.LP
+-.LP
+-.TS
+-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
+-.de 35
+-.ps \n(.s
+-.vs \n(.vu
+-.in \n(.iu
+-.if \n(.u .fi
+-.if \n(.j .ad
+-.if \n(.j=0 .na
+-..
+-.nf
+-.nr #~ 0
+-.if n .nr #~ 0.6n
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.fc
+-.nr 33 \n(.s
+-.rm 80 81 82 83 84
+-.nr 34 \n(.lu
+-.eo
+-.am 80
+-.br
+-.di a+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(80 .ll \n(80u
+-.in 0
+-\f3JAR¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥×\fP
+-.br
+-.di
+-.nr a| \n(dn
+-.nr a- \n(dl
+-..
+-.ec \
+-.eo
+-.am 81
+-.br
+-.di b+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(81 .ll \n(81u
+-.in 0
+-\f31.1¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£\fP
+-.br
+-.di
+-.nr b| \n(dn
+-.nr b- \n(dl
+-..
+-.ec \
+-.eo
+-.am 82
+-.br
+-.di c+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(82 .ll \n(82u
+-.in 0
+-\f31.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava 2 Platform¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤ë¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£(4)\fP
+-.br
+-.di
+-.nr c| \n(dn
+-.nr c- \n(dl
+-..
+-.ec \
+-.eo
+-.am 83
+-.br
+-.di d+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(83 .ll \n(83u
+-.in 0
+-\f3¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤ËÆÃ¸¢¤òÉÕÍ¿\fP
+-.br
+-.di
+-.nr d| \n(dn
+-.nr d- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di e+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢
+-.br
+-.di
+-.nr e| \n(dn
+-.nr e- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di f+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢
+-.br
+-.di
+-.nr f| \n(dn
+-.nr f- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di g+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢
+-.br
+-.di
+-.nr g| \n(dn
+-.nr g- \n(dl
+-..
+-.ec \
+-.eo
+-.am 81
+-.br
+-.di h+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(81 .ll \n(81u
+-.in 0
+-¤Ï¤¤/¿®Íê¤Ç¤­¤Ê¤¤
+-.br
+-.di
+-.nr h| \n(dn
+-.nr h- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di i+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢(3)
+-.br
+-.di
+-.nr i| \n(dn
+-.nr i- \n(dl
+-..
+-.ec \
+-.eo
+-.am 81
+-.br
+-.di j+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(81 .ll \n(81u
+-.in 0
+-¤Ï¤¤/¿®Íê¤Ç¤­¤Ê¤¤
+-.br
+-.di
+-.nr j| \n(dn
+-.nr j- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di k+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢(1¡¢3)
+-.br
+-.di
+-.nr k| \n(dn
+-.nr k- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di l+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢¤È¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢
+-.br
+-.di
+-.nr l| \n(dn
+-.nr l- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di m+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢¤È¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢(2)
+-.br
+-.di
+-.nr m| \n(dn
+-.nr m- \n(dl
+-..
+-.ec \
+-.35
+-.nf
+-.ll \n(34u
+-.nr 80 0
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾¤Î¤Ê¤¤JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \w½ð̾ÉÕ¤­JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.80
+-.rm 80
+-.nr 38 \n(a-
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 81 0
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤­¤ë
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤­¤ë
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤­¤ë
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤­¤ë
+-.if \n(81<\n(38 .nr 81 \n(38
+-.81
+-.rm 81
+-.nr 38 \n(b-
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \n(h-
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \n(j-
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 82 0
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(82<\n(38 .nr 82 \n(38
+-.82
+-.rm 82
+-.nr 38 \n(c-
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 83 0
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤¤¤¤¤¨
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \w¤Ï¤¤
+-.if \n(83<\n(38 .nr 83 \n(38
+-.83
+-.rm 83
+-.nr 38 \n(d-
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 84 0
+-.nr 38 \w\f3ÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢\fP
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.84
+-.rm 84
+-.nr 38 \n(e-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(f-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(g-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(i-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(k-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(l-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(m-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.35
+-.nf
+-.ll \n(34u
+-.nr 38 1n
+-.nr 79 0
+-.nr 40 \n(79+(0*\n(38)
+-.nr 80 +\n(40
+-.nr 41 \n(80+(3*\n(38)
+-.nr 81 +\n(41
+-.nr 42 \n(81+(3*\n(38)
+-.nr 82 +\n(42
+-.nr 43 \n(82+(3*\n(38)
+-.nr 83 +\n(43
+-.nr 44 \n(83+(3*\n(38)
+-.nr 84 +\n(44
+-.nr TW \n(84
+-.if t .if \n(TW>\n(.li .tm Table at line 1090 file Input is too wide - \n(TW units
+-.fc  
+-.nr #T 0-1
+-.nr #a 0-1
+-.eo
+-.de T#
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.mk ##
+-.nr ## -1v
+-.ls 1
+-.ls
+-..
+-.ec
+-.ne \n(a|u+\n(.Vu
+-.ne \n(b|u+\n(.Vu
+-.ne \n(c|u+\n(.Vu
+-.ne \n(d|u+\n(.Vu
+-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
+-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
+-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
+-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3ÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢\fP
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(40u
+-.in +\n(37u
+-.a+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(41u
+-.in +\n(37u
+-.b+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(42u
+-.in +\n(37u
+-.c+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(43u
+-.in +\n(37u
+-.d+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(e|u+\n(.Vu
+-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.e+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(f|u+\n(.Vu
+-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾¤Î¤Ê¤¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.f+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(g|u+\n(.Vu
+-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.g+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(h|u+\n(.Vu
+-.ne \n(i|u+\n(.Vu
+-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
+-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(41u
+-.in +\n(37u
+-.h+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.i+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(j|u+\n(.Vu
+-.ne \n(k|u+\n(.Vu
+-.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v)
+-.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤Ï¤¤\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(41u
+-.in +\n(37u
+-.j+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.k+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(l|u+\n(.Vu
+-.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤Ï¤¤\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.l+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(m|u+\n(.Vu
+-.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤­¤ë\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤Ï¤¤\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.m+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤­¤ë\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤­¤ë\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'½ð̾ÉÕ¤­JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤­¤ë\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤Ï¤¤\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1)
+-.fc
+-.nr T. 1
+-.T# 1
+-.35
+-.rm a+
+-.rm b+
+-.rm c+
+-.rm d+
+-.rm e+
+-.rm f+
+-.rm g+
+-.rm h+
+-.rm i+
+-.rm j+
+-.rm k+
+-.rm l+
+-.rm m+
+-.TE
+-.if \n-(b.=0 .nr c. \n(.c-\n(d.-50
+-
+-.LP
+-.LP
+-Ãí°Õ:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤Ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ë¤Ä¤¤¤Æ¤Î¸ÀµÚ¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤ò¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¡¢ÉÕÍ¿¤µ¤ì¤¿ÆÃ¸¢¤Ë¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤬ȿ±Ç¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-.TP 3
+-2.
+-¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë/¥­¡¼¥¹¥È¥¢¤ÎÁȹ礻¤Ï¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£
+-.TP 3
+-3.
+-Java 2¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢¿®Íê¤Ç¤­¤Ê¤¤¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
+-.TP 3
+-4.
+-Java 2 SDK¥­¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤­¤ë¤Î¤Ï¡¢¿®Íê¤Ç¤­¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Î¤ß¤Ç¤¹¡£
+-.RE
+-
+-.LP
+-.SH "´ØÏ¢¹àÌÜ"
+-.LP
+-.RS 3
+-.TP 2
+-o
+-jar(1)¥Ä¡¼¥ë¤Î¥É¥­¥å¥á¥ó¥È
+-.TP 2
+-o
+-keytool(1)¥Ä¡¼¥ë¤Î¥É¥­¥å¥á¥ó¥È
+-.TP 2
+-o
+-\f3jarsigner\fP¥Ä¡¼¥ë¤Î»ÈÍÑÎã¤Ï¡¢
+-.na
+-\f4Java¥Á¥å¡¼¥È¥ê¥¢¥ë\fP @
+-.fi
+-http://docs.oracle.com/javase/tutorial/index.html¤Î
+-.na
+-\f4¥»¥­¥å¥ê¥Æ¥£\fP @
+-.fi
+-http://docs.oracle.com/javase/tutorial/security/index.html¤ò»²¾È
+-.RE
+-
+-.LP
+-
++'pl 8.5i
++'bp
+--- ./jdk/src/solaris/doc/sun/man/man1/jarsigner.1 Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/solaris/doc/sun/man/man1/jarsigner.1 Thu Dec 19 09:01:16 2013 -0800
+@@ -1,1569 +1,985 @@
+-." Copyright (c) 1998, 2011, 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.
+-."
+-." 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.
+-."
+-.TH jarsigner 1 "16 Mar 2012"
++'\" t
++.\" Copyright (c) 1998, 2013, 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.
++.\"
++.\" 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.
++.\"
++.\" Arch: generic
++.\" Software: JDK 7
++.\" Date: 6 August 2013
++.\" SectDesc: Security Tools
++.\" Title: jarsigner.1
++.\"
++.if n .pl 99999
++.TH jarsigner 1 "6 August 2013" "JDK 7" "Security Tools"
++.\" -----------------------------------------------------------------
++.\" * Define some portability stuff
++.\" -----------------------------------------------------------------
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.\" http://bugs.debian.org/507673
++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++.ie \n(.g .ds Aq \(aq
++.el .ds Aq '
++.\" -----------------------------------------------------------------
++.\" * set default formatting
++.\" -----------------------------------------------------------------
++.\" disable hyphenation
++.nh
++.\" disable justification (adjust text to left margin only)
++.ad l
++.\" -----------------------------------------------------------------
++.\" * MAIN CONTENT STARTS HERE *
++.\" -----------------------------------------------------------------
+
+-.LP
+-.SH "Name"
+-jarsigner \- JAR Signing and Verification Tool
+-.LP
+-.LP
+-Generates signatures for Java ARchive (JAR) files, and verifies the signatures of signed JAR files.
+-.LP
+-.SH "SYNOPSIS"
+-.LP
+-.nf
+-\f3
+-.fl
+-\fP\f3jarsigner\fP [ options ] jar\-file alias
+-.fl
+-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...]
+-.fl
+-.fi
++.SH NAME
++jarsigner \- Signs and verifies Java Archive (JAR) files\&.
++.SH SYNOPSIS
++.sp
++.nf
+
+-.LP
+-.LP
+-The jarsigner \-verify command can take zero or more keystore alias names after the jar filename. When specified, jarsigner will check that the certificate used to verify each signed entry in the jar file matches one of the keystore aliases. The aliases are defined in the keystore specified by \-keystore, or the default keystore.
+-.LP
+-.SH "DESCRIPTION"
+-.LP
+-.LP
+-The \f3jarsigner\fP tool is used for two purposes:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-to sign Java ARchive (JAR) files, and
+-.TP 3
+-2.
+-to verify the signatures and integrity of signed JAR files.
+-.RE
++\fBjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR
++.fi
++.nf
+
+-.LP
+-.LP
+-The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution. A tool named jar(1) enables developers to produce JAR files. (Technically, any zip file can also be considered a JAR file, although when created by \f3jar\fP or processed by \f3jarsigner\fP, JAR files also contain a META\-INF/MANIFEST.MF file.)
+-.LP
+-.LP
+-A \f2digital signature\fP is a string of bits that is computed from some data (the data being "signed") and the private key of an entity (a person, company, etc.). Like a handwritten signature, a digital signature has many useful characteristics:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-Its authenticity can be verified, via a computation that uses the public key corresponding to the private key used to generate the signature.
+-.TP 2
+-o
+-It cannot be forged, assuming the private key is kept secret.
+-.TP 2
+-o
+-It is a function of the data signed and thus can't be claimed to be the signature for other data as well.
+-.TP 2
+-o
+-The signed data cannot be changed; if it is, the signature will no longer verify as being authentic.
+-.RE
++\fBjarsigner\fR \fB\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR]
++.fi
++.sp
++.TP
++\fIoptions\fR
++The command-line options\&. See Options\&.
++.TP
++-verify
++.br
++The \f3-verify\fR option can take zero or more keystore alias names after the JAR file name\&. When the \f3-verify\fR option is specified, the \f3jarsigner\fR command checks that the certificate used to verify each signed entry in the JAR file matches one of the keystore aliases\&. The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&.
+
+-.LP
+-.LP
+-In order for an entity's signature to be generated for a file, the entity must first have a public/private key pair associated with it, and also one or more certificates authenticating its public key. A \f2certificate\fP is a digitally signed statement from one entity, saying that the public key of some other entity has a particular value.
+-.LP
+-.LP
+-\f3jarsigner\fP uses key and certificate information from a \f2keystore\fP to generate digital signatures for JAR files. A keystore is a database of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. The keytool(1) utility is used to create and administer keystores.
+-.LP
+-.LP
+-\f3jarsigner\fP uses an entity's private key to generate a signature. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file. \f3jarsigner\fP can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file).
+-.LP
+-.LP
+-\f3jarsigner\fP can generate signatures that include a timestamp, thus enabling systems/deployer (including Java Plug\-in) to check whether the JAR file was signed while the signing certificate was still valid. In addition, APIs will allow applications to obtain the timestamp information.
+-.LP
+-.LP
+-At this time, \f3jarsigner\fP can only sign JAR files created by the SDK jar(1) tool or zip files. (JAR files are the same as zip files, except they also have a META\-INF/MANIFEST.MF file. Such a file will automatically be created when \f3jarsigner\fP signs a zip file.)
+-.LP
+-.LP
+-The default \f3jarsigner\fP behavior is to \f2sign\fP a JAR (or zip) file. Use the \f2\-verify\fP option to instead have it \f2verify\fP a signed JAR file.
+-.LP
+-.SS
+-Keystore Aliases
+-.LP
+-.LP
+-All keystore entities are accessed via unique \f2aliases\fP.
+-.LP
+-.LP
+-When using \f3jarsigner\fP to sign a JAR file, you must specify the alias for the keystore entry containing the private key needed to generate the signature. For example, the following will sign the JAR file named "MyJARFile.jar", using the private key associated with the alias "duke" in the keystore named "mystore" in the "working" directory. Since no output file is specified, it overwrites MyJARFile.jar with the signed JAR file.
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke
+-.fl
+-\fP
+-.fi
++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar verified, with signer errors" is displayed\&.
++.TP
++\fIjar-file\fR
++The JAR file to be signed\&.
+
+-.LP
+-.LP
+-Keystores are protected with a password, so the store password must be specified. You will be prompted for it if you don't specify it on the command line. Similarly, private keys are protected in a keystore with a password, so the private key's password must be specified, and you will be prompted for it if you don't specify it on the command line and it isn't the same as the store password.
+-.LP
+-.SS
+-Keystore Location
+-.LP
+-.LP
+-\f3jarsigner\fP has a \f2\-keystore\fP option for specifying the URL of the keystore to be used. The keystore is by default stored in a file named \f2.keystore\fP in the user's home directory, as determined by the \f2user.home\fP system property. On Solaris systems \f2user.home\fP defaults to the user's home directory.
+-.LP
+-.LP
+-Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based, for example, if it resides on a hardware token device.
+-.LP
+-.SS
+-Keystore Implementation
+-.LP
+-.LP
+-The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore.
+-.LP
+-.LP
+-Currently, there are two command\-line tools that make use of keystore implementations (\f3keytool\fP and \f3jarsigner\fP), and also a GUI\-based tool named \f3Policy Tool\fP. Since \f2KeyStore\fP is publicly available, Java 2 SDK users can write additional security applications that use it.
+-.LP
+-.LP
+-There is a built\-in default implementation, provided by Sun Microsystems. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password.
+-.LP
+-.LP
+-Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a provider and supply a KeystoreSpi subclass implementation, as described in
+-.na
+-\f2How to Implement a Provider for the Java Cryptography Architecture\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html.
+-.LP
+-.LP
+-Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible.
+-.LP
+-.LP
+-\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL.
+-.LP
+-.LP
+-For \f3jarsigner\fP and \f3keytool\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Change Keystore" command in the Edit menu.
+-.LP
+-.LP
+-If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the SDK security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment).
+-.LP
+-.LP
+-Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider.
+-.LP
+-.LP
+-The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property):
+-.LP
+-.nf
+-\f3
+-.fl
+- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
+-.fl
+-\fP
+-.fi
++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar signed, with signer errors" is displayed\&.
++.TP
++\fIalias\fR
++The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&.
++.SH DESCRIPTION
++The \f3jarsigner\fR tool has two purposes:
++.TP 0.2i
++\(bu
++To sign Java Archive (JAR) files\&.
++.TP 0.2i
++\(bu
++To verify the signatures and integrity of signed JAR files\&.
++.PP
++The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution\&. A tool named \f3jar\fR enables developers to produce JAR files\&. (Technically, any zip file can also be considered a JAR file, although when created by the \f3jar\fR command or processed by the \f3jarsigner\fR command, JAR files also contain a \f3META-INF/MANIFEST\&.MF\fR file\&.)
++.PP
++A digital signature is a string of bits that is computed from some data (the data being signed) and the private key of an entity (a person, company, and so on)\&. Similar to a handwritten signature, a digital signature has many useful characteristics:
++.TP 0.2i
++\(bu
++Its authenticity can be verified by a computation that uses the public key corresponding to the private key used to generate the signature\&.
++.TP 0.2i
++\(bu
++It cannot be forged, assuming the private key is kept secret\&.
++.TP 0.2i
++\(bu
++It is a function of the data signed and thus cannot be claimed to be the signature for other data as well\&.
++.TP 0.2i
++\(bu
++The signed data cannot be changed\&. If the data is changed, then the signature cannot be verified as authentic\&.
++.PP
++To generate an entity\&'s signature for a file, the entity must first have a public/private key pair associated with it and one or more certificates that authenticate its public key\&. A certificate is a digitally signed statement from one entity that says that the public key of another entity has a particular value\&.
++.PP
++The \f3jarsigner\fR command uses key and certificate information from a keystore to generate digital signatures for JAR files\&. A keystore is a database of private keys and their associated X\&.509 certificate chains that authenticate the corresponding public keys\&. The \f3keytool\fR command is used to create and administer keystores\&.
++.PP
++The \f3jarsigner\fR command uses an entity\&'s private key to generate a signature\&. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file\&. The \f3jarsigner\fR command can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file)\&.
++.PP
++The \f3jarsigner\fR command can generate signatures that include a time stamp that lets a systems or deployer (including Java Plug-in) to check whether the JAR file was signed while the signing certificate was still valid\&. In addition, APIs allow applications to obtain the timestamp information\&.
++.PP
++At this time, the \f3jarsigner\fR command can only sign JAR files created by the \f3jar\fR command or zip files\&. JAR files are the same as zip files, except they also have a \f3META-INF/MANIFEST\&.MF\fR file\&. A \f3META-INF/MANIFEST\&.MF\fR file is created when the \f3jarsigner\fR command signs a zip file\&.
++.PP
++The default \f3jarsigner\fR command behavior is to sign a JAR or zip file\&. Use the \f3-verify\fR option to verify a signed JAR file\&.
++.PP
++The \f3jarsigner\fR command also attempts to validate the signer\&'s certificate after signing or verifying\&. If there is a validation error or any other problem, the command generates warning messages\&. If you specify the \f3-strict\fR option, then the command treats severe warnings as errors\&. See Errors and Warnings\&.
++.SS KEYSTORE\ ALIASES
++All keystore entities are accessed with unique aliases\&.
++.PP
++When you use the \f3jarsigner\fR command to sign a JAR file, you must specify the alias for the keystore entry that contains the private key needed to generate the signature\&. For example, the following command signs the JAR file named \f3MyJARFile\&.jar\fR with the private key associated with the alias \f3duke\fR in the keystore named \f3mystore\fR in the \f3working\fR directory\&. Because no output file is specified, it overwrites \f3MyJARFile\&.jar\fR with the signed JAR file\&.
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore \-storepass <keystore password>\fP
++.fi
++.nf
++\f3 \-keypass <private key password> MyJARFile\&.jar duke\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++Keystores are protected with a password, so the store password must be specified\&. You are prompted for it when you do not specify it on the command line\&. Similarly, private keys are protected in a keystore with a password, so the private key\&'s password must be specified, and you are prompted for the password when you do not specify it on the command line and it is not the same as the store password\&.
++.SS KEYSTORE\ LOCATION
++The \f3jarsigner\fR command has a \f3-keystore\fR option for specifying the URL of the keystore to be used\&. The keystore is by default stored in a file named \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&.
++.PP
++On Oracle Solaris systems, \f3user\&.home\fR defaults to the user\&'s home directory\&.
++.PP
++The input stream from the \f3-keystore\fR option is passed to the \f3KeyStore\&.load\fR method\&. If \f3NONE\fR is specified as the URL, then a null stream is passed to the \f3KeyStore\&.load\fR method\&. \f3NONE\fR should be specified when the \f3KeyStore\fR class is not file based, for example, when it resides on a hardware token device\&.
++.SS KEYSTORE\ IMPLEMENTATION
++The \f3KeyStore\fR class provided in the \f3java\&.security\fR package supplies a number of well-defined interfaces to access and modify the information in a keystore\&. You can have multiple different concrete implementations, where each implementation is for a particular type of keystore\&.
++.PP
++Currently, there are two command-line tools that use keystore implementations (\f3keytool\fR and \f3jarsigner\fR), and a GUI-based tool named Policy Tool\&. Because the \f3KeyStore\fR class is publicly available, JDK users can write additional security applications that use it\&.
++.PP
++There is a built-in default implementation provided by Oracle that implements the keystore as a file, that uses a proprietary keystore type (format) named JKS\&. The built-in implementation protects each private key with its individual password and protects the integrity of the entire keystore with a (possibly different) password\&.
++.PP
++Keystore implementations are provider-based, which means the application interfaces supplied by the \f3KeyStore\fR class are implemented in terms of a Service Provider Interface (SPI)\&. There is a corresponding abstract \f3KeystoreSpi\fR class, also in the \f3java\&.security package\fR, that defines the Service Provider Interface methods that providers must implement\&. The term provider refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API\&. To provide a keystore implementation, clients must implement a provider and supply a \f3KeystoreSpi\fR subclass implementation, as described in How to Implement a Provider in the Java Cryptography Architecture at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html
++.PP
++Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&.
++.PP
++The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
++.PP
++For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&.
++.PP
++If you do not explicitly specify a keystore type, then the tools choose a keystore implementation based on the value of the \f3keystore\&.type\fR property specified in the security properties file\&. The security properties file is called \f3java\&.security\fR, and it resides in the JDK security properties directory, \f3java\&.home/lib/security\fR, where \f3java\&.home\fR is the runtime environment\&'s directory\&. The \f3jre\fR directory in the JDK or the top-level directory of the Java Runtime Environment (JRE)\&.
++.PP
++Each tool gets the \f3keystore\&.type\fR value and then examines all the installed providers until it finds one that implements keystores of that type\&. It then uses the keystore implementation from that provider\&.
++.PP
++The \f3KeyStore\fR class defines a static method named \f3getDefaultType\fR that lets applications and applets retrieve the value of the \f3keystore\&.type\fR property\&. The following line of code creates an instance of the default keystore type as specified in the \f3keystore\&.type property\fR:
++.sp
++.nf
++\f3KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++The default keystore type is \f3jks\fR (the proprietary type of the keystore implementation provided by Oracle)\&. This is specified by the following line in the security properties file:
++.sp
++.nf
++\f3keystore\&.type=jks\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++Case does not matter in keystore type designations\&. For example, \f3JKS\fR is the same as \f3jks\fR\&.
++.PP
++To have the tools use a keystore implementation other than the default, change that line to specify a different keystore type\&. For example, if you have a provider package that supplies a keystore implementation for a keystore type called \f3pkcs12\fR, then change the line to the following:
++.sp
++.nf
++\f3keystore\&.type=pkcs12\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR If you use the PKCS 11 provider package, then see "KeyTool" and "JarSigner" in Java PKCS #11 Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html
++.SS SUPPORTED\ ALGORITHMS
++By default, the \f3jarsigner\fR command signs a JAR file using one of the following algorithms:
++.TP 0.2i
++\(bu
++Digital Signature Algorithm (DSA) with the SHA1 digest algorithm
++.TP 0.2i
++\(bu
++RSA algorithm with the SHA256 digest algorithm
++.TP 0.2i
++\(bu
++Elliptic Curve (EC) cryptography algorithm with the SHA256 with Elliptic Curve Digital Signature Algorithm (ECDSA)\&.
++.PP
++If the signer\&'s public and private keys are DSA keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA1withDSA\fR algorithm\&. If the signer\&'s keys are RSA keys, then \f3jarsigner\fR attempts to sign the JAR file with the \f3SHA256withRSA\fR algorithm\&. If the signer\&'s keys are EC keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA256withECDSA\fR algorithm\&.
++.PP
++These default signature algorithms can be overridden using the \f3-sigalg\fR option\&.
++.SS THE\ SIGNED\ JAR\ FILE
++When the \f3jarsigner\fR command is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META-INF directory:
++.TP 0.2i
++\(bu
++A signature file with an \f3\&.SF\fR extension
++.TP 0.2i
++\(bu
++A signature block file with a \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR extension
++.PP
++The base file names for these two files come from the value of the \f3-sigFile\fR option\&. For example, when the option is \f3-sigFile MKSIGN\fR, the files are named \f3MKSIGN\&.SF\fR and \f3MKSIGN\&.DSA\fR
++.PP
++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to uppercase\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not allowed in a signature file name, then each such character is converted to an underscore (_) character in forming the file name\&. Valid characters include letters, digits, underscores, and hyphens\&.
++.PP
++Signature File
+
+-.LP
+-.LP
+-The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Sun). This is specified by the following line in the security properties file:
+-.LP
+-.nf
+-\f3
+-.fl
+- keystore.type=jks
+-.fl
+-\fP
+-.fi
++A signature file (\f3\&.SF\fR file) looks similar to the manifest file that is always included in a JAR file when the \f3jarsigner\fR command is used to sign the file\&. For each source file included in the JAR file, the \f3\&.SF\fR file has three lines, such as in the manifest file, that list the following:
++.TP 0.2i
++\(bu
++File name
++.TP 0.2i
++\(bu
++Name of the digest algorithm (SHA)
++.TP 0.2i
++\(bu
++SHA digest value
++.PP
++In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file\&. In the \f3\&.SF\fR file, the digest value for a specified source file is the hash of the three lines in the manifest file for the source file\&.
++.PP
++The signature file, by default, includes a header with a hash of the whole manifest file\&. The header also contains a hash of the manifest header\&. The presence of the header enables verification optimization\&. See JAR File Verification\&.
++.PP
++Signature Block File
+
+-.LP
+-.LP
+-Note: Case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks".
+-.LP
+-.LP
+-To have the tools utilize a keystore implementation other than the default, change that line to specify a different keystore type. For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to
+-.LP
+-.nf
+-\f3
+-.fl
+- keystore.type=pkcs12
+-.fl
+-\fP
+-.fi
++The \f3\&.SF\fR file is signed and the signature is placed in the signature block file\&. This file also contains, encoded inside it, the certificate or certificate chain from the keystore that authenticates the public key corresponding to the private key used for signing\&. The file has the extension \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR, depending on the digest algorithm used\&.
++.SS SIGNATURE\ TIME\ STAMP
++The \f3jarsigner\fR command can generate and store a signature time stamp when signing a JAR file\&. In addition, \f3jarsigner\fR supports alternative signing mechanisms\&. This behavior is optional and is controlled by the user at the time of signing through these options\&. See Options\&.
++.sp
++.nf
++\f3\-tsa \fIurl\fR\fP
++.fi
++.nf
++\f3\-tsacert \fIalias\fR\fP
++.fi
++.nf
++\f3\-altsigner \fIclass\fR\fP
++.fi
++.nf
++\f3\-altsignerpath \fIclasspathlist\fR\fP
++.fi
++.nf
++\f3\-tsapolicyid \fIpolicyid\fR\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS JAR\ FILE\ VERIFICATION
++A successful JAR file verification occurs when the signatures are valid, and none of the files that were in the JAR file when the signatures were generated have changed since then\&. JAR file verification involves the following steps:
++.TP 0.4i
++1\&.
++Verify the signature of the \f3\&.SF\fR file\&.
+
+-.LP
+-.LP
+-Note that if you us the PKCS#11 provider package, you should refer to the
+-.na
+-\f2KeyTool and JarSigner\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner section of the Java PKCS#11 Reference Guide for details.
+-.LP
+-.SS
+-Supported Algorithms
+-.LP
+-.LP
+-By default, \f3jarsigner\fP signs a JAR file using one of the following:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-DSA (Digital Signature Algorithm) with the SHA1 digest algorithm
+-.TP 2
+-o
+-RSA algorithm with the SHA256 digest algorithm.
+-.TP 2
+-o
+-EC (Elliptic Curve) cryptography algorithm with the SHA256 with ECDSA (Elliptic Curve Digital Signature Algorithm).
+-.RE
++The verification ensures that the signature stored in each signature block (\f3\&.DSA\fR) file was generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the \f3\&.DSA\fR file\&. It also ensures that the signature is a valid signature of the corresponding signature (\f3\&.SF\fR) file, and thus the \f3\&.SF\fR file was not tampered with\&.
++.TP 0.4i
++2\&.
++Verify the digest listed in each entry in the \f3\&.SF\fR file with each corresponding section in the manifest\&.
+
+-.LP
+-.LP
+-That is, if the signer's public and private keys are DSA keys, \f3jarsigner\fP will sign the JAR file using the "SHA1withDSA" algorithm. If the signer's keys are RSA keys, \f3jarsigner\fP will attempt to sign the JAR file using the "SHA256withRSA" algorithm. If the signer's keys are EC keys, \f3jarsigner\fP will sign the JAR file using the "SHA256withECDSA" algorithm.
+-.LP
+-.LP
+-These default signature algorithms can be overridden using the \f2\-sigalg\fP option.
+-.LP
+-.SS
+-The Signed JAR File
+-.LP
+-.LP
+-When \f3jarsigner\fP is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META\-INF directory:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-a signature file, with a .SF extension, and
+-.TP 2
+-o
+-a signature block file, with a .DSA, .RSA, or .EC extension.
+-.RE
++The \f3\&.SF\fR file by default includes a header that contains a hash of the entire manifest file\&. When the header is present, the verification can check to see whether or not the hash in the header matches the hash of the manifest file\&. If there is a match, then verification proceeds to the next step\&.
+
+-.LP
+-.LP
+-The base file names for these two files come from the value of the \f2\-sigFile\fP option. For example, if the option appears as
+-.LP
+-.nf
+-\f3
+-.fl
+-\-sigFile MKSIGN
+-.fl
+-\fP
+-.fi
++If there is no match, then a less optimized verification is required to ensure that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See Signature File\&.
+
+-.LP
+-.LP
+-The files are named "MKSIGN.SF" and "MKSIGN.DSA".
+-.LP
+-.LP
+-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not allowed in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. Legal characters include letters, digits, underscores, and hyphens.
+-.LP
+-\f3The Signature (.SF) File\fP
+-.LP
+-.LP
+-A signature file (the .SF file) looks similar to the manifest file that is always included in a JAR file when \f3jarsigner\fP is used to sign the file. That is, for each source file included in the JAR file, the .SF file has three lines, just as in the manifest file, listing the following:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-the file name,
+-.TP 2
+-o
+-the name of the digest algorithm used (SHA), and
+-.TP 2
+-o
+-a SHA digest value.
+-.RE
++One reason the hash of the manifest file that is stored in the \f3\&.SF\fR file header might not equal the hash of the current manifest file is that one or more files were added to the JAR file (with the \f3jar\fR tool) after the signature and \f3\&.SF\fR file were generated\&. When the \f3jar\fR tool is used to add files, the manifest file is changed by adding sections to it for the new files, but the \f3\&.SF\fR file is not changed\&. A verification is still considered successful when none of the files that were in the JAR file when the signature was generated have been changed since then\&. This happens when the hashes in the non-header sections of the \f3\&.SF\fR file equal the hashes of the corresponding sections in the manifest file\&.
++.TP 0.4i
++3\&.
++Read each file in the JAR file that has an entry in the \f3\&.SF\fR file\&. While reading, compute the file\&'s digest and compare the result with the digest for this file in the manifest section\&. The digests should be the same or verification fails\&.
+
+-.LP
+-.LP
+-In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file. In the .SF file, on the other hand, the digest value for a given source file is the hash of the three lines in the manifest file for the source file.
+-.LP
+-.LP
+-The signature file also, by default, includes a header containing a hash of the whole manifest file. The presence of the header enables verification optimization, as described in JAR File Verification.
+-.LP
+-\f3The Signature Block File\fP
+-.LP
+-The .SF file is signed and the signature is placed in the signature block file. This file also contains, encoded inside it, the certificate or certificate chain from the keystore which authenticates the public key corresponding to the private key used for signing. The file has the extension .DSA, .RSA, or .EC depending on the digest algorithm used.
+-.SS
+-Signature Timestamp
+-.LP
+-.LP
+-\f2jarsigner\fP tool can generate and store a signature timestamp when signing a JAR file. In addition, \f2jarsigner\fP supports alternative signing mechanisms. This behavior is optional and is controlled by the user at the time of signing through these options:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-\f2\-tsa url\fP
+-.TP 2
+-o
+-\f2\-tsacert alias\fP
+-.TP 2
+-o
+-\f2\-altsigner class\fP
+-.TP 2
+-o
+-\f2\-altsignerpath classpathlist\fP
+-.RE
++If any serious verification failures occur during the verification process, then the process is stopped and a security exception is thrown\&. The \f3jarsigner\fR command catches and displays the exception\&.
++.PP
++\fINote:\fR You should read any addition warnings (or errors if you specified the \f3-strict\fR option), as well as the content of the certificate (by specifying the \f3-verbose\fR and \f3-certs\fR options) to determine if the signature can be trusted\&.
++.SS MULTIPLE\ SIGNATURES\ FOR\ A\ JAR\ FILE
++A JAR file can be signed by multiple people by running the \f3jarsigner\fR command on the file multiple times and specifying the alias for a different person each time, as follows:
++.sp
++.nf
++\f3jarsigner myBundle\&.jar susan\fP
++.fi
++.nf
++\f3jarsigner myBundle\&.jar kevin\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++When a JAR file is signed multiple times, there are multiple \f3\&.SF\fR and \f3\&.DSA\fR files in the resulting JAR file, one pair for each signature\&. In the previous example, the output JAR file includes files with the following names:
++.sp
++.nf
++\f3SUSAN\&.SF\fP
++.fi
++.nf
++\f3SUSAN\&.DSA\fP
++.fi
++.nf
++\f3KEVIN\&.SF\fP
++.fi
++.nf
++\f3KEVIN\&.DSA\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1\&.1 by the \f3javakey\fR command and others by \f3jarsigner\fR\&. The \f3jarsigner\fR command can be used to sign JAR files that are already signed with the \f3javakey\fR command\&.
++.SH OPTIONS
++The following sections describe the various \f3jarsigner\fR options\&. Be aware of the following standards:
++.TP 0.2i
++\(bu
++All option names are preceded by a minus sign (-)\&.
++.TP 0.2i
++\(bu
++The options can be provided in any order\&.
++.TP 0.2i
++\(bu
++Items that are in italics or underlined (option values) represent the actual values that must be supplied\&.
++.TP 0.2i
++\(bu
++The \f3-storepass\fR, \f3-keypass\fR, \f3-sigfile\fR, \f3-sigalg\fR, \f3-digestalg\fR, \f3-signedjar\fR, and TSA-related options are only relevant when signing a JAR file; they are not relevant when verifying a signed JAR file\&. The \f3-keystore\fR option is relevant for signing and verifying a JAR file\&. In addition, aliases are specified when signing and verifying a JAR file\&.
++.TP
++-keystore \fIurl\fR
++.br
++Specifies the URL that tells the keystore location\&. This defaults to the file \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&.
+
+-.LP
+-.LP
+-Each of these options is detailed in the Options section below.
+-.LP
+-.SS
+-JAR File Verification
+-.LP
+-.LP
+-A successful JAR file verification occurs if the signature(s) are valid, and none of the files that were in the JAR file when the signatures were generated have been changed since then. JAR file verification involves the following steps:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-Verify the signature of the .SF file itself.
++A keystore is required when signing\&. You must explicitly specify a keystore when the default keystore does not exist or if you want to use one other than the default\&.
++
++A keystore is not required when verifying, but if one is specified or the default exists and the \f3-verbose\fR option was also specified, then additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore\&.
++
++The \f3-keystore\fR argument can be a file name and path specification rather than a URL, in which case it is treated the same as a file: URL, for example, the following are equivalent:
++.sp
++.nf
++\f3\-keystore \fIfilePathAndName\fR\fP
++.fi
++.nf
++\f3\-keystore file:\fIfilePathAndName\fR\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++If the Sun PKCS #11 provider was configured in the \f3java\&.security\fR security properties file (located in the JRE\&'s \f3$JAVA_HOME/lib/security directory\fR), then the \f3keytool\fR and \f3jarsigner\fR tools can operate on the PKCS #11 token by specifying these options:
++.sp
++.nf
++\f3\-keystore NONE\fP
++.fi
++.nf
++\f3\-storetype PKCS11\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++For example, the following command lists the contents of the configured PKCS#11 token:
++.sp
++.nf
++\f3keytool \-keystore NONE \-storetype PKCS11 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-storetype \fIstoretype\fR
+ .br
++Specifies the type of keystore to be instantiated\&. The default keystore type is the one that is specified as the value of the \f3keystore\&.type\fR property in the security properties file, which is returned by the static \f3getDefaultType\fR method in \f3java\&.security\&.KeyStore\fR\&.
++
++The PIN for a PCKS #11 token can also be specified with the \f3-storepass\fR option\&. If none is specified, then the \f3keytool\fR and \f3jarsigner\fR commands prompt for the token PIN\&. If the token has a protected authentication path (such as a dedicated PIN-pad or a biometric reader), then the \f3-protected\fR option must be specified and no password options can be specified\&.
++.TP
++-storepass[:env | :file] \fIargument\fR
+ .br
+-That is, the verification ensures that the signature stored in each signature block (.DSA) file was in fact generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the .DSA file. It also ensures that the signature is a valid signature of the corresponding signature (.SF) file, and thus the .SF file has not been tampered with.
+-.TP 3
+-2.
+-Verify the digest listed in each entry in the .SF file with each corresponding section in the manifest.
++Specifies the password that is required to access the keystore\&. This is only needed when signing (not verifying) a JAR file\&. In that case, if a \f3-storepass\fR option is not provided at the command line, then the user is prompted for the password\&.
++
++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \fIargument\fR\&. Otherwise, the password is retrieved as follows:
++.RS
++.TP 0.2i
++\(bu
++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&.
++.TP 0.2i
++\(bu
++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&.
++.RE
++
++
++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&.
++.TP
++-keypass [:env | :file] \fIargument\fR
+ .br
++Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line\&. The password is required when using \f3jarsigner\fR to sign a JAR file\&. If no password is provided on the command line, and the required password is different from the store password, then the user is prompted for it\&.
++
++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \f3argument\fR\&. Otherwise, the password is retrieved as follows:
++.RS
++.TP 0.2i
++\(bu
++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&.
++.TP 0.2i
++\(bu
++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&.
++.RE
++
++
++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&.
++.TP
++-sigfile \fIfile\fR
+ .br
+-The .SF file by default includes a header containing a hash of the entire manifest file. When the header is present, then the verification can check to see whether or not the hash in the header indeed matches the hash of the manifest file. If that is the case, verification proceeds to the next step.
++Specifies the base file name to be used for the generated \f3\&.SF\fR and \f3\&.DSA\fR files\&. For example, if file is \f3DUKESIGN\fR, then the generated \f3\&.SF\fR and \f3\&.DSA\fR files are named \f3DUKESIGN\&.SF\fR and \f3DUKESIGN\&.DSA\fR, and placed in the \f3META-INF\fR directory of the signed JAR file\&.
++
++The characters in the file must come from the set \f3a-zA-Z0-9_-\fR\&. Only letters, numbers, underscore, and hyphen characters are allowed\&. All lowercase characters are converted to uppercase for the \f3\&.SF\fR and \f3\&.DSA\fR file names\&.
++
++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to upper case\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not valid in a signature file name, then each such character is converted to an underscore (_) character to form the file name\&.
++.TP
++-sigalg \fIalgorithm\fR
+ .br
++Specifies the name of the signature algorithm to use to sign the JAR file\&.
++
++For a list of standard signature algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA
++
++This algorithm must be compatible with the private key used to sign the JAR file\&. If this option is not specified, then \f3SHA1withDSA\fR, \f3SHA256withRSA\fR, or \f3SHA256withECDSA\fR are used depending on the type of private key\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&.
++.TP
++-digestalg \fIalgorithm\fR
+ .br
+-If that is not the case, a less optimized verification is required to ensure that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file (see The Signature (.SF) File).
++Specifies the name of the message digest algorithm to use when digesting the entries of a JAR file\&.
++
++For a list of standard message digest algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA
++
++If this option is not specified, then \f3SHA256\fR is used\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&.
++.TP
++-certs
+ .br
++If the \f3-certs\fR option appears on the command line with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. This information includes the name of the type of certificate (stored in the \f3\&.DSA\fR file) that certifies the signer\&'s public key, and if the certificate is an X\&.509 certificate (an instance of the \f3java\&.security\&.cert\&.X509Certificate\fR), then the distinguished name of the signer\&.
++
++The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&. If the signer comes from a JDK 1\&.1 identity database instead of from a keystore, then the alias name displays in brackets instead of parentheses\&.
++.TP
++-certchain \fIfile\fR
+ .br
+-One reason the hash of the manifest file that is stored in the .SF file header may not equal the hash of the current manifest file would be because one or more files were added to the JAR file (using the \f2jar\fP tool) after the signature (and thus the .SF file) was generated. When the \f2jar\fP tool is used to add files, the manifest file is changed (sections are added to it for the new files), but the .SF file is not. A verification is still considered successful if none of the files that were in the JAR file when the signature was generated have been changed since then, which is the case if the hashes in the non\-header sections of the .SF file equal the hashes of the corresponding sections in the manifest file.
+-.TP 3
+-3.
+-Read each file in the JAR file that has an entry in the .SF file. While reading, compute the file's digest, and then compare the result with the digest for this file in the manifest section. The digests should be the same, or verification fails.
+-.RE
++Specifies the certificate chain to be used when the certificate chain associated with the private key of the keystore entry that is addressed by the alias specified on the command line is not complete\&. This can happen when the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain\&. The file can be a sequence of concatenated X\&.509 certificates, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard\&. See the section Internet RFC 1421 Certificate Encoding Standard in \f3keytool\fR and http://tools\&.ietf\&.org/html/rfc1421\&.
++.TP
++-verbose
++.br
++When the \f3-verbose\fR option appears on the command line, it indicates verbose mode, which causes \f3jarsigner\fR to output extra information about the progress of the JAR signing or verification\&.
++.TP
++-internalsf
++.br
++In the past, the \f3\&.DSA\fR (signature block) file generated when a JAR file was signed included a complete encoded copy of the \f3\&.SF\fR file (signature file) also generated\&. This behavior has been changed\&. To reduce the overall size of the output JAR file, the \f3\&.DSA\fR file by default does not contain a copy of the \f3\&.SF\fR file anymore\&. If \f3-internalsf\fR appears on the command line, then the old behavior is utilized\&. This option is useful for testing\&. In practice, do not use the \f3-internalsf\fR option because it incurs higher overhead\&.
++.TP
++-sectionsonly
++.br
++If the \f3-sectionsonly\fR option appears on the command line, then the \f3\&.SF\fR file (signature file) generated when a JAR file is signed does not include a header that contains a hash of the whole manifest file\&. It contains only the information and hashes related to each individual source file included in the JAR file\&. See Signature File\&.
+
+-.LP
+-.LP
+-If any serious verification failures occur during the verification process, the process is stopped and a security exception is thrown. It is caught and displayed by \f3jarsigner\fP.
+-.LP
+-.SS
+-Multiple Signatures for a JAR File
+-.LP
+-.LP
+-A JAR file can be signed by multiple people simply by running the \f3jarsigner\fP tool on the file multiple times, specifying the alias for a different person each time, as in:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner myBundle.jar susan
+-.fl
+- jarsigner myBundle.jar kevin
+-.fl
+-\fP
+-.fi
++By default, this header is added, as an optimization\&. When the header is present, whenever the JAR file is verified, the verification can first check to see whether the hash in the header matches the hash of the whole manifest file\&. When there is a match, verification proceeds to the next step\&. When there is no match, it is necessary to do a less optimized verification that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See JAR File Verification\&.
+
+-.LP
+-.LP
+-When a JAR file is signed multiple times, there are multiple .SF and .DSA files in the resulting JAR file, one pair for each signature. Thus, in the example above, the output JAR file includes files with the following names:
+-.LP
+-.nf
+-\f3
+-.fl
+- SUSAN.SF
+-.fl
+- SUSAN.DSA
+-.fl
+- KEVIN.SF
+-.fl
+- KEVIN.DSA
+-.fl
+-\fP
+-.fi
++The \f3-sectionsonly\fR option is primarily used for testing\&. It should not be used other than for testing because using it incurs higher overhead\&.
++.TP
++-protected
++.br
++Values can be either \f3true\fR or \f3false\fR\&. Specify \f3true\fR when a password must be specified through a protected authentication path such as a dedicated PIN reader\&.
++.TP
++-providerClass \fIprovider-class-name\fR
++.br
++Used to specify the name of cryptographic service provider\&'s master class file when the service provider is not listed in the \f3java\&.security\fR security properties file\&.
+
+-.LP
+-.LP
+-Note: It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1.1 \f3javakey\fP tool and others by \f3jarsigner\fP. That is, \f3jarsigner\fP can be used to sign JAR files already previously signed using \f3javakey\fP.
+-.LP
+-.SH "OPTIONS"
+-.LP
+-.LP
+-The various \f3jarsigner\fP options are listed and described below. Note:
+-.LP
+-.RS 3
+-.TP 2
+-o
+-All option names are preceded by a minus sign (\-).
+-.TP 2
+-o
+-The options may be provided in any order.
+-.TP 2
+-o
+-Items in italics (option values) represent the actual values that must be supplied.
+-.TP 2
+-o
+-The \f2\-keystore\fP, \f2\-storepass\fP, \f2\-keypass\fP, \f2\-sigfile\fP, \f2\-sigalg\fP, \f2\-digestalg\fP, and \f2\-signedjar\fP options are only relevant when signing a JAR file, not when verifying a signed JAR file. Similarly, an alias is only specified on the command line when signing a JAR file.
+-.RE
++Used with the \f3-providerArg ConfigFilePath\fR option, the \f3keytool\fR and \f3jarsigner\fR tools install the provider dynamically and use \fIConfigFilePath\fR for the path to the token configuration file\&. The following example shows a command to list a \f3PKCS #11\fR keystore when the Oracle PKCS #11 provider was not configured in the security properties file\&.
++.sp
++.nf
++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerArg /mydir1/mydir2/token\&.config \e\fP
++.fi
++.nf
++\f3 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
+
+-.LP
+-.RS 3
+-.TP 3
+-\-keystore url
+-Specifies the URL that tells the keystore location. This defaults to the file \f2.keystore\fP in the user's home directory, as determined by the "user.home" system property.
++.TP
++-providerName \fIproviderName\fR
+ .br
++If more than one provider was configured in the \f3java\&.security\fR security properties file, then you can use the \f3-providerName\fR option to target a specific provider instance\&. The argument to this option is the name of the provider\&.
++
++For the Oracle PKCS #11 provider, \fIproviderName\fR is of the form \f3SunPKCS11-\fR\fITokenName\fR, where \fITokenName\fR is the name suffix that the provider instance has been configured with, as detailed in the configuration attributes table\&. For example, the following command lists the contents of the \f3PKCS #11\fR keystore provider instance with name suffix \f3SmartCard\fR:
++.sp
++.nf
++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP
++.fi
++.nf
++\f3 \-providerName SunPKCS11\-SmartCard \e\fP
++.fi
++.nf
++\f3 \-list\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-J\fIjavaoption\fR
+ .br
+-A keystore is required when signing, so you must explicitly specify one if the default keystore does not exist (or you want to use one other than the default).
++Passes through the specified \fIjavaoption\fR string directly to the Java interpreter\&. The \f3jarsigner\fR command is a wrapper around the interpreter\&. This option should not contain any spaces\&. It is useful for adjusting the execution environment or memory usage\&. For a list of possible interpreter options, type \f3java -h\fR or \f3java -X\fR at the command line\&.
++.TP
++-tsa \fIurl\fR
+ .br
++If \f3-tsa http://example\&.tsa\&.url\fR appears on the command line when signing a JAR file then a time stamp is generated for the signature\&. The URL, \f3http://example\&.tsa\&.url\fR, identifies the location of the Time Stamping Authority (TSA) and overrides any URL found with the \f3-tsacert\fR option\&. The \f3-tsa\fR option does not require the TSA public key certificate to be present in the keystore\&.
++
++To generate the time stamp, \f3jarsigner\fR communicates with the TSA with the Time-Stamp Protocol (TSP) defined in RFC 3161\&. When successful, the time stamp token returned by the TSA is stored with the signature in the signature block file\&.
++.TP
++-tsacert \fIalias\fR
+ .br
+-A keystore is \f2not\fP required when verifying, but if one is specified, or the default exists, and the \f2\-verbose\fP option was also specified, additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore.
++When \f3-tsacert alias\fR appears on the command line when signing a JAR file, a time stamp is generated for the signature\&. The alias identifies the TSA public key certificate in the keystore that is in effect\&. The entry\&'s certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA\&.
++
++The TSA public key certificate must be present in the keystore when using the \f3-tsacert\fR option\&.
++.TP
++-tsapolicyid \fIpolicyid\fR
+ .br
++Specifies the object identifier (OID) that identifies the policy ID to be sent to the TSA server\&. If this option is not specified, no policy ID is sent and the TSA server will choose a default policy ID\&.
++
++Object identifiers are defined by X\&.696, which is an ITU Telecommunication Standardization Sector (ITU-T) standard\&. These identifiers are typically period-separated sets of non-negative digits like \f31\&.2\&.3\&.4\fR, for example\&.
++.TP
++-altsigner \fIclass\fR
+ .br
+-Note: the \f2\-keystore\fP argument can actually be a file name (and path) specification rather than a URL, in which case it will be treated the same as a "file:" URL. That is,
+-.nf
+-\f3
+-.fl
+- \-keystore \fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-is treated as equivalent to
+-.nf
+-\f3
+-.fl
+- \-keystore file:\fP\f4filePathAndName\fP\f3
+-.fl
+-\fP
+-.fi
+-If the Sun PKCS#11 provider has been configured in the \f2java.security\fP security properties file (located in the JRE's \f2$JAVA_HOME/lib/security\fP directory), then keytool and jarsigner can operate on the PKCS#11 token by specifying these options:
+-.RS 3
+-.TP 2
+-o
+-\f2\-keystore NONE\fP
+-.TP 2
+-o
+-\f2\-storetype PKCS11\fP
+-.RE
+-For example, this command lists the contents of the configured PKCS#11 token:
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore NONE \-storetype PKCS11 \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-storetype storetype
+-Specifies the type of keystore to be instantiated. The default keystore type is the one that is specified as the value of the "keystore.type" property in the security properties file, which is returned by the static \f2getDefaultType\fP method in \f2java.security.KeyStore\fP.
++This option specifies an alternative signing mechanism\&. The fully qualified class name identifies a class file that extends the \f3com\&.sun\&.jarsigner\&.ContentSigner\fR abstract class\&. The path to this class file is defined by the \f3-altsignerpath\fR option\&. If the \f3-altsigner\fR option is used, then the \f3jarsigner\fR command uses the signing mechanism provided by the specified class\&. Otherwise, the \f3jarsigner\fR command uses its default signing mechanism\&.
++
++For example, to use the signing mechanism provided by a class named \f3com\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR, use the jarsigner option \f3-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR\&.
++.TP
++-altsignerpath \fIclasspathlist\fR
+ .br
++Specifies the path to the class file and any JAR file it depends on\&. The class file name is specified with the \f3-altsigner\fR option\&. If the class file is in a JAR file, then this option specifies the path to that JAR file\&.
++
++An absolute path or a path relative to the current directory can be specified\&. If \fIclasspathlist\fR contains multiple paths or JAR files, then they should be separated with a colon (:) on Oracle Solaris and a semicolon (;) on Windows\&. This option is not necessary when the class is already in the search path\&.
++
++The following example shows how to specify the path to a JAR file that contains the class file\&. The JAR file name is included\&.
++.sp
++.nf
++\f3\-altsignerpath /home/user/lib/authsigner\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++
++The following example shows how to specify the path to the JAR file that contains the class file\&. The JAR file name is omitted\&.
++.sp
++.nf
++\f3\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++
++.TP
++-strict
+ .br
+-The PIN for a PCKS#11 token can also be specified using the \f2\-storepass\fP option. If none has been specified, keytool and jarsigner will prompt for the token PIN. If the token has a protected authentication path (such as a dedicated PIN\-pad or a biometric reader), then the \f2\-protected\fP option must be specified and no password options can be specified.
+-.TP 3
+-\-storepass[:env | :file] argument
+-Specifies the password which is required to access the keystore. This is only needed when signing (not verifying) a JAR file. In that case, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for the password.
++During the signing or verifying process, the command may issue warning messages\&. If you specify this option, the exit code of the tool reflects the severe warning messages that this command found\&. See Errors and Warnings\&.
++.TP
++-verbose \fIsuboptions\fR
+ .br
+-.br
+-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows:
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP
+-.TP 2
+-o
+-\f2file\fP: Retrieve the password from the file named \f2argument\fP
+-.RE
+-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system.
+-.TP 3
+-\-keypass[:env | :file] argument
+-Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line. The password is required when using \f3jarsigner\fP to sign a JAR file. If no password is provided on the command line, and the required password is different from the store password, the user is prompted for it.
+-.br
+-.br
+-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows:
+-.RS 3
+-.TP 2
+-o
+-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP
+-.TP 2
+-o
+-\f2file\fP: Retrieve the password from the file named \f2argument\fP
+-.RE
+-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system.
+-.TP 3
+-\-sigfile file
+-Specifies the base file name to be used for the generated .SF and .DSA files. For example, if \f2file\fP is "DUKESIGN", the generated .SF and .DSA files will be named "DUKESIGN.SF" and "DUKESIGN.DSA", and will be placed in the "META\-INF" directory of the signed JAR file.
+-.br
+-.br
+-The characters in \f2file\fP must come from the set "a\-zA\-Z0\-9_\-". That is, only letters, numbers, underscore, and hyphen characters are allowed. Note: All lowercase characters will be converted to uppercase for the .SF and .DSA file names.
+-.br
+-.br
+-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not legal in a signature file name, each such character is converted to an underscore ("_") character in forming the file name.
+-.TP 3
+-\-sigalg algorithm
+-Specifies the name of the signature algorithm to use to sign the JAR file.
+-.br
+-.br
+-See
+-.na
+-\f2Appendix A\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard signature algorithm names. This algorithm must be compatible with the private key used to sign the JAR file. If this option is not specified, SHA1withDSA, SHA256withRSA, or SHA256withECDSA will be used depending on the type of private key. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed.
+-.TP 3
+-\-digestalg algorithm
+-Specifies the name of the message digest algorithm to use when digesting the entries of a jar file.
+-.br
+-.br
+-See
+-.na
+-\f2Appendix A\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard message digest algorithm names. If this option is not specified, SHA256 will be used. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed.
+-.TP 3
+-\-signedjar file
+-Specifies the name to be used for the signed JAR file.
+-.br
+-.br
+-If no name is specified on the command line, the name used is the same as the input JAR file name (the name of the JAR file to be signed); in other words, that file is overwritten with the signed JAR file.
+-.TP 3
+-\-verify
+-If this appears on the command line, the specified JAR file will be verified, not signed. If the verification is successful, "jar verified" will be displayed. If you try to verify an unsigned JAR file, or a JAR file signed with an unsupported algorithm (e.g., RSA when you don't have an RSA provider installed), the following is displayed: "jar is unsigned. (signatures missing or not parsable)"
+-.br
+-.br
+-It is possible to verify JAR files signed using either \f3jarsigner\fP or the JDK 1.1 \f3javakey\fP tool, or both.
+-.br
+-.br
+-For further information on verification, see JAR File Verification.
+-.TP 3
+-\-certs
+-If this appears on the command line, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file. This information includes
+-.RS 3
+-.TP 2
+-o
+-the name of the type of certificate (stored in the .DSA file) that certifies the signer's public key
+-.TP 2
+-o
+-if the certificate is an X.509 certificate (more specifically, an instance of \f2java.security.cert.X509Certificate\fP): the distinguished name of the signer
+-.RE
+-The keystore is also examined. If no keystore value is specified on the command line, the default keystore file (if any) will be checked. If the public key certificate for a signer matches an entry in the keystore, then the following information will also be displayed:
+-.RS 3
+-.TP 2
+-o
+-in parentheses, the alias name for the keystore entry for that signer. If the signer actually comes from a JDK 1.1 identity database instead of from a keystore, the alias name will appear in brackets instead of parentheses.
+-.RE
+-.TP 3
+-\-certchain file
+-Specifies the certificate chain to be used, if the certificate chain associated with the private key of the keystore entry, addressed by the alias specified on the command line, is not complete. This may happen if the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain. The file can be a sequence of X.509 certificates concatenated together, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as BASE64 encoding) as defined by the Internet RFC 1421 standard.
+-.TP 3
+-\-verbose
+-If this appears on the command line, it indicates "verbose" mode, which causes \f3jarsigner\fP to output extra information as to the progress of the JAR signing or verification.
+-.TP 3
+-\-internalsf
+-In the past, the .DSA (signature block) file generated when a JAR file was signed used to include a complete encoded copy of the .SF file (signature file) also generated. This behavior has been changed. To reduce the overall size of the output JAR file, the .DSA file by default doesn't contain a copy of the .SF file anymore. But if \f2\-internalsf\fP appears on the command line, the old behavior is utilized. \f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP
+-.TP 3
+-\-sectionsonly
+-If this appears on the command line, the .SF file (signature file) generated when a JAR file is signed does \f2not\fP include a header containing a hash of the whole manifest file. It just contains information and hashes related to each individual source file included in the JAR file, as described in The Signature (.SF) File .
+-.br
+-.br
+-By default, this header is added, as an optimization. When the header is present, then whenever the JAR file is verified, the verification can first check to see whether or not the hash in the header indeed matches the hash of the whole manifest file. If so, verification proceeds to the next step. If not, it is necessary to do a less optimized verification that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file.
+-.br
+-.br
+-For further information, see JAR File Verification.
+-.br
+-.br
+-\f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP
+-.TP 3
+-\-protected
+-Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader.
+-.TP 3
+-\-providerClass provider\-class\-name
+-Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file, \f2java.security\fP.
+-.br
+-.br
+-Used in conjunction with the \f2\-providerArg\fP \f2ConfigFilePath\fP option, keytool and jarsigner will install the provider dynamically (where \f2ConfigFilePath\fP is the path to the token configuration file). Here's an example of a command to list a PKCS#11 keystore when the Sun PKCS#11 provider has not been configured in the security properties file.
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerClass sun.security.pkcs11.SunPKCS11 \\
+-.fl
+- \-providerArg /foo/bar/token.config \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-providerName providerName
+-If more than one provider has been configured in the \f2java.security\fP security properties file, you can use the \f2\-providerName\fP option to target a specific provider instance. The argument to this option is the name of the provider.
+-.br
+-.br
+-For the Sun PKCS#11 provider, \f2providerName\fP is of the form \f2SunPKCS11\-\fP\f2TokenName\fP, where \f2TokenName\fP is the name suffix that the provider instance has been configured with, as detailed in the
+-.na
+-\f2configuration attributes table\fP @
+-.fi
+-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS. For example, the following command lists the contents of the PKCS#11 keystore provider instance with name suffix \f2SmartCard\fP:
+-.nf
+-\f3
+-.fl
+-jarsigner \-keystore NONE \-storetype PKCS11 \\
+-.fl
+- \-providerName SunPKCS11\-SmartCard \\
+-.fl
+- \-list
+-.fl
+-\fP
+-.fi
+-.TP 3
+-\-Jjavaoption
+-Passes through the specified \f2javaoption\fP string directly to the Java interpreter. (\f3jarsigner\fP is actually a "wrapper" around the interpreter.) This option should not contain any spaces. It is useful for adjusting the execution environment or memory usage. For a list of possible interpreter options, type \f2java \-h\fP or \f2java \-X\fP at the command line.
+-.TP 3
+-\-tsa url
+-If \f2"\-tsa http://example.tsa.url"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The URL, \f2http://example.tsa.url\fP, identifies the location of the Time Stamping Authority (TSA). It overrides any URL found via the \f2\-tsacert\fP option. The \f2\-tsa\fP option does not require the TSA's public key certificate to be present in the keystore.
+-.br
+-.br
+-To generate the timestamp, \f2jarsigner\fP communicates with the TSA using the Time\-Stamp Protocol (TSP) defined in
+-.na
+-\f2RFC 3161\fP @
+-.fi
+-http://www.ietf.org/rfc/rfc3161.txt. If successful, the timestamp token returned by the TSA is stored along with the signature in the signature block file.
+-.TP 3
+-\-tsacert alias
+-If \f2"\-tsacert alias"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The \f2alias\fP identifies the TSA's public key certificate in the keystore that is currently in effect. The entry's certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA.
+-.br
+-.br
+-The TSA's public key certificate must be present in the keystore when using \f2\-tsacert\fP.
+-.TP 3
+-\-altsigner class
+-Specifies that an alternative signing mechanism be used. The fully\-qualified class name identifies a class file that extends the \f2com.sun.jarsigner.ContentSigner abstract class\fP. The path to this class file is defined by the \f2\-altsignerpath\fP option. If the \f2\-altsigner\fP option is used, \f2jarsigner\fP uses the signing mechanism provided by the specified class. Otherwise, \f2jarsigner\fP uses its default signing mechanism.
+-.br
+-.br
+-For example, to use the signing mechanism provided by a class named \f2com.sun.sun.jarsigner.AuthSigner\fP, use the \f2jarsigner\fP option \f2"\-altsigner com.sun.jarsigner.AuthSigner"\fP
+-.TP 3
+-\-altsignerpath classpathlist
+-Specifies the path to the class file (the class file name is specified with the \f2\-altsigner\fP option described above) and any JAR files it depends on. If the class file is in a JAR file, then this specifies the path to that JAR file, as shown in the example below.
+-.br
+-.br
+-An absolute path or a path relative to the current directory may be specified. If \f2classpathlist\fP contains multiple paths or JAR files, they should be separated with a colon (\f2:\fP) on Solaris and a semi\-colon (\f2;\fP) on Windows. This option is not necessary if the class is already in the search path.
+-.br
+-.br
+-Example of specifying the path to a jar file that contains the class file:
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/lib/authsigner.jar
+-.fl
+-\fP
+-.fi
+-Note that the JAR file name is included.
+-.br
+-.br
+-Example of specifying the path to the jar file that contains the class file:
+-.nf
+-\f3
+-.fl
+-\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/
+-.fl
+-\fP
+-.fi
+-Note that the JAR file name is omitted.
+-.TP 3
+-\-strict
+-During the signing or verifying process, some warning messages may be shown. If this option appears on the command line, the exit code of the tool will reflect the warning messages that are found. Read the "WARNINGS" section for details.
+-.TP 3
+-\-verbose:sub\-options
+-For the verifying process, the \f2\-verbose\fP option takes sub\-options to determine how much information will be shown. If \f2\-certs\fP is also specified, the default mode (or sub\-option all) displays each entry as it is being processed and following that, the certificate information for each signer of the JAR file. If \f2\-certs\fP and the \f2\-verbose:grouped\fP sub\-option are specified, entries with the same signer info are grouped and displayed together along with their certificate information. If \f2\-certs\fP and the \f2\-verbose:summary\fP sub\-option are specified, then entries with the same signer info are grouped and displayed together along with their certificate information but details about each entry are summarized and displayed as "one entry (and more)". See the examples section for more information.
+-.RE
++For the verifying process, the \f3-verbose\fR option takes suboptions to determine how much information is shown\&. If the \f3-certs\fR option is also specified, then the default mode (or suboption \f3all\fR) displays each entry as it is being processed, and after that, the certificate information for each signer of the JAR file\&. If the \f3-certs\fR and the \f3-verbose:grouped\fR suboptions are specified, then entries with the same signer info are grouped and displayed together with their certificate information\&. If \f3-certs\fR and the \f3-verbose:summary\fR suboptions are specified, then entries with the same signer information are grouped and displayed together with their certificate information\&. Details about each entry are summarized and displayed as \fIone entry (and more)\fR\&. See Examples\&.
++.SH ERRORS\ AND\ WARNINGS
++During the signing or verifying process, the \f3jarsigner\fR command may issue various errors or warnings\&.
++.PP
++If there is a failure, the \f3jarsigner\fR command exits with code 1\&. If there is no failure, but there are one or more severe warnings, the \f3jarsigner\fR command exits with code 0 when the \f3-strict\fR option is \fInot\fR specified, or exits with the OR-value of the warning codes when the \f3-strict\fR is specified\&. If there is only informational warnings or no warning at all, the command always exits with code 0\&.
++.PP
++For example, if a certificate used to sign an entry is expired and has a KeyUsage extension that does not allow it to sign a file, the \f3jarsigner\fR command exits with code 12 (=4+8) when the \f3-strict\fR option is specified\&.
++.PP
++\fINote:\fR Exit codes are reused because only the values from 0 to 255 are legal on Unix-based operating systems\&.
++.PP
++The following sections describes the names, codes, and descriptions of the errors and warnings that the \f3jarsigner\fR command can issue\&.
++.SS FAILURE
++Reasons why the \f3jarsigner\fR command fails include (but are not limited to) a command line parsing error, the inability to find a keypair to sign the JAR file, or the verification of a signed JAR fails\&.
++.TP
++failure
++Code 1\&. The signing or verifying fails\&.
++.SS SEVERE\ WARNINGS
++\fINote:\fR Severe warnings are reported as errors if you specify the \f3-strict\fR option\&.
++.PP
++Reasons why the \f3jarsigner\fR command issues a severe warning include the certificate used to sign the JAR file has an error or the signed JAR file has other problems\&.
++.TP
++hasExpiredCert
++Code 4\&. This jar contains entries whose signer certificate has expired\&.
++.TP
++notYetValidCert
++Code 4\&. This jar contains entries whose signer certificate is not yet valid\&.
++.TP
++chainNotValidated
++Code 4\&. This jar contains entries whose certificate chain cannot be correctly validated\&.
++.TP
++badKeyUsage
++Code 8\&. This jar contains entries whose signer certificate\&'s KeyUsage extension doesn\&'t allow code signing\&.
++.TP
++badExtendedKeyUsage
++Code 8\&. This jar contains entries whose signer certificate\&'s ExtendedKeyUsage extension doesn\&'t allow code signing\&.
++.TP
++badNetscapeCertType
++Code 8\&. This jar contains entries whose signer certificate\&'s NetscapeCertType extension doesn\&'t allow code signing\&.
++.TP
++hasUnsignedEntry
++Code 16\&. This jar contains unsigned entries which have not been integrity-checked\&.
++.TP
++notSignedByAlias
++Code 32\&. This jar contains signed entries which are not signed by the specified alias(es)\&.
++.TP
++aliasNotInStore
++Code 32\&. This jar contains signed entries that are not signed by alias in this keystore\&.
++.SS INFORMATIONAL\ WARNINGS
++Informational warnings include those that are not errors but regarded as bad practice\&. They do not have a code\&.
++.TP
++hasExpiringCert
++This jar contains entries whose signer certificate will expire within six months\&.
++.TP
++noTimestamp
++This jar contains signatures that does not include a timestamp\&. Without a timestamp, users may not be able to validate this JAR file after the signer certificate\&'s expiration date (\f3YYYY-MM-DD\fR) or after any future revocation date\&.
++.SH EXAMPLES
++.SS SIGN\ A\ JAR\ FILE
++Use the following command to sign bundle\&.jar with the private key of a user whose keystore alias is \f3jane\fR in a keystore named \f3mystore\fR in the \f3working\fR directory and name the signed JAR file \f3sbundle\&.jar\fR:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore\fP
++.fi
++.nf
++\f3 \-storepass <keystore password>\fP
++.fi
++.nf
++\f3 \-keypass <private key password>\fP
++.fi
++.nf
++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++There is no \f3-sigfile\fR specified in the previous command so the generated \f3\&.SF\fR and \f3\&.DSA\fR files to be placed in the signed JAR file have default names based on the alias name\&. They are named \f3JANE\&.SF\fR and \f3JANE\&.DSA\fR\&.
++.PP
++If you want to be prompted for the store password and the private key password, then you could shorten the previous command to the following:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore\fP
++.fi
++.nf
++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If the keystore is the default keystore (\&.keystore in your home directory), then you do not need to specify a keystore, as follows:
++.sp
++.nf
++\f3jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If you want the signed JAR file to overwrite the input JAR file (bundle\&.jar), then you do not need to specify a \f3-signedjar\fR option, as follows:
++.sp
++.nf
++\f3jarsigner bundle\&.jar jane\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS VERIFY\ A\ SIGNED\ JAR\ FILE
++To verify a signed JAR file to ensure that the signature is valid and the JAR file was not been tampered with, use a command such as the following:
++.sp
++.nf
++\f3jarsigner \-verify sbundle\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++When the verification is successful, \f3jar verified\fR is displayed\&. Otherwise, an error message is displayed\&. You can get more information when you use the \f3-verbose\fR option\&. A sample use of \f3jarsigner\fR with the\f3-verbose\fR option follows:
++.sp
++.nf
++\f3jarsigner \-verify \-verbose sbundle\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class\fP
++.fi
++.nf
++\f3 smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++.SS VERIFICATION\ WITH\ CERTIFICATE\ INFORMATION
++If you specify the \f3-certs\fR option with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. The information includes the certificate type, the signer distinguished name information (when it is an X\&.509 certificate), and in parentheses, the keystore alias for the signer when the public key certificate in the JAR file matches the one in a keystore entry, for example:
++.sp
++.nf
++\f3jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF\fP
++.fi
++.nf
++\f3 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA\fP
++.fi
++.nf
++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)\fP
++.fi
++.nf
++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++If the certificate for a signer is not an X\&.509 certificate, then there is no distinguished name information\&. In that case, just the certificate type and the alias are shown\&. For example, if the certificate is a PGP certificate, and the alias is \f3bob\fR, then you would get: \f3PGP, (bob)\fR\&.
++.SS VERIFICATION\ THAT\ INCLUDES\ IDENTITY\ DATABASE\ SIGNERS
++If a JAR file was signed with the JDK 1\&.1 \f3javakey\fR tool, and the signer is an alias in an identity database, then the verification output includes an \f3i\fR\&. If the JAR file was signed by both an alias in an identity database and an alias in a keystore, then both \f3k\fR and \f3i\fR appear\&.
++.PP
++When the \f3-certs\fR option is used, any identity database aliases are shown in brackets rather than the parentheses used for keystore aliases, for example:
++.sp
++.nf
++\f3 jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
++.fi
++.nf
++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
++.fi
++.nf
++\f3 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF\fP
++.fi
++.nf
++\f3 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA\fP
++.fi
++.nf
++\f3 smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP
++.fi
++.nf
++\f3 X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 s = signature was verified\fP
++.fi
++.nf
++\f3 m = entry is listed in manifest\fP
++.fi
++.nf
++\f3 k = at least one certificate was found in keystore\fP
++.fi
++.nf
++\f3 i = at least one certificate was found in identity scope\fP
++.fi
++.nf
++\f3\fR
++.fi
++.nf
++\f3 jar verified\&.\fP
++.fi
++.nf
++\f3\fR
++.fi
++.sp
++\fINote:\fR The alias \f3duke\fR is in brackets to denote that it is an identity database alias, and not a keystore alias\&.
++.SH JDK\ 1\&.1\ COMPATIBILITY
++The \f3keytool\fR and \f3jarsigner\fR tools replace the \f3javakey\fR tool in JDK 1\&.1\&. These new tools provide more features than \f3javakey\fR, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them\&.
++.PP
++The new keystore architecture replaces the identity database that \f3javakey\fR created and managed\&. There is no backward compatibility between the keystore format and the database format used by \f3javakey\fR in JDK 1\&.1\&. However, be aware of the following:
++.TP 0.2i
++\(bu
++It is possible to import the information from an identity database into a keystore through the \f3keytool -identitydb\fR command\&.
++.TP 0.2i
++\(bu
++The \f3jarsigner\fR command can sign JAR files that were signed with the \f3javakey\fR command\&.
++.TP 0.2i
++\(bu
++The \f3jarsigner\fR command can verify JAR files signed with \f3javakey\fR\&. The \f3jarsigner\fR command recognizes and can work with signer aliases that are from a JDK 1\&.1 identity database rather than a JDK keystore\&.
++.SS UNSIGNED\ JARS
++Unsigned JARs have the default privileges that are granted to all code\&.
++.SS SIGNED\ JARS
++Signed JARs have the privilege configurations based on their JDK 1\&.1\&.\fIn\fR identity and policy file status as described\&. Only trusted identities can be imported into the JDK keystore\&.
++.PP
++Default Privileges Granted to All Code
+
+-.LP
+-.SH "EXAMPLES"
+-.LP
+-.SS
+-Signing a JAR File
+-.LP
+-.LP
+-Suppose you have a JAR file named "bundle.jar" and you'd like to sign it using the private key of the user whose keystore alias is "jane" in the keystore named "mystore" in the "working" directory. You can use the following to sign the JAR file and name the signed JAR file "sbundle.jar":
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3
+-.fl
+- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.LP
+-.LP
+-Note that there is no \f2\-sigfile\fP specified in the command above, so the generated .SF and .DSA files to be placed in the signed JAR file will have default names based on the alias name. That is, they will be named \f2JANE.SF\fP and \f2JANE.DSA\fP.
+-.LP
+-.LP
+-If you want to be prompted for the store password and the private key password, you could shorten the above command to
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore
+-.fl
+- \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.LP
+-.LP
+-If the keystore to be used is the default keystore (the one named ".keystore" in your home directory), you don't need to specify a keystore, as in:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-signedjar sbundle.jar bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: Yes/Untrusted
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.br
++See 3 in Notes Regarding Privileges of Signed JARs\&.
++.PP
+
+-.LP
+-.LP
+-Finally, if you want the signed JAR file to simply overwrite the input JAR file (\f2bundle.jar\fP), you don't need to specify a \f2\-signedjar\fP option:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner bundle.jar jane
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: Yes/Untrusted
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 1 and 3 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Default Privileges and Policy File Privileges Granted
+
+-.LP
+-.SS
+-Verifying a Signed JAR File
+-.LP
+-.LP
+-To verify a signed JAR file, that is, to verify that the signature is valid and the JAR file has not been tampered with, use a command such as the following:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify sbundle.jar
+-.fl
+-\fP
+-.fi
++Identity in 1\&.1 database: \fINo\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.PP
+
+-.LP
+-.LP
+-If the verification is successful,
+-.LP
+-.nf
+-\f3
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 2 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++All Privileges Granted
+
+-.LP
+-.LP
+-is displayed. Otherwise, an error message appears.
+-.LP
+-.LP
+-You can get more information if you use the \f2\-verbose\fP option. A sample use of \f3jarsigner\fP with the \f2\-verbose\fP option is shown below, along with sample output:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-verify \-verbose sbundle.jar
+-.fl
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.PP
+
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class
+-.fl
+- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Verification with Certificate Information
+-.LP
+-.LP
+-If you specify the \f2\-certs\fP option when verifying, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file, including the certificate type, the signer distinguished name information (if and only if it's an X.509 certificate), and, in parentheses, the keystore alias for the signer if the public key certificate in the JAR file matches that in a keystore entry. For example,
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF
+-.fl
+- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA
+-.fl
+- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class
+-.fl
+-
+-.fl
+- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest)
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-If the certificate for a signer is not an X.509 certificate, there is no distinguished name information. In that case, just the certificate type and the alias are shown. For example, if the certificate is a PGP certificate, and the alias is "bob", you'd get
+-.LP
+-.nf
+-\f3
+-.fl
+- PGP, (bob)
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Verification of a JAR File that Includes Identity Database Signers
+-.LP
+-.LP
+-If a JAR file has been signed using the JDK 1.1 \f3javakey\fP tool, and thus the signer is an alias in an identity database, the verification output includes an "i" symbol. If the JAR file has been signed by both an alias in an identity database and an alias in a keystore, both "k" and "i" appear.
+-.LP
+-.LP
+-When the \f2\-certs\fP option is used, any identity database aliases are shown in square brackets rather than the parentheses used for keystore aliases. For example:
+-.LP
+-.nf
+-\f3
+-.fl
+- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar
+-.fl
+-
+-.fl
+- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
+-.fl
+- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
+-.fl
+- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
+-.fl
+- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF
+-.fl
+- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA
+-.fl
+- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html
+-.fl
+-
+-.fl
+- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
+-.fl
+- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke]
+-.fl
+-
+-.fl
+- s = signature was verified
+-.fl
+- m = entry is listed in manifest
+-.fl
+- k = at least one certificate was found in keystore
+-.fl
+- i = at least one certificate was found in identity scope
+-.fl
+-
+-.fl
+- jar verified.
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-Note that the alias "duke" is in brackets to denote that it is an identity database alias, not a keystore alias.
+-.LP
+-.SH "WARNINGS"
+-.LP
+-During the signing/verifying process, jarsigner may display various warnings. These warning codes are defined as follows:
+-.nf
+-\f3
+-.fl
+- hasExpiringCert 2
+-.fl
+- This jar contains entries whose signer certificate will expire within six months
+-.fl
+-
+-.fl
+- hasExpiredCert 4
+-.fl
+- This jar contains entries whose signer certificate has expired.
+-.fl
+-
+-.fl
+- notYetValidCert 4
+-.fl
+- This jar contains entries whose signer certificate is not yet valid.
+-.fl
+-
+-.fl
+- chainNotValidated 4
+-.fl
+- This jar contains entries whose certificate chain cannot be correctly validated.
+-.fl
+-
+-.fl
+- badKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing.
+-.fl
+-
+-.fl
+- badExtendedKeyUsage 8
+-.fl
+- This jar contains entries whose signer certificate's ExtendedKeyUsage extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- badNetscapeCertType 8
+-.fl
+- This jar contains entries whose signer certificate's NetscapeCertType extension
+-.fl
+- doesn't allow code signing.
+-.fl
+-
+-.fl
+- hasUnsignedEntry 16
+-.fl
+- This jar contains unsigned entries which have not been integrity\-checked.
+-.fl
+-
+-.fl
+- notSignedByAlias 32
+-.fl
+- This jar contains signed entries which are not signed by the specified alias(es)
+-.fl
+-
+-.fl
+- aliasNotInStore 32
+-.fl
+- This jar contains signed entries that are not signed by alias in this keystore
+-.fl
+-
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.LP
+-When the \f2\-strict\fP option is provided, an OR\-value of warnings detected will be returned as the exit code of the tool. For example, if a certificate used to sign an entry is expired and has a keyUsage extension that does not allow it to sign a file, an exit code 12 (=4+8) will be returned.
+-.LP
+-.LP
+-\f3Note\fP: Exit codes are reused because only 0\-255 is legal for Unix. In any case, if the signing/verifying process fails, the following exit code will be returned:
+-.LP
+-.nf
+-\f3
+-.fl
+-failure 1
+-.fl
+-\fP
+-.fi
+-
+-.LP
+-.SS
+-Compatibility with JDK 1.1
+-.LP
+-.LP
+-The \f3keytool\fP and \f3jarsigner\fP tools completely replace the \f3javakey\fP tool provided in JDK 1.1. These new tools provide more features than \f3javakey\fP, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them.
+-.LP
+-.LP
+-The new keystore architecture replaces the identity database that \f3javakey\fP created and managed. There is no backwards compatibility between the keystore format and the database format used by \f3javakey\fP in 1.1. However,
+-.LP
+-.RS 3
+-.TP 2
+-o
+-It is possible to import the information from an identity database into a keystore, via the \f3keytool\fP \f2\-identitydb\fP command.
+-.TP 2
+-o
+-\f3jarsigner\fP can sign JAR files also previously signed using \f3javakey\fP.
+-.TP 2
+-o
+-\f3jarsigner\fP can verify JAR files signed using \f3javakey\fP. Thus, it recognizes and can work with signer aliases that are from a JDK 1.1 identity database rather than a Java 2 SDK keystore.
+-.RE
+-
+-.LP
+-.LP
+-The following table explains how JAR files that were signed in JDK 1.1.x are treated in the Java 2 platform.
+-.LP
+-.LP
+-.TS
+-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
+-.de 35
+-.ps \n(.s
+-.vs \n(.vu
+-.in \n(.iu
+-.if \n(.u .fi
+-.if \n(.j .ad
+-.if \n(.j=0 .na
+-..
+-.nf
+-.nr #~ 0
+-.if n .nr #~ 0.6n
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.fc
+-.nr 33 \n(.s
+-.rm 80 81 82 83 84
+-.nr 34 \n(.lu
+-.eo
+-.am 82
+-.br
+-.di a+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(82 .ll \n(82u
+-.in 0
+-\f3Trusted Identity imported into Java 2 Platform keystore from 1.1 database (4)\fP
+-.br
+-.di
+-.nr a| \n(dn
+-.nr a- \n(dl
+-..
+-.ec \
+-.eo
+-.am 83
+-.br
+-.di b+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(83 .ll \n(83u
+-.in 0
+-\f3Policy File grants privileges to Identity/Alias\fP
+-.br
+-.di
+-.nr b| \n(dn
+-.nr b- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di c+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr c| \n(dn
+-.nr c- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di d+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr d| \n(dn
+-.nr d- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di e+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code.
+-.br
+-.di
+-.nr e| \n(dn
+-.nr e- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di f+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code. (3)
+-.br
+-.di
+-.nr f| \n(dn
+-.nr f- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di g+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code. (1,3)
+-.br
+-.di
+-.nr g| \n(dn
+-.nr g- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di h+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code plus privileges granted in policy file.
+-.br
+-.di
+-.nr h| \n(dn
+-.nr h- \n(dl
+-..
+-.ec \
+-.eo
+-.am 84
+-.br
+-.di i+
+-.35
+-.ft \n(.f
+-.ll \n(34u*1u/6u
+-.if \n(.l<\n(84 .ll \n(84u
+-.in 0
+-Default privileges granted to all code plus privileges granted in policy file. (2)
+-.br
+-.di
+-.nr i| \n(dn
+-.nr i- \n(dl
+-..
+-.ec \
+-.35
+-.nf
+-.ll \n(34u
+-.nr 80 0
+-.nr 38 \w\f3JAR File Type\fP
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wUnsigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.nr 38 \wSigned JAR
+-.if \n(80<\n(38 .nr 80 \n(38
+-.80
+-.rm 80
+-.nr 81 0
+-.nr 38 \w\f3Identity in 1.1 database\fP
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Untrusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Untrusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wNO
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.nr 38 \wYES/Trusted
+-.if \n(81<\n(38 .nr 81 \n(38
+-.81
+-.rm 81
+-.nr 82 0
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wYES
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 38 \wNO
+-.if \n(82<\n(38 .nr 82 \n(38
+-.82
+-.rm 82
+-.nr 38 \n(a-
+-.if \n(82<\n(38 .nr 82 \n(38
+-.nr 83 0
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wNO
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 38 \wYES
+-.if \n(83<\n(38 .nr 83 \n(38
+-.83
+-.rm 83
+-.nr 38 \n(b-
+-.if \n(83<\n(38 .nr 83 \n(38
+-.nr 84 0
+-.nr 38 \w\f3Privileges Granted\fP
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges (1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \wAll privileges (1)
+-.if \n(84<\n(38 .nr 84 \n(38
+-.84
+-.rm 84
+-.nr 38 \n(c-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(d-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(e-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(f-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(g-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(h-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.nr 38 \n(i-
+-.if \n(84<\n(38 .nr 84 \n(38
+-.35
+-.nf
+-.ll \n(34u
+-.nr 38 1n
+-.nr 79 0
+-.nr 40 \n(79+(0*\n(38)
+-.nr 80 +\n(40
+-.nr 41 \n(80+(3*\n(38)
+-.nr 81 +\n(41
+-.nr 42 \n(81+(3*\n(38)
+-.nr 82 +\n(42
+-.nr 43 \n(82+(3*\n(38)
+-.nr 83 +\n(43
+-.nr 44 \n(83+(3*\n(38)
+-.nr 84 +\n(44
+-.nr TW \n(84
+-.if t .if \n(TW>\n(.li .tm Table at line 1082 file Input is too wide - \n(TW units
+-.fc  
+-.nr #T 0-1
+-.nr #a 0-1
+-.eo
+-.de T#
+-.ds #d .d
+-.if \(ts\n(.z\(ts\(ts .ds #d nl
+-.mk ##
+-.nr ## -1v
+-.ls 1
+-.ls
+-..
+-.ec
+-.ne \n(a|u+\n(.Vu
+-.ne \n(b|u+\n(.Vu
+-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
+-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'\f3JAR File Type\fP\h'|\n(41u'\f3Identity in 1.1 database\fP\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3Privileges Granted\fP
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(42u
+-.in +\n(37u
+-.a+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(##u-1v
+-.nr 37 \n(43u
+-.in +\n(37u
+-.b+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(c|u+\n(.Vu
+-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.c+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(d|u+\n(.Vu
+-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Unsigned JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.d+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(e|u+\n(.Vu
+-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.e+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(f|u+\n(.Vu
+-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.f+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(g|u+\n(.Vu
+-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.g+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(h|u+\n(.Vu
+-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.h+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ne \n(i|u+\n(.Vu
+-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u'
+-.mk ##
+-.nr 31 \n(##
+-.sp |\n(##u-1v
+-.nr 37 \n(44u
+-.in +\n(37u
+-.i+
+-.in -\n(37u
+-.mk 32
+-.if \n(32>\n(31 .nr 31 \n(32
+-.sp |\n(31u
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'All privileges
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'All privileges (1)
+-.ta \n(80u \n(81u \n(82u \n(83u \n(84u
+-.nr 31 \n(.f
+-.nr 35 1m
+-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'All privileges (1)
+-.fc
+-.nr T. 1
+-.T# 1
+-.35
+-.rm a+
+-.rm b+
+-.rm c+
+-.rm d+
+-.rm e+
+-.rm f+
+-.rm g+
+-.rm h+
+-.rm i+
+-.TE
+-.if \n-(b.=0 .nr c. \n(.c-\n(d.-42
+-
+-.LP
+-.LP
+-Notes:
+-.LP
+-.RS 3
+-.TP 3
+-1.
+-If an identity/alias is mentioned in the policy file, it must be imported into the keystore for the policy file to have any effect on privileges granted.
+-.TP 3
+-2.
+-The policy file/keystore combination has precedence over a trusted identity in the identity database.
+-.TP 3
+-3.
+-Untrusted identities are ignored in the Java 2 platform.
+-.TP 3
+-4.
+-Only trusted identities can be imported into Java 2 SDK keystores.
+-.RE
+-
+-.LP
+-.SH "SEE ALSO"
+-.LP
+-.RS 3
+-.TP 2
+-o
+-jar(1) tool documentation
+-.TP 2
+-o
+-keytool(1) tool documentation
+-.TP 2
+-o
+-the
+-.na
+-\f4Security\fP @
+-.fi
+-http://docs.oracle.com/javase/tutorial/security/index.html trail of the
+-.na
+-\f4Java Tutorial\fP @
+-.fi
+-http://docs.oracle.com/javase/tutorial/index.html for examples of the use of the \f3jarsigner\fP tool
+-.RE
+-
+-.LP
+-
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
++.br
++Policy file grants privileges to identity/alias: \fINo\fR
++.br
++See 1 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Identity in 1\&.1 database: \fIYes/Trusted\fR
++.br
++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
++.br
++Policy file grants privileges to identity/alias: \fIYes\fR
++.br
++See 1 in Notes Regarding Privileges of Signed JARs\&.
++.PP
++Notes Regarding Privileges of Signed JARs
++.TP 0.4i
++1\&.
++If an identity or alias is mentioned in the policy file, then it must be imported into the keystore for the policy file to have any effect on privileges granted\&.
++.TP 0.4i
++2\&.
++The policy file/keystore combination has precedence over a trusted identity in the identity database\&.
++.TP 0.4i
++3\&.
++Untrusted identities are ignored in the Java platform\&.
++.SH SEE\ ALSO
++.TP 0.2i
++\(bu
++\f3jar\fR
++.TP 0.2i
++\(bu
++\f3keytool\fR
++.TP 0.2i
++\(bu
++Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html
++.RE
++.br
++'pl 8.5i
++'bp
+--- ./jdk/src/solaris/native/java/net/net_util_md.c Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/solaris/native/java/net/net_util_md.c Thu Dec 19 09:01:16 2013 -0800
+@@ -138,8 +138,7 @@
+ * of the parameter is assumed to be an 'int'. If the parameter
+ * cannot be obtained return -1
+ */
+-static int
+-getParam(char *driver, char *param)
++int net_getParam(char *driver, char *param)
+ {
+ struct strioctl stri;
+ char buf [64];
+@@ -166,7 +165,7 @@
+
+ /*
+ * Iterative way to find the max value that SO_SNDBUF or SO_RCVBUF
+- * for Solaris versions that do not support the ioctl() in getParam().
++ * for Solaris versions that do not support the ioctl() in net_getParam().
+ * Ugly, but only called once (for each sotype).
+ *
+ * As an optimisation, we make a guess using the default values for Solaris
+@@ -1407,7 +1406,7 @@
+ * If that fails, we use the search algorithm in findMaxBuf()
+ */
+ if (!init_tcp_max_buf && sotype == SOCK_STREAM) {
+- tcp_max_buf = getParam("/dev/tcp", "tcp_max_buf");
++ tcp_max_buf = net_getParam("/dev/tcp", "tcp_max_buf");
+ if (tcp_max_buf == -1) {
+ tcp_max_buf = findMaxBuf(fd, opt, SOCK_STREAM);
+ if (tcp_max_buf == -1) {
+@@ -1416,7 +1415,7 @@
+ }
+ init_tcp_max_buf = 1;
+ } else if (!init_udp_max_buf && sotype == SOCK_DGRAM) {
+- udp_max_buf = getParam("/dev/udp", "udp_max_buf");
++ udp_max_buf = net_getParam("/dev/udp", "udp_max_buf");
+ if (udp_max_buf == -1) {
+ udp_max_buf = findMaxBuf(fd, opt, SOCK_DGRAM);
+ if (udp_max_buf == -1) {
+--- ./jdk/src/solaris/native/java/net/net_util_md.h Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/solaris/native/java/net/net_util_md.h Thu Dec 19 09:01:16 2013 -0800
+@@ -81,6 +81,9 @@
+ int getDefaultIPv6Interface(struct in6_addr *target_addr);
+ #endif
+
++#ifdef __solaris__
++extern int net_getParam(char *driver, char *param);
++#endif
+
+ /* needed from libsocket on Solaris 8 */
+
+--- ./jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c Thu Dec 19 09:01:16 2013 -0800
+@@ -577,8 +577,8 @@
+ SplashUnlock(splash);
+ rc = poll(pfd, 2, timeout);
+ SplashLock(splash);
+- if (splash->isVisible>0 && SplashTime() >= splash->time +
+- splash->frames[splash->currentFrame].delay) {
++ if (splash->isVisible > 0 && splash->currentFrame >= 0 &&
++ SplashTime() >= splash->time + splash->frames[splash->currentFrame].delay) {
+ SplashNextFrame(splash);
+ SplashUpdateShape(splash);
+ SplashRedrawWindow(splash);
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jdk/src/solaris/native/sun/net/portconfig.c Thu Dec 19 09:01:16 2013 -0800
+@@ -0,0 +1,122 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++#include <stdio.h>
++#include <stdlib.h>
++#include <unistd.h>
++#include <errno.h>
++
++#if defined(_ALLBSD_SOURCE)
++#include <sys/sysctl.h>
++#endif
++
++#include "jni.h"
++#include "net_util.h"
++
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++struct portrange {
++ int lower;
++ int higher;
++};
++
++static int getPortRange(struct portrange *range)
++{
++#ifdef __linux__
++ {
++ int ret;
++ FILE *f;
++
++ f = fopen("/proc/sys/net/ipv4/ip_local_port_range", "r");
++ if (f != NULL) {
++ ret = fscanf(f, "%d %d", &range->lower, &range->higher);
++ fclose(f);
++ return ret == 2 ? 0 : -1;
++ }
++ return -1;
++ }
++
++#elif defined(__solaris__)
++ {
++ range->lower = net_getParam("/dev/tcp", "tcp_smallest_anon_port");
++ range->higher = net_getParam("/dev/tcp", "tcp_largest_anon_port");
++ return 0;
++ }
++#elif defined(_ALLBSD_SOURCE)
++ {
++ int ret;
++ size_t size = sizeof(range->lower);
++ ret = sysctlbyname(
++ "net.inet.ip.portrange.first", &range->lower, &size, 0, 0
++ );
++ if (ret == -1) {
++ return -1;
++ }
++ size = sizeof(range->higher);
++ ret = sysctlbyname(
++ "net.inet.ip.portrange.last", &range->higher, &size, 0, 0
++ );
++ return ret;
++ }
++#else
++ return -1;
++#endif
++}
++
++/*
++ * Class: sun_net_PortConfig
++ * Method: getLower0
++ * Signature: ()I
++ */
++JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getLower0
++ (JNIEnv *env, jclass clazz)
++{
++ struct portrange range;
++ if (getPortRange(&range) < 0) {
++ return -1;
++ }
++ return range.lower;
++}
++
++/*
++ * Class: sun_net_PortConfig
++ * Method: getUpper
++ * Signature: ()I
++ */
++JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getUpper0
++ (JNIEnv *env, jclass clazz)
++{
++ struct portrange range;
++ if (getPortRange(&range) < 0) {
++ return -1;
++ }
++ return range.higher;
++}
++
++#ifdef __cplusplus
++}
++#endif
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jdk/src/windows/classes/sun/net/PortConfig.java Thu Dec 19 09:01:16 2013 -0800
+@@ -0,0 +1,65 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++package sun.net;
++
++import java.security.AccessController;
++
++/**
++ * Determines the ephemeral port range in use on this system.
++ * If this cannot be determined, then the default settings
++ * of the OS are returned.
++ */
++
++public final class PortConfig {
++
++ private final static int upper, lower;
++
++ private PortConfig() {}
++
++ static {
++ AccessController.doPrivileged(
++ new java.security.PrivilegedAction<Void>() {
++ public Void run() {
++ System.loadLibrary("net");
++ return null;
++ }
++ });
++
++ lower = getLower0();
++ upper = getUpper0();
++ }
++
++ static native int getLower0();
++ static native int getUpper0();
++
++ public static int getLower() {
++ return lower;
++ }
++
++ public static int getUpper() {
++ return upper;
++ }
++}
+--- ./jdk/src/windows/classes/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/src/windows/classes/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.java Thu Dec 19 09:01:16 2013 -0800
+@@ -31,6 +31,9 @@
+ import java.net.*;
+ import java.util.concurrent.*;
+ import java.io.IOException;
++import java.security.AccessController;
++import java.security.PrivilegedActionException;
++import java.security.PrivilegedExceptionAction;
+ import sun.misc.Unsafe;
+
+ /**
+@@ -300,6 +303,19 @@
+ }
+ }
+
++ private void doPrivilegedBind(final SocketAddress sa) throws IOException {
++ try {
++ AccessController.doPrivileged(new PrivilegedExceptionAction<Void>() {
++ public Void run() throws IOException {
++ bind(sa);
++ return null;
++ }
++ });
++ } catch (PrivilegedActionException e) {
++ throw (IOException) e.getException();
++ }
++ }
++
+ @Override
+ <A> Future<Void> implConnect(SocketAddress remote,
+ A attachment,
+@@ -330,7 +346,12 @@
+ throw new ConnectionPendingException();
+ if (localAddress == null) {
+ try {
+- bind(new InetSocketAddress(0));
++ SocketAddress any = new InetSocketAddress(0);
++ if (sm == null) {
++ bind(any);
++ } else {
++ doPrivilegedBind(any);
++ }
+ } catch (IOException x) {
+ bindException = x;
+ }
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jdk/src/windows/native/sun/net/portconfig.c Thu Dec 19 09:01:16 2013 -0800
+@@ -0,0 +1,106 @@
++/*
++ * Copyright (c) 2013, 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.
++ */
++
++#include <windows.h>
++#include "jni.h"
++#include "net_util.h"
++
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++struct portrange {
++ int lower;
++ int higher;
++};
++
++static int getPortRange(struct portrange *range)
++{
++ OSVERSIONINFO ver;
++ ver.dwOSVersionInfoSize = sizeof(ver);
++ GetVersionEx(&ver);
++
++ /* Check for major version 5 or less = Windows XP/2003 or older */
++ if (ver.dwMajorVersion <= 5) {
++ LONG ret;
++ HKEY hKey;
++ range->lower = 1024;
++ range->higher = 4999;
++
++ /* check registry to see if upper limit was raised */
++ ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE,
++ "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters",
++ 0, KEY_READ, (PHKEY)&hKey
++ );
++ if (ret == ERROR_SUCCESS) {
++ DWORD maxuserport;
++ ULONG ulType;
++ DWORD dwLen = sizeof(maxuserport);
++ ret = RegQueryValueEx(hKey, "MaxUserPort", NULL, &ulType,
++ (LPBYTE)&maxuserport, &dwLen);
++ RegCloseKey(hKey);
++ if (ret == ERROR_SUCCESS) {
++ range->higher = maxuserport;
++ }
++ }
++ } else {
++ /* There doesn't seem to be an API to access this. "MaxUserPort"
++ * is affected, but is not sufficient to determine.
++ * so we just use the defaults, which are less likely to change
++ */
++ range->lower = 49152;
++ range->higher = 65535;
++ }
++ return 0;
++}
++
++/*
++ * Class: sun_net_PortConfig
++ * Method: getLower0
++ * Signature: ()I
++ */
++JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getLower0
++ (JNIEnv *env, jclass clazz)
++{
++ struct portrange range;
++ getPortRange(&range);
++ return range.lower;
++}
++
++/*
++ * Class: sun_net_PortConfig
++ * Method: getUpper0
++ * Signature: ()I
++ */
++JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getUpper0
++ (JNIEnv *env, jclass clazz)
++{
++ struct portrange range;
++ getPortRange(&range);
++ return range.higher;
++}
++#ifdef __cplusplus
++}
++#endif
+--- ./jdk/test/ProblemList.txt Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/ProblemList.txt Thu Dec 19 09:01:16 2013 -0800
+@@ -456,6 +456,9 @@
+ # 7041639, Solaris DSA keypair generation bug
+ java/util/TimeZone/TimeZoneDatePermissionCheck.sh solaris-all
+
++# 8026772: test/sun/util/resources/TimeZone/Bug6317929.java failing
++sun/util/resources/TimeZone/Bug6317929.java generic-all
++
+ ############################################################################
+
+
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jdk/test/com/sun/corba/se/impl/orb/SetDefaultORBTest.java Thu Dec 19 09:01:16 2013 -0800
+@@ -0,0 +1,61 @@
++/*
++ * Copyright (c) 2013, 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.
++ *
++ * 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.
++ */
++
++/**
++ * @test
++ * @bug 8028215
++ * @summary SetDefaultORBTest setting ORB impl via properties test
++ * @run main/othervm SetDefaultORBTest
++ *
++ */
++
++import java.util.Properties;
++
++import org.omg.CORBA.ORB;
++
++
++public class SetDefaultORBTest {
++
++ public static void main(String[] args) {
++ Properties systemProperties = System.getProperties();
++ systemProperties.setProperty("org.omg.CORBA.ORBSingletonClass",
++ "com.sun.corba.se.impl.orb.ORBSingleton");
++ System.setSecurityManager(new SecurityManager());
++ Properties props = new Properties();
++ props.put("org.omg.CORBA.ORBClass", "com.sun.corba.se.impl.orb.ORBImpl");
++ ORB orb = ORB.init(args, props);
++ Class<?> orbClass = orb.getClass();
++ if (orbClass.getName().equals("com.sun.corba.se.impl.orb.ORBImpl")) {
++ System.out.println("orbClass is com.sun.corba.se.impl.orb.ORBimpl as expected");
++ } else {
++ throw new RuntimeException("com.sun.corba.se.impl.orb.ORBimpl class expected for ORBImpl");
++ }
++ ORB singletonORB = ORB.init();
++ Class<?> singletoneOrbClass = singletonORB.getClass();
++ if (singletoneOrbClass.getName().equals("com.sun.corba.se.impl.orb.ORBSingleton")) {
++ System.out.println("singeletonOrbClass is com.sun.corba.se.impl.orb.ORBSingleton as expected");
++ } else {
++ throw new RuntimeException("com.sun.corba.se.impl.orb.ORBSingleton class expected for ORBSingleton");
++ }
++ }
++}
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jdk/test/com/sun/crypto/provider/TLS/TestLeadingZeroes.java Thu Dec 19 09:01:16 2013 -0800
+@@ -0,0 +1,420 @@
++/*
++ * Copyright (c) 2013, 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.
++ *
++ * 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.
++ */
++
++/*
++ * @test
++ * @bug 8014618
++ * @summary Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement
++ * @author Pasi Eronen
++ */
++
++import java.io.*;
++import java.security.*;
++import java.security.spec.*;
++import java.security.interfaces.*;
++import javax.crypto.*;
++import javax.crypto.spec.*;
++import javax.crypto.interfaces.*;
++import com.sun.crypto.provider.SunJCE;
++
++/**
++ * Test that leading zeroes are stripped in TlsPremasterSecret case,
++ * but are left as-is in other cases.
++ *
++ * We use pre-generated keypairs, since with randomly generated keypairs,
++ * a leading zero happens only (roughly) 1 out of 256 cases.
++ */
++
++public class TestLeadingZeroes {
++
++ private static final String SUNJCE = "SunJCE";
++
++ private TestLeadingZeroes() {}
++
++ public static void main(String argv[]) throws Exception {
++ // Add JCE to the list of providers
++ SunJCE jce = new SunJCE();
++ Security.addProvider(jce);
++
++ TestLeadingZeroes keyAgree = new TestLeadingZeroes();
++ keyAgree.run();
++ System.out.println("Test Passed");
++ }
++
++ private void run() throws Exception {
++
++ // decode pre-generated keypairs
++ KeyFactory kfac = KeyFactory.getInstance("DH");
++ PublicKey alicePubKey =
++ kfac.generatePublic(new X509EncodedKeySpec(alicePubKeyEnc));
++ PublicKey bobPubKey =
++ kfac.generatePublic(new X509EncodedKeySpec(bobPubKeyEnc));
++ PrivateKey alicePrivKey =
++ kfac.generatePrivate(new PKCS8EncodedKeySpec(alicePrivKeyEnc));
++ PrivateKey bobPrivKey =
++ kfac.generatePrivate(new PKCS8EncodedKeySpec(bobPrivKeyEnc));
++
++ // generate normal shared secret
++ KeyAgreement aliceKeyAgree = KeyAgreement.getInstance("DH", SUNJCE);
++ aliceKeyAgree.init(alicePrivKey);
++ aliceKeyAgree.doPhase(bobPubKey, true);
++ byte[] sharedSecret = aliceKeyAgree.generateSecret();
++ System.out.println("shared secret:\n" + toHexString(sharedSecret));
++
++ // verify that leading zero is present
++ if (sharedSecret.length != 128) {
++ throw new Exception("Unexpected shared secret length");
++ }
++ if (sharedSecret[0] != 0) {
++ throw new Exception("First byte is not zero as expected");
++ }
++
++ // now, test TLS premaster secret
++ aliceKeyAgree.init(alicePrivKey);
++ aliceKeyAgree.doPhase(bobPubKey, true);
++ byte[] tlsPremasterSecret =
++ aliceKeyAgree.generateSecret("TlsPremasterSecret").getEncoded();
++ System.out.println(
++ "tls premaster secret:\n" + toHexString(tlsPremasterSecret));
++
++ // check that leading zero has been stripped
++ if (tlsPremasterSecret.length != 127) {
++ throw new Exception("Unexpected TLS premaster secret length");
++ }
++ if (tlsPremasterSecret[0] == 0) {
++ throw new Exception("First byte is zero");
++ }
++ for (int i = 0; i < tlsPremasterSecret.length; i++) {
++ if (tlsPremasterSecret[i] != sharedSecret[i+1]) {
++ throw new Exception("Shared secrets differ");
++ }
++ }
++
++ }
++
++ /*
++ * Converts a byte to hex digit and writes to the supplied buffer
++ */
++ private void byte2hex(byte b, StringBuffer buf) {
++ char[] hexChars = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
++ '9', 'A', 'B', 'C', 'D', 'E', 'F' };
++ int high = ((b & 0xf0) >> 4);
++ int low = (b & 0x0f);
++ buf.append(hexChars[high]);
++ buf.append(hexChars[low]);
++ }
++
++ /*
++ * Converts a byte array to hex string
++ */
++ private String toHexString(byte[] block) {
++ StringBuffer buf = new StringBuffer();
++
++ int len = block.length;
++
++ for (int i = 0; i < len; i++) {
++ byte2hex(block[i], buf);
++ if (i < len-1) {
++ buf.append(":");
++ }
++ }
++ return buf.toString();
++ }
++
++ private static final byte alicePubKeyEnc[] = {
++ (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x24,
++ (byte)0x30, (byte)0x81, (byte)0x99, (byte)0x06,
++ (byte)0x09, (byte)0x2A, (byte)0x86, (byte)0x48,
++ (byte)0x86, (byte)0xF7, (byte)0x0D, (byte)0x01,
++ (byte)0x03, (byte)0x01, (byte)0x30, (byte)0x81,
++ (byte)0x8B, (byte)0x02, (byte)0x81, (byte)0x81,
++ (byte)0x00, (byte)0xF4, (byte)0x88, (byte)0xFD,
++ (byte)0x58, (byte)0x4E, (byte)0x49, (byte)0xDB,
++ (byte)0xCD, (byte)0x20, (byte)0xB4, (byte)0x9D,
++ (byte)0xE4, (byte)0x91, (byte)0x07, (byte)0x36,
++ (byte)0x6B, (byte)0x33, (byte)0x6C, (byte)0x38,
++ (byte)0x0D, (byte)0x45, (byte)0x1D, (byte)0x0F,
++ (byte)0x7C, (byte)0x88, (byte)0xB3, (byte)0x1C,
++ (byte)0x7C, (byte)0x5B, (byte)0x2D, (byte)0x8E,
++ (byte)0xF6, (byte)0xF3, (byte)0xC9, (byte)0x23,
++ (byte)0xC0, (byte)0x43, (byte)0xF0, (byte)0xA5,
++ (byte)0x5B, (byte)0x18, (byte)0x8D, (byte)0x8E,
++ (byte)0xBB, (byte)0x55, (byte)0x8C, (byte)0xB8,
++ (byte)0x5D, (byte)0x38, (byte)0xD3, (byte)0x34,
++ (byte)0xFD, (byte)0x7C, (byte)0x17, (byte)0x57,
++ (byte)0x43, (byte)0xA3, (byte)0x1D, (byte)0x18,
++ (byte)0x6C, (byte)0xDE, (byte)0x33, (byte)0x21,
++ (byte)0x2C, (byte)0xB5, (byte)0x2A, (byte)0xFF,
++ (byte)0x3C, (byte)0xE1, (byte)0xB1, (byte)0x29,
++ (byte)0x40, (byte)0x18, (byte)0x11, (byte)0x8D,
++ (byte)0x7C, (byte)0x84, (byte)0xA7, (byte)0x0A,
++ (byte)0x72, (byte)0xD6, (byte)0x86, (byte)0xC4,
++ (byte)0x03, (byte)0x19, (byte)0xC8, (byte)0x07,
++ (byte)0x29, (byte)0x7A, (byte)0xCA, (byte)0x95,
++ (byte)0x0C, (byte)0xD9, (byte)0x96, (byte)0x9F,
++ (byte)0xAB, (byte)0xD0, (byte)0x0A, (byte)0x50,
++ (byte)0x9B, (byte)0x02, (byte)0x46, (byte)0xD3,
++ (byte)0x08, (byte)0x3D, (byte)0x66, (byte)0xA4,
++ (byte)0x5D, (byte)0x41, (byte)0x9F, (byte)0x9C,
++ (byte)0x7C, (byte)0xBD, (byte)0x89, (byte)0x4B,
++ (byte)0x22, (byte)0x19, (byte)0x26, (byte)0xBA,
++ (byte)0xAB, (byte)0xA2, (byte)0x5E, (byte)0xC3,
++ (byte)0x55, (byte)0xE9, (byte)0x2F, (byte)0x78,
++ (byte)0xC7, (byte)0x02, (byte)0x01, (byte)0x02,
++ (byte)0x02, (byte)0x02, (byte)0x02, (byte)0x00,
++ (byte)0x03, (byte)0x81, (byte)0x85, (byte)0x00,
++ (byte)0x02, (byte)0x81, (byte)0x81, (byte)0x00,
++ (byte)0xEE, (byte)0xD6, (byte)0xB1, (byte)0xA3,
++ (byte)0xB4, (byte)0x78, (byte)0x2B, (byte)0x35,
++ (byte)0xEF, (byte)0xCD, (byte)0x17, (byte)0x86,
++ (byte)0x63, (byte)0x2B, (byte)0x97, (byte)0x0E,
++ (byte)0x7A, (byte)0xD1, (byte)0xFF, (byte)0x7A,
++ (byte)0xEB, (byte)0x57, (byte)0x61, (byte)0xA1,
++ (byte)0xF7, (byte)0x90, (byte)0x11, (byte)0xA7,
++ (byte)0x79, (byte)0x28, (byte)0x69, (byte)0xBA,
++ (byte)0xA7, (byte)0xB2, (byte)0x37, (byte)0x17,
++ (byte)0xAE, (byte)0x3C, (byte)0x92, (byte)0x89,
++ (byte)0x88, (byte)0xE5, (byte)0x7E, (byte)0x8E,
++ (byte)0xF0, (byte)0x24, (byte)0xD0, (byte)0xE1,
++ (byte)0xC4, (byte)0xB0, (byte)0x26, (byte)0x5A,
++ (byte)0x1E, (byte)0xBD, (byte)0xA0, (byte)0xCF,
++ (byte)0x3E, (byte)0x97, (byte)0x2A, (byte)0x13,
++ (byte)0x92, (byte)0x3B, (byte)0x39, (byte)0xD0,
++ (byte)0x1D, (byte)0xA3, (byte)0x6B, (byte)0x3E,
++ (byte)0xC2, (byte)0xBB, (byte)0x14, (byte)0xB6,
++ (byte)0xE2, (byte)0x4C, (byte)0x0E, (byte)0x5B,
++ (byte)0x4B, (byte)0xA4, (byte)0x9D, (byte)0xA6,
++ (byte)0x21, (byte)0xB0, (byte)0xF9, (byte)0xDE,
++ (byte)0x55, (byte)0xAE, (byte)0x5C, (byte)0x29,
++ (byte)0x0E, (byte)0xC1, (byte)0xFC, (byte)0xBA,
++ (byte)0x51, (byte)0xD3, (byte)0xB6, (byte)0x6D,
++ (byte)0x75, (byte)0x72, (byte)0xDF, (byte)0x43,
++ (byte)0xAB, (byte)0x94, (byte)0x21, (byte)0x6E,
++ (byte)0x0C, (byte)0xD1, (byte)0x93, (byte)0x54,
++ (byte)0x56, (byte)0x7D, (byte)0x4B, (byte)0x90,
++ (byte)0xF1, (byte)0x94, (byte)0x45, (byte)0xD4,
++ (byte)0x2A, (byte)0x71, (byte)0xA1, (byte)0xB8,
++ (byte)0xDD, (byte)0xAA, (byte)0x05, (byte)0xF0,
++ (byte)0x27, (byte)0x37, (byte)0xBD, (byte)0x44
++ };
++
++ private static final byte alicePrivKeyEnc[] = {
++ (byte)0x30, (byte)0x81, (byte)0xE3, (byte)0x02,
++ (byte)0x01, (byte)0x00, (byte)0x30, (byte)0x81,
++ (byte)0x99, (byte)0x06, (byte)0x09, (byte)0x2A,
++ (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xF7,
++ (byte)0x0D, (byte)0x01, (byte)0x03, (byte)0x01,
++ (byte)0x30, (byte)0x81, (byte)0x8B, (byte)0x02,
++ (byte)0x81, (byte)0x81, (byte)0x00, (byte)0xF4,
++ (byte)0x88, (byte)0xFD, (byte)0x58, (byte)0x4E,
++ (byte)0x49, (byte)0xDB, (byte)0xCD, (byte)0x20,
++ (byte)0xB4, (byte)0x9D, (byte)0xE4, (byte)0x91,
++ (byte)0x07, (byte)0x36, (byte)0x6B, (byte)0x33,
++ (byte)0x6C, (byte)0x38, (byte)0x0D, (byte)0x45,
++ (byte)0x1D, (byte)0x0F, (byte)0x7C, (byte)0x88,
++ (byte)0xB3, (byte)0x1C, (byte)0x7C, (byte)0x5B,
++ (byte)0x2D, (byte)0x8E, (byte)0xF6, (byte)0xF3,
++ (byte)0xC9, (byte)0x23, (byte)0xC0, (byte)0x43,
++ (byte)0xF0, (byte)0xA5, (byte)0x5B, (byte)0x18,
++ (byte)0x8D, (byte)0x8E, (byte)0xBB, (byte)0x55,
++ (byte)0x8C, (byte)0xB8, (byte)0x5D, (byte)0x38,
++ (byte)0xD3, (byte)0x34, (byte)0xFD, (byte)0x7C,
++ (byte)0x17, (byte)0x57, (byte)0x43, (byte)0xA3,
++ (byte)0x1D, (byte)0x18, (byte)0x6C, (byte)0xDE,
++ (byte)0x33, (byte)0x21, (byte)0x2C, (byte)0xB5,
++ (byte)0x2A, (byte)0xFF, (byte)0x3C, (byte)0xE1,
++ (byte)0xB1, (byte)0x29, (byte)0x40, (byte)0x18,
++ (byte)0x11, (byte)0x8D, (byte)0x7C, (byte)0x84,
++ (byte)0xA7, (byte)0x0A, (byte)0x72, (byte)0xD6,
++ (byte)0x86, (byte)0xC4, (byte)0x03, (byte)0x19,
++ (byte)0xC8, (byte)0x07, (byte)0x29, (byte)0x7A,
++ (byte)0xCA, (byte)0x95, (byte)0x0C, (byte)0xD9,
++ (byte)0x96, (byte)0x9F, (byte)0xAB, (byte)0xD0,
++ (byte)0x0A, (byte)0x50, (byte)0x9B, (byte)0x02,
++ (byte)0x46, (byte)0xD3, (byte)0x08, (byte)0x3D,
++ (byte)0x66, (byte)0xA4, (byte)0x5D, (byte)0x41,
++ (byte)0x9F, (byte)0x9C, (byte)0x7C, (byte)0xBD,
++ (byte)0x89, (byte)0x4B, (byte)0x22, (byte)0x19,
++ (byte)0x26, (byte)0xBA, (byte)0xAB, (byte)0xA2,
++ (byte)0x5E, (byte)0xC3, (byte)0x55, (byte)0xE9,
++ (byte)0x2F, (byte)0x78, (byte)0xC7, (byte)0x02,
++ (byte)0x01, (byte)0x02, (byte)0x02, (byte)0x02,
++ (byte)0x02, (byte)0x00, (byte)0x04, (byte)0x42,
++ (byte)0x02, (byte)0x40, (byte)0x36, (byte)0x4D,
++ (byte)0xD0, (byte)0x58, (byte)0x64, (byte)0x91,
++ (byte)0x78, (byte)0xA2, (byte)0x4B, (byte)0x79,
++ (byte)0x46, (byte)0xFE, (byte)0xC9, (byte)0xD9,
++ (byte)0xCA, (byte)0x5C, (byte)0xF9, (byte)0xFD,
++ (byte)0x6C, (byte)0x5D, (byte)0x76, (byte)0x3A,
++ (byte)0x41, (byte)0x6D, (byte)0x44, (byte)0x62,
++ (byte)0x75, (byte)0x93, (byte)0x81, (byte)0x93,
++ (byte)0x00, (byte)0x4C, (byte)0xB1, (byte)0xD8,
++ (byte)0x7D, (byte)0x9D, (byte)0xF3, (byte)0x16,
++ (byte)0x2C, (byte)0x6C, (byte)0x9F, (byte)0x7A,
++ (byte)0x84, (byte)0xA3, (byte)0x7A, (byte)0xC1,
++ (byte)0x4F, (byte)0x60, (byte)0xE3, (byte)0xB5,
++ (byte)0x86, (byte)0x28, (byte)0x08, (byte)0x4D,
++ (byte)0x94, (byte)0xB6, (byte)0x04, (byte)0x0D,
++ (byte)0xAC, (byte)0xBD, (byte)0x1F, (byte)0x42,
++ (byte)0x8F, (byte)0x1B
++ };
++
++ private static final byte bobPubKeyEnc[] = {
++ (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x23,
++ (byte)0x30, (byte)0x81, (byte)0x99, (byte)0x06,
++ (byte)0x09, (byte)0x2A, (byte)0x86, (byte)0x48,
++ (byte)0x86, (byte)0xF7, (byte)0x0D, (byte)0x01,
++ (byte)0x03, (byte)0x01, (byte)0x30, (byte)0x81,
++ (byte)0x8B, (byte)0x02, (byte)0x81, (byte)0x81,
++ (byte)0x00, (byte)0xF4, (byte)0x88, (byte)0xFD,
++ (byte)0x58, (byte)0x4E, (byte)0x49, (byte)0xDB,
++ (byte)0xCD, (byte)0x20, (byte)0xB4, (byte)0x9D,
++ (byte)0xE4, (byte)0x91, (byte)0x07, (byte)0x36,
++ (byte)0x6B, (byte)0x33, (byte)0x6C, (byte)0x38,
++ (byte)0x0D, (byte)0x45, (byte)0x1D, (byte)0x0F,
++ (byte)0x7C, (byte)0x88, (byte)0xB3, (byte)0x1C,
++ (byte)0x7C, (byte)0x5B, (byte)0x2D, (byte)0x8E,
++ (byte)0xF6, (byte)0xF3, (byte)0xC9, (byte)0x23,
++ (byte)0xC0, (byte)0x43, (byte)0xF0, (byte)0xA5,
++ (byte)0x5B, (byte)0x18, (byte)0x8D, (byte)0x8E,
++ (byte)0xBB, (byte)0x55, (byte)0x8C, (byte)0xB8,
++ (byte)0x5D, (byte)0x38, (byte)0xD3, (byte)0x34,
++ (byte)0xFD, (byte)0x7C, (byte)0x17, (byte)0x57,
++ (byte)0x43, (byte)0xA3, (byte)0x1D, (byte)0x18,
++ (byte)0x6C, (byte)0xDE, (byte)0x33, (byte)0x21,
++ (byte)0x2C, (byte)0xB5, (byte)0x2A, (byte)0xFF,
++ (byte)0x3C, (byte)0xE1, (byte)0xB1, (byte)0x29,
++ (byte)0x40, (byte)0x18, (byte)0x11, (byte)0x8D,
++ (byte)0x7C, (byte)0x84, (byte)0xA7, (byte)0x0A,
++ (byte)0x72, (byte)0xD6, (byte)0x86, (byte)0xC4,
++ (byte)0x03, (byte)0x19, (byte)0xC8, (byte)0x07,
++ (byte)0x29, (byte)0x7A, (byte)0xCA, (byte)0x95,
++ (byte)0x0C, (byte)0xD9, (byte)0x96, (byte)0x9F,
++ (byte)0xAB, (byte)0xD0, (byte)0x0A, (byte)0x50,
++ (byte)0x9B, (byte)0x02, (byte)0x46, (byte)0xD3,
++ (byte)0x08, (byte)0x3D, (byte)0x66, (byte)0xA4,
++ (byte)0x5D, (byte)0x41, (byte)0x9F, (byte)0x9C,
++ (byte)0x7C, (byte)0xBD, (byte)0x89, (byte)0x4B,
++ (byte)0x22, (byte)0x19, (byte)0x26, (byte)0xBA,
++ (byte)0xAB, (byte)0xA2, (byte)0x5E, (byte)0xC3,
++ (byte)0x55, (byte)0xE9, (byte)0x2F, (byte)0x78,
++ (byte)0xC7, (byte)0x02, (byte)0x01, (byte)0x02,
++ (byte)0x02, (byte)0x02, (byte)0x02, (byte)0x00,
++ (byte)0x03, (byte)0x81, (byte)0x84, (byte)0x00,
++ (byte)0x02, (byte)0x81, (byte)0x80, (byte)0x2C,
++ (byte)0x40, (byte)0xFA, (byte)0xF6, (byte)0xA6,
++ (byte)0xF8, (byte)0xAC, (byte)0xC2, (byte)0x4F,
++ (byte)0xCD, (byte)0xC7, (byte)0x37, (byte)0x93,
++ (byte)0xE5, (byte)0xE4, (byte)0x5E, (byte)0x18,
++ (byte)0x14, (byte)0xE6, (byte)0x50, (byte)0xDA,
++ (byte)0x55, (byte)0x38, (byte)0x5D, (byte)0x24,
++ (byte)0xF5, (byte)0x42, (byte)0x68, (byte)0x5F,
++ (byte)0xF5, (byte)0x15, (byte)0xC8, (byte)0x9B,
++ (byte)0x5D, (byte)0x06, (byte)0x3D, (byte)0xE1,
++ (byte)0x52, (byte)0x2F, (byte)0x98, (byte)0xFF,
++ (byte)0x37, (byte)0xBB, (byte)0x75, (byte)0x48,
++ (byte)0x48, (byte)0xE9, (byte)0x65, (byte)0x84,
++ (byte)0x37, (byte)0xBB, (byte)0xB3, (byte)0xE9,
++ (byte)0x36, (byte)0x01, (byte)0xB4, (byte)0x6A,
++ (byte)0x1C, (byte)0xB2, (byte)0x11, (byte)0x82,
++ (byte)0xCE, (byte)0x3D, (byte)0x65, (byte)0xE5,
++ (byte)0x3C, (byte)0x89, (byte)0xE9, (byte)0x52,
++ (byte)0x19, (byte)0xBD, (byte)0x58, (byte)0xF6,
++ (byte)0xA2, (byte)0x03, (byte)0xA8, (byte)0xB2,
++ (byte)0xA5, (byte)0xDB, (byte)0xEB, (byte)0xF5,
++ (byte)0x94, (byte)0xF9, (byte)0x46, (byte)0xBE,
++ (byte)0x45, (byte)0x4C, (byte)0x65, (byte)0xD2,
++ (byte)0xD1, (byte)0xCF, (byte)0xFF, (byte)0xFF,
++ (byte)0xFA, (byte)0x38, (byte)0xF1, (byte)0x72,
++ (byte)0xAB, (byte)0xB9, (byte)0x14, (byte)0x4E,
++ (byte)0xF5, (byte)0xF0, (byte)0x7A, (byte)0x8E,
++ (byte)0x45, (byte)0xFD, (byte)0x5B, (byte)0xF9,
++ (byte)0xA2, (byte)0x97, (byte)0x1B, (byte)0xAE,
++ (byte)0x2C, (byte)0x7B, (byte)0x6B, (byte)0x7C,
++ (byte)0x98, (byte)0xFE, (byte)0x58, (byte)0xDD,
++ (byte)0xBE, (byte)0xF6, (byte)0x1C, (byte)0x8E,
++ (byte)0xD0, (byte)0xA1, (byte)0x72
++ };
++
++ private static final byte bobPrivKeyEnc[] = {
++ (byte)0x30, (byte)0x81, (byte)0xE4, (byte)0x02,
++ (byte)0x01, (byte)0x00, (byte)0x30, (byte)0x81,
++ (byte)0x99, (byte)0x06, (byte)0x09, (byte)0x2A,
++ (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xF7,
++ (byte)0x0D, (byte)0x01, (byte)0x03, (byte)0x01,
++ (byte)0x30, (byte)0x81, (byte)0x8B, (byte)0x02,
++ (byte)0x81, (byte)0x81, (byte)0x00, (byte)0xF4,
++ (byte)0x88, (byte)0xFD, (byte)0x58, (byte)0x4E,
++ (byte)0x49, (byte)0xDB, (byte)0xCD, (byte)0x20,
++ (byte)0xB4, (byte)0x9D, (byte)0xE4, (byte)0x91,
++ (byte)0x07, (byte)0x36, (byte)0x6B, (byte)0x33,
++ (byte)0x6C, (byte)0x38, (byte)0x0D, (byte)0x45,
++ (byte)0x1D, (byte)0x0F, (byte)0x7C, (byte)0x88,
++ (byte)0xB3, (byte)0x1C, (byte)0x7C, (byte)0x5B,
++ (byte)0x2D, (byte)0x8E, (byte)0xF6, (byte)0xF3,
++ (byte)0xC9, (byte)0x23, (byte)0xC0, (byte)0x43,
++ (byte)0xF0, (byte)0xA5, (byte)0x5B, (byte)0x18,
++ (byte)0x8D, (byte)0x8E, (byte)0xBB, (byte)0x55,
++ (byte)0x8C, (byte)0xB8, (byte)0x5D, (byte)0x38,
++ (byte)0xD3, (byte)0x34, (byte)0xFD, (byte)0x7C,
++ (byte)0x17, (byte)0x57, (byte)0x43, (byte)0xA3,
++ (byte)0x1D, (byte)0x18, (byte)0x6C, (byte)0xDE,
++ (byte)0x33, (byte)0x21, (byte)0x2C, (byte)0xB5,
++ (byte)0x2A, (byte)0xFF, (byte)0x3C, (byte)0xE1,
++ (byte)0xB1, (byte)0x29, (byte)0x40, (byte)0x18,
++ (byte)0x11, (byte)0x8D, (byte)0x7C, (byte)0x84,
++ (byte)0xA7, (byte)0x0A, (byte)0x72, (byte)0xD6,
++ (byte)0x86, (byte)0xC4, (byte)0x03, (byte)0x19,
++ (byte)0xC8, (byte)0x07, (byte)0x29, (byte)0x7A,
++ (byte)0xCA, (byte)0x95, (byte)0x0C, (byte)0xD9,
++ (byte)0x96, (byte)0x9F, (byte)0xAB, (byte)0xD0,
++ (byte)0x0A, (byte)0x50, (byte)0x9B, (byte)0x02,
++ (byte)0x46, (byte)0xD3, (byte)0x08, (byte)0x3D,
++ (byte)0x66, (byte)0xA4, (byte)0x5D, (byte)0x41,
++ (byte)0x9F, (byte)0x9C, (byte)0x7C, (byte)0xBD,
++ (byte)0x89, (byte)0x4B, (byte)0x22, (byte)0x19,
++ (byte)0x26, (byte)0xBA, (byte)0xAB, (byte)0xA2,
++ (byte)0x5E, (byte)0xC3, (byte)0x55, (byte)0xE9,
++ (byte)0x2F, (byte)0x78, (byte)0xC7, (byte)0x02,
++ (byte)0x01, (byte)0x02, (byte)0x02, (byte)0x02,
++ (byte)0x02, (byte)0x00, (byte)0x04, (byte)0x43,
++ (byte)0x02, (byte)0x41, (byte)0x00, (byte)0xE0,
++ (byte)0x31, (byte)0xE7, (byte)0x77, (byte)0xB8,
++ (byte)0xD0, (byte)0x7E, (byte)0x0A, (byte)0x9B,
++ (byte)0x94, (byte)0xD5, (byte)0x3D, (byte)0x33,
++ (byte)0x62, (byte)0x32, (byte)0x51, (byte)0xCE,
++ (byte)0x74, (byte)0x5C, (byte)0xA5, (byte)0x72,
++ (byte)0xD9, (byte)0x36, (byte)0xF3, (byte)0x8A,
++ (byte)0x3F, (byte)0x8B, (byte)0xC6, (byte)0xFE,
++ (byte)0xEF, (byte)0x94, (byte)0x8B, (byte)0x50,
++ (byte)0x41, (byte)0x9B, (byte)0x14, (byte)0xC8,
++ (byte)0xE9, (byte)0x1F, (byte)0x24, (byte)0x1F,
++ (byte)0x65, (byte)0x8E, (byte)0xD3, (byte)0x85,
++ (byte)0xD0, (byte)0x68, (byte)0x6C, (byte)0xF1,
++ (byte)0x79, (byte)0x45, (byte)0xD0, (byte)0x06,
++ (byte)0xA4, (byte)0xB8, (byte)0xE0, (byte)0x64,
++ (byte)0xF5, (byte)0x38, (byte)0x72, (byte)0x97,
++ (byte)0x00, (byte)0x23, (byte)0x5F
++ };
++}
++
+--- ./jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html Thu Dec 19 09:01:16 2013 -0800
+@@ -1,6 +1,5 @@
+ <html>
+-<!--
+-
++<!--
+ @test
+ @bug 8005932
+ @summary Java 7 on mac os x only provides text clipboard formats
+@@ -9,10 +8,9 @@
+ @library ../../regtesthelpers/process
+ @build Util
+ @build ProcessResults ProcessCommunicator
++ @run applet/othervm MissedHtmlAndRtfBug.html
++-->
+
+-
+- @run applet/othervm MissedHtmlAndRtfBug.html
+-*/>
+ <head>
+ <title>Java 7 on mac os x only provides text clipboard formats</title>
+ </head>
+--- ./jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.java Thu Dec 19 09:01:16 2013 -0800
+@@ -22,17 +22,10 @@
+ */
+
+ /*
+- @test
+- @bug 8005932
+- @summary Java 7 on mac os x only provides text clipboard formats
+- @author mikhail.cherkasov@oracle.com
+- @library ../../regtesthelpers
+- @library ../../regtesthelpers/process
+- @build Util
+- @build ProcessResults ProcessCommunicator
+-
+-
+- @run applet/othervm MissedHtmlAndRtfBug.html
++ This is a part of MissedHtmlAndRtfBug.html test. Do not add any JTREG tags here
++ bug 8005932
++ summary Java 7 on mac os x only provides text clipboard formats
++ author mikhail.cherkasov@oracle.com
+ */
+ import java.awt.*;
+ import java.awt.datatransfer.DataFlavor;
+--- ./jdk/test/java/awt/event/KeyEvent/KeyReleasedInAppletTest/KeyReleasedInAppletTest.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/java/awt/event/KeyEvent/KeyReleasedInAppletTest/KeyReleasedInAppletTest.java Thu Dec 19 09:01:16 2013 -0800
+@@ -39,13 +39,10 @@
+ import java.util.Hashtable;
+
+ /*
+-@test
+-@bug 8010009
+-@summary [macosx] Unable type into online word games on MacOSX
+-@author petr.pchelko : area=awt.keyboard
+-@run clean *
+-@run build TestApplet
+-@run applet/manual=yesno KeyReleasedInAppletTest.html
++ This is a part of test KeyReleasedInAppletTest.html. Do not add any JTREG tags here
++ bug 8010009
++ summary [macosx] Unable type into online word games on MacOSX
++ author petr.pchelko : area=awt.keyboard
+ */
+
+ public class KeyReleasedInAppletTest extends JApplet {
+--- ./jdk/test/java/lang/SecurityManager/CheckPackageAccess.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/java/lang/SecurityManager/CheckPackageAccess.java Thu Dec 19 09:01:16 2013 -0800
+@@ -23,7 +23,7 @@
+
+ /*
+ * @test
+- * @bug 6741606 7146431 8000450
++ * @bug 6741606 7146431 8000450 8022945
+ * @summary Make sure all restricted packages listed in the package.access
+ * property in the java.security file are blocked
+ * @run main/othervm CheckPackageAccess
+@@ -54,7 +54,9 @@
+ "com.sun.imageio.",
+ "com.sun.istack.internal.",
+ "com.sun.jmx.",
++ "com.sun.naming.internal.",
+ "com.sun.proxy.",
++ "com.sun.corba.se.",
+ "com.sun.org.apache.bcel.internal.",
+ "com.sun.org.apache.regexp.internal.",
+ "com.sun.org.apache.xerces.internal.",
+--- ./jdk/test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java Thu Dec 19 09:01:16 2013 -0800
+@@ -88,6 +88,17 @@
+ TestLibrary.RMIDVIAINHERITEDCHANNEL_ACTIVATION_PORT);
+ rmid.addOptions(new String[]{
+ "-Djava.nio.channels.spi.SelectorProvider=RmidViaInheritedChannel$RmidSelectorProvider"});
++ if (System.getProperty("os.name").startsWith("Windows") &&
++ System.getProperty("os.version").startsWith("5."))
++ {
++ /* Windows XP/2003 or older
++ * Need to expand ephemeral range to include RMI test ports
++ */
++ rmid.addOptions(new String[]{
++ "-Djdk.net.ephemeralPortRange.low=1024",
++ "-Djdk.net.ephemeralPortRange.high=64000"
++ });
++ }
+ rmid.start();
+
+ /*
+--- ./jdk/test/java/rmi/registry/readTest/readTest.sh Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/java/rmi/registry/readTest/readTest.sh Thu Dec 19 09:01:16 2013 -0800
+@@ -29,6 +29,10 @@
+ # @run shell readTest.sh
+
+ OS=`uname -s`
++VER=`uname -r`
++ARGS=""
++REGARGS=""
++
+ case "$OS" in
+ SunOS | Linux | Darwin )
+ PS=":"
+@@ -39,11 +43,19 @@
+ PS=";"
+ FS="\\"
+ FILEURL="file:/"
++ if [ "$VER" -eq "5" ]; then
++ ARGS="-Djdk.net.ephemeralPortRange.low=1024 -Djdk.net.ephemeralPortRange.high=65000"
++ REGARGS="-J-Djdk.net.ephemeralPortRange.low=1024 -J-Djdk.net.ephemeralPortRange.high=65000"
++ fi
+ ;;
+ CYGWIN* )
+ PS=";"
+ FS="/"
+ FILEURL="file:/"
++ if [ "${VER}" -eq "5" ]; then
++ ARGS="-Djdk.net.ephemeralPortRange.low=1024 -Djdk.net.ephemeralPortRange.high=65000"
++ REGARGS="-J-Djdk.net.ephemeralPortRange.low=1024 -J-Djdk.net.ephemeralPortRange.high=65000"
++ fi
+ ;;
+ * )
+ echo "Unrecognized system!"
+@@ -61,8 +73,8 @@
+ #start rmiregistry without any local classes on classpath
+ cd rmi_tmp
+ # NOTE: This RMI Registry port must match TestLibrary.READTEST_REGISTRY_PORT
+-${TESTJAVA}${FS}bin${FS}rmiregistry -J-Djava.rmi.server.useCodebaseOnly=false \
+- ${TESTTOOLVMOPTS} 64005 > ..${FS}${RMIREG_OUT} 2>&1 &
++${TESTJAVA}${FS}bin${FS}rmiregistry ${REGARGS} -J-Djava.rmi.server.useCodebaseOnly=false \
++ ${TESTTOOLVMOPTS} 60005 > ..${FS}${RMIREG_OUT} 2>&1 &
+ RMIREG_PID=$!
+ # allow some time to start
+ sleep 3
+@@ -74,10 +86,10 @@
+ ;;
+ * )
+ CODEBASE=`pwd`
+- ;;
++ ;;
+ esac
+ # trailing / after code base is important for rmi codebase property.
+-${TESTJAVA}${FS}bin${FS}java -cp $TEST_CLASSPATH -Djava.rmi.server.codebase=${FILEURL}$CODEBASE/ readTest > OUT.TXT 2>&1 &
++${TESTJAVA}${FS}bin${FS}java -cp $TEST_CLASSPATH ${ARGS} -Djava.rmi.server.codebase=${FILEURL}$CODEBASE/ readTest > OUT.TXT 2>&1 &
+ TEST_PID=$!
+ #bulk of testcase - let it run for a while
+ sleep 5
+@@ -100,7 +112,7 @@
+ result2=$?
+
+ if [ $result1 -eq 0 -a $result2 -eq 0 ]
+-then
++then
+ echo "Passed"
+ exitCode=0;
+ else
+@@ -108,6 +120,6 @@
+ exitCode=1
+ fi
+ rm -rf OUT.TXT ${RMIREG_OUT} rmi_tmp
+-exit ${exitCode}
++exit ${exitCode}
+
+
+--- ./jdk/test/java/rmi/testlibrary/TestLibrary.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/java/rmi/testlibrary/TestLibrary.java Thu Dec 19 09:01:16 2013 -0800
+@@ -86,13 +86,13 @@
+ * FIXED_PORT_MIN or above FIXED_PORT_MAX, then adjust
+ * FIXED_PORT_MIN/MAX appropriately.
+ */
+- public final static int FIXED_PORT_MIN = 64001;
+- public final static int FIXED_PORT_MAX = 64010;
+- public final static int RMIDVIAINHERITEDCHANNEL_ACTIVATION_PORT = 64001;
+- public final static int RMIDVIAINHERITEDCHANNEL_REGISTRY_PORT = 64002;
+- public final static int INHERITEDCHANNELNOTSERVERSOCKET_ACTIVATION_PORT = 64003;
+- public final static int INHERITEDCHANNELNOTSERVERSOCKET_REGISTRY_PORT = 64004;
+- public final static int READTEST_REGISTRY_PORT = 64005;
++ public final static int FIXED_PORT_MIN = 60001;
++ public final static int FIXED_PORT_MAX = 60010;
++ public final static int RMIDVIAINHERITEDCHANNEL_ACTIVATION_PORT = 60001;
++ public final static int RMIDVIAINHERITEDCHANNEL_REGISTRY_PORT = 60002;
++ public final static int INHERITEDCHANNELNOTSERVERSOCKET_ACTIVATION_PORT = 60003;
++ public final static int INHERITEDCHANNELNOTSERVERSOCKET_REGISTRY_PORT = 60004;
++ public final static int READTEST_REGISTRY_PORT = 60005;
+ private final static int MAX_SERVER_SOCKET_TRIES = 2*(FIXED_PORT_MAX-FIXED_PORT_MIN+1);
+
+ static void mesg(Object mesg) {
+--- ./jdk/test/javax/script/GetInterfaceTest.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/javax/script/GetInterfaceTest.java Thu Dec 19 09:01:16 2013 -0800
+@@ -67,11 +67,11 @@
+ foo2.bar2();
+ }
+
+- interface Foo {
++ public interface Foo {
+ public void bar();
+ }
+
+- interface Foo2 extends Foo {
++ public interface Foo2 extends Foo {
+ public void bar2();
+ }
+ }
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jdk/test/sun/security/pkcs11/tls/TestLeadingZeroesP11.java Thu Dec 19 09:01:16 2013 -0800
+@@ -0,0 +1,410 @@
++/*
++ * Copyright (c) 2013, 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.
++ *
++ * 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.
++ */
++
++/*
++ * @test
++ * @bug 8014618
++ * @summary Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement
++ * @library ..
++ * @author Pasi Eronen
++ */
++
++import java.io.*;
++import java.security.*;
++import java.security.spec.*;
++import java.security.interfaces.*;
++import javax.crypto.*;
++import javax.crypto.spec.*;
++import javax.crypto.interfaces.*;
++
++/**
++ * Test that leading zeroes are stripped in TlsPremasterSecret case,
++ * but are left as-is in other cases.
++ *
++ * We use pre-generated keypairs, since with randomly generated keypairs,
++ * a leading zero happens only (roughly) 1 out of 256 cases.
++ */
++
++public class TestLeadingZeroesP11 extends PKCS11Test {
++
++ public static void main(String[] args) throws Exception {
++ main(new TestLeadingZeroesP11());
++ }
++
++ public void main(Provider p) throws Exception {
++
++ // decode pre-generated keypairs
++ KeyFactory kfac = KeyFactory.getInstance("DH", p);
++ PublicKey alicePubKey =
++ kfac.generatePublic(new X509EncodedKeySpec(alicePubKeyEnc));
++ PublicKey bobPubKey =
++ kfac.generatePublic(new X509EncodedKeySpec(bobPubKeyEnc));
++ PrivateKey alicePrivKey =
++ kfac.generatePrivate(new PKCS8EncodedKeySpec(alicePrivKeyEnc));
++ PrivateKey bobPrivKey =
++ kfac.generatePrivate(new PKCS8EncodedKeySpec(bobPrivKeyEnc));
++
++ // generate normal shared secret
++ KeyAgreement aliceKeyAgree = KeyAgreement.getInstance("DH", p);
++ aliceKeyAgree.init(alicePrivKey);
++ aliceKeyAgree.doPhase(bobPubKey, true);
++ byte[] sharedSecret = aliceKeyAgree.generateSecret();
++ System.out.println("shared secret:\n" + toHexString(sharedSecret));
++
++ // verify that leading zero is present
++ if (sharedSecret.length != 128) {
++ throw new Exception("Unexpected shared secret length");
++ }
++ if (sharedSecret[0] != 0) {
++ throw new Exception("First byte is not zero as expected");
++ }
++
++ // now, test TLS premaster secret
++ aliceKeyAgree.init(alicePrivKey);
++ aliceKeyAgree.doPhase(bobPubKey, true);
++ byte[] tlsPremasterSecret =
++ aliceKeyAgree.generateSecret("TlsPremasterSecret").getEncoded();
++ System.out.println(
++ "tls premaster secret:\n" + toHexString(tlsPremasterSecret));
++
++ // check that leading zero has been stripped
++ if (tlsPremasterSecret.length != 127) {
++ throw new Exception("Unexpected TLS premaster secret length");
++ }
++ if (tlsPremasterSecret[0] == 0) {
++ throw new Exception("First byte is zero");
++ }
++ for (int i = 0; i < tlsPremasterSecret.length; i++) {
++ if (tlsPremasterSecret[i] != sharedSecret[i+1]) {
++ throw new Exception("Shared secrets differ");
++ }
++ }
++
++ }
++
++ /*
++ * Converts a byte to hex digit and writes to the supplied buffer
++ */
++ private void byte2hex(byte b, StringBuffer buf) {
++ char[] hexChars = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
++ '9', 'A', 'B', 'C', 'D', 'E', 'F' };
++ int high = ((b & 0xf0) >> 4);
++ int low = (b & 0x0f);
++ buf.append(hexChars[high]);
++ buf.append(hexChars[low]);
++ }
++
++ /*
++ * Converts a byte array to hex string
++ */
++ private String toHexString(byte[] block) {
++ StringBuffer buf = new StringBuffer();
++
++ int len = block.length;
++
++ for (int i = 0; i < len; i++) {
++ byte2hex(block[i], buf);
++ if (i < len-1) {
++ buf.append(":");
++ }
++ }
++ return buf.toString();
++ }
++
++ private static final byte alicePubKeyEnc[] = {
++ (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x24,
++ (byte)0x30, (byte)0x81, (byte)0x99, (byte)0x06,
++ (byte)0x09, (byte)0x2A, (byte)0x86, (byte)0x48,
++ (byte)0x86, (byte)0xF7, (byte)0x0D, (byte)0x01,
++ (byte)0x03, (byte)0x01, (byte)0x30, (byte)0x81,
++ (byte)0x8B, (byte)0x02, (byte)0x81, (byte)0x81,
++ (byte)0x00, (byte)0xF4, (byte)0x88, (byte)0xFD,
++ (byte)0x58, (byte)0x4E, (byte)0x49, (byte)0xDB,
++ (byte)0xCD, (byte)0x20, (byte)0xB4, (byte)0x9D,
++ (byte)0xE4, (byte)0x91, (byte)0x07, (byte)0x36,
++ (byte)0x6B, (byte)0x33, (byte)0x6C, (byte)0x38,
++ (byte)0x0D, (byte)0x45, (byte)0x1D, (byte)0x0F,
++ (byte)0x7C, (byte)0x88, (byte)0xB3, (byte)0x1C,
++ (byte)0x7C, (byte)0x5B, (byte)0x2D, (byte)0x8E,
++ (byte)0xF6, (byte)0xF3, (byte)0xC9, (byte)0x23,
++ (byte)0xC0, (byte)0x43, (byte)0xF0, (byte)0xA5,
++ (byte)0x5B, (byte)0x18, (byte)0x8D, (byte)0x8E,
++ (byte)0xBB, (byte)0x55, (byte)0x8C, (byte)0xB8,
++ (byte)0x5D, (byte)0x38, (byte)0xD3, (byte)0x34,
++ (byte)0xFD, (byte)0x7C, (byte)0x17, (byte)0x57,
++ (byte)0x43, (byte)0xA3, (byte)0x1D, (byte)0x18,
++ (byte)0x6C, (byte)0xDE, (byte)0x33, (byte)0x21,
++ (byte)0x2C, (byte)0xB5, (byte)0x2A, (byte)0xFF,
++ (byte)0x3C, (byte)0xE1, (byte)0xB1, (byte)0x29,
++ (byte)0x40, (byte)0x18, (byte)0x11, (byte)0x8D,
++ (byte)0x7C, (byte)0x84, (byte)0xA7, (byte)0x0A,
++ (byte)0x72, (byte)0xD6, (byte)0x86, (byte)0xC4,
++ (byte)0x03, (byte)0x19, (byte)0xC8, (byte)0x07,
++ (byte)0x29, (byte)0x7A, (byte)0xCA, (byte)0x95,
++ (byte)0x0C, (byte)0xD9, (byte)0x96, (byte)0x9F,
++ (byte)0xAB, (byte)0xD0, (byte)0x0A, (byte)0x50,
++ (byte)0x9B, (byte)0x02, (byte)0x46, (byte)0xD3,
++ (byte)0x08, (byte)0x3D, (byte)0x66, (byte)0xA4,
++ (byte)0x5D, (byte)0x41, (byte)0x9F, (byte)0x9C,
++ (byte)0x7C, (byte)0xBD, (byte)0x89, (byte)0x4B,
++ (byte)0x22, (byte)0x19, (byte)0x26, (byte)0xBA,
++ (byte)0xAB, (byte)0xA2, (byte)0x5E, (byte)0xC3,
++ (byte)0x55, (byte)0xE9, (byte)0x2F, (byte)0x78,
++ (byte)0xC7, (byte)0x02, (byte)0x01, (byte)0x02,
++ (byte)0x02, (byte)0x02, (byte)0x02, (byte)0x00,
++ (byte)0x03, (byte)0x81, (byte)0x85, (byte)0x00,
++ (byte)0x02, (byte)0x81, (byte)0x81, (byte)0x00,
++ (byte)0xEE, (byte)0xD6, (byte)0xB1, (byte)0xA3,
++ (byte)0xB4, (byte)0x78, (byte)0x2B, (byte)0x35,
++ (byte)0xEF, (byte)0xCD, (byte)0x17, (byte)0x86,
++ (byte)0x63, (byte)0x2B, (byte)0x97, (byte)0x0E,
++ (byte)0x7A, (byte)0xD1, (byte)0xFF, (byte)0x7A,
++ (byte)0xEB, (byte)0x57, (byte)0x61, (byte)0xA1,
++ (byte)0xF7, (byte)0x90, (byte)0x11, (byte)0xA7,
++ (byte)0x79, (byte)0x28, (byte)0x69, (byte)0xBA,
++ (byte)0xA7, (byte)0xB2, (byte)0x37, (byte)0x17,
++ (byte)0xAE, (byte)0x3C, (byte)0x92, (byte)0x89,
++ (byte)0x88, (byte)0xE5, (byte)0x7E, (byte)0x8E,
++ (byte)0xF0, (byte)0x24, (byte)0xD0, (byte)0xE1,
++ (byte)0xC4, (byte)0xB0, (byte)0x26, (byte)0x5A,
++ (byte)0x1E, (byte)0xBD, (byte)0xA0, (byte)0xCF,
++ (byte)0x3E, (byte)0x97, (byte)0x2A, (byte)0x13,
++ (byte)0x92, (byte)0x3B, (byte)0x39, (byte)0xD0,
++ (byte)0x1D, (byte)0xA3, (byte)0x6B, (byte)0x3E,
++ (byte)0xC2, (byte)0xBB, (byte)0x14, (byte)0xB6,
++ (byte)0xE2, (byte)0x4C, (byte)0x0E, (byte)0x5B,
++ (byte)0x4B, (byte)0xA4, (byte)0x9D, (byte)0xA6,
++ (byte)0x21, (byte)0xB0, (byte)0xF9, (byte)0xDE,
++ (byte)0x55, (byte)0xAE, (byte)0x5C, (byte)0x29,
++ (byte)0x0E, (byte)0xC1, (byte)0xFC, (byte)0xBA,
++ (byte)0x51, (byte)0xD3, (byte)0xB6, (byte)0x6D,
++ (byte)0x75, (byte)0x72, (byte)0xDF, (byte)0x43,
++ (byte)0xAB, (byte)0x94, (byte)0x21, (byte)0x6E,
++ (byte)0x0C, (byte)0xD1, (byte)0x93, (byte)0x54,
++ (byte)0x56, (byte)0x7D, (byte)0x4B, (byte)0x90,
++ (byte)0xF1, (byte)0x94, (byte)0x45, (byte)0xD4,
++ (byte)0x2A, (byte)0x71, (byte)0xA1, (byte)0xB8,
++ (byte)0xDD, (byte)0xAA, (byte)0x05, (byte)0xF0,
++ (byte)0x27, (byte)0x37, (byte)0xBD, (byte)0x44
++ };
++
++ private static final byte alicePrivKeyEnc[] = {
++ (byte)0x30, (byte)0x81, (byte)0xE3, (byte)0x02,
++ (byte)0x01, (byte)0x00, (byte)0x30, (byte)0x81,
++ (byte)0x99, (byte)0x06, (byte)0x09, (byte)0x2A,
++ (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xF7,
++ (byte)0x0D, (byte)0x01, (byte)0x03, (byte)0x01,
++ (byte)0x30, (byte)0x81, (byte)0x8B, (byte)0x02,
++ (byte)0x81, (byte)0x81, (byte)0x00, (byte)0xF4,
++ (byte)0x88, (byte)0xFD, (byte)0x58, (byte)0x4E,
++ (byte)0x49, (byte)0xDB, (byte)0xCD, (byte)0x20,
++ (byte)0xB4, (byte)0x9D, (byte)0xE4, (byte)0x91,
++ (byte)0x07, (byte)0x36, (byte)0x6B, (byte)0x33,
++ (byte)0x6C, (byte)0x38, (byte)0x0D, (byte)0x45,
++ (byte)0x1D, (byte)0x0F, (byte)0x7C, (byte)0x88,
++ (byte)0xB3, (byte)0x1C, (byte)0x7C, (byte)0x5B,
++ (byte)0x2D, (byte)0x8E, (byte)0xF6, (byte)0xF3,
++ (byte)0xC9, (byte)0x23, (byte)0xC0, (byte)0x43,
++ (byte)0xF0, (byte)0xA5, (byte)0x5B, (byte)0x18,
++ (byte)0x8D, (byte)0x8E, (byte)0xBB, (byte)0x55,
++ (byte)0x8C, (byte)0xB8, (byte)0x5D, (byte)0x38,
++ (byte)0xD3, (byte)0x34, (byte)0xFD, (byte)0x7C,
++ (byte)0x17, (byte)0x57, (byte)0x43, (byte)0xA3,
++ (byte)0x1D, (byte)0x18, (byte)0x6C, (byte)0xDE,
++ (byte)0x33, (byte)0x21, (byte)0x2C, (byte)0xB5,
++ (byte)0x2A, (byte)0xFF, (byte)0x3C, (byte)0xE1,
++ (byte)0xB1, (byte)0x29, (byte)0x40, (byte)0x18,
++ (byte)0x11, (byte)0x8D, (byte)0x7C, (byte)0x84,
++ (byte)0xA7, (byte)0x0A, (byte)0x72, (byte)0xD6,
++ (byte)0x86, (byte)0xC4, (byte)0x03, (byte)0x19,
++ (byte)0xC8, (byte)0x07, (byte)0x29, (byte)0x7A,
++ (byte)0xCA, (byte)0x95, (byte)0x0C, (byte)0xD9,
++ (byte)0x96, (byte)0x9F, (byte)0xAB, (byte)0xD0,
++ (byte)0x0A, (byte)0x50, (byte)0x9B, (byte)0x02,
++ (byte)0x46, (byte)0xD3, (byte)0x08, (byte)0x3D,
++ (byte)0x66, (byte)0xA4, (byte)0x5D, (byte)0x41,
++ (byte)0x9F, (byte)0x9C, (byte)0x7C, (byte)0xBD,
++ (byte)0x89, (byte)0x4B, (byte)0x22, (byte)0x19,
++ (byte)0x26, (byte)0xBA, (byte)0xAB, (byte)0xA2,
++ (byte)0x5E, (byte)0xC3, (byte)0x55, (byte)0xE9,
++ (byte)0x2F, (byte)0x78, (byte)0xC7, (byte)0x02,
++ (byte)0x01, (byte)0x02, (byte)0x02, (byte)0x02,
++ (byte)0x02, (byte)0x00, (byte)0x04, (byte)0x42,
++ (byte)0x02, (byte)0x40, (byte)0x36, (byte)0x4D,
++ (byte)0xD0, (byte)0x58, (byte)0x64, (byte)0x91,
++ (byte)0x78, (byte)0xA2, (byte)0x4B, (byte)0x79,
++ (byte)0x46, (byte)0xFE, (byte)0xC9, (byte)0xD9,
++ (byte)0xCA, (byte)0x5C, (byte)0xF9, (byte)0xFD,
++ (byte)0x6C, (byte)0x5D, (byte)0x76, (byte)0x3A,
++ (byte)0x41, (byte)0x6D, (byte)0x44, (byte)0x62,
++ (byte)0x75, (byte)0x93, (byte)0x81, (byte)0x93,
++ (byte)0x00, (byte)0x4C, (byte)0xB1, (byte)0xD8,
++ (byte)0x7D, (byte)0x9D, (byte)0xF3, (byte)0x16,
++ (byte)0x2C, (byte)0x6C, (byte)0x9F, (byte)0x7A,
++ (byte)0x84, (byte)0xA3, (byte)0x7A, (byte)0xC1,
++ (byte)0x4F, (byte)0x60, (byte)0xE3, (byte)0xB5,
++ (byte)0x86, (byte)0x28, (byte)0x08, (byte)0x4D,
++ (byte)0x94, (byte)0xB6, (byte)0x04, (byte)0x0D,
++ (byte)0xAC, (byte)0xBD, (byte)0x1F, (byte)0x42,
++ (byte)0x8F, (byte)0x1B
++ };
++
++ private static final byte bobPubKeyEnc[] = {
++ (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x23,
++ (byte)0x30, (byte)0x81, (byte)0x99, (byte)0x06,
++ (byte)0x09, (byte)0x2A, (byte)0x86, (byte)0x48,
++ (byte)0x86, (byte)0xF7, (byte)0x0D, (byte)0x01,
++ (byte)0x03, (byte)0x01, (byte)0x30, (byte)0x81,
++ (byte)0x8B, (byte)0x02, (byte)0x81, (byte)0x81,
++ (byte)0x00, (byte)0xF4, (byte)0x88, (byte)0xFD,
++ (byte)0x58, (byte)0x4E, (byte)0x49, (byte)0xDB,
++ (byte)0xCD, (byte)0x20, (byte)0xB4, (byte)0x9D,
++ (byte)0xE4, (byte)0x91, (byte)0x07, (byte)0x36,
++ (byte)0x6B, (byte)0x33, (byte)0x6C, (byte)0x38,
++ (byte)0x0D, (byte)0x45, (byte)0x1D, (byte)0x0F,
++ (byte)0x7C, (byte)0x88, (byte)0xB3, (byte)0x1C,
++ (byte)0x7C, (byte)0x5B, (byte)0x2D, (byte)0x8E,
++ (byte)0xF6, (byte)0xF3, (byte)0xC9, (byte)0x23,
++ (byte)0xC0, (byte)0x43, (byte)0xF0, (byte)0xA5,
++ (byte)0x5B, (byte)0x18, (byte)0x8D, (byte)0x8E,
++ (byte)0xBB, (byte)0x55, (byte)0x8C, (byte)0xB8,
++ (byte)0x5D, (byte)0x38, (byte)0xD3, (byte)0x34,
++ (byte)0xFD, (byte)0x7C, (byte)0x17, (byte)0x57,
++ (byte)0x43, (byte)0xA3, (byte)0x1D, (byte)0x18,
++ (byte)0x6C, (byte)0xDE, (byte)0x33, (byte)0x21,
++ (byte)0x2C, (byte)0xB5, (byte)0x2A, (byte)0xFF,
++ (byte)0x3C, (byte)0xE1, (byte)0xB1, (byte)0x29,
++ (byte)0x40, (byte)0x18, (byte)0x11, (byte)0x8D,
++ (byte)0x7C, (byte)0x84, (byte)0xA7, (byte)0x0A,
++ (byte)0x72, (byte)0xD6, (byte)0x86, (byte)0xC4,
++ (byte)0x03, (byte)0x19, (byte)0xC8, (byte)0x07,
++ (byte)0x29, (byte)0x7A, (byte)0xCA, (byte)0x95,
++ (byte)0x0C, (byte)0xD9, (byte)0x96, (byte)0x9F,
++ (byte)0xAB, (byte)0xD0, (byte)0x0A, (byte)0x50,
++ (byte)0x9B, (byte)0x02, (byte)0x46, (byte)0xD3,
++ (byte)0x08, (byte)0x3D, (byte)0x66, (byte)0xA4,
++ (byte)0x5D, (byte)0x41, (byte)0x9F, (byte)0x9C,
++ (byte)0x7C, (byte)0xBD, (byte)0x89, (byte)0x4B,
++ (byte)0x22, (byte)0x19, (byte)0x26, (byte)0xBA,
++ (byte)0xAB, (byte)0xA2, (byte)0x5E, (byte)0xC3,
++ (byte)0x55, (byte)0xE9, (byte)0x2F, (byte)0x78,
++ (byte)0xC7, (byte)0x02, (byte)0x01, (byte)0x02,
++ (byte)0x02, (byte)0x02, (byte)0x02, (byte)0x00,
++ (byte)0x03, (byte)0x81, (byte)0x84, (byte)0x00,
++ (byte)0x02, (byte)0x81, (byte)0x80, (byte)0x2C,
++ (byte)0x40, (byte)0xFA, (byte)0xF6, (byte)0xA6,
++ (byte)0xF8, (byte)0xAC, (byte)0xC2, (byte)0x4F,
++ (byte)0xCD, (byte)0xC7, (byte)0x37, (byte)0x93,
++ (byte)0xE5, (byte)0xE4, (byte)0x5E, (byte)0x18,
++ (byte)0x14, (byte)0xE6, (byte)0x50, (byte)0xDA,
++ (byte)0x55, (byte)0x38, (byte)0x5D, (byte)0x24,
++ (byte)0xF5, (byte)0x42, (byte)0x68, (byte)0x5F,
++ (byte)0xF5, (byte)0x15, (byte)0xC8, (byte)0x9B,
++ (byte)0x5D, (byte)0x06, (byte)0x3D, (byte)0xE1,
++ (byte)0x52, (byte)0x2F, (byte)0x98, (byte)0xFF,
++ (byte)0x37, (byte)0xBB, (byte)0x75, (byte)0x48,
++ (byte)0x48, (byte)0xE9, (byte)0x65, (byte)0x84,
++ (byte)0x37, (byte)0xBB, (byte)0xB3, (byte)0xE9,
++ (byte)0x36, (byte)0x01, (byte)0xB4, (byte)0x6A,
++ (byte)0x1C, (byte)0xB2, (byte)0x11, (byte)0x82,
++ (byte)0xCE, (byte)0x3D, (byte)0x65, (byte)0xE5,
++ (byte)0x3C, (byte)0x89, (byte)0xE9, (byte)0x52,
++ (byte)0x19, (byte)0xBD, (byte)0x58, (byte)0xF6,
++ (byte)0xA2, (byte)0x03, (byte)0xA8, (byte)0xB2,
++ (byte)0xA5, (byte)0xDB, (byte)0xEB, (byte)0xF5,
++ (byte)0x94, (byte)0xF9, (byte)0x46, (byte)0xBE,
++ (byte)0x45, (byte)0x4C, (byte)0x65, (byte)0xD2,
++ (byte)0xD1, (byte)0xCF, (byte)0xFF, (byte)0xFF,
++ (byte)0xFA, (byte)0x38, (byte)0xF1, (byte)0x72,
++ (byte)0xAB, (byte)0xB9, (byte)0x14, (byte)0x4E,
++ (byte)0xF5, (byte)0xF0, (byte)0x7A, (byte)0x8E,
++ (byte)0x45, (byte)0xFD, (byte)0x5B, (byte)0xF9,
++ (byte)0xA2, (byte)0x97, (byte)0x1B, (byte)0xAE,
++ (byte)0x2C, (byte)0x7B, (byte)0x6B, (byte)0x7C,
++ (byte)0x98, (byte)0xFE, (byte)0x58, (byte)0xDD,
++ (byte)0xBE, (byte)0xF6, (byte)0x1C, (byte)0x8E,
++ (byte)0xD0, (byte)0xA1, (byte)0x72
++ };
++
++ private static final byte bobPrivKeyEnc[] = {
++ (byte)0x30, (byte)0x81, (byte)0xE4, (byte)0x02,
++ (byte)0x01, (byte)0x00, (byte)0x30, (byte)0x81,
++ (byte)0x99, (byte)0x06, (byte)0x09, (byte)0x2A,
++ (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xF7,
++ (byte)0x0D, (byte)0x01, (byte)0x03, (byte)0x01,
++ (byte)0x30, (byte)0x81, (byte)0x8B, (byte)0x02,
++ (byte)0x81, (byte)0x81, (byte)0x00, (byte)0xF4,
++ (byte)0x88, (byte)0xFD, (byte)0x58, (byte)0x4E,
++ (byte)0x49, (byte)0xDB, (byte)0xCD, (byte)0x20,
++ (byte)0xB4, (byte)0x9D, (byte)0xE4, (byte)0x91,
++ (byte)0x07, (byte)0x36, (byte)0x6B, (byte)0x33,
++ (byte)0x6C, (byte)0x38, (byte)0x0D, (byte)0x45,
++ (byte)0x1D, (byte)0x0F, (byte)0x7C, (byte)0x88,
++ (byte)0xB3, (byte)0x1C, (byte)0x7C, (byte)0x5B,
++ (byte)0x2D, (byte)0x8E, (byte)0xF6, (byte)0xF3,
++ (byte)0xC9, (byte)0x23, (byte)0xC0, (byte)0x43,
++ (byte)0xF0, (byte)0xA5, (byte)0x5B, (byte)0x18,
++ (byte)0x8D, (byte)0x8E, (byte)0xBB, (byte)0x55,
++ (byte)0x8C, (byte)0xB8, (byte)0x5D, (byte)0x38,
++ (byte)0xD3, (byte)0x34, (byte)0xFD, (byte)0x7C,
++ (byte)0x17, (byte)0x57, (byte)0x43, (byte)0xA3,
++ (byte)0x1D, (byte)0x18, (byte)0x6C, (byte)0xDE,
++ (byte)0x33, (byte)0x21, (byte)0x2C, (byte)0xB5,
++ (byte)0x2A, (byte)0xFF, (byte)0x3C, (byte)0xE1,
++ (byte)0xB1, (byte)0x29, (byte)0x40, (byte)0x18,
++ (byte)0x11, (byte)0x8D, (byte)0x7C, (byte)0x84,
++ (byte)0xA7, (byte)0x0A, (byte)0x72, (byte)0xD6,
++ (byte)0x86, (byte)0xC4, (byte)0x03, (byte)0x19,
++ (byte)0xC8, (byte)0x07, (byte)0x29, (byte)0x7A,
++ (byte)0xCA, (byte)0x95, (byte)0x0C, (byte)0xD9,
++ (byte)0x96, (byte)0x9F, (byte)0xAB, (byte)0xD0,
++ (byte)0x0A, (byte)0x50, (byte)0x9B, (byte)0x02,
++ (byte)0x46, (byte)0xD3, (byte)0x08, (byte)0x3D,
++ (byte)0x66, (byte)0xA4, (byte)0x5D, (byte)0x41,
++ (byte)0x9F, (byte)0x9C, (byte)0x7C, (byte)0xBD,
++ (byte)0x89, (byte)0x4B, (byte)0x22, (byte)0x19,
++ (byte)0x26, (byte)0xBA, (byte)0xAB, (byte)0xA2,
++ (byte)0x5E, (byte)0xC3, (byte)0x55, (byte)0xE9,
++ (byte)0x2F, (byte)0x78, (byte)0xC7, (byte)0x02,
++ (byte)0x01, (byte)0x02, (byte)0x02, (byte)0x02,
++ (byte)0x02, (byte)0x00, (byte)0x04, (byte)0x43,
++ (byte)0x02, (byte)0x41, (byte)0x00, (byte)0xE0,
++ (byte)0x31, (byte)0xE7, (byte)0x77, (byte)0xB8,
++ (byte)0xD0, (byte)0x7E, (byte)0x0A, (byte)0x9B,
++ (byte)0x94, (byte)0xD5, (byte)0x3D, (byte)0x33,
++ (byte)0x62, (byte)0x32, (byte)0x51, (byte)0xCE,
++ (byte)0x74, (byte)0x5C, (byte)0xA5, (byte)0x72,
++ (byte)0xD9, (byte)0x36, (byte)0xF3, (byte)0x8A,
++ (byte)0x3F, (byte)0x8B, (byte)0xC6, (byte)0xFE,
++ (byte)0xEF, (byte)0x94, (byte)0x8B, (byte)0x50,
++ (byte)0x41, (byte)0x9B, (byte)0x14, (byte)0xC8,
++ (byte)0xE9, (byte)0x1F, (byte)0x24, (byte)0x1F,
++ (byte)0x65, (byte)0x8E, (byte)0xD3, (byte)0x85,
++ (byte)0xD0, (byte)0x68, (byte)0x6C, (byte)0xF1,
++ (byte)0x79, (byte)0x45, (byte)0xD0, (byte)0x06,
++ (byte)0xA4, (byte)0xB8, (byte)0xE0, (byte)0x64,
++ (byte)0xF5, (byte)0x38, (byte)0x72, (byte)0x97,
++ (byte)0x00, (byte)0x23, (byte)0x5F
++ };
++}
++
+--- ./jdk/test/sun/security/tools/jarsigner/TimestampCheck.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/sun/security/tools/jarsigner/TimestampCheck.java Thu Dec 19 09:01:16 2013 -0800
+@@ -242,13 +242,13 @@
+ " -J-Djava.security.egd=file:/dev/./urandom" +
+ " -debug -keystore " + TSKS + " -storepass changeit" +
+ " -tsa http://localhost:" + port + "/%d" +
+- " -signedjar new.jar " + JAR + " old";
++ " -signedjar new_%d.jar " + JAR + " old";
+ } else {
+ cmd = System.getProperty("java.home") + "/bin/jarsigner" +
+ " -J-Djava.security.egd=file:/dev/./urandom" +
+ " -debug -keystore " + TSKS + " -storepass changeit" +
+ " -tsa http://localhost:" + port + "/%d" +
+- " -signedjar new.jar " + JAR + " old";
++ " -signedjar new_%d.jar " + JAR + " old";
+ }
+
+ try {
+@@ -281,7 +281,7 @@
+ static void jarsigner(String cmd, int path, boolean expected)
+ throws Exception {
+ System.err.println("Test " + path);
+- Process p = Runtime.getRuntime().exec(String.format(cmd, path));
++ Process p = Runtime.getRuntime().exec(String.format(cmd, path, path));
+ BufferedReader reader = new BufferedReader(
+ new InputStreamReader(p.getErrorStream()));
+ while (true) {
+@@ -289,9 +289,25 @@
+ if (s == null) break;
+ System.err.println(s);
+ }
++
++ // Will not see noTimestamp warning
++ boolean seeWarning = false;
++ reader = new BufferedReader(
++ new InputStreamReader(p.getInputStream()));
++ while (true) {
++ String s = reader.readLine();
++ if (s == null) break;
++ System.err.println(s);
++ if (s.indexOf("Warning:") >= 0) {
++ seeWarning = true;
++ }
++ }
+ int result = p.waitFor();
+ if (expected && result != 0 || !expected && result == 0) {
+ throw new Exception("Failed");
+ }
++ if (seeWarning) {
++ throw new Exception("See warning");
++ }
+ }
+ }
+--- ./jdk/test/sun/security/tools/jarsigner/concise_jarsigner.sh Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/sun/security/tools/jarsigner/concise_jarsigner.sh Thu Dec 19 09:01:16 2013 -0800
+@@ -136,7 +136,6 @@
+ # 16 and 32 already covered in the first part
+ # ==========================================================
+
+-$KT -genkeypair -alias expiring -dname CN=expiring -startdate -1m
+ $KT -genkeypair -alias expired -dname CN=expired -startdate -10m
+ $KT -genkeypair -alias notyetvalid -dname CN=notyetvalid -startdate +1m
+ $KT -genkeypair -alias badku -dname CN=badku -ext KU=cRLSign -validity 365
+@@ -151,9 +150,6 @@
+ $KT -importcert -alias badchain
+ $KT -delete -alias ca
+
+-$JARSIGNER -strict -keystore js.jks -storepass changeit a.jar expiring
+-[ $? = 2 ] || exit $LINENO
+-
+ $JARSIGNER -strict -keystore js.jks -storepass changeit a.jar expired
+ [ $? = 4 ] || exit $LINENO
+
+--- ./jdk/test/sun/security/tools/jarsigner/ts.sh Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/sun/security/tools/jarsigner/ts.sh Thu Dec 19 09:01:16 2013 -0800
+@@ -22,7 +22,7 @@
+ #
+
+ # @test
+-# @bug 6543842 6543440 6939248
++# @bug 6543842 6543440 6939248 8024302
+ # @summary checking response of timestamp
+ #
+ # @run shell/timeout=600 ts.sh
+@@ -53,7 +53,7 @@
+ JAR="${TESTJAVA}${FS}bin${FS}jar"
+ JAVA="${TESTJAVA}${FS}bin${FS}java"
+ JAVAC="${TESTJAVA}${FS}bin${FS}javac"
+-KT="${TESTJAVA}${FS}bin${FS}keytool -keystore tsks -storepass changeit -keypass changeit"
++KT="${TESTJAVA}${FS}bin${FS}keytool -keystore tsks -storepass changeit -keypass changeit -validity 200"
+
+ rm tsks
+ echo Nothing > A
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ ./jdk/test/sun/security/tools/jarsigner/warnings.sh Thu Dec 19 09:01:16 2013 -0800
+@@ -0,0 +1,119 @@
++#
++# Copyright (c) 2013, 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.
++#
++# 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.
++#
++
++# @test
++# @bug 8024302
++# @bug 8026037
++# @summary Clarify jar verifications
++#
++
++if [ "${TESTJAVA}" = "" ] ; then
++ JAVAC_CMD=`which javac`
++ TESTJAVA=`dirname $JAVAC_CMD`/..
++fi
++
++# set platform-dependent variables
++OS=`uname -s`
++case "$OS" in
++ Windows_* )
++ FS="\\"
++ ;;
++ * )
++ FS="/"
++ ;;
++esac
++
++KS=warnings.jks
++JFILE=warnings.jar
++
++KT="$TESTJAVA${FS}bin${FS}keytool -storepass changeit -keypass changeit \
++ -keystore $KS"
++JAR=$TESTJAVA${FS}bin${FS}jar
++JARSIGNER="$TESTJAVA${FS}bin${FS}jarsigner -keystore $KS -storepass changeit"
++
++rm $KS 2> /dev/null
++
++LANG=C
++export LANG
++
++echo 12345 > file
++
++ERR=""
++
++# Normal signer expiring on 2100-01-01
++$KT -alias s1 -dname CN=s1 -genkey -startdate 2000/01/01 -validity 36525 || ERR="$ERR keytool s1,"
++# Cert expiring soon, informational warning
++$KT -alias s2 -dname CN=s2 -genkey -validity 100 || ERR="$ERR keytool s2,"
++# Cert expired, severe warning
++$KT -alias s3 -dname CN=s3 -genkey -startdate -200d -validity 100 || ERR="$ERR keytool s3,"
++
++# noTimestamp is informatiional warning and includes a date
++$JAR cvf $JFILE file
++$JARSIGNER $JFILE s1 > output1 || ERR="$ERR jarsigner s1,"
++$JARSIGNER -strict $JFILE s1 >> output1 || ERR="$ERR jarsigner s1 strict,"
++$JARSIGNER -verify $JFILE s1 >> output1 || ERR="$ERR jarsigner s1,"
++$JARSIGNER -verify -strict $JFILE s1 >> output1 || ERR="$ERR jarsigner s1 strict,"
++
++cat output1 | grep Warning || ERR="$ERR s1 warning,"
++cat output1 | grep Error && ERR="$ERR s1 error,"
++cat output1 | grep timestamp | grep 2100-01-01 || ERR="$ERR s1 timestamp,"
++cat output1 | grep "with signer errors" && ERR="$ERR s1 err,"
++
++# hasExpiringCert is informatiional warning
++$JAR cvf $JFILE file
++$JARSIGNER $JFILE s2 > output2 || ERR="$ERR jarsigner s2,"
++$JARSIGNER -strict $JFILE s2 >> output2 || ERR="$ERR jarsigner s2 strict,"
++$JARSIGNER -verify $JFILE s2 >> output2 || ERR="$ERR jarsigner s2,"
++$JARSIGNER -verify -strict $JFILE s2 >> output2 || ERR="$ERR jarsigner s2 strict,"
++
++cat output2 | grep Warning || ERR="$ERR s2 warning,"
++cat output2 | grep Error && ERR="$ERR s2 error,"
++cat output2 | grep timestamp || ERR="$ERR s2 timestamp,"
++cat output2 | grep "will expire" || ERR="$ERR s2 expiring,"
++cat output2 | grep "with signer errors" && ERR="$ERR s2 err,"
++
++# hasExpiredCert is severe warning
++$JAR cvf $JFILE file
++$JARSIGNER $JFILE s3 > output3 || ERR="$ERR jarsigner s3,"
++$JARSIGNER -strict $JFILE s3 > output3s && ERR="$ERR jarsigner s3 strict,"
++$JARSIGNER -verify $JFILE s3 >> output3 || ERR="$ERR jarsigner s3,"
++$JARSIGNER -verify -strict $JFILE s3 >> output3s && ERR="$ERR jarsigner s3 strict,"
++
++# warning without -strict
++cat output3 | grep Warning || ERR="$ERR s3 warning,"
++cat output3 | grep Error && ERR="$ERR s3 error,"
++cat output3 | grep "with signer errors" && ERR="$ERR s3 err,"
++
++# error with -strict
++cat output3s | grep Warning || ERR="$ERR s3s warning,"
++cat output3s | grep Error || ERR="$ERR s3s error,"
++cat output3s | grep "with signer errors" || ERR="$ERR s3 err,"
++
++if [ "$ERR" = "" ]; then
++ exit 0
++else
++ echo "ERR is $ERR"
++ exit 1
++fi
++
++
+--- ./jdk/test/sun/util/resources/TimeZone/Bug6317929.java Tue Oct 08 09:07:05 2013 -0700
++++ ./jdk/test/sun/util/resources/TimeZone/Bug6317929.java Thu Dec 19 09:01:16 2013 -0800
+@@ -130,12 +130,12 @@
+ "(New South Wales)\"");
+ tzLocale = locales2Test[1];
+ if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
+- ("\u00d6stliche Normalzeit (New South Wales)"))
++ ("Eastern Normalzeit (Neus\u00fcdwales)"))
+ throw new RuntimeException("\n" + tzLocale + ": LONG, " +
+ "non-daylight saving name for " +
+ "Australia/Currie should be " +
+- "\"\u00d6stliche Normalzeit " +
+- "(New South Wales)\"");
++ "\"Eastern Normalzeit " +
++ "(Neus\u00fcdwales)\"");
+ tzLocale = locales2Test[2];
+ if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
+ ("Hora est\u00e1ndar Oriental (Nueva Gales del Sur)"))
+@@ -154,53 +154,53 @@
+ "(Nouvelle-Galles du Sud)\"");
+ tzLocale = locales2Test[4];
+ if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
+- ("Ora solare dell'Australia orientale (Nuovo Galles del Sud)"))
++ ("Ora standard dell'Australia orientale (Nuovo Galles del Sud)"))
+ throw new RuntimeException("\n" + tzLocale + ": LONG, " +
+ "non-daylight saving name for " +
+ "Australia/Currie should be " +
+- "\"Ora solare dell'Australia orientale " +
++ "\"Ora standard dell'Australia orientale " +
+ "(Nuovo Galles del Sud)\"");
+ tzLocale = locales2Test[5];
+ if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
+- ("\u6771\u90e8\u6a19\u6e96\u6642 " +
+- "(\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)"))
++ ("\u6771\u90E8\u6A19\u6E96\u6642" +
++ "(\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)"))
+ throw new RuntimeException("\n" + tzLocale + ": LONG, " +
+ "non-daylight saving name for " +
+ "Australia/Currie should be " +
+- "\"\u6771\u90e8\u6a19\u6e96\u6642 " +
+- "(\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9" +
+- "\u30a6\u30a7\u30fc\u30eb\u30ba)\"");
++ "\"\u6771\u90E8\u6A19\u6E96\u6642" +
++ "(\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9" +
++ "\u30A6\u30A7\u30FC\u30EB\u30BA)\"");
+ tzLocale = locales2Test[6];
+ if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
+- ("\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)"))
++ ("\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)"))
+ throw new RuntimeException("\n" + tzLocale + ": LONG, " +
+ "non-daylight saving name for " +
+ "Australia/Currie should be " +
+- "\"\ub3d9\ubd80 \ud45c\uc900\uc2dc" +
+- "(\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)\"");
++ "\"\uB3D9\uBD80 \uD45C\uC900\uC2DC" +
++ "(\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)\"");
+ tzLocale = locales2Test[7];
+ if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
+- ("Eastern, normaltid (Nya Sydwales)"))
++ ("\u00D6stlig standardtid (New South Wales)"))
+ throw new RuntimeException("\n" + tzLocale + ": LONG, " +
+ "non-daylight saving name for " +
+ "Australia/Currie should be " +
+- "\"Eastern, normaltid " +
+- "(Nya Sydwales)\"");
++ "\"\u00D6stlig standardtid " +
++ "(New South Wales)\"");
+ tzLocale = locales2Test[8];
+ if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
+- ("\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u65b0\u5357\u5a01\u5c14\u65af\uff09"))
++ ("\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u65B0\u5357\u5A01\u5C14\u65AF)"))
+ throw new RuntimeException("\n" + tzLocale + ": LONG, " +
+ "non-daylight saving name for " +
+ "Australia/Currie should be " +
+- "\"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4 " +
+- "\uff08\u65b0\u5357\u5a01\u5c14\u65af\uff09\"");
++ "\"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 " +
++ "(\u65B0\u5357\u5A01\u5C14\u65AF)\"");
+ tzLocale = locales2Test[9];
+ if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
+- ("\u6771\u65b9\u6a19\u6e96\u6642\u9593 (\u65b0\u5357\u5a01\u723e\u65af)"))
++ ("\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u65B0\u5357\u5A01\u723E\u65AF)"))
+ throw new RuntimeException("\n" + tzLocale + ": LONG, " +
+ "non-daylight saving name for " +
+ "Australia/Currie should be " +
+- "\"\u6771\u65b9\u6a19\u6e96\u6642\u9593 " +
+- "(\u65b0\u5357\u5a01\u723e\u65af)\"");
++ "\"\u6771\u90E8\u6A19\u6E96\u6642\u9593 " +
++ "(\u65B0\u5357\u5A01\u723E\u65AF)\"");
+ }
+ }
+--- ./langtools/.hgtags Tue Oct 08 09:07:15 2013 -0700
++++ ./langtools/.hgtags Thu Dec 19 09:01:27 2013 -0800
+@@ -359,6 +359,8 @@
+ 765bea9bfcfc8c472df0a2daced5e576095f46ac jdk7u40-b42
+ 988ece7b686564084770e99ca26746c45ffb933f jdk7u40-b43
+ a67dbf96bf86989d0392cc5b66e5d4139cbceec7 jdk7u40-b60
++b2e29b79e54e58349c1dbcf5449f67fc5d5a235a jdk7u40-b61
++94ea3d062a3c28c64a837fa8f999c6b6956ff7c4 jdk7u40-b62
+ 9bbfba4981e1db5016bbfbc23025763966021c26 jdk7u45-b01
+ 61d5b73ae0ac46268490e2f0dfa1f69a5acda73f jdk7u45-b02
+ 2fe27ae865e723473225756f1920d9d76d47b903 jdk7u45-b03
+@@ -377,3 +379,19 @@
+ 18d1864abca976ca68cb71612e9b20c908455d3d jdk7u45-b16
+ b9aeec6b9d5aac0746f8d1764a7740f8b83334ab jdk7u45-b17
+ ba3ff27d4082f2cf0d06e635b2b6e01f80e78589 jdk7u45-b18
++164cf7491ba2f371354ba343a604eee4c61c529d jdk7u45-b30
++7f5cfaedb25c2c2774d6839810d6ae543557ca01 jdk7u45-b31
++18d1864abca976ca68cb71612e9b20c908455d3d jdk7u51-b00
++14d1cf2630aea549cfba9d052200c7ebcabd875c jdk7u51-b01
++f0168ccf171ed6080267fe0a7f7aed0b46bd5713 jdk7u51-b02
++33f986894a3e42686a3a9713efc075a6876dbeb7 jdk7u51-b03
++9a4b7362a592b157cd2b1c2ce15f1bb97d2792f6 jdk7u51-b04
++c8d1379f16ebe38d03581eaa6a8b1ecddfd5fc88 jdk7u51-b05
++1e8c8518497b6c4de56782224da4d27a9367e7ac jdk7u51-b06
++009a4086b2a66e263c006e237505a832fcf99ac8 jdk7u51-b07
++cccd0d52003d26f8652ef1778b3f1857c7d92ea9 jdk7u51-b08
++d8a69a841acd1d6c20e8a064d0c2bd139c50e485 jdk7u51-b09
++7e33fc6adc82176a459e6702ae03a34f789b88ec jdk7u51-b10
++c9d8d8793d9330d592190c334260ccf26c986df6 jdk7u51-b11
++5b44df2114e466da85c3816627bfcd1b59c6499d jdk7u51-b12
++4d0807934c302f2e35e6a5acc6cdc720c82b5671 jdk7u51-b13
+--- ./langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties Tue Oct 08 09:07:15 2013 -0700
++++ ./langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties Thu Dec 19 09:01:27 2013 -0800
+@@ -180,6 +180,6 @@
+ doclet.0_and_1={0}\u3068{1}
+
+ #Documentation for Enums
+-doclet.enum_values_doc=\n\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u542B\u3080\u914D\u5217\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\u8FD4\u3057\u307E\u3059\u3002\n\u3053\u306E\u30E1\u30BD\u30C3\u30C9\u306F\u6B21\u306E\u3088\u3046\u306B\u3057\u3066\u5B9A\u6570\u3092\u53CD\u5FA9\u3059\u308B\u305F\u3081\u306B\n\u4F7F\u7528\u3067\u304D\u307E\u3059:\n<pre>\nfor({0} c: {0}.values())\n&nbsp; System.out.println(c);\n</pre>\n@return\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\n\u542B\u3080\u914D\u5217
++doclet.enum_values_doc=\n\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u542B\u3080\u914D\u5217\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\u8FD4\u3057\u307E\u3059\u3002\n\u3053\u306E\u30E1\u30BD\u30C3\u30C9\u306F\u6B21\u306E\u3088\u3046\u306B\u3057\u3066\u5B9A\u6570\u3092\u53CD\u5FA9\u3059\u308B\u305F\u3081\u306B\n\u4F7F\u7528\u3067\u304D\u307E\u3059:\n<pre>\nfor({0} c: {0}.values())\n&nbsp; System.out.println(c);\n</pre>\n@return \u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\n\u542B\u3080\u914D\u5217
+
+-doclet.enum_valueof_doc=\n\u6307\u5B9A\u3057\u305F\u540D\u524D\u3092\u6301\u3064\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u8FD4\u3057\u307E\u3059\u3002\n\u6587\u5B57\u5217\u306F\u3001\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u5BA3\u8A00\u3059\u308B\u306E\u306B\u4F7F\u7528\u3057\u305F\u8B58\u5225\u5B50\u3068<i>\u6B63\u78BA\u306B</i>\n\u4E00\u81F4\u3057\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n(\u4F59\u5206\u306A\u7A7A\u767D\u6587\u5B57\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002)\n\n@param name\u8FD4\u3055\u308C\u308B\u5217\u6319\u578B\u5B9A\u6570\u306E\u540D\u524D\n@return\u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5217\u6319\u578B\u5B9A\u6570\n@throws IllegalArgumentException\u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5B9A\u6570\u3092\n\u3053\u306E\u5217\u6319\u578B\u304C\u6301\u3063\u3066\u3044\u306A\u3044\u5834\u5408\n@throws NullPointerException\u5F15\u6570\u304Cnull\u306E\u5834\u5408
++doclet.enum_valueof_doc=\n\u6307\u5B9A\u3057\u305F\u540D\u524D\u3092\u6301\u3064\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u8FD4\u3057\u307E\u3059\u3002\n\u6587\u5B57\u5217\u306F\u3001\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u5BA3\u8A00\u3059\u308B\u306E\u306B\u4F7F\u7528\u3057\u305F\u8B58\u5225\u5B50\u3068<i>\u6B63\u78BA\u306B</i>\n\u4E00\u81F4\u3057\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n(\u4F59\u5206\u306A\u7A7A\u767D\u6587\u5B57\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002)\n\n@param name \u8FD4\u3055\u308C\u308B\u5217\u6319\u578B\u5B9A\u6570\u306E\u540D\u524D\n@return \u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5217\u6319\u578B\u5B9A\u6570\n@throws IllegalArgumentException \u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5B9A\u6570\u3092\n\u3053\u306E\u5217\u6319\u578B\u304C\u6301\u3063\u3066\u3044\u306A\u3044\u5834\u5408\n@throws NullPointerException \u5F15\u6570\u304Cnull\u306E\u5834\u5408
+--- ./langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties Tue Oct 08 09:07:15 2013 -0700
++++ ./langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties Thu Dec 19 09:01:27 2013 -0800
+@@ -182,4 +182,4 @@
+ #Documentation for Enums
+ doclet.enum_values_doc=\n\u6309\u7167\u58F0\u660E\u8BE5\u679A\u4E3E\u7C7B\u578B\u7684\u5E38\u91CF\u7684\u987A\u5E8F, \u8FD4\u56DE\n\u5305\u542B\u8FD9\u4E9B\u5E38\u91CF\u7684\u6570\u7EC4\u3002\u8BE5\u65B9\u6CD5\u53EF\u7528\u4E8E\u8FED\u4EE3\n\u5E38\u91CF, \u5982\u4E0B\u6240\u793A:\n<pre>\nfor ({0} c : {0}.values())\n&nbsp; System.out.println(c);\n</pre>\n@return \u6309\u7167\u58F0\u660E\u8BE5\u679A\u4E3E\u7C7B\u578B\u7684\u5E38\u91CF\u7684\u987A\u5E8F, \u8FD4\u56DE\n\u5305\u542B\u8FD9\u4E9B\u5E38\u91CF\u7684\u6570\u7EC4
+
+-doclet.enum_valueof_doc=\n\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u3002\n\u5B57\u7B26\u4E32\u5FC5\u987B\u4E0E\u7528\u4E8E\u58F0\u660E\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u7684\n\u6807\u8BC6\u7B26<i>\u5B8C\u5168</i>\u5339\u914D\u3002(\u4E0D\u5141\u8BB8\u6709\u591A\u4F59\n\u7684\u7A7A\u683C\u5B57\u7B26\u3002)\n\n@param name \u8981\u8FD4\u56DE\u7684\u679A\u4E3E\u5E38\u91CF\u7684\u540D\u79F0\u3002\n@return \u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u679A\u4E3E\u5E38\u91CF\n@throws \u5982\u679C\u8BE5\u679A\u4E3E\u7C7B\u578B\u6CA1\u6709\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u5E38\u91CF, \n\u5219\u629B\u51FA IllegalArgumentException\n@throws \u5982\u679C\u53C2\u6570\u4E3A\u7A7A\u503C, \u5219\u629B\u51FA NullPointerException
++doclet.enum_valueof_doc=\n\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u3002\n\u5B57\u7B26\u4E32\u5FC5\u987B\u4E0E\u7528\u4E8E\u58F0\u660E\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u7684\n\u6807\u8BC6\u7B26<i>\u5B8C\u5168</i>\u5339\u914D\u3002(\u4E0D\u5141\u8BB8\u6709\u591A\u4F59\n\u7684\u7A7A\u683C\u5B57\u7B26\u3002)\n\n@param name \u8981\u8FD4\u56DE\u7684\u679A\u4E3E\u5E38\u91CF\u7684\u540D\u79F0\u3002\n@return \u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u679A\u4E3E\u5E38\u91CF\n@throws IllegalArgumentException \u5982\u679C\u8BE5\u679A\u4E3E\u7C7B\u578B\u6CA1\u6709\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u5E38\u91CF, \n\u5219\u629B\u51FA IllegalArgumentException\n@throws NullPointerException \u5982\u679C\u53C2\u6570\u4E3A\u7A7A\u503C, \u5219\u629B\u51FA NullPointerException
+--- ./langtools/src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties Tue Oct 08 09:07:15 2013 -0700
++++ ./langtools/src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties Thu Dec 19 09:01:27 2013 -0800
+@@ -555,19 +555,19 @@
+ # 0: name
+ compiler.err.undef.label=\u30E9\u30D9\u30EB{0}\u306F\u672A\u5B9A\u7FA9\u3067\u3059
+
+-compiler.err.undetermined.type={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u5B9A\u3067\u304D\u307E\u305B\u3093
++compiler.err.undetermined.type={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u8AD6\u3067\u304D\u307E\u305B\u3093
+
+ # 0: type, 1: message segment
+-compiler.err.undetermined.type.1={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002\n\u7406\u7531: {1}
++compiler.err.undetermined.type.1={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u8AD6\u3067\u304D\u307E\u305B\u3093\u3002\n\u7406\u7531: {1}
+
+ # 0: list of type, 1: message segment
+-compiler.err.invalid.inferred.types={0}\u306E\u63A8\u5B9A\u578B\u304C\u7121\u52B9\u3067\u3059\u3002{1}
++compiler.err.invalid.inferred.types={0}\u306E\u63A8\u8AD6\u578B\u304C\u7121\u52B9\u3067\u3059\u3002{1}
+
+ # 0: message segment, 1: unused
+ compiler.err.cant.apply.diamond={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u8AD6\u3067\u304D\u307E\u305B\u3093
+
+ # 0: message segment, 1: message segment
+-compiler.err.cant.apply.diamond.1={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002\n\u7406\u7531: {1}
++compiler.err.cant.apply.diamond.1={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u8AD6\u3067\u304D\u307E\u305B\u3093\u3002\n\u7406\u7531: {1}
+
+ compiler.err.unreachable.stmt=\u3053\u306E\u6587\u306B\u5236\u5FA1\u304C\u79FB\u308B\u3053\u3068\u306F\u3042\u308A\u307E\u305B\u3093
+
+@@ -1165,7 +1165,7 @@
+ compiler.misc.infer.arg.length.mismatch=\u5B9F\u5F15\u6570\u30EA\u30B9\u30C8\u3068\u4EEE\u5F15\u6570\u30EA\u30B9\u30C8\u306E\u9577\u3055\u304C\u7570\u306A\u308B\u305F\u3081\u3001\u5F15\u6570\u304B\u3089\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093
+
+ # 0: type, 1: list of type
+-compiler.misc.inferred.do.not.conform.to.bounds=\u63A8\u5B9A\u578B\u306F\u5BA3\u8A00\u3055\u308C\u305F\u5883\u754C\u306B\u9069\u5408\u3057\u307E\u305B\u3093\n\u63A8\u5B9A: {0}\n\u5883\u754C: {1}
++compiler.misc.inferred.do.not.conform.to.bounds=\u63A8\u8AD6\u578B\u306F\u5BA3\u8A00\u3055\u308C\u305F\u5883\u754C\u306B\u9069\u5408\u3057\u307E\u305B\u3093\n\u63A8\u8AD6: {0}\n\u5883\u754C: {1}
+
+ # 0: symbol
+ compiler.misc.diamond={0}<>
+--- ./langtools/src/share/classes/com/sun/tools/javah/resources/l10n_ja.properties Tue Oct 08 09:07:15 2013 -0700
++++ ./langtools/src/share/classes/com/sun/tools/javah/resources/l10n_ja.properties Thu Dec 19 09:01:27 2013 -0800
+@@ -90,7 +90,7 @@
+ err.prefix=\u30A8\u30E9\u30FC:
+ err.cant.use.option.for.fm=\u6307\u5B9A\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u30FB\u30DE\u30CD\u30FC\u30B8\u30E3\u3067{0}\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093
+ err.internal.error=\u5185\u90E8\u30A8\u30E9\u30FC: {0}
+-err.ioerror=\u5165\u51FA\u529B\u30A8\u30E9\u30FC: {0}
++err.ioerror=IO\u30A8\u30E9\u30FC: {0}
+ err.missing.arg={0}\u306E\u5024\u304C\u3042\u308A\u307E\u305B\u3093
+ err.no.classes.specified=\u30AF\u30E9\u30B9\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093
+ err.unknown.option=\u4E0D\u660E\u306A\u30AA\u30D7\u30B7\u30E7\u30F3: {0}