/************************************************************************* * * * SignServer: The OpenSource Automated Signing Server * * * * 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.signserver.common; import java.security.cert.Certificate; import java.util.Collection; import org.signserver.server.archive.Archivable; /** Response used for a signed SO(d) from the MRTD SOD Signer. Used for ePassports. * This is not located in the mrtdsod module package because it has to be available at startup to map urls. * * @author Markus KilÄs * @version $Id: SODSignResponse.java 2841 2012-10-16 08:31:40Z netmackan $ */ public class SODSignResponse extends GenericSignResponse { private static final long serialVersionUID = 2L; /** * Default constructor used during serialization */ public SODSignResponse() { this.tag = RequestAndResponseManager.RESPONSETYPE_SODSIGNRESPONSE; } /** * Creates a SODSignResponse, works as a simple VO. * * @see org.signserver.common.ProcessRequest */ public SODSignResponse(int requestID, byte[] processedData, Certificate signerCertificate, String archiveId, Collection archivables) { super(requestID, processedData, signerCertificate, null, archiveId, archivables); this.tag = RequestAndResponseManager.RESPONSETYPE_SODSIGNRESPONSE; } }