You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by ra...@apache.org on 2005/04/02 20:37:59 UTC
cvs commit: xml-security/src/org/apache/xml/security/c14n Canonicalizer.java
raul 2005/04/02 10:37:59
Modified: src/org/apache/xml/security/keys KeyInfo.java
src/org/apache/xml/security/algorithms Algorithm.java
JCEMapper.java MessageDigestAlgorithm.java
src/org/apache/xml/security/c14n Canonicalizer.java
Log:
Fixed eclipse javadocs warning.
Revision Changes Path
1.24 +7 -7 xml-security/src/org/apache/xml/security/keys/KeyInfo.java
Index: KeyInfo.java
===================================================================
RCS file: /home/cvs/xml-security/src/org/apache/xml/security/keys/KeyInfo.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- KeyInfo.java 7 Mar 2005 20:39:33 -0000 1.23
+++ KeyInfo.java 2 Apr 2005 18:37:59 -0000 1.24
@@ -581,8 +581,8 @@
/**
* Method itemUnknownElement
*
- * @param i
- * @return
+ * @param i index
+ * @return the element number of the unknown elemens
*/
public Element itemUnknownElement(int i) {
@@ -1155,7 +1155,7 @@
/**
* Method lengthInternalKeyResolver
- * @return
+ * @return the length of the key
*/
int lengthInternalKeyResolver() {
return this._internalKeyResolvers.size();
@@ -1164,8 +1164,8 @@
/**
* Method itemInternalKeyResolver
*
- * @param i
- * @return
+ * @param i the index
+ * @return the KeyResolverSpi for the index.
*/
KeyResolverSpi itemInternalKeyResolver(int i) {
return (KeyResolverSpi) this._internalKeyResolvers.get(i);
@@ -1189,7 +1189,7 @@
/**
* Method getStorageResolvers
*
- * @return
+ * @return the internalStorages
*/
List getStorageResolvers() {
return this._storageResolvers;
1.14 +1 -1 xml-security/src/org/apache/xml/security/algorithms/Algorithm.java
Index: Algorithm.java
===================================================================
RCS file: /home/cvs/xml-security/src/org/apache/xml/security/algorithms/Algorithm.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Algorithm.java 24 Sep 2004 21:29:34 -0000 1.13
+++ Algorithm.java 2 Apr 2005 18:37:59 -0000 1.14
@@ -62,7 +62,7 @@
/**
* Method getAlgorithmURI
*
- * @return
+ * @return The URI of the alogrithm
*/
public String getAlgorithmURI() {
return this._constructionElement.getAttributeNS(null, Constants._ATT_ALGORITHM);
1.28 +4 -2 xml-security/src/org/apache/xml/security/algorithms/JCEMapper.java
Index: JCEMapper.java
===================================================================
RCS file: /home/cvs/xml-security/src/org/apache/xml/security/algorithms/JCEMapper.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- JCEMapper.java 24 Dec 2004 10:38:43 -0000 1.27
+++ JCEMapper.java 2 Apr 2005 18:37:59 -0000 1.28
@@ -126,14 +126,16 @@
}
/**
- * Gets the default Provider for obtaining the security algorithms
+ * Gets the default Provider for obtaining the security algorithms
+ * @return the default providerId.
*/
public static String getProviderId() {
return providerName;
}
/**
- * Sets the default Provider for obtaining the security algorithms
+ * Sets the default Provider for obtaining the security algorithms
+ * @param provider the default providerId.
*/
public static void setProviderId(String provider) {
providerName=provider;
1.17 +1 -1 xml-security/src/org/apache/xml/security/algorithms/MessageDigestAlgorithm.java
Index: MessageDigestAlgorithm.java
===================================================================
RCS file: /home/cvs/xml-security/src/org/apache/xml/security/algorithms/MessageDigestAlgorithm.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- MessageDigestAlgorithm.java 24 Dec 2004 10:38:43 -0000 1.16
+++ MessageDigestAlgorithm.java 2 Apr 2005 18:37:59 -0000 1.17
@@ -77,7 +77,7 @@
*
* @param doc
* @param algorithmURI
- * @return
+ * @return The MessageDigestAlgorithm element to attach in document and to digest
* @throws XMLSignatureException
*/
public static MessageDigestAlgorithm getInstance(
1.12 +4 -0 xml-security/src/org/apache/xml/security/c14n/Canonicalizer.java
Index: Canonicalizer.java
===================================================================
RCS file: /home/cvs/xml-security/src/org/apache/xml/security/c14n/Canonicalizer.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Canonicalizer.java 23 Mar 2005 18:14:54 -0000 1.11
+++ Canonicalizer.java 2 Apr 2005 18:37:59 -0000 1.12
@@ -340,6 +340,10 @@
return (Class) _canonicalizerHash.get(URI);
}
+ /**
+ * Set the canonicalizator behaviour to not reset.
+ *
+ */
public void notReset() {
this.canonicalizerSpi.reset=false;
}