Bugzilla bug : 314098. Modified JSS provider version to 4.1.1 in

JSSProvider.java. Reflected this information in all places that needs
to be changed when there is a change in JSS version. r=wtc
This commit is contained in:
sandeep.konchady%sun.com 2005-10-28 04:21:16 +00:00
Родитель 66fca2d4ac
Коммит 0d11c9e874
5 изменённых файлов: 31 добавлений и 2 удалений

Просмотреть файл

@ -41,6 +41,7 @@
#/* */
#/* org/mozilla/jss/CryptoManager.java */
#/* org/mozilla/jss/CryptoManager.c */
#/* org/mozilla/jss/JSSProvider.java */
#/* org/mozilla/jss/util/jssver.h */
#/* lib/manifest.mn */
#/* */

Просмотреть файл

@ -65,6 +65,7 @@
/* */
/* org/mozilla/jss/CryptoManager.java */
/* org/mozilla/jss/CryptoManager.c */
/* org/mozilla/jss/JSSProvider.java */
/* org/mozilla/jss/util/jssver.h */
/* lib/manifest.mn */
/* */

Просмотреть файл

@ -56,7 +56,7 @@ import org.mozilla.jss.provider.java.security.JSSMessageDigestSpi;
* Initialization is done with static methods, and must be done before
* an instance can be created. All other operations are done with instance
* methods.
* @version $Revision: 1.36 $ $Date: 2005-09-21 21:06:54 $
* @version $Revision: 1.37 $ $Date: 2005-10-28 04:21:08 $
*/
public final class CryptoManager implements TokenSupplier
{
@ -1308,6 +1308,7 @@ public final class CryptoManager implements TokenSupplier
/* */
/* org/mozilla/jss/CryptoManager.java */
/* org/mozilla/jss/CryptoManager.c */
/* org/mozilla/jss/JSSProvider.java */
/* org/mozilla/jss/util/jssver.h */
/* lib/manifest.mn */
/* */

Просмотреть файл

@ -37,8 +37,26 @@ package org.mozilla.jss;
public final class JSSProvider extends java.security.Provider {
/********************************************************************/
/* The VERSION Strings should be updated in the following */
/* files everytime a new release of JSS is generated: */
/* */
/* org/mozilla/jss/CryptoManager.java */
/* org/mozilla/jss/CryptoManager.c */
/* org/mozilla/jss/JSSProvider.java */
/* org/mozilla/jss/util/jssver.h */
/* lib/manifest.mn */
/* */
/********************************************************************/
private static String JSS_MAJOR_VERSION = "4";
private static String JSS_MINOR_VERSION = "1";
private static String JSS_PATCH_VERSION = "1";
private static Double JSS_VERSION = new Double(JSS_MAJOR_VERSION +
"."+JSS_MINOR_VERSION);
public JSSProvider() {
super("Mozilla-JSS", 3.3,
super("Mozilla-JSS", JSS_VERSION,
"Provides Signature, Message Digesting, and RNG");
/////////////////////////////////////////////////////////////
@ -205,4 +223,11 @@ public final class JSSProvider extends java.security.Provider {
"org.mozilla.jss.provider.javax.crypto.JSSMacSpi$HmacSHA1");
put("Alg.Alias.Mac.Hmac-SHA1", "HmacSHA1");
}
public String toString() {
return "Mozilla-JSS version " +
JSS_MAJOR_VERSION + "." +
JSS_MINOR_VERSION + "." +
JSS_PATCH_VERSION;
}
}

Просмотреть файл

@ -51,6 +51,7 @@
/* */
/* org/mozilla/jss/CryptoManager.java */
/* org/mozilla/jss/CryptoManager.c */
/* org/mozilla/jss/JSSProvider.java */
/* org/mozilla/jss/util/jssver.h */
/* lib/manifest.mn */
/* */