---
title: policies()
framework: securityinterface
role: symbol
role_heading: Instance Method
path: securityinterface/sfchooseidentitypanel/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/sfchooseidentitypanel/setalternatebuttontitle(_:).md)
- [setDefaultButtonTitle(_:)](securityinterface/sfchooseidentitypanel/setdefaultbuttontitle(_:).md)
- [setPolicies(_:)](securityinterface/sfchooseidentitypanel/setpolicies(_:).md)
- [informativeText()](securityinterface/sfchooseidentitypanel/informativetext().md)
- [setInformativeText(_:)](securityinterface/sfchooseidentitypanel/setinformativetext(_:).md)
