You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by vi...@apache.org on 2005/09/14 09:42:01 UTC

cvs commit: xml-security/src/org/apache/xml/security/keys/content KeyValue.java

vishal      2005/09/14 00:42:01

  Modified:    src/org/apache/xml/security/keys/content KeyValue.java
  Log:
  Fixed bug #36639 (KeyValue.getPublicKey does not work).
  
  Revision  Changes    Path
  1.13      +1 -1      xml-security/src/org/apache/xml/security/keys/content/KeyValue.java
  
  Index: KeyValue.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/keys/content/KeyValue.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- KeyValue.java	2 Apr 2005 18:54:20 -0000	1.12
  +++ KeyValue.java	14 Sep 2005 07:42:01 -0000	1.13
  @@ -137,7 +137,7 @@
      public PublicKey getPublicKey() throws XMLSecurityException {
   
         
  -         Element rsa = XMLUtils.selectDsNode(this._constructionElement,
  +         Element rsa = XMLUtils.selectDsNode(this._constructionElement.getFirstChild(),
            				Constants._TAG_RSAKEYVALUE,0);
            
            if (rsa != null) {