summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2015-02-10 02:01:19 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2015-02-10 02:01:19 +0000
commita09acb2a1f9dc481c980ab38e19f510581e43ea8 (patch)
tree9d92ed44029bb9fbaa368fa9df681f11bb809e31 /NEWS
parent55c5097f9ce57cb5ebdbec6383c6c89ad4933348 (diff)
downloadclasspath-a09acb2a1f9dc481c980ab38e19f510581e43ea8.tar.gz
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.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 67566c251..2e10cf8ff 100644
--- a/NEWS
+++ b/NEWS
@@ -32,6 +32,8 @@ New in release 0.99.1 (XXX XX, 2012)
- PR64109: Missing symbol in libjavautil.so
- PR64176: Week of year field during end of year transition is incorrect
- PR64881: KeyPairGenerator.genKeyPair() ends up calling the default generateKeyPair method which returns a DSA generator
+ - PR64902: Keys returned by KeyPairGenerator don't use standardised algorithm names
+ - PR64904: KeyPairGenerator.genKeyPair() fails if not explicitly initialised
New in release 0.99 (Feb 15, 2012)