You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by od...@apache.org on 2007/06/12 11:12:10 UTC
svn commit: r546432 -
/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java
Author: odeakin
Date: Tue Jun 12 02:12:09 2007
New Revision: 546432
URL: http://svn.apache.org/viewvc?view=rev&rev=546432
Log:
Apply patch HARMONY-4090 ([classlib] [security] Javadoc update for java.security.Provider)
Modified:
harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java
Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java?view=diff&rev=546432&r1=546431&r2=546432
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java (original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java Tue Jun 12 02:12:09 2007
@@ -273,10 +273,9 @@
}
/**
- *
- * returns true if the provider implements the specified algorithm. Caller must
- * specify the cryptographic service and specify constraints via the
- * attribute name the attribute value
+ * Returns true if this provider implements the given algorithm. Caller
+ * must specify the cryptographic service and specify constraints via the
+ * attribute name and value.
*
* @param serv
* Crypto service
@@ -308,8 +307,8 @@
return false;
}
- // returns true if the implementation meets the constraint expressed by the
- // specified attribute name/value pair.
+ // Returns true if this provider has the same value as is given for the
+ // given attribute
private boolean checkAttribute(String servAlg, String attribute, String val) {
String attributeValue = getPropertyIgnoreCase(servAlg + ' ' + attribute);