Searched defs:check (Results 1 - 25 of 33) 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.java33 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/security/
H A DSigner.java109 check("getSignerPrivateKey");
134 check("setSignerKeyPair");
176 private static void check(String directive) { method in class:Signer
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
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 DSecurity.java251 check("insertProvider." + providerName);
336 check("removeProvider." + name);
685 check("setProperty."+key);
745 private static void check(String directive) { method in class:Security
835 // there is no need to check the value.
/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
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
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 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.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 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/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/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/ojluni/src/main/java/sun/security/validator/
H A DEndEntityChecker.java35 * Class to check if an end entity cert is suitable for use in some
135 void check(X509Certificate cert, Object parameter) method in class:EndEntityChecker
180 // We do not check the validity of the critical extension, just mark
285 // check for equivalent but now obsolete Server-Gated-Cryptography
330 // do not check Netscape cert type for JCE code signing checks
/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/ojluni/src/main/java/sun/security/util/
H A DObjectIdentifier.java140 * Validity check included.
213 * Validity check included.
227 * Validity check NOT included.
247 * Then get and check the length of the ID's encoding. We set
248 * up so that we can use in.available() to check for the end of
260 check(encoding);
266 * Validity check NOT included.
273 check(encoding);
297 * does the check and conversion. All around the JDK, the method is called
590 * Private methods to check validit
601 private static void check(byte[] encoding) throws IOException { method in class:ObjectIdentifier
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DConcurrentSkipListSetTest.java676 check(set, 0, setSize - 1, true, bs);
677 check(set.descendingSet(), 0, setSize - 1, false, bs);
680 check(set, 0, setSize - 1, true, bs);
681 check(set.descendingSet(), 0, setSize - 1, false, bs);
782 check(set, min, max, ascending, bs);
783 check(set.descendingSet(), min, max, !ascending, bs);
786 check(set, min, max, ascending, bs);
787 check(set.descendingSet(), min, max, !ascending, bs);
861 void check(NavigableSet<Integer> set, method in class:ConcurrentSkipListSetTest

Completed in 1479 milliseconds

12