summaryrefslogtreecommitdiff
path: root/gnu/java/security
Commit message (Collapse)AuthorAgeFilesLines
...
* 2004-11-07 Casey Marshall <csm@gnu.org>Casey Marshall2004-11-071-1/+1
| | | | | | * gnu/java/security/x509/X509CertPath.java (parse): fixed reference to 'X509CertificateImpl' from previous checkin.
* 2004-11-07 Casey Marshall <csm@gnu.org>Casey Marshall2004-11-077-23/+951
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed JAR file support. * java/net/URLClassLoader.java (JarURLResource.getCertificates): re-read jar entry to ensure certificates are picked up. (findClass): fill in class `signers' field, too. * java/util/jar/JarFile.java (META_INF): new constant. (PKCS7_DSA_SUFFIX): new constant. (PKCS7_RSA_SUFFIX): new constant. (DIGEST_KEY_SUFFIX): new constant. (SF_SUFFIX): new constant. (MD2_OID): new constant. (MD4_OID): new constant. (MD5_OID): new constant. (SHA1_OID): new constant. (DSA_ENCRYPTION_OID): new constant. (RSA_ENCRYPTION_OID): new constant. (signaturesRead): new field. (verified): new field. (entryCerts): new field. (DEBUG): new constant. (debug): new method. (JarEnumeration.nextElement): fill in entry certificates, read signatures if they haven't been read. (getEntry): likewise. (getInputStream): verify stream if it hasn't been verified yet. (readSignatures): new method. (verify): new method. (verifyHashes): new method. (readManifestEntry): new method. (EntryInputStream): new class. * java/util/zip/InflaterInputStream.java Don't defer to underlying stream for mark/reset. (markSupported): new method; return `false'. (mark): new method. (reset): new method. * gnu/java/io/Base64InputStream.java (decode): new class method. * gnu/java/security/der/DERReader.java don't make class final. (in): made protected. (encBuf): likewise. (readLength): likewise. * gnu/java/security/ber/BER.java, * gnu/java/security/ber/BEREncodingException.java, * gnu/java/security/ber/BERReader.java, * gnu/java/security/ber/BERValue.java, * gnu/java/security/pkcs/PKCS7SignedData.java, * gnu/java/security/pkcs/SignerInfo.java: new files.
* 2004-11-07 Casey Marshall <csm@gnu.org>Casey Marshall2004-11-071-0/+2
| | | | | * gnu/java/security/x509/X509CRL.java Missed import statements in previous checkin.
* 2004-11-07 Casey Marshall <csm@gnu.org>Casey Marshall2004-11-0739-1098/+6247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/security/provider/Gnu.java (<init>): add entries in a priviliged action. Add new algorithms. * gnu/java/security/provider/X509CertificateFactory.java (engineGenerateCertificate): chain exceptions. (engineGenerateCertificates): likewise. (engineGenerateCRL): likewise. (engineGenerateCRLs): likewise. (engineGenerateCertPath): new methods. (generateCert): throw exception if 'inStream' is null. (generateCRL): likewise. * gnu/java/security/x509/X500DistinguishedName.java: replaced with version from GNU Crypto CVS. * gnu/java/security/x509/X509CRL.java: likewise. * gnu/java/security/x509/X509CRLEntry.java: likewise. * gnu/java/security/x509/X509Certificate.java: likewise. * java/security/cert/TrustAnchor.java: call 'toString' and not toRFC2253. * gnu/java/security/provider/CollectionCertStoreImpl.java, * gnu/java/security/provider/EncodedKeyFactory.java, * gnu/java/security/provider/GnuDHPublicKey.java, * gnu/java/security/provider/GnuRSAPrivateKey.java, * gnu/java/security/provider/GnuRSAPublicKey.java, * gnu/java/security/provider/MD2withRSA.java, * gnu/java/security/provider/MD4withRSA.java, * gnu/java/security/provider/MD5withRSA.java, * gnu/java/security/provider/PKIXCertPathValidatorImpl.java, * gnu/java/security/provider/RSA.java, * gnu/java/security/provider/RSAKeyFactory.java, * gnu/java/security/provider/SHA1withRSA.java, * gnu/java/security/x509/GnuPKIExtension.java, * gnu/java/security/x509/PolicyNodeImpl.java, * gnu/java/security/x509/Util.java, * gnu/java/security/x509/X509CRLSelectorImpl.java, * gnu/java/security/x509/X509CertPath.java, * gnu/java/security/x509/X509CertSelectorImpl.java, * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java, * gnu/java/security/x509/ext/BasicConstraints.java, * gnu/java/security/x509/ext/CRLNumber.java, * gnu/java/security/x509/ext/CertificatePolicies.java, * gnu/java/security/x509/ext/ExtendedKeyUsage.java, * gnu/java/security/x509/ext/Extension.java, * gnu/java/security/x509/ext/GeneralNames.java, * gnu/java/security/x509/ext/IssuerAlternativeNames.java, * gnu/java/security/x509/ext/KeyUsage.java, * gnu/java/security/x509/ext/PolicyConstraint.java, * gnu/java/security/x509/ext/PolicyMappings.java, * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java, * gnu/java/security/x509/ext/ReasonCode.java, * gnu/java/security/x509/ext/SubjectAlternativeNames.java, * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: new files.
* * gnu/java/rmi/server/UnicastConnectionManager.java (clients): NowTom Tromey2004-11-061-1/+2
| | | | | | | | | | | | | package-private. (connections): Likewise. (scavenger): Likewise. * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now package-private. * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now package-private. (ptr): Likewise. * gnu/java/security/PolicyFile.java (debug): Now package-private. * gnu/classpath/ServiceFactory.java (log): Now package-private.
* 2004-10-24 Casey Marshall <csm@gnu.org>Casey Marshall2004-10-251-0/+76
| | | | * gnu/java/security/action/GetSecurityPropertyAction.java: new file.
* 2004-10-18 Michael Koch <konqueror@gmx.de>Michael Koch2004-10-181-1/+1
| | | | | * gnu/java/security/provider/DSAParameters.java: Fixed copyright years.
* 2004-10-13 Michael Koch <konqueror@gmx.de>Michael Koch2004-10-135-65/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/BitwiseXORComposite.java, gnu/java/awt/ClasspathToolkit.java, gnu/java/awt/image/XBMDecoder.java, gnu/java/awt/peer/GLightweightPeer.java, gnu/java/awt/peer/gtk/GdkGlyphVector.java, gnu/java/io/EncodingManager.java, gnu/java/net/PlainDatagramSocketImpl.java, gnu/java/net/protocol/http/Connection.java, gnu/java/nio/NIODatagramSocket.java, gnu/java/nio/ServerSocketChannelImpl.java, gnu/java/nio/charset/UTF_16.java, gnu/java/nio/charset/UTF_16BE.java, gnu/java/nio/charset/UTF_16LE.java, gnu/java/rmi/RMIMarshalledObjectOutputStream.java, gnu/java/rmi/rmic/RMIC.java, gnu/java/rmi/server/RMIHashes.java, gnu/java/rmi/server/RMIObjectInputStream.java, gnu/java/rmi/server/RMIObjectOutputStream.java, gnu/java/rmi/server/UnicastConnection.java, gnu/java/rmi/server/UnicastConnectionManager.java, gnu/java/rmi/server/UnicastRemoteCall.java, gnu/java/rmi/server/UnicastServer.java, gnu/java/rmi/server/UnicastServerRef.java, gnu/java/security/OID.java, gnu/java/security/provider/DSAParameters.java, gnu/java/security/provider/DSASignature.java, gnu/java/security/x509/X500DistinguishedName.java, gnu/java/security/x509/X509CRL.java, gnu/javax/rmi/CORBA/DelegateFactory.java, gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, gnu/javax/rmi/CORBA/StubDelegateImpl.java, gnu/javax/rmi/PortableServer.java: Reorganized import statements.
* Bug 9946.Tom Tromey2004-08-171-5/+5
| | | | | * gnu/java/security/util/Prime.java (generateRandomPrime): Use return result from `add'.
* 2004-08-14 Casey Marshall <csm@gnu.org>Casey Marshall2004-08-147-69/+152
| | | | | | | | | | | | | | | | | | | | Author e-mail updated for all files. * gnu/java/security/OID.java (equals): test if the aurgment is an instance of OID. (compareTo): use `equals'. * gnu/java/security/der/BitString.java (equals): test if the argument is an instance of BitString. * gnu/java/security/der/DERReader.java: Removed NIO imports. Made class final. Made fields private. (<init>): new constructor. (skip): new method. (makeString): made static; don't use NIO. (fromIso88591, fromUtf16Be, fromUtf8): new methods. * gnu/java/security/der/DERWriter.java: fixed imports. (writeString): don't use NIO. (toIso88591, toUtf16Be, toUtf8): new methods. * gnu/java/security/der/DERValue.java: formatting changes only. * gnu/java/security/der/DER.java: likewise.
* 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>Bryce McKinlay2004-07-282-7/+21
| | | | | | | | | | * gnu/java/security/action/GetPropertyAction.java (setParameters): Renamed from 'setName'. New 2-argument form with default value. (run): Pass default 'value' parameter to System.getProperty(). * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc typos. * gnu/java/net/protocol/http/Connection.java: Use 'setParameters' not 'setName'.
* 2004-07-28 Michael Koch <konqueror@gmx.de>Michael Koch2004-07-2811-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (SUBIDRS): Removed gnu, java, javax and vm. * configure.ac (AC_CONFIG_FILES): Removed all now unused Makefiles. * lib/Makefile.am (dist-hook): New target to put all files in the gnu, java, javax and vm directories into the dist tarball. * lib/gen-classlist.sh.in: Don't search for class files in ${top_builddir}/java and ${top_builddir}/javax. There are none. * gnu/classpath/.cvsignore, gnu/classpath/Makefile.am, gnu/.cvsignore, gnu/java/awt/.cvsignore, gnu/java/awt/image/.cvsignore, gnu/java/awt/image/Makefile.am, gnu/java/awt/Makefile.am, gnu/java/awt/peer/.cvsignore, gnu/java/awt/peer/gtk/.cvsignore, gnu/java/awt/peer/gtk/Makefile.am, gnu/java/awt/peer/Makefile.am, gnu/java/beans/.cvsignore, gnu/java/beans/editors/.cvsignore, gnu/java/beans/editors/Makefile.am, gnu/java/beans/info/.cvsignore, gnu/java/beans/info/Makefile.am, gnu/java/beans/Makefile.am, gnu/java/.cvsignore, gnu/java/io/.cvsignore, gnu/java/io/decode/.cvsignore, gnu/java/io/decode/Makefile.am, gnu/java/io/encode/.cvsignore, gnu/java/io/encode/Makefile.am, gnu/java/io/Makefile.am, gnu/java/lang/.cvsignore, gnu/java/lang/Makefile.am, gnu/java/lang/reflect/.cvsignore, gnu/java/lang/reflect/Makefile.am, gnu/java/locale/.cvsignore, gnu/java/locale/Makefile.am, gnu/java/Makefile.am, gnu/java/math/.cvsignore, gnu/java/math/Makefile.am, gnu/java/net/content/.cvsignore, gnu/java/net/content/Makefile.am, gnu/java/net/content/text/.cvsignore, gnu/java/net/content/text/Makefile.am, gnu/java/net/.cvsignore, gnu/java/net/Makefile.am, gnu/java/net/protocol/.cvsignore, gnu/java/net/protocol/file/.cvsignore, gnu/java/net/protocol/file/Makefile.am, gnu/java/net/protocol/http/.cvsignore, gnu/java/net/protocol/http/Makefile.am, gnu/java/net/protocol/jar/.cvsignore, gnu/java/net/protocol/jar/Makefile.am, gnu/java/net/protocol/Makefile.am, gnu/java/nio/channels/.cvsignore, gnu/java/nio/channels/Makefile.am, gnu/java/nio/charset/.cvsignore, gnu/java/nio/charset/Makefile.am, gnu/java/nio/.cvsignore, gnu/java/nio/Makefile.am, gnu/java/rmi/.cvsignore, gnu/java/rmi/dgc/.cvsignore, gnu/java/rmi/dgc/Makefile.am, gnu/java/rmi/Makefile.am, gnu/java/rmi/registry/.cvsignore, gnu/java/rmi/registry/Makefile.am, gnu/java/rmi/rmic/.cvsignore, gnu/java/rmi/rmic/Makefile.am, gnu/java/rmi/server/.cvsignore, gnu/java/rmi/server/Makefile.am, gnu/java/security/action/Makefile.am, gnu/java/security/.cvsignore, gnu/java/security/der/.cvsignore, gnu/java/security/der/Makefile.am, gnu/java/security/Makefile.am, gnu/java/security/provider/.cvsignore, gnu/java/security/provider/Makefile.am, gnu/java/security/util/.cvsignore, gnu/java/security/util/Makefile.am, gnu/java/security/x509/.cvsignore, gnu/java/security/x509/Makefile.am, gnu/java/text/.cvsignore, gnu/java/text/Makefile.am, gnu/java/util/.cvsignore, gnu/java/util/Makefile.am, gnu/java/util/prefs/.cvsignore, gnu/java/util/prefs/Makefile.am, gnu/javax/.cvsignore, gnu/javax/Makefile.am, gnu/javax/rmi/CORBA/.cvsignore, gnu/javax/rmi/CORBA/Makefile.am, gnu/javax/rmi/.cvsignore, gnu/javax/rmi/Makefile.am, gnu/Makefile.am, gnu/regexp/.cvsignore, gnu/regexp/Makefile.am, java/applet/.cvsignore, java/applet/Makefile.am, java/awt/color/.cvsignore, java/awt/color/Makefile.am, java/awt/.cvsignore, java/awt/datatransfer/.cvsignore, java/awt/datatransfer/Makefile.am, java/awt/dnd/.cvsignore, java/awt/dnd/Makefile.am, java/awt/dnd/peer/.cvsignore, java/awt/dnd/peer/Makefile.am, java/awt/event/.cvsignore, java/awt/event/Makefile.am, java/awt/font/.cvsignore, java/awt/font/Makefile.am, java/awt/geom/.cvsignore, java/awt/geom/Makefile.am, java/awt/image/.cvsignore, java/awt/image/Makefile.am, java/awt/image/renderable/.cvsignore, java/awt/image/renderable/Makefile.am, java/awt/im/.cvsignore, java/awt/im/Makefile.am, java/awt/im/spi/.cvsignore, java/awt/im/spi/Makefile.am, java/awt/Makefile.am, java/awt/peer/.cvsignore, java/awt/peer/Makefile.am, java/awt/print/.cvsignore, java/awt/print/Makefile.am, java/beans/beancontext/.cvsignore, java/beans/beancontext/Makefile.am, java/beans/.cvsignore, java/beans/Makefile.am, java/.cvsignore, java/io/.cvsignore, java/io/Makefile.am, java/lang/.cvsignore, java/lang/Makefile.am, java/lang/ref/.cvsignore, java/lang/reflect/.cvsignore, java/lang/reflect/Makefile.am, java/lang/ref/Makefile.am, java/Makefile.am, java/math/.cvsignore, java/math/Makefile.am, java/net/.cvsignore, java/net/Makefile.am, java/nio/channels/.cvsignore, java/nio/channels/Makefile.am, java/nio/channels/spi/.cvsignore, java/nio/channels/spi/Makefile.am, java/nio/charset/.cvsignore, java/nio/charset/Makefile.am, java/nio/charset/spi/.cvsignore, java/nio/charset/spi/Makefile.am, java/nio/.cvsignore, java/nio/Makefile.am, java/rmi/activation/.cvsignore, java/rmi/activation/Makefile.am, java/rmi/.cvsignore, java/rmi/dgc/.cvsignore, java/rmi/dgc/Makefile.am, java/rmi/Makefile.am, java/rmi/registry/.cvsignore, java/rmi/registry/Makefile.am, java/rmi/server/.cvsignore, java/rmi/server/Makefile.am, java/security/acl/.cvsignore, java/security/acl/Makefile.am, java/security/cert/.cvsignore, java/security/cert/Makefile.am, java/security/.cvsignore, java/security/interfaces/.cvsignore, java/security/interfaces/Makefile.am, java/security/Makefile.am, java/security/spec/.cvsignore, java/security/spec/Makefile.am, java/sql/.cvsignore, java/sql/Makefile.am, java/text/.cvsignore, java/text/Makefile.am, java/util/.cvsignore, java/util/jar/.cvsignore, java/util/jar/Makefile.am, java/util/logging/.cvsignore, java/util/logging/Makefile.am, java/util/Makefile.am, java/util/prefs/.cvsignore, java/util/prefs/Makefile.am, java/util/regex/.cvsignore, java/util/regex/Makefile.am, java/util/zip/.cvsignore, java/util/zip/Makefile.am, javax/accessibility/.cvsignore, javax/accessibility/Makefile.am, javax/.cvsignore, javax/imageio/.cvsignore, javax/imageio/event/.cvsignore, javax/imageio/event/Makefile.am, javax/imageio/Makefile.am, javax/imageio/spi/.cvsignore, javax/imageio/spi/Makefile.am, javax/imageio/stream/.cvsignore, javax/imageio/stream/Makefile.am, javax/Makefile.am, javax/naming/.cvsignore, javax/naming/directory/.cvsignore, javax/naming/directory/Makefile.am, javax/naming/event/.cvsignore, javax/naming/event/Makefile.am, javax/naming/ldap/.cvsignore, javax/naming/ldap/Makefile.am, javax/naming/Makefile.am, javax/naming/spi/.cvsignore, javax/naming/spi/Makefile.am, javax/print/attribute/.cvsignore, javax/print/attribute/Makefile.am, javax/print/attribute/standard/Makefile.am, javax/print/.cvsignore, javax/print/event/.cvsignore, javax/print/event/Makefile.am, javax/print/Makefile.am, javax/rmi/CORBA/.cvsignore, javax/rmi/CORBA/Makefile.am, javax/rmi/.cvsignore, javax/rmi/Makefile.am, javax/security/auth/.cvsignore, javax/security/auth/Makefile.am, javax/security/auth/x500/.cvsignore, javax/security/auth/x500/Makefile.am, javax/security/.cvsignore, javax/security/Makefile.am, javax/sql/.cvsignore, javax/sql/Makefile.am, javax/swing/border/.cvsignore, javax/swing/border/Makefile.am, javax/swing/colorchooser/.cvsignore, javax/swing/colorchooser/Makefile.am, javax/swing/.cvsignore, javax/swing/event/.cvsignore, javax/swing/event/Makefile.am, javax/swing/filechooser/.cvsignore, javax/swing/filechooser/Makefile.am, javax/swing/Makefile.am, javax/swing/plaf/basic/.cvsignore, javax/swing/plaf/basic/Makefile.am, javax/swing/plaf/.cvsignore, javax/swing/plaf/Makefile.am, javax/swing/plaf/metal/.cvsignore, javax/swing/plaf/metal/Makefile.am, javax/swing/table/.cvsignore, javax/swing/table/Makefile.am, javax/swing/text/.cvsignore, javax/swing/text/html/.cvsignore, javax/swing/text/html/Makefile.am, javax/swing/text/html/parser/.cvsignore, javax/swing/text/html/parser/Makefile.am, javax/swing/text/Makefile.am, javax/swing/tree/.cvsignore, javax/swing/tree/Makefile.am, javax/swing/undo/.cvsignore, javax/swing/undo/Makefile.am, javax/transaction/.cvsignore, javax/transaction/Makefile.am, javax/transaction/xa/.cvsignore, javax/transaction/xa/Makefile.am, vm/reference/gnu/.cvsignore, vm/reference/gnu/java/.cvsignore, vm/reference/gnu/java/Makefile.am, vm/reference/gnu/java/nio/.cvsignore, vm/reference/gnu/java/nio/Makefile.am, vm/reference/gnu/Makefile.am, vm/reference/java/.cvsignore, vm/reference/java/io/.cvsignore, vm/reference/java/io/Makefile.am, vm/reference/java/lang/.cvsignore, vm/reference/java/lang/Makefile.am, vm/reference/java/lang/reflect/.cvsignore, vm/reference/java/lang/reflect/Makefile.am, vm/reference/java/Makefile.am, vm/reference/java/security/.cvsignore, vm/reference/java/security/Makefile.am: Removed.
* 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>Bryce McKinlay2004-07-234-1/+158
| | | | | | | | | | | | | | | | | | | | | * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction for privileged getProperty calls. * java/io/ObjectOutputStream.java (getField): No longer static. Use SetAccessibleAction instead of anonymous class for doPrivileged call. (getMethod): Likewise. (setAccessible): New field. PrivilegedAction object to use when calling setAccessible. * java/io/ObjectStreamClass.java (calculateOffsets): Use SetAccessibleAction instead of anonymous class for diPrivileged call. (setFields): Likewise. (getClassUID): Likewise. (findMethod): Likewise. * gnu/java/security/action/GetPropertyAction.java: New class. * gnu/java/security/action/SetAccessibleAction.java: New class. * gnu/java/security/action/Makefile.am: New file. * gnu/java/security/Makefile.am: Updated.
* 2004-06-03 Casey Marshall <csm@gnu.org>Michael Koch2004-06-032-1/+667
| | | | | | | | | | | | | | | | | | | | | | | | * java/security/AccessController.java (doPrivileged(PrivilegedAction,AccessControlContext)): call VMAccessController.pushContext and popContext. (doPrivileged(PrivilegedExceptionAction,AccessControlContext)): likewise. (getContext): call VMAccessController.getContext. * java/security/Makefile.am (EXTRA_DIST): add IntersectingDomainCombiner.java. * gnu/java/security/Makefile.am (EXTRA_DIST): add PolicyFile.java * vm/reference/java/Makefile.am (SUBDIRS): add security. * java/security/IntersectingDomainCombiner.java: new file. * gnu/java/security/PolicyFile.java: new file. * vm/reference/java/security/VMAccessController.java: new file. * vm/reference/java/security/Makefile.am: new file 2004-06-03 Michael Koch <konqerorq@gmx.de> * configure.ac: Added vm/runtime/java/security/Makefile to output files.
* * gnu/java/awt/BitwiseXORComposite.javaMark Wielaard2004-04-291-1/+0
| | | | | | | | | | | (compose(Raster, Raster, WritableRaster)): Removed unused variable transferType. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and vScrollbarWidth. (preferredSize): Likewise. * gnu/java/security/provider/DSAParameters.java (engineToString): Removed unused call to System.getProperty("line.seperator"); * java/security/Security.java (loadProviders): Return result.
* * java/net/URLStreamHandler.java (toExternalForm): RemovedTom Tromey2004-04-232-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unused variables. * java/net/URLConnection.java: Removed unused imports. * java/net/URLClassLoader.java (URLClassLoader): Removed unused constructor. * java/math/BigDecimal.java (divide): Removed unused variable. * java/lang/Throwable.java: Cleaned up imports. * java/lang/String.java: Cleaned up imports. * java/lang/ClassLoader.java: Cleaned up imports. * java/io/FilePermission.java (implies): Removed unused variable. * java/awt/TextComponent.java: Removed unused import. * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. * gnu/java/util/DoubleEnumeration.java: Removed unused import. * gnu/java/text/WordBreakIterator.java: Removed unused import. * gnu/java/text/SentenceBreakIterator.java: Removed unused import. * gnu/java/text/LineBreakIterator.java: Removed unused import. * gnu/java/text/CharacterBreakIterator.java: Removed unused import. * gnu/java/security/provider/DSAKeyPairGenerator.java: Cleaned up imports. * gnu/java/security/der/DERWriter.java: Cleaned up imports. * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed unused method. * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. * gnu/java/nio/FileLockImpl.java: Cleaned up imports. * gnu/java/io/Base64InputStream.java: Cleaned up imports. * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. * gnu/classpath/ServiceFactory.java: Cleaned up imports. (lookupProviders): Removed unused variable. (loadNextServiceProvider): Likewise. * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
* * gnu/java/security/der/DERReader.java: Call static methods staticly.Mark Wielaard2004-04-231-4/+4
| | | | | | | | | | | | | | | | | * java/awt/TextComponent.java (select): Use selectionEnd parameter. * java/lang/System.java (runFinalizersOnExit): Call static Runtime.runFinalizersOnExit staticly. * java/net/URL.java (set(String, String, int, String, String, String, String, String)): Assign this.file to path or path + "?" + query. * java/text/RuleBasedCollator.java: Call static methods staticly.A * java/util/Arrays.java: Likewise. * java/util/zip/ZipEntry.java: Likewise. * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign dir to this.direction. * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): Assign static field only once. (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
* 2003-10-13 Michael Koch <konqueror@gmx.de>Michael Koch2003-10-131-42/+38
| | | | | | | | | | | | | | | * gnu/java/rmi/server/ProtocolConstants.java, gnu/java/security/der/DER.java, java/net/URLStreamHandlerFactory.java, java/rmi/activation/ActivationInstantiator.java, java/rmi/activation/ActivationMonitor.java, java/rmi/activation/ActivationSystem.java, java/rmi/activation/Activator.java: Removed redundant modifiers. * java/sql/DatabaseMetaData.java, java/sql/ParameterMetaData.java, java/sql/PreparedStatement.java: Readded accidently removed modifiers.
* * gnu/java/security/x509/Makefile.am (EXTRA_DIST): Corrected spellingMark Wielaard2003-08-101-1/+1
| | | | | | | | | | of X500DistingushedName.java to X500DistinguishedName.java. * java/nio/Makefile.am (EXTRA_DIST): Changed CharViewBuffer.java, DoubleViewBuffer.java, FloatViewBuffer.java, IntViewBuffer.java, LongViewBuffer.java and ShortViewBuffer.java to CharViewBufferImpl.java, DoubleViewBufferImpl.java, FloatViewBufferImpl.java, IntViewBufferImpl.java, LongViewBufferImpl.java and ShortViewBufferImpl.java.
* 2003-06-18 Michael Koch <konqueror@gmx.de>Michael Koch2003-06-181-2/+5
| | | | | * gnu/java/security/x509/X509Certificate.java: Explicitely import used classes.
* 2003-04-30 Michael Koch <konqueror@gmx.de>Michael Koch2003-04-302-3/+5
| | | | | | | * gnu/java/security/der/DEREncodingException.java: Explicitly import java.io.IOException. * gnu/java/security/x509/X509Certificate.java: Explicitly import java.io.Serializable.
* 2003-04-29 Michael Koch <konqueror@gmx.de>Michael Koch2003-04-291-0/+2
| | | | | | | | | | * gnu/java/security/x509/.cvsignore, javax/print/.cvsignore, javax/print/attribute/.cvsignore, javax/security/.cvsignore, javax/security/auth/.cvsignore, javax/security/auth/x500/.cvsignore: New files to ignore Makefile and Makefile.in
* Added new files, directories.Casey Marshall2003-04-231-1/+6
|
* X.509 certificates and CRL support.Casey Marshall2003-04-235-0/+2163
|
* OBJECT IDENTIFIER class.Casey Marshall2003-04-231-0/+511
|
* gnu/java/security/provider/DSAParameters.java: use new DER parser.Casey Marshall2003-04-238-37/+507
| | | | | | | | | | | | | Variable assignment bugfix. gnu/java/security/provider/DSASignature.java: use new DER parser. gnu/java/security/provider/Gnu.java: added new certificate and key factories. gnu/java/security/provider/GnuDSAPrivateKey.java: added toString(). gnu/java/security/provider/GnuDSAPublicKey.java: variable assignment bugfix gnu/java/security/provider/DSAKeyFactory.java: DSA key trasnlator. gnu/java/security/provider/X509CertificateFactory.java: X.509 certificate and CRL factory.
* New files added.Casey Marshall2003-04-231-1/+6
|
* Extend IOException instead of Exception.Casey Marshall2003-04-231-2/+2
|
* DER reader/writer helperCasey Marshall2003-04-233-0/+575
|
* Replacement for gnu/java/security/provider/DERWriter.javaCasey Marshall2003-04-231-0/+324
|
* Replacement for gnu/java/security/provider/DERReader.javaCasey Marshall2003-04-231-0/+382
|
* Moved from java/security/Engine.javaCasey Marshall2003-04-231-0/+237
|
* gnu/java/security/provider/DERReader.java: obsoleted byCasey Marshall2003-04-232-294/+0
| | | | | | gnu/java/security/der/DERReader.java. gnu/java/security/provider/DERWriter.java: obsoleted by gnu/java/security/der/DERWriter.java.
* * doc/www.gnu.org/home.wml: add more links to projects/products usingBrian Jones2003-02-091-11/+21
| | | | | | | | | | GNU Classpath. 2003-02-09 Raif S. Naffah <raif@fl.net.au> * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new method used to ensure seeding has occurred and that a specific seed can be set and used.
* * gnu/java/security/Makefile.am (EXTRA_DIST): Removed.Tom Tromey2002-11-172-162/+0
| | | | * gnu/java/security/DefaultPermissionCollection.java: Removed.
* 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>Tom Tromey2002-11-052-3/+3
| | | | | | | * gnu/java/security/provider/SHA.java (engineGetDigestLength): Return 20. * gnu/java/security/provider/MD5.java (engineGetDigestLength): Return 16.
* 2002-07-23 Mark Wielaard <mark@klomp.org>Mark Wielaard2002-07-222-13/+21
| | | | | | | | | | * gnu/java/security/provider/MD5.java: Extends MessageDigest, not MessageDigestSpi (fixes bug #783). 2002-07-21 Mark Wielaard <mark@klomp.org> * gnu/java/security/provider/Gnu.java: Reference all implementation classes by using Class.getName().
* * gnu/java/security/provider/DefaultPolicy.java: Remove commented outMark Wielaard2002-07-142-15/+1
| | | | | code. * gnu/java/security/provider/SHA.java: Likewise.
* The following changes are all from patch submissions from Intel'sBrian Jones2002-03-212-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ORP team to get Classpath into a JBOSS compatible state. This is primarily just the non-public API patches. * gnu/java/io/PlatformHelper.java: new file * gnu/java/io/Makefile.am: add new file to EXTRA_DIST * gnu/java/lang/ClassLoaderHelper.java (getSystemResourceAsFile): add support for .zip/.jar archive loading * gnu/java/lang/reflect/TypeSignature.java: additional comments * gnu/java/net/protocol/file/FileURLConnection.java (connect): if file does not exist, throw FileNotFoundException * gnu/java/net/protocol/file/Handler.java (parseURL): override method from URLStreamHandler for parsing file URL * gnu/java/net/protocol/jar/JarURLConnection.java: new file * gnu/java/net/protocol/jar/Handler.java: new file * gnu/java/net/protocol/jar/.cvsignore: new file * gnu/java/net/protocol/jar/Makefile.am: new file * gnu/java/net/protocol/Makefile.am: add jar to SUBDIRS * gnu/java/rmi/RMIMarshalledObjectInputStream.java: new file * gnu/java/rmi/RMIMarshalledObjectOutputStream.java: new file * gnu/java/rmi/Makefile.am: add new file to EXTRA_DIST * gnu/java/rmi/dgc/DGCImpl.java (dirty): partially implemented * gnu/java/rmi/server/Makefile.am: add new file to EXTRA_DIST * gnu/java/rmi/server/ConnectionRunnerPool.java: new file * gnu/java/rmi/server/RMIHashes.java (getMethodHash): conformance to object serialization specification 8.3 * gnu/java/rmi/server/RMIObjectInputStream.java (RMIObjectInputStream): new constructor (resolveClass): try additional method of loading class and catch exception from super.resolveClass (getAnnotation): new method (resolveProxyClass): new method (readValue): new method * gnu/java/rmi/server/RMIObjectOutputStream.java (setAnnotation): new method (annotateClass): use new setAnnotation method (annotateProxyClass): new method (replaceObject): new method (writeValue): new method * gnu/java/rmi/server/UnicastConnection.java (acceptConnection): use buffered streams to improve efficiency (makeConnection): ditto (disconnect): close oout stream if needed * gnu/java/rmi/server/UnicastConnectionManager.java (static): use host address instead of host name (getInstance): ditto (stopServer): new method (run): exit thread if server thread is null * gnu/java/rmi/server/UnicastRef.java (invokeCommon): handle primitive types and null return type (writeExternal): remove write of RETURN_ACK because it confuses Sun's implementation when interoperating (readExternal): similarly read of RETURN_ACK or Sun's value ok * gnu/java/rmi/server/UnicastServer.java (unexportObject): new method (incomingMessageCall): check for primitive type and write it out correctly * gnu/java/rmi/server/UnicastServerRef.java: implements ServerRef (exportObject): call new exportObject method with argument (exportObject): new method, not completely implemented (unexportObject): new method (getHelperClass): remove use of Class.forName (buildMethodHash): boolean argument allows build up or tear down of method hash (getMethodReturnType): new method (incomingMessageCall): handle exceptions from meth.invoke differently * gnu/java/security/provider/DefaultPolicy.java (getPermissions): do not maintain static class variable of Permissions * gnu/java/security/provider/SHA.java (engineUpdate): algorithm change (engineDigest): algorithm change * java/io/ObjectInputStream.java (resolveProxyClass): new method * configure.in: add new Makefiles to AC_OUTPUT
* * configure.in (AC_OUTPUT): add gnu/java/math/Makefile andMark Wielaard2002-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java/awt/font/Makefile. * java/awt/Makefile.am (EXTRA_DIST): add GridBagConstraints.java and sort entries. (SUBDIRS): add font. * java/awt/datatransfer/Makefile.am (EXTRA_DIST): add MimeTypeParseException.java and SystemFlavorMap.java. * java/awt/event/Makefile.am (EXTRA_DIST): Sort entries. * java/awt/font/Makefile.am: new file. * java/lang/Makefile.am (EXTRA_DIST): add CharSequence.java and sort entries. * java/net/Makefile.am (EXTRA_DIST): add URLClassLoader.java and sort entries. * java/security/Makefile.am 9EXTRA_DIST): add AccessController.java and sort entries. * java/text/Makefile.am (EXTRA_DIST): add DecimalFormat.java, remove DefaultBreakIterator.java and sort entries. * java/util/Makefile.am (EXTRA_DIST): remove Bucket.java, DoubleEnumeration.java and sort entries. * com/sun/javadoc/Makefile.am (EXTRA_DIST): sort entries. * gnu/java/Makefile.am (SUBDIRS): add math. * gnu/java/awt/image/Makefile.am (EXTRA_DIST): sort entries. * gnu/java/awt/peer/gtk/Makefile.am (EXTRA_DIST): sort entries. * gnu/java/io/decode/Makefile.am (EXTRA_DIST): sort entries. * gnu/java/io/encode/Makefile.am (EXTRA_DIST): sort entries. * gnu/java/math/Makefile.am: new file. * gnu/java/security/provider/Makefile.am (EXTRA_DIST): add DefaultPolicy.java.
* Add License clarificationMark Wielaard2002-01-2216-80/+256
|
* * gnu/java/security/provider/SHA1PRNG.java (engineNextBytes):Tom Tromey2001-10-171-24/+20
| | | | | | Rewrote. * java/security/SecureRandom.java (setSeed(long)): Don't set seed if secureRandomSpi is not initialized.
* * gnu/java/security/provider/DefaultPolicy.java: New file, from libgcj.Bryce McKinlay2001-09-251-0/+55
| | | | | * java/security: Merge from libgcj. These are mostly formatting fixes, with a few fixes and enhancements.
* initial commitBrian Jones2000-11-201-0/+2
|
* Makefile.am: updated EXTRA_DISTBrian Jones2000-11-201-1/+5
|
* Makefile.am: added der to SUBDIRSBrian Jones2000-11-201-1/+1
|
* initial checkinBrian Jones2000-11-202-0/+6
|
* Makefile.am: added util to SUBDIRSBrian Jones2000-11-201-1/+1
|
* Makefile.am: updated EXTRA_DISTBrian Jones2000-11-201-1/+8
|
* Makefile.am: initial commitBrian Jones2000-11-201-0/+4
|