All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cesecore.certificates.certificatetransparency.CTAuditLogCallback Maven / Gradle / Ivy

/*************************************************************************
 *                                                                       *
 *  CESeCore: CE Security Core                                           *
 *                                                                       *
 *  This software is free software; you can redistribute it and/or       *
 *  modify it under the terms of the GNU Lesser General Public           *
 *  License as published by the Free Software Foundation; either         *
 *  version 2.1 of the License, or any later version.                    *
 *                                                                       *
 *  See terms of license at gnu.org.                                     *
 *                                                                       *
 *************************************************************************/  
package org.cesecore.certificates.certificatetransparency;

import java.security.cert.X509Certificate;

import org.cesecore.certificates.ca.X509CA;
import org.cesecore.certificates.endentity.EndEntityInformation;

/**
 * Callback for audit logging CT pre-certificate submission during certificate generation in X509CA.
 * 
 * @version $Id: CTAuditLogCallback.java 18908 2014-05-08 23:28:24Z samuellb $
 */
public interface CTAuditLogCallback {
    
    /**
     * Called after a pre-certificate has been submitted to CT logs, or on failure to submit it.
     */
    void logPreCertSubmission(X509CA issuer, EndEntityInformation subject, X509Certificate precert, boolean success);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy