View Javadoc
1 package jsdsi; 2 3 /*** 4 * The result of a call to the cert path builder: contains the 5 * certification path itself. 6 * 7 * @see CertPathBuilder 8 * 9 * @author Sameer Ajmani 10 * @version $Revision: 1.1.6.1 $ $Date: 2005/11/08 03:12:52 $ 11 */ 12 public class CertPathBuilderResult 13 implements java.security.cert.CertPathBuilderResult { 14 /*** 15 * Certificate path of this <code>CertPathBuilderResult</code>. 16 */ 17 private CertPath path; 18 19 /*** 20 * Stats of this <code>CertPathBuilderResult</code>. 21 */ 22 private CertPathBuilderStats stats; 23 24 /*** 25 * Creates a new <code>CertPathBuilderResult</code> from a given 26 * <code>CertPath</code> and <code>CertPathBuilderStats</code>. 27 * 28 * @param p <code>CertPath</code> for the new 29 * <code>CertPathBuilderResult</code>. 30 * @param s <code>CertPathBuilderStats</code> for the new 31 * <code>CertPathBuilderResult</code>. 32 */ 33 public CertPathBuilderResult(CertPath p, CertPathBuilderStats s) { 34 path = p; 35 stats = s; 36 } 37 38 /*** 39 * Returns the <code>CertPath</code> of this 40 * <code>CertPathBuilderResult</code>. 41 * 42 * @return the <code>CertPath</code> of this 43 * <code>CertPathBuilderResult</code>. 44 */ 45 public java.security.cert.CertPath getCertPath() { 46 return path; 47 } 48 49 /*** 50 * Returns the stats of this <code>CertPathBuilderResult</code>. 51 * 52 * @return the stats of this <code>CertPathBuilderResult</code>. 53 */ 54 public CertPathBuilderStats getStats() { 55 return stats; 56 } 57 58 /*** 59 * @see java.lang.Object#clone() 60 */ 61 public Object clone() { 62 return new CertPathBuilderResult(path, stats); 63 } 64 }

This page was automatically generated by Maven