AFAIK the usage you described is fully compatible with the process I outlined in my previous email.
You have access to the peer certificate after the handshake is done or are you needing access earlier? On Mon, Jan 17, 2022 at 9:40 AM Emmanuel Lécharny <elecha...@gmail.com> wrote: > > > On 17/01/2022 15:09, Jonathan Valliere wrote: > > Emmanuel, > > > > The access of the SslSession was moved into an AttributeKey which is set > > BEFORE the SECURED event is fired. This was done to help improve best > > practices for when this object is accessible. Your application can > listen > > for the SECURED event then read the AttributeKey to obtain the > SslSession. > > > > > https://github.com/apache/mina/blob/660ab2375b4b47b5ebe86226c92f3138be4c96e8/mina-core/src/main/java/org/apache/mina/filter/ssl/SSLFilter.java#L56 > > My second mail clarified my requirement. I need to have access to the > SslSession instance, to grab the client certificate from it. > > -- > Emmanuel Lécharny > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org > For additional commands, e-mail: dev-h...@mina.apache.org > >