---
title: SslData object reference
description: The SslData object provides access to information established in the TLS handshake with PingAccess.
component: pingaccess
version: 9.0
page_id: pingaccess:reference_guides:pa_ssldata_object_ref
canonical_url: https://docs.pingidentity.com/pingaccess/9.0/reference_guides/pa_ssldata_object_ref.html
revdate: February 6, 2023
section_ids:
  groovy-sample: Groovy sample
  method-summary: Method summary
---

# SslData object reference

The SslData object provides access to information established in the TLS handshake with PingAccess.

## Groovy sample

```
// Force TLS client authentication
def certChain = exc?.sslData?.clientCertificateChain
if(certChain && !certChain.isEmpty())
{
  pass();
}
else
{
  fail();
}
```

## Method summary

| Method                                                                | Description                                                                                                                                                              |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| List\<String> getSniServerNames()                                     | Returns a list of server name indication (SNI) server\_names sent by the user agent in the TLS handshake. Empty if the user agent did not utilize the SNI TLS extension. |
| List\<java.security.cert.X509Certificate> getClientCertificateChain() | Returns the certificate chain presented by the user agent in the TLS handshake. Empty if the user agent did not utilize TLS client authentication.                       |
