diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-01-05 10:12:29 +0100 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-01-05 10:12:29 +0100 |
commit | e5598adc39b1b8860bfac549626a56f0ad217465 (patch) | |
tree | c3f5e1ae487c3d1a4c419005e6f8598bff1e17f1 | |
parent | FCB version number missmatch corrected (diff) | |
download | UIC-barcode-e5598adc39b1b8860bfac549626a56f0ad217465.tar UIC-barcode-e5598adc39b1b8860bfac549626a56f0ad217465.tar.gz UIC-barcode-e5598adc39b1b8860bfac549626a56f0ad217465.tar.bz2 UIC-barcode-e5598adc39b1b8860bfac549626a56f0ad217465.tar.lz UIC-barcode-e5598adc39b1b8860bfac549626a56f0ad217465.tar.xz UIC-barcode-e5598adc39b1b8860bfac549626a56f0ad217465.tar.zst UIC-barcode-e5598adc39b1b8860bfac549626a56f0ad217465.zip |
Diffstat (limited to '')
-rw-r--r-- | src/org/uic/ticket/api/utils/OpenAsn2ApiDecoder.java | 3 | ||||
-rw-r--r-- | src/org/uic/ticket/api/utils/OpenAsn2ApiDecoderV2.java | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/org/uic/ticket/api/utils/OpenAsn2ApiDecoder.java b/src/org/uic/ticket/api/utils/OpenAsn2ApiDecoder.java index 61dfe6b..82fda3e 100644 --- a/src/org/uic/ticket/api/utils/OpenAsn2ApiDecoder.java +++ b/src/org/uic/ticket/api/utils/OpenAsn2ApiDecoder.java @@ -1622,7 +1622,10 @@ public class OpenAsn2ApiDecoder { }
document.setValidFrom(asnDocument.getValidFromDate(issuingDate));
+ document.setValidFromUTCoffset(asnDocument.getValidFromUTCOffset());
+
document.setValidUntil(asnDocument.getValidUntilDate(issuingDate));
+ document.setValidUntilUTCoffset(asnDocument.getValidUntilUTCOffset());
if (asnDocument.getActivatedDay()!=null && !asnDocument.getActivatedDay().isEmpty()) {
if (document.getValidFrom() != null) {
diff --git a/src/org/uic/ticket/api/utils/OpenAsn2ApiDecoderV2.java b/src/org/uic/ticket/api/utils/OpenAsn2ApiDecoderV2.java index 2ffdb7b..60b3ca1 100644 --- a/src/org/uic/ticket/api/utils/OpenAsn2ApiDecoderV2.java +++ b/src/org/uic/ticket/api/utils/OpenAsn2ApiDecoderV2.java @@ -1650,7 +1650,10 @@ public class OpenAsn2ApiDecoderV2 { }
document.setValidFrom(asnDocument.getValidFromDate(issuingDate));
+ document.setValidFromUTCoffset(asnDocument.getValidFromUTCOffset());
+
document.setValidUntil(asnDocument.getValidUntilDate(issuingDate));
+ document.setValidUntilUTCoffset(asnDocument.getValidUntilUTCOffset());
if (asnDocument.getActivatedDay()!=null && !asnDocument.getActivatedDay().isEmpty()) {
if (document.getValidFrom() != null) {
|