📄 smimesigned.html
字号:
<A NAME="methods_inherited_from_class_org.bouncycastle.cms.CMSSignedData"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.bouncycastle.cms.<A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html" title="class in org.bouncycastle.cms">CMSSignedData</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getAttributeCertificates(java.lang.String, java.security.Provider)">getAttributeCertificates</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getAttributeCertificates(java.lang.String, java.lang.String)">getAttributeCertificates</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getCertificates(java.lang.String, java.security.Provider)">getCertificates</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getCertificates(java.lang.String, java.lang.String)">getCertificates</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getCertificatesAndCRLs(java.lang.String, java.security.Provider)">getCertificatesAndCRLs</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getCertificatesAndCRLs(java.lang.String, java.lang.String)">getCertificatesAndCRLs</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getContentInfo()">getContentInfo</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getCRLs(java.lang.String, java.security.Provider)">getCRLs</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getCRLs(java.lang.String, java.lang.String)">getCRLs</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getEncoded()">getEncoded</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getSignedContent()">getSignedContent</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getSignedContentTypeOID()">getSignedContentTypeOID</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getSignerInfos()">getSignerInfos</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#getVersion()">getVersion</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#replaceCertificatesAndCRLs(org.bouncycastle.cms.CMSSignedData, java.security.cert.CertStore)">replaceCertificatesAndCRLs</A>, <A HREF="../../../../org/bouncycastle/cms/CMSSignedData.html#replaceSigners(org.bouncycastle.cms.CMSSignedData, org.bouncycastle.cms.SignerInformationStore)">replaceSigners</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= 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="SMIMESigned(javax.mail.internet.MimeMultipart)"><!-- --></A><H3>SMIMESigned</H3><PRE>public <B>SMIMESigned</B>(javax.mail.internet.MimeMultipart message) throws javax.mail.MessagingException, <A HREF="../../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>base constructor using a defaultContentTransferEncoding of 7bit<P><DL><DT><B>Throws:</B><DD><CODE>javax.mail.MessagingException</CODE> - on an error extracting the signature or otherwise processing the message.<DD><CODE><A HREF="../../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if some other problem occurs.</DL></DL><HR><A NAME="SMIMESigned(javax.mail.internet.MimeMultipart, java.lang.String)"><!-- --></A><H3>SMIMESigned</H3><PRE>public <B>SMIMESigned</B>(javax.mail.internet.MimeMultipart message, java.lang.String defaultContentTransferEncoding) throws javax.mail.MessagingException, <A HREF="../../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>base constructor with settable contentTransferEncoding<P><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - the signed message<DD><CODE>defaultContentTransferEncoding</CODE> - new default to use<DT><B>Throws:</B><DD><CODE>javax.mail.MessagingException</CODE> - on an error extracting the signature or otherwise processing the message.<DD><CODE><A HREF="../../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if some other problem occurs.</DL></DL><HR><A NAME="SMIMESigned(javax.mail.Part)"><!-- --></A><H3>SMIMESigned</H3><PRE>public <B>SMIMESigned</B>(javax.mail.Part message) throws javax.mail.MessagingException, <A HREF="../../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A>, <A HREF="../../../../org/bouncycastle/mail/smime/SMIMEException.html" title="class in org.bouncycastle.mail.smime">SMIMEException</A></PRE><DL><DD>base constructor for a signed message with encapsulated content.<P><DL><DT><B>Throws:</B><DD><CODE>javax.mail.MessagingException</CODE> - on an error extracting the signature or otherwise processing the message.<DD><CODE><A HREF="../../../../org/bouncycastle/mail/smime/SMIMEException.html" title="class in org.bouncycastle.mail.smime">SMIMEException</A></CODE> - if the body part encapsulated in the message cannot be extracted.<DD><CODE><A HREF="../../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if some other problem occurs.</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="getContent()"><!-- --></A><H3>getContent</H3><PRE>public javax.mail.internet.MimeBodyPart <B>getContent</B>()</PRE><DL><DD>return the content that was signed.<P><DD><DL></DL></DD></DL><HR><A NAME="getContentAsMimeMessage(javax.mail.Session)"><!-- --></A><H3>getContentAsMimeMessage</H3><PRE>public javax.mail.internet.MimeMessage <B>getContentAsMimeMessage</B>(javax.mail.Session session) throws javax.mail.MessagingException, java.io.IOException</PRE><DL><DD>Return the content that was signed as a mime message.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>session</CODE> - <DT><B>Returns:</B><DD>a MimeMessage holding the content.<DT><B>Throws:</B><DD><CODE>javax.mail.MessagingException</CODE><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="getContentWithSignature()"><!-- --></A><H3>getContentWithSignature</H3><PRE>public java.lang.Object <B>getContentWithSignature</B>()</PRE><DL><DD>return the content that was signed - depending on whether this was unencapsulated or not it will return a MimeMultipart or a MimeBodyPart<P><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><b>Bouncy Castle Cryptography Library 1.42</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/bouncycastle/mail/smime/SMIMEGenerator.html" title="class in org.bouncycastle.mail.smime"><B>PREV CLASS</B></A> <A HREF="../../../../org/bouncycastle/mail/smime/SMIMESignedGenerator.html" title="class in org.bouncycastle.mail.smime"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/bouncycastle/mail/smime/SMIMESigned.html" target="_top"><B>FRAMES</B></A> <A HREF="SMIMESigned.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -