package at.gv.egovernment.moa.spss.api.common;
/**
* Interface specifying accessors for two attributes needed for returning
* HashInputData
and ReferenceInputData
information
* as part of VerifyXMLSignatureResponse
.
*
* @author Gregor Karlinger
*
* @version $Id$
*/
public interface InputData extends Content
{
/**
* Possible value returned by {@link getPartOf}.
*/
public static String CONTAINER_SIGNEDINFO_ = "SignedInfo";
/**
* Possible value returned by {@link getPartOf}.
*/
public static String CONTAINER_XMLDSIGMANIFEST_ = "XMLDSIGManifest";
/**
* Value returned by {link getReferringReferenceNumber}, signalling that the
* attribute is not used.
*/
public static int REFERER_NONE_ = -1;
/**
* Returns a String
signalling what kind of container the
* XMLDSIG Reference
this InputData
belongs
* to is part of.
*
* @return the kind of container.
*/
public String getPartOf();
/**
* If this InputData
belongs to an XMLDSIG Reference
* being part of either a XMLDSIGManifest or a SignatureManifest, this method
* returns a positive int value signalling the particular Reference
* of the XMLDSIG SignedInfo
referring to the XMLDSIGManifest or
* SignatureManifest respectively.
*/
public int getReferringReferenceNumber();
}