package at.gv.egovernment.moa.id.auth.data; import iaik.x509.X509Certificate; /** * This bean saves all information of the MOA-SP-Answer * after the verification of any signature * * @author Stefan Knirsch * @version $Id$ * */ public class VerifyXMLSignatureResponse { /** The xmlDsigSubjectName to be stored */ private String xmlDsigSubjectName; /** The signatureCheckCode to be stored */ private int signatureCheckCode; /** The xmlDSIGManifestCheckCode to be stored */ private int xmlDSIGManifestCheckCode; /** The xmlDSIGManigest to be stored */ private boolean xmlDSIGManigest; /** The certificateCheckCode to be stored */ private int certificateCheckCode; /** The publicAuthority to be stored */ private boolean publicAuthority; /** The publicAuthorityCode to be stored */ private String publicAuthorityCode; /** The qualifiedCertificate to be stored */ private boolean qualifiedCertificate; /** The x509certificate to be stored */ private X509Certificate x509certificate; /** * Returns the certificateCheckCode. * @return int */ public int getCertificateCheckCode() { return certificateCheckCode; } /** * Returns the signatureCheckCode. * @return int */ public int getSignatureCheckCode() { return signatureCheckCode; } /** * Returns the xmlDSIGManifestCheckCode. * @return int */ public int getXmlDSIGManifestCheckCode() { return xmlDSIGManifestCheckCode; } /** * Returns the xmlDsigSubjectName. * @return String */ public String getXmlDsigSubjectName() { return xmlDsigSubjectName; } /** * Sets the certificateCheckCode. * @param certificateCheckCode The certificateCheckCode to set */ public void setCertificateCheckCode(int certificateCheckCode) { this.certificateCheckCode = certificateCheckCode; } /** * Sets the signatureCheckCode. * @param signatureCheckCode The signatureCheckCode to set */ public void setSignatureCheckCode(int signatureCheckCode) { this.signatureCheckCode = signatureCheckCode; } /** * Sets the xmlDSIGManifestCheckCode. * @param xmlDSIGManifestCheckCode The xmlDSIGManifestCheckCode to set */ public void setXmlDSIGManifestCheckCode(int xmlDSIGManifestCheckCode) { this.xmlDSIGManifestCheckCode = xmlDSIGManifestCheckCode; } /** * Sets the xmlDsigSubjectName. * @param xmlDsigSubjectName The xmlDsigSubjectName to set */ public void setXmlDsigSubjectName(String xmlDsigSubjectName) { this.xmlDsigSubjectName = xmlDsigSubjectName; } /** * Returns the publicAuthorityCode. * @return int */ public String getPublicAuthorityCode() { return publicAuthorityCode; } /** * Sets the publicAuthorityCode. * @param publicAuthorityCode The publicAuthorityCode to set */ public void setPublicAuthorityCode(String publicAuthorityCode) { this.publicAuthorityCode = publicAuthorityCode; } /** * Returns the qualifiedCertificate. * @return boolean */ public boolean isQualifiedCertificate() { return qualifiedCertificate; } /** * Returns the x509certificate. * @return X509Certificate */ public X509Certificate getX509certificate() { return x509certificate; } /** * Sets the qualifiedCertificate. * @param qualifiedCertificate The qualifiedCertificate to set */ public void setQualifiedCertificate(boolean qualifiedCertificate) { this.qualifiedCertificate = qualifiedCertificate; } /** * Sets the x509certificate. * @param x509certificate The x509certificate to set */ public void setX509certificate(X509Certificate x509certificate) { this.x509certificate = x509certificate; } /** * Returns the xmlDSIGManigest. * @return boolean */ public boolean isXmlDSIGManigest() { return xmlDSIGManigest; } /** * Sets the xmlDSIGManigest. * @param xmlDSIGManigest The xmlDSIGManigest to set */ public void setXmlDSIGManigest(boolean xmlDSIGManigest) { this.xmlDSIGManigest = xmlDSIGManigest; } /** * Returns the publicAuthority. * @return boolean */ public boolean isPublicAuthority() { return publicAuthority; } /** * Sets the publicAuthority. * @param publicAuthority The publicAuthority to set */ public void setPublicAuthority(boolean publicAuthority) { this.publicAuthority = publicAuthority; } }