Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAlgorithmChecker.java75 private final AlgorithmConstraints constraints; field in AlgorithmChecker
123 public AlgorithmChecker(AlgorithmConstraints constraints) { in AlgorithmChecker() argument
126 this.constraints = constraints; in AlgorithmChecker()
140 AlgorithmConstraints constraints) { in AlgorithmChecker() argument
159 this.constraints = constraints; in AlgorithmChecker()
207 if (!(cert instanceof X509Certificate) || constraints == null) { in check()
258 if (constraints instanceof DisabledAlgorithmConstraints) { in check()
261 ((DisabledAlgorithmConstraints)constraints).permits(primitives, in check()
285 if (!(constraints instanceof DisabledAlgorithmConstraints)) { in check()
287 if (!constraints.permits( in check()
[all …]
DBuilder.java280 static int targetDistance(NameConstraintsExtension constraints, in targetDistance() argument
285 if (constraints != null && !constraints.verify(cert)) { in targetDistance()
329 if (constraints != null) { in targetDistance()
330 constraints.merge(ncExt); in targetDistance()
335 constraints = (NameConstraintsExtension) ncExt.clone(); in targetDistance()
340 + String.valueOf(constraints)); in targetDistance()
344 constraints.get(NameConstraintsExtension.PERMITTED_SUBTREES); in targetDistance()
346 constraints.get(NameConstraintsExtension.EXCLUDED_SUBTREES); in targetDistance()
355 if (!constraints.verify(target)) { in targetDistance()
DPKIX.java85 private CertSelector constraints; field in PKIX.ValidatorParams
164 constraints = params.getTargetCertConstraints(); in targetCertConstraints()
167 return constraints; in targetCertConstraints()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLParameters.java231 public void setAlgorithmConstraints(AlgorithmConstraints constraints) { in setAlgorithmConstraints() argument
233 this.algorithmConstraints = constraints; in setAlgorithmConstraints()