Contents

isEncrypted

Returns whether the specified PDF file is encrypted.

Declaration

var isEncrypted: Bool { get }

Discussion

If the document is encrypted, a password must be supplied before certain operations are enabled. For more information, see unlockWithPassword(_:).

See Also

Working with an Encrypted PDF Document