Examples of check()


Examples of sun.security.provider.certpath.AlgorithmChecker.check()

        // It is a forward checker, so we need to check from trust to target.
        for (int i = chain.length - 1; i >= 0; i--) {
            Certificate cert = chain[i];
            try {
                // We don't care about the unresolved critical extensions.
                checker.check(cert, Collections.<String>emptySet());
            } catch (CertPathValidatorException cpve) {
                return false;
            }
        }
View Full Code Here

Examples of sun.security.provider.certpath.UntrustedChecker.check()

           
            // check untrusted certificate
            try {
                // Untrusted checker does not care about the unresolved
                // critical extensions.
                untrustedChecker.check(cert, Collections.<String>emptySet());
            } catch (CertPathValidatorException cpve) {
                throw new ValidatorException(
                    "Untrusted certificate: " + cert.getSubjectX500Principal(),
                    ValidatorException.T_UNTRUSTED_CERT, cert, cpve);
            }
View Full Code Here

Examples of sun.tools.javac.SourceClass.check()

                }

                done = false;

                src = (SourceClass)c.getClassDefinition(env);
                src.check(env);
                c.setDefinition(src, CS_CHECKED);
                // fall through
            }

        case CS_CHECKED:
View Full Code Here

Examples of thredds.catalog.InvCatalogImpl.check()

   */
  public int crawl(String catUrl, CancelTask task, PrintStream out, Object context) {
    InvCatalogFactory catFactory = InvCatalogFactory.getDefaultFactory(true);
    InvCatalogImpl cat = catFactory.readXML(catUrl);
    StringBuilder buff = new StringBuilder();
    boolean isValid = cat.check(buff, false);

    if (out != null) {
      out.println("catalog <" + cat.getName() + "> " + (isValid ? "is" : "is not") + " valid");
      out.println(" validation output=\n" + buff);
    }
View Full Code Here

Examples of tifauv.jplop.core.auth.Password.check()

   */
  public void testSetClearPassword()
  throws PasswordException {
    Password psw = new SSHAPassword();
    psw.setPassword("password");
    assertTrue(psw.check("password"));
  }
 
 
  public void testSetHashedPassword()
  throws PasswordException {
View Full Code Here

Examples of tifauv.jplop.core.auth.SSHAPassword.check()

   */
  public void testSetClearPassword()
  throws PasswordException {
    Password psw = new SSHAPassword();
    psw.setPassword("password");
    assertTrue(psw.check("password"));
  }
 
 
  public void testSetHashedPassword()
  throws PasswordException {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.