TLS by Tobias violates RFC 2246
The TlsAuthentication throws an Exception when the Server provides a certificate request message.
RFC 2246 says:
"The server will then wait for a client response. If the server has sent a certificate
request message, the client must send the certificate message."
"The same message type and structure will be used for the client's
response to a certificate request message. Note that a client may
send no certificates if it does not have an appropriate certificate
to send in response to the server's authentication request."
Updated by Dirk Petrautzki over 10 years ago
I think to be RFC compliant the TlsNoAuthentication should not throw an UnsupportedOperationException in it's getClientCredentials-Method but return TlsCredentials that itself returns org.openecard.bouncycastle.crypto.tls.Certificate.EMPTY_CHAIN.