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 ru...@apache.org on 2006/03/25 14:46:25 UTC
svn commit: r388758 -
/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecEncryptedKey.java
Author: ruchithf
Date: Sat Mar 25 05:46:25 2006
New Revision: 388758
URL: http://svn.apache.org/viewcvs?rev=388758&view=rev
Log:
We need access to EncryptedKey Element and BinarySecurityToken Element
Modified:
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecEncryptedKey.java
Modified: webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecEncryptedKey.java
URL: http://svn.apache.org/viewcvs/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecEncryptedKey.java?rev=388758&r1=388757&r2=388758&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecEncryptedKey.java (original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecEncryptedKey.java Sat Mar 25 05:46:25 2006
@@ -382,4 +382,22 @@
public void setUseThisCert(X509Certificate cert) {
useThisCert = cert;
}
+
+ /**
+ * @return Returns the encryptedKeyElement.
+ */
+ public Element getEncryptedKeyElement() {
+ return encryptedKeyElement;
+ }
+
+ /**
+ * @return Returns the BinarySecurityToken element.
+ */
+ public Element getBinarySecurityTokenElement() {
+ if(this.bstToken != null) {
+ return this.bstToken.getElement();
+ } else {
+ return null;
+ }
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org