com.crionics.jpdf.encryption
Class PasswordCredentialsCreation
java.lang.Object
com.crionics.jpdf.encryption.PasswordCredentialsCreation
- All Implemented Interfaces:
- ICredentialsCreation
public final class PasswordCredentialsCreation
- extends java.lang.Object
- implements ICredentialsCreation
This class is used to create a document protected with a password_security
setting. You must specify the author password, the user password and the
permissions (restrictions) to apply for the user.
|
Method Summary |
java.lang.Object |
getCredentials()
Internal use: return an internal credential representation |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordCredentialsCreation
public PasswordCredentialsCreation(java.lang.String authorPassword,
java.lang.String userPassword,
Permissions userPermissions)
throws PdfException
- Throws:
PdfException
getCredentials
public java.lang.Object getCredentials()
- Description copied from interface:
ICredentialsCreation
- Internal use: return an internal credential representation
- Specified by:
getCredentials in interface ICredentialsCreation
- Returns:
- an internal credential representation
Copyright © 1999-2007 Crionics. All Rights Reserved.