---
sidebar_label: SecurityDetails.validTo
---

# SecurityDetails.validTo() method

[Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) marking the end of the certificate's validity.

#### Signature:

```typescript
class SecurityDetails {
  validTo(): number;
}
```

**Returns:**

number
