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

📄 ocspreq.html

📁 kjlj oipipi poipoipo ipo [pipoi
💻 HTML
📖 第 1 页 / 共 2 页
字号:
OCSPReq</H3><PRE>public <B>OCSPReq</B>(java.io.InputStream&nbsp;in)        throws java.io.IOException</PRE><DL><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</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="getTBSRequest()"><!-- --></A><H3>getTBSRequest</H3><PRE>public byte[] <B>getTBSRequest</B>()                     throws <A HREF="../../../org/bouncycastle/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp">OCSPException</A></PRE><DL><DD>Return the DER encoding of the tbsRequest field.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DER encoding of tbsRequest<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp">OCSPException</A></CODE> - in the event of an encoding error.</DL></DD></DL><HR><A NAME="getVersion()"><!-- --></A><H3>getVersion</H3><PRE>public int <B>getVersion</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRequestorName()"><!-- --></A><H3>getRequestorName</H3><PRE>public <A HREF="../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A> <B>getRequestorName</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRequestList()"><!-- --></A><H3>getRequestList</H3><PRE>public <A HREF="../../../org/bouncycastle/ocsp/Req.html" title="class in org.bouncycastle.ocsp">Req</A>[] <B>getRequestList</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRequestExtensions()"><!-- --></A><H3>getRequestExtensions</H3><PRE>public <A HREF="../../../org/bouncycastle/asn1/x509/X509Extensions.html" title="class in org.bouncycastle.asn1.x509">X509Extensions</A> <B>getRequestExtensions</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSignatureAlgOID()"><!-- --></A><H3>getSignatureAlgOID</H3><PRE>public java.lang.String <B>getSignatureAlgOID</B>()</PRE><DL><DD>return the object identifier representing the signature algorithm<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSignature()"><!-- --></A><H3>getSignature</H3><PRE>public byte[] <B>getSignature</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getCerts(java.lang.String)"><!-- --></A><H3>getCerts</H3><PRE>public java.security.cert.X509Certificate[] <B>getCerts</B>(java.lang.String&nbsp;provider)                                              throws <A HREF="../../../org/bouncycastle/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp">OCSPException</A>,                                                     java.security.NoSuchProviderException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp">OCSPException</A></CODE><DD><CODE>java.security.NoSuchProviderException</CODE></DL></DD></DL><HR><A NAME="getCertificates(java.lang.String, java.lang.String)"><!-- --></A><H3>getCertificates</H3><PRE>public java.security.cert.CertStore <B>getCertificates</B>(java.lang.String&nbsp;type,                                                    java.lang.String&nbsp;provider)                                             throws java.security.NoSuchAlgorithmException,                                                    java.security.NoSuchProviderException,                                                    <A HREF="../../../org/bouncycastle/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp">OCSPException</A></PRE><DL><DD>If the request is signed return a possibly empty CertStore containing the certificates in the request. If the request is not signed the method returns null.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - type of CertStore to return<DD><CODE>provider</CODE> - provider to use<DT><B>Returns:</B><DD>null if not signed, a CertStore otherwise<DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE><A HREF="../../../org/bouncycastle/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp">OCSPException</A></CODE></DL></DD></DL><HR><A NAME="isSigned()"><!-- --></A><H3>isSigned</H3><PRE>public boolean <B>isSigned</B>()</PRE><DL><DD>Return whether or not this request is signed.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if signed false otherwise.</DL></DD></DL><HR><A NAME="verify(java.security.PublicKey, java.lang.String)"><!-- --></A><H3>verify</H3><PRE>public boolean <B>verify</B>(java.security.PublicKey&nbsp;key,                      java.lang.String&nbsp;sigProvider)               throws <A HREF="../../../org/bouncycastle/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp">OCSPException</A>,                      java.security.NoSuchProviderException</PRE><DL><DD>verify the signature against the TBSRequest object we contain.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp">OCSPException</A></CODE><DD><CODE>java.security.NoSuchProviderException</CODE></DL></DD></DL><HR><A NAME="getEncoded()"><!-- --></A><H3>getEncoded</H3><PRE>public byte[] <B>getEncoded</B>()                  throws java.io.IOException</PRE><DL><DD>return the ASN.1 encoded representation of this object.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="hasUnsupportedCriticalExtension()"><!-- --></A><H3>hasUnsupportedCriticalExtension</H3><PRE>public boolean <B>hasUnsupportedCriticalExtension</B>()</PRE><DL><DD>RFC 2650 doesn't specify any critical extensions so we return true if any are encountered.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>hasUnsupportedCriticalExtension</CODE> in interface <CODE>java.security.cert.X509Extension</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if any critical extensions are present.</DL></DD></DL><HR><A NAME="getCriticalExtensionOIDs()"><!-- --></A><H3>getCriticalExtensionOIDs</H3><PRE>public java.util.Set <B>getCriticalExtensionOIDs</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>getCriticalExtensionOIDs</CODE> in interface <CODE>java.security.cert.X509Extension</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getNonCriticalExtensionOIDs()"><!-- --></A><H3>getNonCriticalExtensionOIDs</H3><PRE>public java.util.Set <B>getNonCriticalExtensionOIDs</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>getNonCriticalExtensionOIDs</CODE> in interface <CODE>java.security.cert.X509Extension</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getExtensionValue(java.lang.String)"><!-- --></A><H3>getExtensionValue</H3><PRE>public byte[] <B>getExtensionValue</B>(java.lang.String&nbsp;oid)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>getExtensionValue</CODE> in interface <CODE>java.security.cert.X509Extension</CODE></DL></DD><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>&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/ocsp/OCSPException.html" title="class in org.bouncycastle.ocsp"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/bouncycastle/ocsp/OCSPReqGenerator.html" title="class in org.bouncycastle.ocsp"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?org/bouncycastle/ocsp/OCSPReq.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="OCSPReq.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;FIELD&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 + -