⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdfpkcs7.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<A NAME="ID_MD2"><!-- --></A><H3>ID_MD2</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_MD2</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_MD2">Constant Field Values</A></DL></DL><HR><A NAME="ID_SHA1"><!-- --></A><H3>ID_SHA1</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_SHA1</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_SHA1">Constant Field Values</A></DL></DL><HR><A NAME="ID_RSA"><!-- --></A><H3>ID_RSA</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_RSA</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_RSA">Constant Field Values</A></DL></DL><HR><A NAME="ID_DSA"><!-- --></A><H3>ID_DSA</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_DSA</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_DSA">Constant Field Values</A></DL></DL><HR><A NAME="ID_CONTENT_TYPE"><!-- --></A><H3>ID_CONTENT_TYPE</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_CONTENT_TYPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_CONTENT_TYPE">Constant Field Values</A></DL></DL><HR><A NAME="ID_MESSAGE_DIGEST"><!-- --></A><H3>ID_MESSAGE_DIGEST</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_MESSAGE_DIGEST</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_MESSAGE_DIGEST">Constant Field Values</A></DL></DL><HR><A NAME="ID_SIGNING_TIME"><!-- --></A><H3>ID_SIGNING_TIME</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_SIGNING_TIME</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_SIGNING_TIME">Constant Field Values</A></DL></DL><HR><A NAME="ID_MD2RSA"><!-- --></A><H3>ID_MD2RSA</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_MD2RSA</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_MD2RSA">Constant Field Values</A></DL></DL><HR><A NAME="ID_MD5RSA"><!-- --></A><H3>ID_MD5RSA</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_MD5RSA</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_MD5RSA">Constant Field Values</A></DL></DL><HR><A NAME="ID_SHA1RSA"><!-- --></A><H3>ID_SHA1RSA</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_SHA1RSA</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_SHA1RSA">Constant Field Values</A></DL></DL><HR><A NAME="ID_ADBE_REVOCATION"><!-- --></A><H3>ID_ADBE_REVOCATION</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ID_ADBE_REVOCATION</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPKCS7.ID_ADBE_REVOCATION">Constant Field Values</A></DL></DL><HR><A NAME="reason"><!-- --></A><H3>reason</H3><PRE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>reason</B></PRE><DL><DD>Holds value of property reason.<P><DL></DL></DL><HR><A NAME="location"><!-- --></A><H3>location</H3><PRE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>location</B></PRE><DL><DD>Holds value of property location.<P><DL></DL></DL><HR><A NAME="signDate"><!-- --></A><H3>signDate</H3><PRE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> <B>signDate</B></PRE><DL><DD>Holds value of property signDate.<P><DL></DL></DL><HR><A NAME="signName"><!-- --></A><H3>signName</H3><PRE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>signName</B></PRE><DL><DD>Holds value of property signName.<P><DL></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="PdfPKCS7(byte[], byte[], java.lang.String)"><!-- --></A><H3>PdfPKCS7</H3><PRE>public <B>PdfPKCS7</B>(byte[]&nbsp;contentsKey,                byte[]&nbsp;certsKey,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;provider)         throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang">SecurityException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/InvalidKeyException.html?is-external=true" title="class or interface in java.security">InvalidKeyException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/CertificateException.html?is-external=true" title="class or interface in java.security.cert">CertificateException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchProviderException.html?is-external=true" title="class or interface in java.security">NoSuchProviderException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchAlgorithmException.html?is-external=true" title="class or interface in java.security">NoSuchAlgorithmException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,                <A HREF="http://www.bouncycastle.org/docs/docs1.4/org/bouncycastle/util/StreamParsingException.html?is-external=true" title="class or interface in org.bouncycastle.util">StreamParsingException</A></PRE><DL><DD>Verifies a signature using the sub-filter adbe.x509.rsa_sha1.<P><DL><DT><B>Parameters:</B><DD><CODE>contentsKey</CODE> - the /Contents key<DD><CODE>certsKey</CODE> - the /Cert key<DD><CODE>provider</CODE> - the provider or <code>null</code> for the default provider<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang">SecurityException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/InvalidKeyException.html?is-external=true" title="class or interface in java.security">InvalidKeyException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/CertificateException.html?is-external=true" title="class or interface in java.security.cert">CertificateException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchProviderException.html?is-external=true" title="class or interface in java.security">NoSuchProviderException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchAlgorithmException.html?is-external=true" title="class or interface in java.security">NoSuchAlgorithmException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error<DD><CODE><A HREF="http://www.bouncycastle.org/docs/docs1.4/org/bouncycastle/util/StreamParsingException.html?is-external=true" title="class or interface in org.bouncycastle.util">StreamParsingException</A></CODE></DL></DL><HR><A NAME="PdfPKCS7(byte[], java.lang.String)"><!-- --></A><H3>PdfPKCS7</H3><PRE>public <B>PdfPKCS7</B>(byte[]&nbsp;contentsKey,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;provider)         throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang">SecurityException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/CRLException.html?is-external=true" title="class or interface in java.security.cert">CRLException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/InvalidKeyException.html?is-external=true" title="class or interface in java.security">InvalidKeyException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/CertificateException.html?is-external=true" title="class or interface in java.security.cert">CertificateException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchProviderException.html?is-external=true" title="class or interface in java.security">NoSuchProviderException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchAlgorithmException.html?is-external=true" title="class or interface in java.security">NoSuchAlgorithmException</A>,                <A HREF="http://www.bouncycastle.org/docs/docs1.4/org/bouncycastle/util/StreamParsingException.html?is-external=true" title="class or interface in org.bouncycastle.util">StreamParsingException</A></PRE><DL><DD>Verifies a signature using the sub-filter adbe.pkcs7.detached or adbe.pkcs7.sha1.<P><DL><DT><B>Parameters:</B><DD><CODE>contentsKey</CODE> - the /Contents key<DD><CODE>provider</CODE> - the provider or <code>null</code> for the default provider<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang">SecurityException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/CRLException.html?is-external=true" title="class or interface in java.security.cert">CRLException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/InvalidKeyException.html?is-external=true" title="class or interface in java.security">InvalidKeyException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/CertificateException.html?is-external=true" title="class or interface in java.security.cert">CertificateException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchProviderException.html?is-external=true" title="class or interface in java.security">NoSuchProviderException</A></CODE> - on error<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchAlgorithmException.html?is-external=true" title="class or interface in java.security">NoSuchAlgorithmException</A></CODE> - on error<DD><CODE><A HREF="http://www.bouncycastle.org/docs/docs1.4/org/bouncycastle/util/StreamParsingException.html?is-external=true" title="class or interface in org.bouncycastle.util">StreamParsingException</A></CODE></DL></DL><HR><A NAME="PdfPKCS7(java.security.PrivateKey, java.security.cert.Certificate[], java.security.cert.CRL[], java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>PdfPKCS7</H3><PRE>public <B>PdfPKCS7</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/PrivateKey.html?is-external=true" title="class or interface in java.security">PrivateKey</A>&nbsp;privKey,                <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>[]&nbsp;certChain,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/CRL.html?is-external=true" title="class or interface in java.security.cert">CRL</A>[]&nbsp;crlList,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;hashAlgorithm,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;provider,                boolean&nbsp;hasRSAdata)         throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang">SecurityException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/InvalidKeyException.html?is-external=true" title="class or interface in java.security">InvalidKeyException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchProviderException.html?is-external=true" title="class or interface in java.security">NoSuchProviderException</A>,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/NoSuchAlgorithmException.html?is-external=true" title="class or interface in java.security">NoSuchAlgorithmException</A></PRE><DL><DD>Generates a signature.<P><DL><DT><B>Parameters:</B><DD><CODE>privKey</CODE> - the private key<DD><CODE>certChain</CODE> - the certificate chain<DD><CODE>crlList</CODE> - the certificate revocation list<DD><CODE>hashAlgorithm</CODE> - the hash algorithm<DD><CODE>provider</CODE> - the provider or <code>null</code> for the default provider<DD><CODE>hasRSAdata</CODE> - <CODE>true</CODE> if the sub-filter is adbe.pkcs7.sha1<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang">SecurityException

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -