diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2023-05-30 12:19:12 +0200 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2023-05-30 12:19:12 +0200 |
commit | c5c2c73f3fe46e23871f609b82791540c1a16a24 (patch) | |
tree | a3d2ab2c3fef2323c0bf8da4bc9431ada524bfbe /src/main/java/org/uic/barcode/ticket/api/utils | |
parent | fix on productId in version 1 FCB (diff) | |
download | UIC-barcode-issuerVsSecurityProvider.tar UIC-barcode-issuerVsSecurityProvider.tar.gz UIC-barcode-issuerVsSecurityProvider.tar.bz2 UIC-barcode-issuerVsSecurityProvider.tar.lz UIC-barcode-issuerVsSecurityProvider.tar.xz UIC-barcode-issuerVsSecurityProvider.tar.zst UIC-barcode-issuerVsSecurityProvider.zip |
Diffstat (limited to 'src/main/java/org/uic/barcode/ticket/api/utils')
-rw-r--r-- | src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java b/src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java index d8934d9..ada4c1a 100644 --- a/src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java +++ b/src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java @@ -2127,7 +2127,7 @@ public class Api2OpenAsnEncoder implements Api2AsnEncoder { if (data.getSecurityProvider() != null) {
asnData.setSecurityProviderNum(UicEncoderUtils.getNum(data.getSecurityProvider()));
- data.setSecurityProvider(data.getIssuer());
+ asnData.setSecurityProviderIA5(UicEncoderUtils.getIA5NonNum(data.getSecurityProvider()));
} else {
asnData.setSecurityProviderNum(UicEncoderUtils.getNum(data.getIssuer()));
}
|