package at.gv.egovernment.moa.spss.api.xmlsign;
/**
* Base class for SignatureEnvironmentResponse
and
* ErrorResponse
elements in a
* CreateXMLSignatureResponse
.
*
* @author Patrick Peck
* @author Stephan Grill
* @version $Id$
*/
public interface CreateXMLSignatureResponseElement {
/**
* Indicates that this object contains a SignatureEnvironment
.
*/
public static final int SIGNATURE_ENVIRONMENT_RESPONSE = 0;
/**
* Indicates that this objet contains an ErrorResponse
.
*/
public static final int ERROR_RESPONSE = 1;
/**
* Gets the type of response object.
*
* @return The type of response object, either
* SIGNATURE_ENVIRONMENT_RESPONSE
or ERROR_RESPONSE
.
*/
public int getResponseType();
}