---
title: securityMethod
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/securitymethod
---

# securityMethod

The security method (a type of encryption) that protects the document file.

## Declaration

```swift
var securityMethod: String? { get set }
```

## See Also

### Describing document content

- [audiences](corespotlight/cssearchableitemattributeset/audiences.md)
- [contentDescription](corespotlight/cssearchableitemattributeset/contentdescription.md)
- [creator](corespotlight/cssearchableitemattributeset/creator.md)
- [encodingApplications](corespotlight/cssearchableitemattributeset/encodingapplications.md)
- [fileSize](corespotlight/cssearchableitemattributeset/filesize.md)
- [fontNames](corespotlight/cssearchableitemattributeset/fontnames.md)
- [identifier](corespotlight/cssearchableitemattributeset/identifier.md)
- [kind](corespotlight/cssearchableitemattributeset/kind.md)
- [pageCount](corespotlight/cssearchableitemattributeset/pagecount.md)
- [pageHeight](corespotlight/cssearchableitemattributeset/pageheight.md)
- [pageWidth](corespotlight/cssearchableitemattributeset/pagewidth.md)
- [subject](corespotlight/cssearchableitemattributeset/subject.md)
- [theme](corespotlight/cssearchableitemattributeset/theme.md)
