📄 cmssigneddataparser.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.security.cert.CertStore</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/cms/CMSSignedDataParser.html#getCertificatesAndCRLs(java.lang.String, java.lang.String)">getCertificatesAndCRLs</A></B>(java.lang.String type, java.lang.String provider)</CODE><BR> return a CertStore containing the certificates and CRLs associated with this message.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> org.bouncycastle.x509.X509Store</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/cms/CMSSignedDataParser.html#getCRLs(java.lang.String, java.security.Provider)">getCRLs</A></B>(java.lang.String type, java.security.Provider provider)</CODE><BR> return a X509Store containing CRLs, if any, contained in this message.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> org.bouncycastle.x509.X509Store</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/cms/CMSSignedDataParser.html#getCRLs(java.lang.String, java.lang.String)">getCRLs</A></B>(java.lang.String type, java.lang.String provider)</CODE><BR> return a X509Store containing CRLs, if any, contained in this message.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/bouncycastle/cms/CMSTypedStream.html" title="class in org.bouncycastle.cms">CMSTypedStream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/cms/CMSSignedDataParser.html#getSignedContent()">getSignedContent</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/cms/CMSSignedDataParser.html#getSignedContentTypeOID()">getSignedContentTypeOID</A></B>()</CODE><BR> Return the a string representation of the OID associated with the encapsulated content info structure carried in the signed data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/bouncycastle/cms/SignerInformationStore.html" title="class in org.bouncycastle.cms">SignerInformationStore</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/cms/CMSSignedDataParser.html#getSignerInfos()">getSignerInfos</A></B>()</CODE><BR> return the collection of signers that are associated with the signatures for the message.</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="../../../org/bouncycastle/cms/CMSSignedDataParser.html#getVersion()">getVersion</A></B>()</CODE><BR> Return the version number for the SignedData object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.io.OutputStream</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/cms/CMSSignedDataParser.html#replaceCertificatesAndCRLs(java.io.InputStream, java.security.cert.CertStore, java.io.OutputStream)">replaceCertificatesAndCRLs</A></B>(java.io.InputStream original, java.security.cert.CertStore certsAndCrls, java.io.OutputStream out)</CODE><BR> Replace the certificate and CRL information associated with this CMSSignedData object with the new one passed in.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.io.OutputStream</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/cms/CMSSignedDataParser.html#replaceSigners(java.io.InputStream, org.bouncycastle.cms.SignerInformationStore, java.io.OutputStream)">replaceSigners</A></B>(java.io.InputStream original, <A HREF="../../../org/bouncycastle/cms/SignerInformationStore.html" title="class in org.bouncycastle.cms">SignerInformationStore</A> signerInformationStore, java.io.OutputStream out)</CODE><BR> Replace the signerinformation store associated with the passed in message contained in the stream original with the new one passed in.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.bouncycastle.cms.CMSContentInfoParser"><!-- --></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/CMSContentInfoParser.html" title="class in org.bouncycastle.cms">CMSContentInfoParser</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/bouncycastle/cms/CMSContentInfoParser.html#close()">close</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="CMSSignedDataParser(byte[])"><!-- --></A><H3>CMSSignedDataParser</H3><PRE>public <B>CMSSignedDataParser</B>(byte[] sigBlock) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE></DL></DL><HR><A NAME="CMSSignedDataParser(org.bouncycastle.cms.CMSTypedStream, byte[])"><!-- --></A><H3>CMSSignedDataParser</H3><PRE>public <B>CMSSignedDataParser</B>(<A HREF="../../../org/bouncycastle/cms/CMSTypedStream.html" title="class in org.bouncycastle.cms">CMSTypedStream</A> signedContent, byte[] sigBlock) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE></DL></DL><HR><A NAME="CMSSignedDataParser(java.io.InputStream)"><!-- --></A><H3>CMSSignedDataParser</H3><PRE>public <B>CMSSignedDataParser</B>(java.io.InputStream sigData) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>base constructor - with encapsulated content<P><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE></DL></DL><HR><A NAME="CMSSignedDataParser(org.bouncycastle.cms.CMSTypedStream, java.io.InputStream)"><!-- --></A><H3>CMSSignedDataParser</H3><PRE>public <B>CMSSignedDataParser</B>(<A HREF="../../../org/bouncycastle/cms/CMSTypedStream.html" title="class in org.bouncycastle.cms">CMSTypedStream</A> signedContent, java.io.InputStream sigData) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>base constructor<P><DL><DT><B>Parameters:</B><DD><CODE>signedContent</CODE> - the content that was signed.<DD><CODE>sigData</CODE> - the signature object stream.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE></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="getVersion()"><!-- --></A><H3>getVersion</H3><PRE>public int <B>getVersion</B>()</PRE><DL><DD>Return the version number for the SignedData object<P><DD><DL><DT><B>Returns:</B><DD>the version number</DL></DD></DL><HR><A NAME="getSignerInfos()"><!-- --></A><H3>getSignerInfos</H3><PRE>public <A HREF="../../../org/bouncycastle/cms/SignerInformationStore.html" title="class in org.bouncycastle.cms">SignerInformationStore</A> <B>getSignerInfos</B>() throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>return the collection of signers that are associated with the signatures for the message.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE></DL></DD></DL><HR><A NAME="getAttributeCertificates(java.lang.String, java.lang.String)"><!-- --></A><H3>getAttributeCertificates</H3><PRE>public org.bouncycastle.x509.X509Store <B>getAttributeCertificates</B>(java.lang.String type, java.lang.String 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 the attribute 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> - name of provider to use<DT><B>Returns:</B><DD>a store of attribute 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="getAttributeCertificates(java.lang.String, java.security.Provider)"><!-- --></A><H3>getAttributeCertificates</H3><PRE>public org.bouncycastle.x509.X509Store <B>getAttributeCertificates</B>(java.lang.String type, java.security.Provider 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 attribute 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 attribute 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="getCertificates(java.lang.String, java.lang.String)"><!-- --></A><H3>getCertificates</H3><PRE>public org.bouncycastle.x509.X509Store <B>getCertificates</B>(java.lang.String type, java.lang.String provider) throws org.bouncycastle.x509.NoSuchStoreException, java.security.NoSuchProviderException,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -