# Class CSAgeService

java.lang.Object
com.io7m.certusine.vanilla.internal.age.CSAgeService

All Implemented Interfaces:
  `CSAgeServiceType, com.io7m.repetoir.core.RPServiceType, AutoCloseable`

public final class CSAgeService extends Object implements CSAgeServiceType
An age service for certificates.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `static CSAgeServiceType`
  `create(Clock clock, CSCertificateStoreServiceType stores, CSEventServiceType events)`
  Create a service.
  `String`
  `description()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### create

    public static CSAgeServiceType create(Clock clock, CSCertificateStoreServiceType stores, CSEventServiceType events)
    Create a service.
    Parameters:
      `clock` - The clock
      `stores` - The certificate store service
      `events` - The event service
    Returns:
      A service

  - ### description

    public String description()
    Specified by:
      `description` in interface `com.io7m.repetoir.core.RPServiceType`

  - ### close

    public void close() throws Exception
    Specified by:
      `close` in interface `AutoCloseable`
    Throws:
      `Exception`