| CADatabaseSpi.java |
1 /*
2 * @(#) $Id: CADatabaseSpi.java,v 1.2 2003/07/08 08:13:52 pankaj Exp $
3 *
4 * Copyright (c) 2002-03 by Pankaj Kumar (http://www.pankaj-k.net).
5 * All rights reserved.
6 *
7 * The license governing the use of this file can be found in the
8 * root directory of the containing software.
9 */
10package org.jstk.cert.ca;
11
12import java.security.cert.Certificate;
13import java.security.cert.CertPath;
14import java.security.PrivateKey;
15import java.math.BigInteger;
16
17public interface CADatabaseSpi {
18 public IssuedCerts getIssuedCerts();
19 public RevokedCerts getRevokedCerts();
20 public Certificate getCACert();
21 public CertPath getCACertPath();
22 public PrivateKey getCAPrivateKey();
23 public BigInteger nextSerialNumber() throws CADatabaseException;
24}
25
26