---
title: policies()
framework: securityinterface
role: symbol
role_heading: Instance Method
path: securityinterface/sfcertificatepanel/policies()
---

# policies()

Returns an array of policies used to evaluate the status of the displayed certificates.

## Declaration

```swift
func policies() -> [Any]!
```

## Discussion

Discussion This method returns an autoreleased NSArray containing one or more objects of type SecPolicy, as set by a previous setPolicies(_:) call, or the Apple X.509 Basic Policy if setPolicies(_:) has not been called. See Certificate, Key, and Trust Services in Certificate, Key, and Trust Services for a list of policies and object identifiers provided by the AppleX509TP Module.

## See Also

### Customizing the Appearance of the Sheet or Panel

- [setAlternateButtonTitle(_:)](securityinterface/sfcertificatepanel/setalternatebuttontitle(_:).md)
- [setDefaultButtonTitle(_:)](securityinterface/sfcertificatepanel/setdefaultbuttontitle(_:).md)
- [setPolicies(_:)](securityinterface/sfcertificatepanel/setpolicies(_:).md)
