📄 pdfencryption.html
字号:
</DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PdfEncryption()"><!-- --></A><H3>PdfEncryption</H3><PRE>public <B>PdfEncryption</B>()</PRE><DL></DL><HR><A NAME="PdfEncryption(com.lowagie.text.pdf.PdfEncryption)"><!-- --></A><H3>PdfEncryption</H3><PRE>public <B>PdfEncryption</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfEncryption.html" title="class in com.lowagie.text.pdf">PdfEncryption</A> enc)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="setCryptoMode(int, int)"><!-- --></A><H3>setCryptoMode</H3><PRE>public void <B>setCryptoMode</B>(int mode, int kl)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getCryptoMode()"><!-- --></A><H3>getCryptoMode</H3><PRE>public int <B>getCryptoMode</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isMetadataEncrypted()"><!-- --></A><H3>isMetadataEncrypted</H3><PRE>public boolean <B>isMetadataEncrypted</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="padPassword(byte[])"><!-- --></A><H3>padPassword</H3><PRE>private byte[] <B>padPassword</B>(byte[] userPassword)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="computeOwnerKey(byte[], byte[])"><!-- --></A><H3>computeOwnerKey</H3><PRE>private byte[] <B>computeOwnerKey</B>(byte[] userPad, byte[] ownerPad)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setupGlobalEncryptionKey(byte[], byte[], byte[], int)"><!-- --></A><H3>setupGlobalEncryptionKey</H3><PRE>private void <B>setupGlobalEncryptionKey</B>(byte[] documentID, byte[] userPad, byte[] ownerKey, int permissions)</PRE><DL><DD>ownerKey, documentID must be setup<P><DD><DL></DL></DD></DL><HR><A NAME="setupUserKey()"><!-- --></A><H3>setupUserKey</H3><PRE>private void <B>setupUserKey</B>()</PRE><DL><DD>mkey must be setup<P><DD><DL></DL></DD></DL><HR><A NAME="setupAllKeys(byte[], byte[], int)"><!-- --></A><H3>setupAllKeys</H3><PRE>public void <B>setupAllKeys</B>(byte[] userPassword, byte[] ownerPassword, int permissions)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="createDocumentId()"><!-- --></A><H3>createDocumentId</H3><PRE>public static byte[] <B>createDocumentId</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setupByUserPassword(byte[], byte[], byte[], int)"><!-- --></A><H3>setupByUserPassword</H3><PRE>public void <B>setupByUserPassword</B>(byte[] documentID, byte[] userPassword, byte[] ownerKey, int permissions)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setupByUserPad(byte[], byte[], byte[], int)"><!-- --></A><H3>setupByUserPad</H3><PRE>private void <B>setupByUserPad</B>(byte[] documentID, byte[] userPad, byte[] ownerKey, int permissions)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setupByOwnerPassword(byte[], byte[], byte[], byte[], int)"><!-- --></A><H3>setupByOwnerPassword</H3><PRE>public void <B>setupByOwnerPassword</B>(byte[] documentID, byte[] ownerPassword, byte[] userKey, byte[] ownerKey, int permissions)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setupByOwnerPad(byte[], byte[], byte[], byte[], int)"><!-- --></A><H3>setupByOwnerPad</H3><PRE>private void <B>setupByOwnerPad</B>(byte[] documentID, byte[] ownerPad, byte[] userKey, byte[] ownerKey, int permissions)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setupByEncryptionKey(byte[], int)"><!-- --></A><H3>setupByEncryptionKey</H3><PRE>public void <B>setupByEncryptionKey</B>(byte[] key, int keylength)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setHashKey(int, int)"><!-- --></A><H3>setHashKey</H3><PRE>public void <B>setHashKey</B>(int number, int generation)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="createInfoId(byte[])"><!-- --></A><H3>createInfoId</H3><PRE>public static <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> <B>createInfoId</B>(byte[] id)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getEncryptionDictionary()"><!-- --></A><H3>getEncryptionDictionary</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html" title="class in com.lowagie.text.pdf">PdfDictionary</A> <B>getEncryptionDictionary</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getFileID()"><!-- --></A><H3>getFileID</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> <B>getFileID</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getEncryptionStream(java.io.OutputStream)"><!-- --></A><H3>getEncryptionStream</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/OutputStreamEncryption.html" title="class in com.lowagie.text.pdf">OutputStreamEncryption</A> <B>getEncryptionStream</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> os)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="calculateStreamSize(int)"><!-- --></A><H3>calculateStreamSize</H3><PRE>public int <B>calculateStreamSize</B>(int n)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="encryptByteArray(byte[])"><!-- --></A><H3>encryptByteArray</H3><PRE>public byte[] <B>encryptByteArray</B>(byte[] b)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getDecryptor()"><!-- --></A><H3>getDecryptor</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/StandardDecryption.html" title="class in com.lowagie.text.pdf">StandardDecryption</A> <B>getDecryptor</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="decryptByteArray(byte[])"><!-- --></A><H3>decryptByteArray</H3><PRE>public byte[] <B>decryptByteArray</B>(byte[] b)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="addRecipient(java.security.cert.Certificate, int)"><!-- --></A><H3>addRecipient</H3><PRE>public void <B>addRecipient</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</A> cert, int permission)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="computeUserPassword(byte[])"><!-- --></A><H3>computeUserPassword</H3><PRE>public byte[] <B>computeUserPassword</B>(byte[] ownerPassword)</PRE><DL><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/lowagie/text/pdf/PdfEncodings.WingdingsConversion.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A> <A HREF="../../../../com/lowagie/text/pdf/PdfEncryptor.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/lowagie/text/pdf/PdfEncryption.html" target="_top"><B>FRAMES</B></A> <A HREF="PdfEncryption.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -