|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmultivalent.std.adaptor.pdf.SecurityHandler
multivalent.std.adaptor.pdf.SecurityHandlerPublicKey
NOT IMPLEMENTED. Public Key encryption, as defined in Adobe's PDF Reference.
| Field Summary |
|---|
| Fields inherited from class multivalent.std.adaptor.pdf.SecurityHandler |
|---|
IDENTITY |
| Constructor Summary | |
|---|---|
SecurityHandlerPublicKey(Dict edict,
COSSource coss)
|
|
SecurityHandlerPublicKey(java.lang.StringBuffer id0,
int R,
int P,
int Length,
java.lang.String userpassword,
java.lang.String ownerpassword)
Construct a Standard encryption filter with given parameters and passwords. |
|
| Method Summary | |
|---|---|
boolean |
authOwner(java.lang.String owner)
|
boolean |
authUser(java.lang.String user)
|
byte[] |
computeKey(java.lang.String password)
|
byte[] |
decrypt(byte[] data,
int off,
int len)
Decrypts stream data of object objnum with generation gennum. |
byte[] |
encrypt(byte[] data,
int off,
int len)
Encrypts data of object objnum with generation gennum. |
byte[] |
getKey()
CryptFilter may take key from a security handler and use in Adobe algorithms. |
int |
getR()
Returns version of standard security handler. |
boolean |
isAuthorized()
Returns true if a valid decryption password, either user or owner, been set? |
SecurityHandler |
reset(int objnum,
int gennum)
Resets for decrypting/encrypting another subobject of object at given number. |
| Methods inherited from class multivalent.std.adaptor.pdf.SecurityHandler |
|---|
clone, getInstance, register |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityHandlerPublicKey(Dict edict,
COSSource coss)
throws ParseException
ParseException
public SecurityHandlerPublicKey(java.lang.StringBuffer id0,
int R,
int P,
int Length,
java.lang.String userpassword,
java.lang.String ownerpassword)
throws java.lang.UnsupportedOperationException,
java.lang.IllegalArgumentException
java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException| Method Detail |
|---|
public byte[] getKey()
SecurityHandler
getKey in class SecurityHandlerpublic int getR()
public boolean isAuthorized()
SecurityHandler
isAuthorized in class SecurityHandler
public byte[] encrypt(byte[] data,
int off,
int len)
SecurityHandler
encrypt in class SecurityHandler
public byte[] decrypt(byte[] data,
int off,
int len)
SecurityHandler
decrypt in class SecurityHandler
public SecurityHandler reset(int objnum,
int gennum)
SecurityHandler
reset in class SecurityHandlerpublic boolean authUser(java.lang.String user)
authUser in class SecurityHandlerpublic boolean authOwner(java.lang.String owner)
authOwner in class SecurityHandlerpublic byte[] computeKey(java.lang.String password)
computeKey in class SecurityHandler
|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||