santuario-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: xml-security/src/org/apache/xml/security/signature Manifest.java
Date Thu, 18 Nov 2004 22:51:32 GMT
raul        2004/11/18 14:51:32

  Modified:    src/org/apache/xml/security/signature Manifest.java
  Log:
  Fix to be able to validate signatures in memory
  
  Revision  Changes    Path
  1.31      +5 -0      xml-security/src/org/apache/xml/security/signature/Manifest.java
  
  Index: Manifest.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/signature/Manifest.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Manifest.java	25 Sep 2004 19:42:22 -0000	1.30
  +++ Manifest.java	18 Nov 2004 22:51:32 -0000	1.31
  @@ -286,6 +286,11 @@
       */
      public boolean verifyReferences(boolean followManifests)
              throws MissingResourceFailureException, XMLSecurityException {
  +      if (_referencesEl==null) {
  +        this._referencesEl =  
  +            XMLUtils.selectDsNodes(this._constructionElement.getFirstChild(),
  +                         Constants._TAG_REFERENCE);
  +      }
      	  if (log.isDebugEnabled()) {
      	  	log.debug("verify " +_referencesEl.length + " References");
           log.debug("I am " + (followManifests
  
  
  

Mime
View raw message