From MAILER-DAEMON Mon Feb 09 21:02:40 2015
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1YL09w-0008Oo-4X
	for mharc-commit-classpath@gnu.org; Mon, 09 Feb 2015 21:02:40 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45777)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gnu_andrew@member.fsf.org>) id 1YL09t-0008Nl-8I
	for commit-classpath@gnu.org; Mon, 09 Feb 2015 21:02:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gnu_andrew@member.fsf.org>) id 1YL09s-00066Y-46
	for commit-classpath@gnu.org; Mon, 09 Feb 2015 21:02:37 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:48565)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gnu_andrew@member.fsf.org>) id 1YL09s-00066R-0T
	for commit-classpath@gnu.org; Mon, 09 Feb 2015 21:02:36 -0500
Received: from gnu_andrew by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <gnu_andrew@member.fsf.org>) id 1YL09q-0000Ki-Iv
	for commit-classpath@gnu.org; Tue, 10 Feb 2015 02:02:35 +0000
Date: Tue, 10 Feb 2015 02:02:34 +0000
Message-Id: <E1YL09q-0000Ki-Iv@vcs.savannah.gnu.org>
To: commit-classpath@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 92f6e5177fbd0c8bfdbecce4b5704d981f4988bb
X-Git-Newrev: a09acb2a1f9dc481c980ab38e19f510581e43ea8
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
Subject: [commit-cp] [SCM] UNNAMED PROJECT branch, master,
	updated. a09acb2a1f9dc481c980ab38e19f510581e43ea8
X-BeenThere: commit-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: classpath-patches@gnu.org
List-Id: "Automatic administrative message \(CVS, bugs,
	regressions\)." <commit-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-classpath>,
	<mailto:commit-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-classpath>
List-Post: <mailto:commit-classpath@gnu.org>
List-Help: <mailto:commit-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-classpath>,
	<mailto:commit-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Feb 2015 02:02:38 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, master has been updated
       via  a09acb2a1f9dc481c980ab38e19f510581e43ea8 (commit)
       via  55c5097f9ce57cb5ebdbec6383c6c89ad4933348 (commit)
      from  92f6e5177fbd0c8bfdbecce4b5704d981f4988bb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a09acb2a1f9dc481c980ab38e19f510581e43ea8
Author: Andrew John Hughes <gnu_andrew@member.fsf.org>
Date:   Tue Feb 10 02:01:19 2015 +0000

    PR64902: Keys returned by KeyPairGenerator don't use standardised algorithm names
    PR64904: KeyPairGenerator.genKeyPair() fails if not explicitly initialised
    
    2015-02-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
    
    	PR classpath/64902
    	PR classpath/64904
    	* NEWS: Updated.
    	* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java:
    	(KeyPairGeneratorAdapter(String)): Filter incoming generator
    	names so all standardised names are handled (e.g. the
    	DiffieHellman alias for DH.
    	(generateKeyPair()): Check whether the generator has been
    	initialized and initialize it with defaults if not.
    	(getAlgorithm()): Return the standardised name, not the
    	internal one.
    	(localiseName(String)): Convert requested standardised
    	name to the internal equivalent.
    	* gnu/java/security/key/IKeyPairGenerator.java:
    	(isInitialized()): New method to check whether the generator
    	has been initialized.
    	(getDefaultKeySize()): Return the default key size used
    	by the generator.
    	* gnu/java/security/key/dss/DSSKey.java:
    	(getAlgorithm()): Return standard "DSA" rather than "dsa".
    	* gnu/java/security/key/dss/DSSKeyPairGenerator.java:
    	(initialized): Flag to indicate whether the generator has
    	been initialized or not.
    	(initLock): Lock to prevent multiple concurrent initializations.
    	(setup(Map)): Wrap initialization in a lock and set initialized
    	flag when done.
    	(isInitialized()): Returns the value of the initialized flag.
    	(getDefaultKeySize()): Returns the default key size.
    	* gnu/java/security/key/rsa/GnuRSAKey.java:
    	(getAlgorithm()): Return standard "RSA" rather than "rsa".
    	* gnu/java/security/key/rsa/RSAKeyPairGenerator.java:
    	(initialized): Flag to indicate whether the generator has
    	been initialized or not.
    	(initLock): Lock to prevent multiple concurrent initializations.
    	(setup(Map)): Wrap initialization in a lock and set initialized
    	flag when done.
    	(isInitialized()): Returns the value of the initialized flag.
    	(getDefaultKeySize()): Returns the default key size.
    	* gnu/javax/crypto/key/dh/GnuDHKey.java:
    	(getAlgorithm()): Return standard "DH" rather than "dh".
    	* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java:
    	(initialized): Flag to indicate whether the generator has
    	been initialized or not.
    	(initLock): Lock to prevent multiple concurrent initializations.
    	(setup(Map)): Wrap initialization in a lock and set initialized
    	flag when done.
    	(isInitialized()): Returns the value of the initialized flag.
    	(getDefaultKeySize()): Returns the default key size.
    	* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java:
    	(initialized): Flag to indicate whether the generator has
    	been initialized or not.
    	(initLock): Lock to prevent multiple concurrent initializations.
    	(setup(Map)): Wrap initialization in a lock and set initialized
    	flag when done.
    	(isInitialized()): Returns the value of the initialized flag.
    	(getDefaultKeySize()): Returns the default key size.

commit 55c5097f9ce57cb5ebdbec6383c6c89ad4933348
Author: Andrew John Hughes <gnu_andrew@member.fsf.org>
Date:   Mon Feb 2 15:28:40 2015 +0000

    PR64881: KeyPairGenerator.genKeyPair() ends up calling the default generateKeyPair method which returns a DSA generator
    
    2015-01-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
    
    	PR classpath/64881
    	* NEWS: Updated.
    	* java/security/KeyPairGenerator.java:
    	(genKeyPair()): Document properly. Call original
    	method, generateKeyPair().
    	(generateKeyPair()): Document properly. Use provider
    	and algorithm values if set rather than just defaulting
    	to GNU and DSA.
    
    Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   70 ++++++++
 NEWS                                               |    3 +
 .../security/jce/sig/KeyPairGeneratorAdapter.java  |   58 ++++++-
 gnu/java/security/key/IKeyPairGenerator.java       |   17 ++-
 gnu/java/security/key/dss/DSSKey.java              |    2 +-
 gnu/java/security/key/dss/DSSKeyPairGenerator.java |  180 ++++++++++++--------
 gnu/java/security/key/rsa/GnuRSAKey.java           |    2 +-
 gnu/java/security/key/rsa/RSAKeyPairGenerator.java |   80 +++++++--
 gnu/javax/crypto/key/dh/GnuDHKey.java              |    4 +-
 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java |  122 +++++++++-----
 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java |  172 ++++++++++++-------
 java/security/KeyPairGenerator.java                |   65 +++++--
 12 files changed, 556 insertions(+), 219 deletions(-)


hooks/post-receive
-- 
UNNAMED PROJECT


