You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by ru...@apache.org on 2006/10/20 13:47:26 UTC
svn commit: r466077 -
/webservices/wss4j/trunk/src/org/apache/ws/security/WSConstants.java
Author: ruchithf
Date: Fri Oct 20 04:47:25 2006
New Revision: 466077
URL: http://svn.apache.org/viewvc?view=rev&rev=466077
Log:
s/private/public
Modified:
webservices/wss4j/trunk/src/org/apache/ws/security/WSConstants.java
Modified: webservices/wss4j/trunk/src/org/apache/ws/security/WSConstants.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/WSConstants.java?view=diff&rev=466077&r1=466076&r2=466077
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/WSConstants.java (original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/WSConstants.java Fri Oct 20 04:47:25 2006
@@ -275,7 +275,7 @@
* In contrast to {@link #BST_DIRECT_REFERENCE} only the issuer name
* and the serial number of the signiung certificate are sent to the
* receiver. This reduces the amount of data being sent. The ecnryption
- * method uses the private key associated with this certificate to encrypt
+ * method uses the public key associated with this certificate to encrypt
* the symmetric key used to encrypt data.
* <p/>
* Please refer to WS Security specification X509 profile, chapter 3.3.3
@@ -286,7 +286,7 @@
* Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}
* method to send the certificate used to encrypt the symmetric key.
* <p/>
- * The encryption method uses the private key associated with this certificate
+ * The encryption method uses the public key associated with this certificate
* to encrypr the symmetric key used to encrypt data. The certificate is
* converted into a <code>KeyIdentfier</code> token and sent to the receiver.
* Thus the complete certificate data is transfered to receiver.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org