|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packageorg.cyclos.services.accessas colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
This method must be invoked to start a mutual authentication process between the server and the NFC tag (e.g: a. a card) to prove that bothshareshare the same secret key.
The authentication process is carriedonout in the following order:@param dto contains the token type id (required), the token value (optional) and an encrypted
- Validate the identity of the server: external authenticate
- Validate the identity of the
cardNFc tag: internal authenticatechallengechallenge (required) generated by the tagencoded as base64in hexadecimal notation.@returnIfa dtothe tokencontainingvalue is null then means theuserauthentication processlocatedwill be using thepairPICC<tokenMastertype,Keytoken(PMK).value>@returnanddataancontaining the following:
ExternalNFCTagAuthenticateData.CYCLOS_CHALLENGE: encrypted data ( encoded ashexadecimalbase64string) containingaboth: a new challenge generated by the server (used to validate theidentityidentity of thecardNFC tag, internal authenticate)plusand the original challenge generated by the tag processed according to the tag's authentication process. The (processed) original tag challenge will be used bythethecardNFC tag to complete theserverserver identity validation (external authenticate).ExternalNFCTagAuthenticateData.SESSION_KEY: A session key needed by the tag to allow send enciphered data to be written into the NFC tag