📄 x509streamparser.html
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getInstance(java.lang.String)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../org/bouncycastle/x509/X509StreamParser.html" title="class in org.bouncycastle.x509">X509StreamParser</A> <B>getInstance</B>(java.lang.String type) throws <A HREF="../../../org/bouncycastle/x509/NoSuchParserException.html" title="class in org.bouncycastle.x509">NoSuchParserException</A></PRE><DL><DD>Generates a StreamParser object that implements the specified type. If the default provider package provides an implementation of the requested type, an instance of StreamParser containing that implementation is returned. If the type is not available in the default package, other packages are searched.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The name of the requested X.509 object type.<DT><B>Returns:</B><DD>a StreamParser object for the specified type.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/NoSuchParserException.html" title="class in org.bouncycastle.x509">NoSuchParserException</A></CODE> - if the requested type is not available in the default provider package or any of the other provider packages that were searched.</DL></DD></DL><HR><A NAME="getInstance(java.lang.String, java.lang.String)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../org/bouncycastle/x509/X509StreamParser.html" title="class in org.bouncycastle.x509">X509StreamParser</A> <B>getInstance</B>(java.lang.String type, java.lang.String provider) throws <A HREF="../../../org/bouncycastle/x509/NoSuchParserException.html" title="class in org.bouncycastle.x509">NoSuchParserException</A>, java.security.NoSuchProviderException</PRE><DL><DD>Generates a X509StreamParser object for the specified type from the specified provider.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the name of the requested X.509 object type.<DD><CODE>provider</CODE> - the name of the provider.<DT><B>Returns:</B><DD>a X509StreamParser object for the specified type.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/NoSuchParserException.html" title="class in org.bouncycastle.x509">NoSuchParserException</A></CODE> - if the type is not available from the specified provider.<DD><CODE>java.security.NoSuchProviderException</CODE> - if the provider can not be found.<DT><B>See Also:</B><DD><CODE>Provider</CODE></DL></DD></DL><HR><A NAME="getInstance(java.lang.String, java.security.Provider)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../org/bouncycastle/x509/X509StreamParser.html" title="class in org.bouncycastle.x509">X509StreamParser</A> <B>getInstance</B>(java.lang.String type, java.security.Provider provider) throws <A HREF="../../../org/bouncycastle/x509/NoSuchParserException.html" title="class in org.bouncycastle.x509">NoSuchParserException</A></PRE><DL><DD>Generates a X509StreamParser object for the specified type from the specified provider.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the name of the requested X.509 object type.<DD><CODE>provider</CODE> - the Provider to use.<DT><B>Returns:</B><DD>a X509StreamParser object for the specified type.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/NoSuchParserException.html" title="class in org.bouncycastle.x509">NoSuchParserException</A></CODE> - if the type is not available from the specified provider.<DT><B>See Also:</B><DD><CODE>Provider</CODE></DL></DD></DL><HR><A NAME="getProvider()"><!-- --></A><H3>getProvider</H3><PRE>public java.security.Provider <B>getProvider</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="init(java.io.InputStream)"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(java.io.InputStream stream)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="init(byte[])"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(byte[] data)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="read()"><!-- --></A><H3>read</H3><PRE>public java.lang.Object <B>read</B>() throws <A HREF="../../../org/bouncycastle/x509/util/StreamParsingException.html" title="class in org.bouncycastle.x509.util">StreamParsingException</A></PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/util/StreamParser.html#read()">read</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/util/StreamParser.html" title="interface in org.bouncycastle.x509.util">StreamParser</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/util/StreamParsingException.html" title="class in org.bouncycastle.x509.util">StreamParsingException</A></CODE></DL></DD></DL><HR><A NAME="readAll()"><!-- --></A><H3>readAll</H3><PRE>public java.util.Collection <B>readAll</B>() throws <A HREF="../../../org/bouncycastle/x509/util/StreamParsingException.html" title="class in org.bouncycastle.x509.util">StreamParsingException</A></PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/util/StreamParser.html#readAll()">readAll</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/util/StreamParser.html" title="interface in org.bouncycastle.x509.util">StreamParser</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/util/StreamParsingException.html" title="class in org.bouncycastle.x509.util">StreamParsingException</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/x509/X509StoreSpi.html" title="class in org.bouncycastle.x509"><B>PREV CLASS</B></A> <A HREF="../../../org/bouncycastle/x509/X509StreamParserSpi.html" title="class in org.bouncycastle.x509"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/bouncycastle/x509/X509StreamParser.html" target="_top"><B>FRAMES</B></A> <A HREF="X509StreamParser.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -