[cp-patches] FYI: Retired gnu.java.security.util.Prime2

Raif S. Naffah raif at swiftdsl.com.au
Sun Jun 18 02:46:43 UTC 2006


hello all,

the attached patch --already committed-- retires the above class and
replaces its usage (mainly for primality testing) with GNU Classpath
BigInteger.isProbablePrime().

2006-06-18  Raif S. Naffah  <raif at swiftdsl.com.au>

	* gnu/java/security/util/Prime2.java: Removed.
	* gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
	(generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
	* gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
	(generate): Use isProbablePrime() in BigInteger instead of Prime2.
	* gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
	(generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
	* gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
	(checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
	* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
	(generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
	* gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
	(generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.

a similar check-in in Mauve will follow.


cheers;
rsn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classpath-20060618.patch.zip
Type: application/x-zip
Size: 6498 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060618/3a319e97/classpath-20060618.patch.bin


More information about the Classpath-patches mailing list