📄 recipientinformation.html
字号:
<DL><DL></DL></DL><HR><A NAME="encAlg"><!-- --></A><H3>encAlg</H3><PRE>protected org.bouncycastle.asn1.x509.AlgorithmIdentifier <B>encAlg</B></PRE><DL><DL></DL></DL><HR><A NAME="macAlg"><!-- --></A><H3>macAlg</H3><PRE>protected org.bouncycastle.asn1.x509.AlgorithmIdentifier <B>macAlg</B></PRE><DL><DL></DL></DL><HR><A NAME="keyEncAlg"><!-- --></A><H3>keyEncAlg</H3><PRE>protected org.bouncycastle.asn1.x509.AlgorithmIdentifier <B>keyEncAlg</B></PRE><DL><DL></DL></DL><HR><A NAME="data"><!-- --></A><H3>data</H3><PRE>protected java.io.InputStream <B>data</B></PRE><DL><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="RecipientInformation(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, java.io.InputStream)"><!-- --></A><H3>RecipientInformation</H3><PRE>protected <B>RecipientInformation</B>(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlg, org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlg, java.io.InputStream data)</PRE><DL></DL><HR><A NAME="RecipientInformation(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, java.io.InputStream)"><!-- --></A><H3>RecipientInformation</H3><PRE>protected <B>RecipientInformation</B>(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlg, org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlg, org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlg, java.io.InputStream data)</PRE><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="getRID()"><!-- --></A><H3>getRID</H3><PRE>public <A HREF="../../../org/bouncycastle/cms/RecipientId.html" title="class in org.bouncycastle.cms">RecipientId</A> <B>getRID</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getKeyEncryptionAlgOID()"><!-- --></A><H3>getKeyEncryptionAlgOID</H3><PRE>public java.lang.String <B>getKeyEncryptionAlgOID</B>()</PRE><DL><DD>return the object identifier for the key encryption algorithm.<P><DD><DL><DT><B>Returns:</B><DD>OID for key encryption algorithm.</DL></DD></DL><HR><A NAME="getKeyEncryptionAlgParams()"><!-- --></A><H3>getKeyEncryptionAlgParams</H3><PRE>public byte[] <B>getKeyEncryptionAlgParams</B>()</PRE><DL><DD>return the ASN.1 encoded key encryption algorithm parameters, or null if there aren't any.<P><DD><DL><DT><B>Returns:</B><DD>ASN.1 encoding of key encryption algorithm parameters.</DL></DD></DL><HR><A NAME="getKeyEncryptionAlgorithmParameters(java.lang.String)"><!-- --></A><H3>getKeyEncryptionAlgorithmParameters</H3><PRE>public java.security.AlgorithmParameters <B>getKeyEncryptionAlgorithmParameters</B>(java.lang.String provider) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A>, java.security.NoSuchProviderException</PRE><DL><DD>Return an AlgorithmParameters object giving the encryption parameters used to encrypt the key this recipient holds.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>provider</CODE> - the provider to generate the parameters for.<DT><B>Returns:</B><DD>the parameters object, null if there is not one.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if the algorithm cannot be found, or the parameters can't be parsed.<DD><CODE>java.security.NoSuchProviderException</CODE> - if the provider cannot be found.</DL></DD></DL><HR><A NAME="getKeyEncryptionAlgorithmParameters(java.security.Provider)"><!-- --></A><H3>getKeyEncryptionAlgorithmParameters</H3><PRE>public java.security.AlgorithmParameters <B>getKeyEncryptionAlgorithmParameters</B>(java.security.Provider provider) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><DD>Return an AlgorithmParameters object giving the encryption parameters used to encrypt the key this recipient holds.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>provider</CODE> - the provider to generate the parameters for.<DT><B>Returns:</B><DD>the parameters object, null if there is not one.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></CODE> - if the algorithm cannot be found, or the parameters can't be parsed.</DL></DD></DL><HR><A NAME="getContentFromSessionKey(java.security.Key, java.security.Provider)"><!-- --></A><H3>getContentFromSessionKey</H3><PRE>protected <A HREF="../../../org/bouncycastle/cms/CMSTypedStream.html" title="class in org.bouncycastle.cms">CMSTypedStream</A> <B>getContentFromSessionKey</B>(java.security.Key sKey, java.security.Provider provider) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><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="getContent(java.security.Key, java.lang.String)"><!-- --></A><H3>getContent</H3><PRE>public byte[] <B>getContent</B>(java.security.Key key, java.lang.String provider) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A>, java.security.NoSuchProviderException</PRE><DL><DD><DL><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.security.NoSuchProviderException</CODE></DL></DD></DL><HR><A NAME="getContent(java.security.Key, java.security.Provider)"><!-- --></A><H3>getContent</H3><PRE>public byte[] <B>getContent</B>(java.security.Key key, java.security.Provider provider) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><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="getMac()"><!-- --></A><H3>getMac</H3><PRE>public byte[] <B>getMac</B>()</PRE><DL><DD>Return the MAC calculated for the content stream. Note: this call is only meaningful once all the content has been read.<P><DD><DL><DT><B>Returns:</B><DD>byte array containing the mac.</DL></DD></DL><HR><A NAME="getContentStream(java.security.Key, java.lang.String)"><!-- --></A><H3>getContentStream</H3><PRE>public <A HREF="../../../org/bouncycastle/cms/CMSTypedStream.html" title="class in org.bouncycastle.cms">CMSTypedStream</A> <B>getContentStream</B>(java.security.Key key, java.lang.String provider) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A>, java.security.NoSuchProviderException</PRE><DL><DD><DL><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.security.NoSuchProviderException</CODE></DL></DD></DL><HR><A NAME="getContentStream(java.security.Key, java.security.Provider)"><!-- --></A><H3>getContentStream</H3><PRE>public abstract <A HREF="../../../org/bouncycastle/cms/CMSTypedStream.html" title="class in org.bouncycastle.cms">CMSTypedStream</A> <B>getContentStream</B>(java.security.Key key, java.security.Provider provider) throws <A HREF="../../../org/bouncycastle/cms/CMSException.html" title="class in org.bouncycastle.cms">CMSException</A></PRE><DL><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><!-- ========= 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/cms/RecipientId.html" title="class in org.bouncycastle.cms"><B>PREV CLASS</B></A> <A HREF="../../../org/bouncycastle/cms/RecipientInformationStore.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/RecipientInformation.html" target="_top"><B>FRAMES</B></A> <A HREF="RecipientInformation.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -