diff options
author | Thomas <> | 2021-03-16 16:28:35 +0100 |
---|---|---|
committer | Thomas <> | 2021-03-16 16:28:35 +0100 |
commit | 70004e7814f01e866a9a13a6ff51337e260fcad9 (patch) | |
tree | 06ab4bf0b307d28438526ed82e2f0969d40e8d97 /eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/data/GenericSignatureVerificationResponse.java | |
parent | 7864448fd040b26b5921cfc63afa68ef2cb90c03 (diff) | |
download | EAAF-Components-70004e7814f01e866a9a13a6ff51337e260fcad9.tar.gz EAAF-Components-70004e7814f01e866a9a13a6ff51337e260fcad9.tar.bz2 EAAF-Components-70004e7814f01e866a9a13a6ff51337e260fcad9.zip |
some small updates in moa-spss module
Diffstat (limited to 'eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/data/GenericSignatureVerificationResponse.java')
-rw-r--r-- | eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/data/GenericSignatureVerificationResponse.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/data/GenericSignatureVerificationResponse.java b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/data/GenericSignatureVerificationResponse.java index 56054d71..52fedb62 100644 --- a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/data/GenericSignatureVerificationResponse.java +++ b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/data/GenericSignatureVerificationResponse.java @@ -4,13 +4,13 @@ import java.io.Serializable; import java.security.cert.CertificateException; import java.util.Date; +import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import at.gv.egiz.eaaf.modules.sigverify.moasig.api.data.IGenericSignatureVerificationResponse; import at.gv.egiz.eaaf.modules.sigverify.moasig.exceptions.MoaSigServiceException; import at.gv.egiz.eaaf.modules.sigverify.moasig.exceptions.MoaSigServiceParserException; - import iaik.x509.X509Certificate; public class GenericSignatureVerificationResponse @@ -103,7 +103,13 @@ public class GenericSignatureVerificationResponse @Override public String getPublicAuthorityCode() { - return this.publicAuthorityCode; + if (StringUtils.isNotEmpty(this.publicAuthorityCode)) { + return this.publicAuthorityCode; + + } else { + return null; + + } } |