Esempio n. 1
0
 /**
  * Adds a <code>PKIXCertPathChecker</code> to the list of certification
  * path checkers. See the {@link #setCertPathCheckers setCertPathCheckers}
  * method for more details.
  * <p>
  * Note that the <code>PKIXCertPathChecker</code> is cloned to protect
  * against subsequent modifications.</p>
  *
  * @param checker a <code>PKIXCertPathChecker</code> to add to the list of
  * checks. If <code>null</code>, the checker is ignored (not added to list).
  */
 public virtual void AddCertPathChecker(
     PkixCertPathChecker checker)
 {
     if (checker != null)
     {
         certPathCheckers.Add(checker.Clone());
     }
 }
Esempio n. 2
0
		/**
		 * Adds a <code>PKIXCertPathChecker</code> to the list of certification
		 * path checkers. See the {@link #setCertPathCheckers setCertPathCheckers}
		 * method for more details.
		 * <p>
		 * Note that the <code>PKIXCertPathChecker</code> is cloned to protect
		 * against subsequent modifications.</p>
		 *
		 * @param checker a <code>PKIXCertPathChecker</code> to add to the list of
		 * checks. If <code>null</code>, the checker is ignored (not added to list).
		 */
		public virtual void AddCertPathChecker(
			PkixCertPathChecker checker)
		{
			if (checker != null)
			{
				certPathCheckers.Add(checker.Clone());
			}
		}