From 4ce9dae4c77ed6f2f37a2e65bc8198f7cf3f5c5b Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 5 Jun 2019 13:11:54 +0200 Subject: add useMandate flag --- .../egiz/eaaf/core/impl/idp/EidAuthenticationData.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'eaaf_core/src/main/java') 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; + } + } -- cgit v1.2.3