certificate property

X509Certificate? get certificate

The client certificate of the client making the request.

This value is null if the connection is not a secure TLS or SSL connection, or if the server does not request a client certificate, or if the client does not provide one.

Implementation

X509Certificate? get certificate {
  return context['astra.server.certificate'] as X509Certificate?;
}