You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by we...@apache.org on 2004/10/31 09:12:12 UTC

cvs commit: ws-fx/wss4j/src/org/apache/ws/security WSConstants.java

werner      2004/10/31 01:12:12

  Modified:    wss4j/src/org/apache/ws/security WSConstants.java
  Log:
  New constants as default values for .NET WSE UsernameToken derived key.
  
  Revision  Changes    Path
  1.26      +6 -0      ws-fx/wss4j/src/org/apache/ws/security/WSConstants.java
  
  Index: WSConstants.java
  ===================================================================
  RCS file: /home/cvs/ws-fx/wss4j/src/org/apache/ws/security/WSConstants.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- WSConstants.java	24 Oct 2004 12:41:13 -0000	1.25
  +++ WSConstants.java	31 Oct 2004 08:12:12 -0000	1.26
  @@ -329,6 +329,12 @@
       public static final int NO_SERIALIZE = 0x100;
       public static final int SERIALIZE = 0x200;
   
  +    /**
  +     * Length of UsernameToken derived key used by .NET WSE to sign a message.
  +     */
  +    public static final int WSE_DERIVED_KEY_LEN = 16;
  +    public static final String LABEL_FOR_DERIVED_KEY = "WS-Security";
  +    
       static {
           setComplianceMode();
       }