Searched refs:check (Results 1 - 25 of 54) sorted by relevance

123

/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/sun/nio/ch/
H A DIOStatus.java54 // assert IOStatus.check(n); // Checks other negative values
64 static boolean check(int n) { method in class:IOStatus
74 static boolean check(long n) { method in class:IOStatus
H A DSinkChannelImpl.java174 assert IOStatus.check(n);
197 assert IOStatus.check(n);
H A DSourceChannelImpl.java178 assert IOStatus.check(n);
209 assert IOStatus.check(n);
H A DFileChannelImpl.java165 assert IOStatus.check(n);
195 assert IOStatus.check(n);
221 assert IOStatus.check(n);
251 assert IOStatus.check(n);
279 assert IOStatus.check(p);
304 assert IOStatus.check(p);
326 assert IOStatus.check(s);
382 assert IOStatus.check(rv);
402 assert IOStatus.check(rv);
728 assert IOStatus.check(
[all...]
/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.java33 protected void check(KeyPair keyPair) throws Exception { method in class:KeyFactoryTestRSA
/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 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
H A DIdentityScope.java164 check("setSystemScope");
251 private static void check(String directive) { method in class:IdentityScope
H A DSecureClassLoader.java191 check();
221 private void check() { method in class:SecureClassLoader
/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/misc/
H A DURLClassPath.java167 * or null if not found or security check fails.
170 * @param check whether to perform a security check
174 public URL findResource(String name, boolean check) { argument
177 URL url = loader.findResource(name, check);
190 * @param check whether to perform a security check
193 public Resource getResource(String name, boolean check) { argument
200 Resource res = loader.getResource(name, check);
216 final boolean check) {
215 findResources(final String name, final boolean check) argument
262 getResources(final String name, final boolean check) argument
437 static void check(URL url) throws IOException { method in class:URLClassPath
490 findResource(final String name, boolean check) argument
525 getResource(final String name, boolean check) argument
751 checkResource(final String name, boolean check, final JarEntry entry) argument
816 findResource(final String name, boolean check) argument
827 getResource(final String name, boolean check) argument
857 getResource(final String name, boolean check, Set<String> visited) argument
1044 findResource(final String name, boolean check) argument
1052 getResource(final String name, boolean check) argument
[all...]
/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/ojluni/src/main/java/sun/security/provider/certpath/
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 DUntrustedChecker.java38 * A <code>PKIXCertPathChecker</code> implementation to check whether a
72 public void check(Certificate cert, method in class:UntrustedChecker
H A DAlgorithmChecker.java61 * A <code>PKIXCertPathChecker</code> implementation to check whether a
100 * Note that this constructor will be used to check a certification
168 public void check(Certificate cert, method in class:AlgorithmChecker
173 // ignore the check for non-x.509 certificate or null constraints
201 "Algorithm constraints check failed: " + currSigAlg,
205 // check the key usage and key size
243 "algorithm constraints check failed",
256 "Algorithm constraints check failed: " + currSigAlg,
293 // check the extended key usage, ignore the check no
332 static void check(PublicKey key, X509CRL crl) method in class:AlgorithmChecker
352 static void check(PublicKey key, AlgorithmId algorithmId) method in class:AlgorithmChecker
[all...]
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 DPKIXMasterCertPathValidator.java119 currChecker.check(currCert, unresCritExts);
H A DReverseBuilder.java360 currentState.untrustedChecker.check(cert,
364 * check for looping - abort a loop if
369 * in order to facilitate the check to see if there are
400 /* check if target cert */
403 /* check if CA cert */
409 /* check if CA cert */
430 * If final cert, check that it satisfies specified target
435 "constraints check failed");
443 currentState.revChecker.check(cert, Collections.<String>emptySet());
452 ("name constraints check faile
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSelectionKeyTest.java101 Object check = mockSelectionKey.attach(o);
102 assertNull(check);
105 check = mockSelectionKey.attach(null);
106 assertSame(o, check);
108 check = mockSelectionKey.attach(o);
109 assertNull(check);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java86 private final void check(boolean close) throws IOException { method in class:KXmlSerializer
207 check(false);
312 check(false);
398 check(false);
502 check(false);
507 check();
527 check(true);
564 check(false);
577 check(false);
617 check(fals
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DFileTest.java1226 boolean[] check = new boolean[flist.length];
1227 for (int i = 0; i < check.length; i++) {
1228 check[i] = false;
1233 check[i] = true;
1239 for (int i = 0; i < check.length; i++) {
1240 if (check[i] == false) {
1339 boolean[] check = new boolean[flist.length];
1340 for (int i = 0; i < check.length; i++) {
1341 check[i] = false;
1346 check[
[all...]

Completed in 956 milliseconds

123