The sample demonstrates how to encrypt an PDF document and set owner/user password.