Interesting topic you're touching here.
The eID Applet will always be notified in case of a server-side
exception being thrown (because the protocol run simply explodes via a
servlet container error page). Of course, without sending an explicit
FinishedMessage for the specific exception, the eID Applet will simply
show a "Generic Error". The reason why I let the exception handling of
the national registration certificate validation to default instead of
also sending specific FinishedMessages (like it is the case for the
end-entity certificates) is that these events never occur in practice. I
only explicitly capture exceptions to customize error messages in case
these events can actually happen in the field.
Notifying an end-user that the national registration certificate of his
eID card is invalid, wouldn't mean anything to the average citizen
anyway. Even I would gaze at the screen like wtf?
Kind Regards,
Frank.
There's nothing wrong with a face-to-face 'authentication'. It's even
easier for the customers as they don't have to guess their eID PIN code.
Indeed you just need to implement the IdentityIntegrityService.
In the eID Applet identification flow, every exception will result in a
'Generic Error' being displayed within the eID Applet.
If you're not happy with that, we could add a more specific error
message in case there is something wrong with the national registration
certificate. But as I said before, whether you display 'Generic Error'
or 'Security Error', the end result will still be the same. Being a call
to you to check out what the hell happened.
Kind Regards,
Frank.
Security Error on IdentityIntegrityService.checkNationalRegistrationCertificate
When IdentityIntegrityService.checkNationalRegistrationCertificate throws a SecurityException, the eID Applet should display "Security Error" instead of "Generic Error".
See also: http://groups.google.com/group/eid-applet/browse_thread/thread/ccb10fe3c7984c8b
The NRN certificate renews every year. Under normal circumstances a NRN
certificate should never need to be revoked. If it has been revoked,
this means that they are in big trouble at the national registration
authority.
You want to validate the integrity of the identity data to make sure
that the eID card has not been tampered with. The eID Applet Service
implementation itself checks this integrity. The only thing that the eID
Applet Service cannot do on its own, is to check the validity of the NRN
certificate. That's why it delegates this task to the
IdentityIntegrityService SPI implementation.
Kind Regards,
Frank.