Merge pull request #4 from tista3/master

fixed typos in code documentation and markdown
This commit is contained in:
Bitgamma 2018-05-04 12:48:55 +03:00 committed by GitHub
commit eb233757fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ During installation the user's PIN is set to 000000 (six times zero). The PIN le
failed authentication attempts the PIN is blocked and authentication is not possible anymore. A blocked PIN can be failed authentication attempts the PIN is blocked and authentication is not possible anymore. A blocked PIN can be
replaced and unblocked using a PUK. The PUK is a 12-digit number, unique for each installation and is generated off-card replaced and unblocked using a PUK. The PUK is a 12-digit number, unique for each installation and is generated off-card
and passed as an installation parameter to the applet according to the JavaCard specifications. After 5 failed attempts and passed as an installation parameter to the applet according to the JavaCard specifications. After 5 failed attempts
to unblock the applet using the PUK, the PUK is blocked, meaning the the wallet is lost. to unblock the applet using the PUK, the PUK is blocked, meaning the wallet is lost.
After authentication, the user remains authenticated until the application is either deselected or the card is reset. After authentication, the user remains authenticated until the application is either deselected or the card is reset.
Authentication with PIN is a requirement for most commands to succeed. Authentication with PIN is a requirement for most commands to succeed.

View File

@ -172,7 +172,7 @@ public class SecureChannel {
} }
/** /**
* Performs the first step of pairing. In this step the card solves the challenge sent by the card, thus authenticating * Performs the first step of pairing. In this step the card solves the challenge sent by the client, thus authenticating
* itself to the client. At the same time, it creates a challenge for the client. This can only fail if the card has * itself to the client. At the same time, it creates a challenge for the client. This can only fail if the card has
* already paired with the maximum allowed amount of clients. * already paired with the maximum allowed amount of clients.
* *