📄 pdfpkcs7.html
字号:
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getAuthenticatedAttributeBytes(byte[], java.util.Calendar)">getAuthenticatedAttributeBytes</A></B>(byte[] secondDigest, <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> signingTime)</CODE><BR> When using authenticatedAttributes the authentication process is different.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getCertificates()">getCertificates</A></B>()</CODE><BR> Get the X.509 certificates associated with this PKCS#7 object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getCRLs()">getCRLs</A></B>()</CODE><BR> Get the X.509 certificate revocation lists associated with this PKCS#7 object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getDigestAlgorithm()">getDigestAlgorithm</A></B>()</CODE><BR> Get the algorithm used to calculate the message digest</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getEncodedPKCS1()">getEncodedPKCS1</A></B>()</CODE><BR> Gets the bytes for the PKCS#1 object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getEncodedPKCS7()">getEncodedPKCS7</A></B>()</CODE><BR> Gets the bytes for the PKCS7SignedData object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getEncodedPKCS7(byte[], java.util.Calendar)">getEncodedPKCS7</A></B>(byte[] secondDigest, <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> signingTime)</CODE><BR> Gets the bytes for the PKCS7SignedData object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getHashAlgorithm()">getHashAlgorithm</A></B>()</CODE><BR> Returns the algorithm.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static <A HREF="http://www.bouncycastle.org/docs/docs1.4/org/bouncycastle/asn1/DERObject.html?is-external=true" title="class or interface in org.bouncycastle.asn1">DERObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getIssuer(byte[])">getIssuer</A></B>(byte[] enc)</CODE><BR> Get the "issuer" from the TBSCertificate bytes that are passed in</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.X509Name.html" title="class in com.lowagie.text.pdf">PdfPKCS7.X509Name</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getIssuerFields(java.security.cert.X509Certificate)">getIssuerFields</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</A> cert)</CODE><BR> Get the issuer fields from an X509 Certificate</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getLocation()">getLocation</A></B>()</CODE><BR> Getter for property location.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getReason()">getReason</A></B>()</CODE><BR> Getter for property reason.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getSignDate()">getSignDate</A></B>()</CODE><BR> Getter for property signDate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getSigningCertificate()">getSigningCertificate</A></B>()</CODE><BR> Get the X.509 certificate actually used to sign the digest.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getSigningInfoVersion()">getSigningInfoVersion</A></B>()</CODE><BR> Get the version of the PKCS#7 "SignerInfo" object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getSignName()">getSignName</A></B>()</CODE><BR> Getter for property sigName.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static <A HREF="http://www.bouncycastle.org/docs/docs1.4/org/bouncycastle/asn1/DERObject.html?is-external=true" title="class or interface in org.bouncycastle.asn1">DERObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getSubject(byte[])">getSubject</A></B>(byte[] enc)</CODE><BR> Get the "subject" from the TBSCertificate bytes that are passed in</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.X509Name.html" title="class in com.lowagie.text.pdf">PdfPKCS7.X509Name</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getSubjectFields(java.security.cert.X509Certificate)">getSubjectFields</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</A> cert)</CODE><BR> Get the subject fields from an X509 Certificate</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#getVersion()">getVersion</A></B>()</CODE><BR> Get the version of the PKCS#7 object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/KeyStore.html?is-external=true" title="class or interface in java.security">KeyStore</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#loadCacertsKeyStore()">loadCacertsKeyStore</A></B>()</CODE><BR> Loads the default root certificates at <java.home>/lib/security/cacerts with the default provider.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/KeyStore.html?is-external=true" title="class or interface in java.security">KeyStore</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#loadCacertsKeyStore(java.lang.String)">loadCacertsKeyStore</A></B>(<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> provider)</CODE><BR> Loads the default root certificates at <java.home>/lib/security/cacerts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#setExternalDigest(byte[], byte[], java.lang.String)">setExternalDigest</A></B>(byte[] digest, byte[] RSAdata, <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> digestEncryptionAlgorithm)</CODE><BR> Sets the digest/signature to an external calculated value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#setLocation(java.lang.String)">setLocation</A></B>(<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> location)</CODE><BR> Setter for property location.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#setReason(java.lang.String)">setReason</A></B>(<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> reason)</CODE><BR> Setter for property reason.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#setSignDate(java.util.Calendar)">setSignDate</A></B>(<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> signDate)</CODE><BR> Setter for property signDate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#setSignName(java.lang.String)">setSignName</A></B>(<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> signName)</CODE><BR> Setter for property sigName.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#update(byte[], int, int)">update</A></B>(byte[] buf, int off, int len)</CODE><BR> Update the digest with the specified bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#verify()">verify</A></B>()</CODE><BR> Verify the digest.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#verifyCertificate(java.security.cert.X509Certificate, java.util.Collection, java.util.Calendar)">verifyCertificate</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</A> cert, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> crls, <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> calendar)</CODE><BR> Verifies a single certificate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPKCS7.html#verifyCertificates(java.security.cert.Certificate[], java.security.KeyStore, java.util.Collection, java.util.Calendar)">verifyCertificates</A></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>[] certs, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/KeyStore.html?is-external=true" title="class or interface in java.security">KeyStore</A> keystore, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> crls, <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> calendar)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -