fi.hut.tcm.spki
Interface Validity

All Known Implementing Classes:
Valid

public abstract interface Validity
extends Composite, Component

Validity The validity field in a SPKI certificate. Can consist of a not-before date, a not-after date and a list of on-line tests. All these are optional.


Method Summary
 java.util.Date getNotAfter()
           
 java.util.Date getNotBefore()
           
 OnlineTest getOnlineTest()
           
 boolean test()
          Tests if validity is true.
 
Methods inherited from interface fi.hut.tcm.spki.Composite
add, check, get, get, iterator, remove, size
 

Method Detail

getNotBefore

public java.util.Date getNotBefore()

getNotAfter

public java.util.Date getNotAfter()

getOnlineTest

public OnlineTest getOnlineTest()

test

public boolean test()
Tests if validity is true.