/************************************************************************* * * * EJBCA Community: The OpenSource Certificate Authority * * * * 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.ejbca.core.protocol.acme; import java.util.LinkedHashMap; import java.util.List; import org.cesecore.certificates.endentity.EndEntityInformation; import org.ejbca.core.protocol.acme.response.AcmeProblemResponse; /** * ACME Order object * * @version $Id: AcmeOrder.java 29784 2018-08-30 08:20:30Z tarmo_r_helmes $ */ public interface AcmeOrder { String getOrderId(); String getAccountId(); String getFingerprint(); void setFingerprint(String fingerprint); String getStatus(); void setStatus(String status); String getFinalize(); void setFinalize(String finalize); List getIdentifiers(); void setIdentifiers(List identifiers); long getNotBefore(); long getNotAfter(); long getExpires(); AcmeOrderStatus getAcmeOrderStatus(); void setAcmeOrderStatus(AcmeOrderStatus acmeOrderStatus); String getCertificateId(); void setCertificateId(String certificateId); AcmeProblemResponse getError(); void setError(AcmeProblemResponse acmeProblemResponse); void setEndEntityInformation(EndEntityInformation endEntityInformation); EndEntityInformation getEndEntityInformation(); float getLatestVersion(); void upgrade(); LinkedHashMap getRawData(); void setIsActive(boolean isActive); boolean getIsActive(); }