Home
last modified time | relevance | path

Searched refs:primitives (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/util/
DDisabledAlgorithmConstraints.java96 final public boolean permits(Set<CryptoPrimitive> primitives, in permits() argument
99 if (primitives == null || primitives.isEmpty()) { in permits()
112 final public boolean permits(Set<CryptoPrimitive> primitives, Key key) { in permits() argument
113 return checkConstraints(primitives, "", key, null); in permits()
121 final public boolean permits(Set<CryptoPrimitive> primitives, in permits() argument
128 return checkConstraints(primitives, algorithm, key, parameters); in permits()
138 public final void permits(Set<CryptoPrimitive> primitives, in permits() argument
140 checkConstraints(primitives, cp); in permits()
147 public final void permits(Set<CryptoPrimitive> primitives, in permits() argument
149 checkConstraints(primitives, new CertConstraintParameters(cert)); in permits()
[all …]
/libcore/ojluni/src/main/java/java/security/
DAlgorithmConstraints.java69 public boolean permits(Set<CryptoPrimitive> primitives, in permits() argument
87 public boolean permits(Set<CryptoPrimitive> primitives, Key key); in permits() argument
105 public boolean permits(Set<CryptoPrimitive> primitives, in permits() argument
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAlgorithmChecker.java221 Set<CryptoPrimitive> primitives = KU_PRIMITIVE_SET; in check() local
224 primitives = EnumSet.noneOf(CryptoPrimitive.class); in check()
231 primitives.add(CryptoPrimitive.SIGNATURE); in check()
235 primitives.add(CryptoPrimitive.KEY_ENCAPSULATION); in check()
239 primitives.add(CryptoPrimitive.PUBLIC_KEY_ENCRYPTION); in check()
243 primitives.add(CryptoPrimitive.KEY_AGREEMENT); in check()
249 if (primitives.isEmpty()) { in check()
261 ((DisabledAlgorithmConstraints)constraints).permits(primitives, in check()
296 if (!constraints.permits(primitives, currPubKey)) { in check()
/libcore/test-rules/src/platform_compat/java/libcore/junit/util/
DCoreCompatChangeRule.java32 import com.google.common.primitives.Longs;