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
1d882505
Commit
1d882505
authored
Oct 08, 2019
by
Tobias Wich
Browse files
Add branch for getType function acting correctly when stack has not loaded yet
parent
5f8a625b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ifd/scio-backend/pcsc/src/main/java/org/openecard/scio/PCSCFactory.java
View file @
1d882505
...
...
@@ -113,12 +113,16 @@ public class PCSCFactory implements org.openecard.common.ifd.scio.TerminalFactor
@Override
public
String
getType
()
{
return
terminalFactory
.
getType
();
if
(
terminalFactory
!=
null
)
{
return
terminalFactory
.
getType
();
}
else
{
return
"PC/SC"
;
}
}
@Override
public
SCIOTerminals
terminals
()
{
if
(
initLock
.
isDone
()
)
{
if
(
terminalFactory
!=
null
)
{
return
new
PCSCTerminals
(
this
);
}
else
{
// dummy for use while the initialization is not working properly
...
...
Write
Preview
Supports
Markdown
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