Searched defs:check (Results 1 - 25 of 45) sorted by relevance

12

/libcore/luni/src/test/java/libcore/javax/crypto/spec/
H A DKeyFactoryTestDH.java31 protected void check(KeyPair keyPair) throws Exception { method in class:KeyFactoryTestDH
H A DKeyFactoryTestDSA.java32 protected void check(KeyPair keyPair) throws Exception { method in class:KeyFactoryTestDSA
H A DKeyFactoryTestRSA.java39 protected void check(KeyPair keyPair) throws Exception { method in class:KeyFactoryTestRSA
/libcore/ojluni/src/main/java/java/security/cert/
H A DCertPathChecker.java34 * may check for and process a critical private extension of each certificate
45 * be passed to the {@link #check check} method (forward or reverse).
48 * {@code check} method. If {@code true}, certificates are
52 * unable to check certificates in the specified order
59 * when certificates are presented to the {@code check} method in the
68 * Performs the check(s) on the specified certificate using its internal
74 * not pass the check
76 void check(Certificate cert) throws CertPathValidatorException; method in interface:CertPathChecker
H A DPKIXCertPathChecker.java37 * For example, an implementation may check for and process a critical private
44 * class. Each of the {@code PKIXCertPathChecker}s {@link #check check}
52 * check successive certificates. The {@link #init init} method is used
72 * Additional input parameters required for executing the check may be
102 * certificates will be passed to the {@link #check check} method
107 * the {@code check} method. If {@code true}, certificates
111 * {@code PKIXCertPathChecker} is unable to check certificates in
122 * its checks when certificates are presented to the {@code check}
164 public abstract void check(Certificate cert, method in class:PKIXCertPathChecker
175 public void check(Certificate cert) throws CertPathValidatorException { method in class:PKIXCertPathChecker
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DSerialCallbackContext.java63 public void check() throws NotActiveException { method in class:SerialCallbackContext
/libcore/ojluni/src/main/java/java/security/
H A DSigner.java109 check("getSignerPrivateKey");
134 check("setSignerKeyPair");
176 private static void check(String directive) { method in class:Signer
H A DIdentityScope.java166 check("setSystemScope");
253 private static void check(String directive) { method in class:IdentityScope
H A DSecureClassLoader.java191 check();
221 private void check() { method in class:SecureClassLoader
H A DIdentity.java187 check("setIdentityPublicKey");
209 check("setIdentityInfo");
249 check("addIdentityCertificate");
298 check("removeIdentityCertificate");
413 check("printIdentity");
495 private static void check(String directive) { method in class:Identity
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DIOStatus.java55 // assert IOStatus.check(n); // Checks other negative values
65 public static boolean check(int n) { method in class:IOStatus
75 public static boolean check(long n) { method in class:IOStatus
/libcore/support/src/test/java/tests/security/
H A DKeyFactoryTest.java60 check(new KeyPair(publicKey, privateKey));
63 protected void check(KeyPair keyPair) throws Exception {} method in class:KeyFactoryTest
/libcore/luni/src/test/java/tests/security/cert/
H A DPKIXCertPathCheckerTest.java79 pc.check(new MyCertificate("", null), new HashSet<String>());
89 public void check(Certificate cert, method in class:PKIXCertPathCheckerTest.MyPKIXCertPathChecker
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DKeyChecker.java106 public void check(Certificate cert, Collection<String> unresCritExts) method in class:KeyChecker
113 // if final certificate, check that target constraints are satisfied
118 "constraints check failed");
152 // in the certificate - in which case there is nothing to check
160 (msg + " check failed: keyCertSign bit is not set", null,
H A DAlgorithmChecker.java62 * A <code>PKIXCertPathChecker</code> implementation to check whether a
117 * Note that this constructor will be used to check a certification
203 public void check(Certificate cert, method in class:AlgorithmChecker
208 // ignore the check for non-x.509 certificate or null constraints
212 // check the key usage and key size
283 // If 'constraints' is not of DisabledAlgorithmConstraints, check all
291 "Algorithm constraints check failed on signature " +
298 "Algorithm constraints check failed on keysize: " +
310 "Algorithm constraints check failed on " +
347 // check th
391 static void check(PublicKey key, X509CRL crl) method in class:AlgorithmChecker
411 static void check(PublicKey key, AlgorithmId algorithmId) method in class:AlgorithmChecker
[all...]
H A DConstraintsChecker.java111 * does not pass the check
114 public void check(Certificate cert, Collection<String> unresCritExts) method in class:ConstraintsChecker
120 // MUST run NC check second, since it depends on BC check to
132 * Internal method to check the name constraints against a cert
142 // check name constraints only if there is a previous name constraint
154 throw new CertPathValidatorException(msg + " check failed",
220 * Internal method to check that a given cert meets basic constraints.
232 /* check if intermediate cert */
260 (msg + " check faile
[all...]
H A DBasicChecker.java138 public void check(Certificate cert, Collection<String> unresolvedCritExts) method in class:BasicChecker
173 (msg + " check failed", e, null, -1,
176 throw new CertPathValidatorException(msg + " check failed", e);
197 (msg + " check failed", e, null, -1, BasicReason.EXPIRED);
200 (msg + " check failed", e, null, -1, BasicReason.NOT_YET_VALID);
208 * Internal method to check that cert has a valid DN to be next in a chain
224 (msg + " check failed: " +
231 (msg + " check failed", null, null, -1,
H A DOCSP.java60 * just check the revocation status of a certificate, and you don't want to
77 * used for the OCSP check. A timeout of zero is interpreted as
114 public static RevocationStatus check(X509Certificate cert, method in class:OCSP
131 OCSPResponse ocspResponse = check(Collections.singletonList(certId),
152 public static RevocationStatus check(X509Certificate cert, method in class:OCSP
159 return check(cert, issuerCert, responderURI, responderCert, date,
164 public static RevocationStatus check(X509Certificate cert, method in class:OCSP
179 OCSPResponse ocspResponse = check(Collections.singletonList(certId),
199 static OCSPResponse check(List<CertId> certIds, URI responderURI, method in class:OCSP
H A DPolicyChecker.java176 public void check(Certificate cert, Collection<String> unresCritExts) method in class:PolicyChecker
751 + "inside policyMapping check");
/libcore/ojluni/src/test/java/nio/file/attribute/
H A DBasicFileAttributeViewTest.java45 static void check(boolean okay, String msg) { method in class:BasicFileAttributeViewTest
54 check(attrs.isDirectory(), "is a directory");
55 check(!attrs.isRegularFile(), "is not a regular file");
56 check(!attrs.isSymbolicLink(), "is not a link");
57 check(!attrs.isOther(), "is not other");
61 check(f.lastModified()/1000 == attrs.lastModifiedTime().to(TimeUnit.SECONDS),
69 check(attrs.isRegularFile(), "is a regular file");
70 check(!attrs.isDirectory(), "is not a directory");
71 check(!attrs.isSymbolicLink(), "is not a link");
72 check(!attr
[all...]
/libcore/ojluni/src/test/java/time/test/java/time/
H A DTestMonthDay.java93 void check(MonthDay test, int m, int d) { method in class:TestMonthDay
H A DTestLocalTime.java87 private void check(LocalTime time, int h, int m, int s, int n) { method in class:TestLocalTime
97 check(LocalTime.MIDNIGHT, 0, 0, 0, 0);
108 check(LocalTime.NOON, 12, 0, 0, 0);
120 check(LocalTime.MIN, 0, 0, 0, 0);
130 check(LocalTime.MAX, 23, 59, 59, 999999999);
/libcore/ojluni/src/main/java/java/time/zone/
H A DIcuZoneRulesProvider.java199 * @param check
202 * Zone ID for which to check.
204 * Error description of a failed check.
206 * If and only if {@code check} is {@code false}.
208 private static void verify(boolean check, String zoneId, String message) { argument
209 if (!check) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DConstructorTest.java82 public int check() { method in class:ConstructorTest.ConstructorTestHelper
386 assertEquals("improper instance created", 99, test.check());
/libcore/luni/src/test/java/libcore/java/lang/
H A DLambdaImplementationTest.java58 boolean check(T arg); method in interface:LambdaImplementationTest.Condition
70 assertTrue(c.check(""));
71 assertFalse(c.check("notEmpty"));
74 "check", Object.class /* type erasure => not String.class */);
79 "check", Object.class /* type erasure => not String.class */);
305 // Sanity check that the lambdas do the same thing.
327 // Sanity check that the lambdas do the same thing.

Completed in 1341 milliseconds

12