aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhbratko <hbratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-08-22 09:22:12 +0000
committerhbratko <hbratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-08-22 09:22:12 +0000
commitb6ce5c19802ccaec60081091746f64a06dde5a8b (patch)
tree1c69a2175cefbd2571f13c85b7c620e1ad9c7be3
parent8a28481db0fc38ba1e1f91b709f9b89f933ad519 (diff)
downloadmoa-id-spss-b6ce5c19802ccaec60081091746f64a06dde5a8b.tar.gz
moa-id-spss-b6ce5c19802ccaec60081091746f64a06dde5a8b.tar.bz2
moa-id-spss-b6ce5c19802ccaec60081091746f64a06dde5a8b.zip
Added field for signature manifest check code.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@921 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java
index 8233d1478..4f0fe5ac7 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java
@@ -29,6 +29,11 @@ public class VerifyXMLSignatureResponse {
private boolean qualifiedCertificate;
/** The x509certificate to be stored */
private X509Certificate x509certificate;
+ /**
+ * The result of the signature manifest check. The default value <code>-1</code>
+ * indicates that the signature manifest has not been checked.
+ */
+ private int signatureManifestCheckCode = -1;
/**
* Returns the certificateCheckCode.
@@ -174,4 +179,22 @@ public class VerifyXMLSignatureResponse {
this.publicAuthority = publicAuthority;
}
+ /**
+ * Returns the the resulting code of the signature manifest check.
+ *
+ * @return The code of the sigature manifest check.
+ */
+ public int getSignatureManifestCheckCode() {
+ return signatureManifestCheckCode;
+ }
+
+ /**
+ * Sets the signatureManifestCode.
+ *
+ * @param signatureManifestCode The signatureManifestCode to set.
+ */
+ public void setSignatureManifestCheckCode(int signatureManifestCheckCode) {
+ this.signatureManifestCheckCode = signatureManifestCheckCode;
+ }
+
}