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
3a21bc18
Commit
3a21bc18
authored
Oct 11, 2019
by
Michael Rauh
Committed by
Tobias Wich
Oct 11, 2019
Browse files
Fix pin length bug in CIFCreator
parent
0d69232e
Changes
1
Show whitespace changes
Inline
Side-by-side
sal/middleware-sal/src/main/java/org/openecard/mdlw/sal/CIFCreator.java
View file @
3a21bc18
...
...
@@ -167,7 +167,7 @@ public class CIFCreator {
PasswordAttributesType
pw
=
new
PasswordAttributesType
();
MwToken
tok
=
session
.
getSlot
().
getTokenInfo
();
long
minPinLen
=
tok
.
getUlMinPinLen
();
long
maxPinLen
=
tok
.
getUlM
in
PinLen
();
long
maxPinLen
=
tok
.
getUlM
ax
PinLen
();
pw
.
setMinLength
(
BigInteger
.
valueOf
(
minPinLen
));
pw
.
setMaxLength
(
BigInteger
.
valueOf
(
maxPinLen
));
markerBuilder
.
setPwAttributes
(
pw
);
...
...
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