You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mu...@apache.org on 2005/07/28 21:10:12 UTC

cvs commit: xml-security/src/org/apache/xml/security/resource xmlsecurity_de.properties xmlsecurity_en.properties

mullan      2005/07/28 12:10:12

  Modified:    src/org/apache/xml/security/utils Base64.java
               src/org/apache/xml/security/resource
                        xmlsecurity_de.properties xmlsecurity_en.properties
  Log:
  Add new msg id named decoding.divisible.four and fix bug in Base64 to throw
  Base64DecodingExc with this msg id instead of "It should be dived by four".
  
  Revision  Changes    Path
  1.20      +2 -2      xml-security/src/org/apache/xml/security/utils/Base64.java
  
  Index: Base64.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/utils/Base64.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Base64.java	30 May 2005 19:35:05 -0000	1.19
  +++ Base64.java	28 Jul 2005 19:10:12 -0000	1.20
  @@ -549,7 +549,7 @@
          int len = removeWhiteSpace(base64Data);
          
          if (len%FOURBYTE != 0) {
  -           throw new Base64DecodingException("It should be dived by four");
  +           throw new Base64DecodingException("decoding.divisible.four");
              //should be divisible by four
          }
   
  @@ -640,7 +640,7 @@
       int len = removeWhiteSpace(base64Data);
       
       if (len%FOURBYTE != 0) {
  -        throw new Base64DecodingException("It should be dived by four");
  +        throw new Base64DecodingException("decoding.divisible.four");
           //should be divisible by four
       }
   
  
  
  
  1.20      +1 -0      xml-security/src/org/apache/xml/security/resource/xmlsecurity_de.properties
  
  Index: xmlsecurity_de.properties
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/resource/xmlsecurity_de.properties,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- xmlsecurity_de.properties	13 Nov 2004 23:31:24 -0000	1.19
  +++ xmlsecurity_de.properties	28 Jul 2005 19:10:12 -0000	1.20
  @@ -50,6 +50,7 @@
   errorMessages.NoSuchAlgorithmException = Unbekannter Algorithmus {0}
   errorMessages.NotYetImplementedException = Funktionalit�t noch nicht implementiert.
   errorMessages.XMLSignatureException = Verifizieren aus unbekanntem Grund fehlgeschlagen.
  +decoding.divisible.four = It should be divisible by four
   decoding.general = Error while decoding
   FileKeyStorageImpl.addToDefaultFromRemoteNotImplemented = Method addToDefaultFromRemote() not yet implemented.
   FileKeyStorageImpl.NoCert.Context = Not found such a X509Certificate including context {0}
  
  
  
  1.23      +1 -0      xml-security/src/org/apache/xml/security/resource/xmlsecurity_en.properties
  
  Index: xmlsecurity_en.properties
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/resource/xmlsecurity_en.properties,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- xmlsecurity_en.properties	30 May 2005 12:23:52 -0000	1.22
  +++ xmlsecurity_en.properties	28 Jul 2005 19:10:12 -0000	1.23
  @@ -50,6 +50,7 @@
   errorMessages.NoSuchAlgorithmException = Unknown Algorithm {0}
   errorMessages.NotYetImplementedException = Functionality not yet there.
   errorMessages.XMLSignatureException = Verification failed for some other reason.
  +decoding.divisible.four = It should be divisible by four
   decoding.general = Error while decoding
   FileKeyStorageImpl.addToDefaultFromRemoteNotImplemented = Method addToDefaultFromRemote() not yet implemented.
   FileKeyStorageImpl.NoCert.Context = Not found such a X509Certificate including context {0}