Searched refs:strength (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/classes/java/text/
H A DCollator.java86 * You can set a <code>Collator</code>'s <em>strength</em> property
98 * //Get the Collator for US English and set its strength to PRIMARY
132 * Collator strength value. When set, only PRIMARY differences are
141 * Collator strength value. When set, only SECONDARY and above differences are
151 * Collator strength value. When set, only TERTIARY and above differences are
161 * Collator strength value. When set, all differences are
358 * Returns this Collator's strength property. The strength property determines
361 * @return this Collator's current strength property.
370 return strength;
501 private int strength = 0; field in class:Collator
[all...]
H A DPatternEntry.java69 * this method is ill-defined and ignores strength.
92 * Gets the strength of the entry.
95 return strength;
120 if (strength == Collator.PRIMARY || lastEntry != null)
133 switch (strength) {
188 PatternEntry(int strength, argument
192 this.strength = strength;
303 int strength = UNSET; field in class:PatternEntry
H A DMergeCollation.java230 If the strength is RESET, then just change the lastEntry to
239 // strings that are canonically equivalent is normalized). If so, and the strength
244 if (newEntry.strength != Collator.IDENTICAL
245 && newEntry.strength != PatternEntry.RESET) {
256 if (newEntry.strength != PatternEntry.RESET) {
308 if (entry.strength != PatternEntry.RESET) {
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/util/
H A DAbstractSaslImpl.java57 protected byte[] strength; // ordered list of cipher strengths field in class:AbstractSaslImpl
95 strength = parseStrength(prop=(String)props.get(Sasl.STRENGTH));
97 "SASLIMPL04:Preferred strength property: {0}", prop);
98 if (logger.isLoggable(Level.FINE) && strength.length > 0) {
100 for (int i = 0; i < strength.length; i++) {
101 strbuf.append(Byte.toString(strength[i]));
138 strength = STRENGTH_MASKS;
209 private static final byte[] parseStrength(String strength) argument
211 if (strength == null) {
215 return parseProp(Sasl.STRENGTH, strength, STRENGTH_TOKEN
[all...]
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAKeyPairGenerator.java68 private static void checkStrength(int strength) { argument
69 if ((strength < 512) || (strength > 1024) || (strength % 64 != 0)) {
H A DDSAParameterGenerator.java76 * Initializes this parameter generator for a certain strength
79 * @param strength the strength (size of prime) in bits
82 protected void engineInit(int strength, SecureRandom random) { argument
90 if ((strength < 512) || (strength > 1024) || (strength % 64 != 0)) {
95 this.modLen = strength;
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DStringComparable.java198 private static final int getMask(final int strength) { argument
199 switch (strength) {
208 //get collation element with given strength
209 // from the element with max strength
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/digest/
H A DDigestMD5Client.java77 * javax.security.sasl.strength
78 * auth-conf strength; list of high, medium, low; default is highest
89 * setting of the javax.security.sasl.strength property.
502 // cipher options. Leverage strength array against what is
508 "a strength level for 'auth-conf'");
514 * Steps through the ordered 'strength' array, and compares it with
516 * the best possible cipher based on the strength preference and the
525 for (int i = 0; i < strength.length; i++) {
526 if ((s=strength[i]) != 0) {

Completed in 38 milliseconds