certificate property

X509Certificate? get certificate

Client certificate for client authenticated TLS connections.

Returns the client certificate used to establish the TLS connection the request was sent over. Returns null if there was no client certificate (either because the connection was not over TLS, the server did not request the client to present a certificate, or the client did not provide one).

Implementation

X509Certificate? get certificate => _coreRequest.certificate;