summaryrefslogtreecommitdiff
path: root/eaaf_core/src/main/java/at/gv
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-06-05 13:11:54 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-06-05 13:11:54 +0200
commit4ce9dae4c77ed6f2f37a2e65bc8198f7cf3f5c5b (patch)
tree2a2c142985967ea8b980e6c49eaed526b50cf61e /eaaf_core/src/main/java/at/gv
parent293dfc98ceadd2c7ec058b9a7d2f3050d5dcb88e (diff)
downloadEAAF-Components-4ce9dae4c77ed6f2f37a2e65bc8198f7cf3f5c5b.tar.gz
EAAF-Components-4ce9dae4c77ed6f2f37a2e65bc8198f7cf3f5c5b.tar.bz2
EAAF-Components-4ce9dae4c77ed6f2f37a2e65bc8198f7cf3f5c5b.zip
add useMandate flag
Diffstat (limited to 'eaaf_core/src/main/java/at/gv')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/EidAuthenticationData.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/EidAuthenticationData.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/EidAuthenticationData.java
index 71ee0172..8a59a0be 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/EidAuthenticationData.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/EidAuthenticationData.java
@@ -20,6 +20,7 @@ public class EidAuthenticationData extends AuthenticationData implements IEidAut
private byte[] eIDToken;
private byte[] signerCertificate;
private EID_IDENTITY_STATUS_LEVEL_VALUES eidStatus;
+ private boolean useMandate = false;
@Override
public byte[] getSignerCertificate() {
@@ -37,6 +38,11 @@ public class EidAuthenticationData extends AuthenticationData implements IEidAut
}
+ @Override
+ public boolean isUseMandate() {
+ return useMandate;
+ }
+
/**
* Set the status of the E-ID identity
@@ -83,4 +89,14 @@ public class EidAuthenticationData extends AuthenticationData implements IEidAut
this.signerCertificate = signerCertificate;
}
+
+ /**
+ * Set flag that mandates are used in this process
+ *
+ * @param useMandate true if mandates was used, otherwise false
+ */
+ public void setUseMandate(boolean useMandate) {
+ this.useMandate = useMandate;
+ }
+
}