1 7 package org.jboss.crypto; 8 9 15 public class JBossSXProvider extends java.security.Provider 16 { 17 public static final String PROVIDER_NAME = "JBossSX"; 18 public static final String PROVIDER_INFO = "JBossSX Provier Version 1.0"; 19 public static final double PROVIDER_VERSION = 1.0; 20 21 22 public JBossSXProvider() 23 { 24 this(PROVIDER_NAME, PROVIDER_VERSION, PROVIDER_INFO); 25 } 26 protected JBossSXProvider(String name, double version, String info) 27 { 28 super(name, version, info); 29 super.put("MessageDigest.SHA_Interleave", "org.jboss.crypto.digest.SHAInterleave"); 31 super.put("Alg.Alias.MessageDigest.SHA-Interleave", "SHA_Interleave"); 32 super.put("Alg.Alias.MessageDigest.SHA-SRP", "SHA_Interleave"); 33 34 super.put("MessageDigest.SHA_ReverseInterleave", "org.jboss.crypto.digest.SHAReverseInterleave"); 35 super.put("Alg.Alias.MessageDigest.SHA-SRP-Reverse", "SHA_ReverseInterleave"); 36 } 37 38 } 39 | Popular Tags |