зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
66fca2d4ac
Коммит
0d11c9e874
|
@ -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 */
|
||||
/* */
|
||||
|
|
Загрузка…
Ссылка в новой задаче