User: starksm 
  Date: 02/03/14 11:10:59

  Modified:    src/main/org/jboss/security/srp SRPParameters.java
  Log:
  Add a cipher initialization vector
  
  Revision  Changes    Path
  1.2       +8 -1      jbosssx/src/main/org/jboss/security/srp/SRPParameters.java
  
  Index: SRPParameters.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/srp/SRPParameters.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SRPParameters.java        8 Mar 2002 06:01:39 -0000       1.1
  +++ SRPParameters.java        14 Mar 2002 19:10:59 -0000      1.2
  @@ -16,7 +16,7 @@
   alternate hash algorithm for the private session key.
   
   @author [EMAIL PROTECTED]
  -@version $Revision: 1.1 $
  +@version $Revision: 1.2 $
   */
   public class SRPParameters implements Cloneable, Serializable
   {
  @@ -35,6 +35,9 @@
      /** The algorithm to use for any encryption of data.
       */
      public final String cipherAlgorithm;
  +   /** The cipher intialization vector bytes
  +    */
  +   public byte[] cipherIV;
   
      /** Creates a new instance of SRPParameters */
      public SRPParameters(byte[] N, byte[] g, byte[] s)
  @@ -109,6 +112,10 @@
         tmp.append(Util.encodeBase64(s));
         tmp.append("hashAlgorithm: ");
         tmp.append(hashAlgorithm);
  +      tmp.append("cipherAlgorithm: ");
  +      tmp.append(cipherAlgorithm);
  +      tmp.append("cipherIV: ");
  +      tmp.append(cipherIV);
         tmp.append('}');
         return tmp.toString();
      }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to