Changes
RP API version 3 changes compared to version 2
-
Requests
authenticationandsigninghave two counter-parts instead of one:dynamic link based(newly added flows, relying on QR codes / Web2App links / App2App links) andnotification based(the existing one from RPv2, relying on push notifications). -
Introduction of new signature protocols (
ACSP_V1andRAW_DIGEST_SIGNATURE). -
For authentication and signing requests, VC codes are returned from the server.
-
New VC codes formats.
RP API version 2 changes compared to version 1
-
Uses
v2instead ofv1in URL, for examplehttps://https://rp-api.smart-id.com/v2/instead ofhttps://https://rp-api.smart-id.com/v1/. -
New interactions concept allowed interactions order.
-
New parameter
allowedInteractionsOrderadded to authentication and signing requests. It replaces parametersdisplayTextandrequestProperties.vcChoice. -
New parameter
interactionFlowUsedadded into session status response message. -
New session status end result codes:
-
REQUIRED_INTERACTION_NOT_SUPPORTED_BY_APP -
USER_REFUSED_DISPLAYTEXTANDPIN -
USER_REFUSED_VC_CHOICE -
USER_REFUSED_CONFIRMATIONMESSAGE -
USER_REFUSED_CONFIRMATIONMESSAGE_WITH_VC_CHOICE -
USER_REFUSED_CERT_CHOICE
-
-
New parameter
requestPropertiesfor API/v2/certificatechoice -
New option
shareMdClientIpAddressfor parameterrequestProperties -
Previously deprecated object reference
pno/:country/:national-identity-numberremoved, useetsi/:id-etsi-qcs-SemanticsId-Naturalinstead. -
RP must ignore any unknown names (fields) in JSON response object.