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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to