📄 timestampresponse.html
字号:
<!-- ========= 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="TimeStampResponse(org.bouncycastle.asn1.tsp.TimeStampResp)"><!-- --></A><H3>TimeStampResponse</H3><PRE>public <B>TimeStampResponse</B>(org.bouncycastle.asn1.tsp.TimeStampResp resp) throws <A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A>, java.io.IOException</PRE><DL><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A></CODE><DD><CODE>java.io.IOException</CODE></DL></DL><HR><A NAME="TimeStampResponse(byte[])"><!-- --></A><H3>TimeStampResponse</H3><PRE>public <B>TimeStampResponse</B>(byte[] resp) throws <A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A>, java.io.IOException</PRE><DL><DD>Create a TimeStampResponse from a byte array containing an ASN.1 encoding.<P><DL><DT><B>Parameters:</B><DD><CODE>resp</CODE> - the byte array containing the encoded response.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A></CODE> - if the response is malformed.<DD><CODE>java.io.IOException</CODE> - if the byte array doesn't represent an ASN.1 encoding.</DL></DL><HR><A NAME="TimeStampResponse(java.io.InputStream)"><!-- --></A><H3>TimeStampResponse</H3><PRE>public <B>TimeStampResponse</B>(java.io.InputStream in) throws <A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A>, java.io.IOException</PRE><DL><DD>Create a TimeStampResponse from an input stream containing an ASN.1 encoding.<P><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - the input stream containing the encoded response.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A></CODE> - if the response is malformed.<DD><CODE>java.io.IOException</CODE> - if the stream doesn't represent an ASN.1 encoding.</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="getStatus()"><!-- --></A><H3>getStatus</H3><PRE>public int <B>getStatus</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getStatusString()"><!-- --></A><H3>getStatusString</H3><PRE>public java.lang.String <B>getStatusString</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getFailInfo()"><!-- --></A><H3>getFailInfo</H3><PRE>public org.bouncycastle.asn1.cmp.PKIFailureInfo <B>getFailInfo</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getTimeStampToken()"><!-- --></A><H3>getTimeStampToken</H3><PRE>public <A HREF="../../../org/bouncycastle/tsp/TimeStampToken.html" title="class in org.bouncycastle.tsp">TimeStampToken</A> <B>getTimeStampToken</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="validate(org.bouncycastle.tsp.TimeStampRequest)"><!-- --></A><H3>validate</H3><PRE>public void <B>validate</B>(<A HREF="../../../org/bouncycastle/tsp/TimeStampRequest.html" title="class in org.bouncycastle.tsp">TimeStampRequest</A> request) throws <A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A></PRE><DL><DD>Check this response against to see if it a well formed response for the passed in request. Validation will include checking the time stamp token if the response status is GRANTED or GRANTED_WITH_MODS.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to be checked against<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A></CODE> - if the request can not match this response.</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><DT><B>Throws:</B><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> </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/tsp/TimeStampRequestGenerator.html" title="class in org.bouncycastle.tsp"><B>PREV CLASS</B></A> <A HREF="../../../org/bouncycastle/tsp/TimeStampResponseGenerator.html" title="class in org.bouncycastle.tsp"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/bouncycastle/tsp/TimeStampResponse.html" target="_top"><B>FRAMES</B></A> <A HREF="TimeStampResponse.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -