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

📄 cmssigneddataparser.html

📁 jijo djoijio oijoij poikijoi joijoij
💻 HTML
📖 第 1 页 / 共 3 页
字号:
                                                       <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>return a X509Store containing the public key certificates, if any, contained in this message.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - type of store to create<DD><CODE>provider</CODE> - provider to use<DT><B>Returns:</B><DD>a store of public key certificates<DT><B>Throws:</B><DD><CODE>java.security.NoSuchProviderException</CODE> - if the provider requested isn't available.<DD><CODE>org.bouncycastle.x509.NoSuchStoreException</CODE> - if the store type isn't available.<DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if a general exception prevents creation of the X509Store</DL></DD></DL><HR><A NAME="getCertificates(java.lang.String, java.security.Provider)"><!-- --></A><H3>getCertificates</H3><PRE>public org.bouncycastle.x509.X509Store <B>getCertificates</B>(java.lang.String&nbsp;type,                                                       java.security.Provider&nbsp;provider)                                                throws org.bouncycastle.x509.NoSuchStoreException,                                                       <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>return a X509Store containing the public key certificates, if any, contained in this message.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - type of store to create<DD><CODE>provider</CODE> - provider to use<DT><B>Returns:</B><DD>a store of public key certificates<DT><B>Throws:</B><DD><CODE>org.bouncycastle.x509.NoSuchStoreException</CODE> - if the store type isn't available.<DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if a general exception prevents creation of the X509Store</DL></DD></DL><HR><A NAME="getCRLs(java.lang.String, java.lang.String)"><!-- --></A><H3>getCRLs</H3><PRE>public org.bouncycastle.x509.X509Store <B>getCRLs</B>(java.lang.String&nbsp;type,                                               java.lang.String&nbsp;provider)                                        throws org.bouncycastle.x509.NoSuchStoreException,                                               java.security.NoSuchProviderException,                                               <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>return a X509Store containing CRLs, if any, contained in this message.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - type of store to create<DD><CODE>provider</CODE> - name of provider to use<DT><B>Returns:</B><DD>a store of CRLs<DT><B>Throws:</B><DD><CODE>java.security.NoSuchProviderException</CODE> - if the provider requested isn't available.<DD><CODE>org.bouncycastle.x509.NoSuchStoreException</CODE> - if the store type isn't available.<DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if a general exception prevents creation of the X509Store</DL></DD></DL><HR><A NAME="getCRLs(java.lang.String, java.security.Provider)"><!-- --></A><H3>getCRLs</H3><PRE>public org.bouncycastle.x509.X509Store <B>getCRLs</B>(java.lang.String&nbsp;type,                                               java.security.Provider&nbsp;provider)                                        throws org.bouncycastle.x509.NoSuchStoreException,                                               <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>return a X509Store containing CRLs, if any, contained in this message.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - type of store to create<DD><CODE>provider</CODE> - provider to use<DT><B>Returns:</B><DD>a store of CRLs<DT><B>Throws:</B><DD><CODE>org.bouncycastle.x509.NoSuchStoreException</CODE> - if the store type isn't available.<DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if a general exception prevents creation of the X509Store</DL></DD></DL><HR><A NAME="getCertificatesAndCRLs(java.lang.String, java.lang.String)"><!-- --></A><H3>getCertificatesAndCRLs</H3><PRE>public java.security.cert.CertStore <B>getCertificatesAndCRLs</B>(java.lang.String&nbsp;type,                                                           java.lang.String&nbsp;provider)                                                    throws java.security.NoSuchAlgorithmException,                                                           java.security.NoSuchProviderException,                                                           <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>return a CertStore containing the certificates and CRLs associated with this message.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchProviderException</CODE> - if the provider requested isn't available.<DD><CODE>java.security.NoSuchAlgorithmException</CODE> - if the cert store isn't available.<DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if a general exception prevents creation of the CertStore</DL></DD></DL><HR><A NAME="getCertificatesAndCRLs(java.lang.String, java.security.Provider)"><!-- --></A><H3>getCertificatesAndCRLs</H3><PRE>public java.security.cert.CertStore <B>getCertificatesAndCRLs</B>(java.lang.String&nbsp;type,                                                           java.security.Provider&nbsp;provider)                                                    throws java.security.NoSuchAlgorithmException,                                                           java.security.NoSuchProviderException,                                                           <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>return a CertStore containing the certificates and CRLs associated with this message.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchProviderException</CODE> - if the provider requested isn't available.<DD><CODE>java.security.NoSuchAlgorithmException</CODE> - if the cert store isn't available.<DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if a general exception prevents creation of the CertStore</DL></DD></DL><HR><A NAME="getSignedContentTypeOID()"><!-- --></A><H3>getSignedContentTypeOID</H3><PRE>public java.lang.String <B>getSignedContentTypeOID</B>()</PRE><DL><DD>Return the a string representation of the OID associated with the encapsulated content info structure carried in the signed data.<P><DD><DL><DT><B>Returns:</B><DD>the OID for the content type.</DL></DD></DL><HR><A NAME="getSignedContent()"><!-- --></A><H3>getSignedContent</H3><PRE>public <A HREF="../../../org/bouncycastle/cms/CMSTypedStream.html" title="class in org.bouncycastle.cms">CMSTypedStream</A> <B>getSignedContent</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="replaceSigners(java.io.InputStream, org.bouncycastle.cms.SignerInformationStore, java.io.OutputStream)"><!-- --></A><H3>replaceSigners</H3><PRE>public static java.io.OutputStream <B>replaceSigners</B>(java.io.InputStream&nbsp;original,                                                  <A HREF="../../../org/bouncycastle/cms/SignerInformationStore.html" title="class in org.bouncycastle.cms">SignerInformationStore</A>&nbsp;signerInformationStore,                                                  java.io.OutputStream&nbsp;out)                                           throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A>,                                                  java.io.IOException</PRE><DL><DD>Replace the signerinformation store associated with the passed in message contained in the stream original with the new one passed in. You would probably only want to do this if you wanted to change the unsigned attributes associated with a signer, or perhaps delete one. <p> The output stream is returned unclosed. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>original</CODE> - the signed data stream to be used as a base.<DD><CODE>signerInformationStore</CODE> - the new signer information store to use.<DD><CODE>out</CODE> - the stream to write the new signed data object to.<DT><B>Returns:</B><DD>out.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="replaceCertificatesAndCRLs(java.io.InputStream, java.security.cert.CertStore, java.io.OutputStream)"><!-- --></A><H3>replaceCertificatesAndCRLs</H3><PRE>public static java.io.OutputStream <B>replaceCertificatesAndCRLs</B>(java.io.InputStream&nbsp;original,                                                              java.security.cert.CertStore&nbsp;certsAndCrls,                                                              java.io.OutputStream&nbsp;out)                                                       throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A>,                                                              java.io.IOException</PRE><DL><DD>Replace the certificate and CRL information associated with this CMSSignedData object with the new one passed in. <p> The output stream is returned unclosed. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>original</CODE> - the signed data stream to be used as a base.<DD><CODE>certsAndCrls</CODE> - the new certificates and CRLs to be used.<DD><CODE>out</CODE> - the stream to write the new signed data object to.<DT><B>Returns:</B><DD>out.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if there is an error processing the CertStore<DD><CODE>java.io.IOException</CODE></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../org/bouncycastle/cms/CMSSignedDataGenerator.html" title="class in org.bouncycastle.cms"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/bouncycastle/cms/CMSSignedDataStreamGenerator.html" title="class in org.bouncycastle.cms"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?org/bouncycastle/cms/CMSSignedDataParser.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CMSSignedDataParser.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.bouncycastle.cms.CMSContentInfoParser">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -