Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ecsec Public
reqesidta-prototype
client-signer
Commits
78aeb884
Commit
78aeb884
authored
Nov 06, 2019
by
Tobias Wich
Browse files
Display transaction info only if it is not empty
parent
00c3aabe
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/tr03112/src/main/java/org/openecard/sal/protocol/eac/PACEStep.java
View file @
78aeb884
...
...
@@ -232,6 +232,10 @@ public class PACEStep implements ProtocolStep<DIDAuthenticate, DIDAuthenticateRe
eacData
.
certificateDescription
=
certDescription
;
eacData
.
rawCertificateDescription
=
rawCertificateDescription
;
eacData
.
transactionInfo
=
eac1Input
.
getTransactionInfo
();
// remove transaction info again if it is empty
if
(
eacData
.
transactionInfo
!=
null
&&
eacData
.
transactionInfo
.
trim
().
isEmpty
())
{
eacData
.
transactionInfo
=
null
;
}
eacData
.
requiredCHAT
=
requiredCHAT
;
eacData
.
optionalCHAT
=
optionalCHAT
;
eacData
.
selectedCHAT
=
new
CHAT
(
requiredCHAT
.
toByteArray
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment