View Javadoc
1 package jsdsi; 2 3 import java.net.URI; 4 import java.util.Iterator; 5 6 import jsdsi.sexp.Sexp; 7 import jsdsi.sexp.SexpParseException; 8 import jsdsi.sexp.SexpUtil; 9 10 /*** 11 * Checks whether a certificate appears on a revalidation list. 12 * 13 * @author Sameer Ajmani 14 * @author Sean Radford 15 * @version $Revision: 1.3.2.1 $ $Date: 2005/11/08 03:12:52 $ 16 */ 17 public class Revalidation extends OnlineTest { 18 19 private static final long serialVersionUID = -2598887055703450578L; 20 21 /*** 22 * @see jsdsi.OnlineTest#OnlineTest(Principal, URI[]) 23 */ 24 public Revalidation(Principal p, URI[] u) { 25 super(p, u); 26 } 27 28 /*** 29 * @see java.lang.Object#equals(Object) 30 */ 31 public boolean equals(Object o) { 32 return (o instanceof Revalidation) && super.equals(o); 33 } 34 35 /*** 36 * @see java.lang.Object#hashCode() 37 */ 38 public int hashCode() { 39 return super.hashCode(); 40 } 41 42 String getSexpType() { 43 return "reval"; 44 } 45 46 Sexp[] getSexpParts() { 47 return new Sexp[0]; 48 } 49 50 static Revalidation parseRevalidation(Principal p, URI[] u, Iterator obody) 51 throws SexpParseException { 52 SexpUtil.checkDone(obody, "revalidation"); // TODO; support s-parts 53 return new Revalidation(p, u); 54 } 55 }

This page was automatically generated by Maven