1 13 14 package org.ejbca.core.model.ca.publisher; 15 16 import java.security.cert.Certificate ; 17 import java.util.Properties ; 18 19 import org.ejbca.core.model.log.Admin; 20 import org.ejbca.core.model.ra.ExtendedInformation; 21 22 23 24 25 26 32 33 public interface ICustomPublisher { 34 35 39 public abstract void init(Properties properties); 40 41 44 public abstract boolean storeCertificate(Admin admin, Certificate incert, String username, String password, String cafp, int status, int type, long revocationDate, int revocationReason, ExtendedInformation extendedinformation)throws PublisherException; 45 46 49 public abstract boolean storeCRL(Admin admin, byte[] incrl, String cafp, int number)throws PublisherException; 50 51 54 public abstract void revokeCertificate(Admin admin, Certificate cert, int reason)throws PublisherException; 55 56 59 public abstract void testConnection(Admin admin) throws PublisherConnectionException; 60 61 62 } 63 64 | Popular Tags |