summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/uic/ticket/api')
-rw-r--r--src/org/uic/ticket/api/utils/OpenAsn2ApiDecoder.java3
-rw-r--r--src/org/uic/ticket/api/utils/OpenAsn2ApiDecoderV2.java3
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) {