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

📄 timestamptoken.html

📁 nlkjkllkjk ijiojuoiuoiu iuiouoi uoiu
💻 HTML
📖 第 1 页 / 共 2 页
字号:
public <B>TimeStampToken</B>(org.bouncycastle.asn1.cms.ContentInfo&nbsp;contentInfo)               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="TimeStampToken(org.bouncycastle.cms.CMSSignedData)"><!-- --></A><H3>TimeStampToken</H3><PRE>public <B>TimeStampToken</B>(org.bouncycastle.cms.CMSSignedData&nbsp;signedData)               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><!-- ============ 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="getTimeStampInfo()"><!-- --></A><H3>getTimeStampInfo</H3><PRE>public <A HREF="../../../org/bouncycastle/tsp/TimeStampTokenInfo.html" title="class in org.bouncycastle.tsp">TimeStampTokenInfo</A> <B>getTimeStampInfo</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getSID()"><!-- --></A><H3>getSID</H3><PRE>public org.bouncycastle.cms.SignerId <B>getSID</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getSignedAttributes()"><!-- --></A><H3>getSignedAttributes</H3><PRE>public org.bouncycastle.asn1.cms.AttributeTable <B>getSignedAttributes</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getUnsignedAttributes()"><!-- --></A><H3>getUnsignedAttributes</H3><PRE>public org.bouncycastle.asn1.cms.AttributeTable <B>getUnsignedAttributes</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getCertificatesAndCRLs(java.lang.String, java.lang.String)"><!-- --></A><H3>getCertificatesAndCRLs</H3><PRE>public java.security.cert.CertStore <B>getCertificatesAndCRLs</B>(java.lang.String&nbsp;type,                                                           java.lang.String&nbsp;provider)                                                    throws java.security.NoSuchAlgorithmException,                                                           java.security.NoSuchProviderException,                                                           org.bouncycastle.cms.CMSException</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>org.bouncycastle.cms.CMSException</CODE></DL></DD></DL><HR><A NAME="validate(java.security.cert.X509Certificate, java.lang.String)"><!-- --></A><H3>validate</H3><PRE>public void <B>validate</B>(java.security.cert.X509Certificate&nbsp;cert,                     java.lang.String&nbsp;provider)              throws <A HREF="../../../org/bouncycastle/tsp/TSPException.html" title="class in org.bouncycastle.tsp">TSPException</A>,                     <A HREF="../../../org/bouncycastle/tsp/TSPValidationException.html" title="class in org.bouncycastle.tsp">TSPValidationException</A>,                     java.security.cert.CertificateExpiredException,                     java.security.cert.CertificateNotYetValidException,                     java.security.NoSuchProviderException</PRE><DL><DD>Validate the time stamp token. <p> To be valid the token must be signed by the passed in certificate and the certificate must be the one referred to by the SigningCertificate  attribute included in the hashed attributes of the token. The certificate must also have the ExtendedKeyUsageExtension with only KeyPurposeId.id_kp_timeStamping and have been valid at the time the timestamp was created. </p> <p> A successful call to validate means all the above are true. </p><P><DD><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><A HREF="../../../org/bouncycastle/tsp/TSPValidationException.html" title="class in org.bouncycastle.tsp">TSPValidationException</A></CODE><DD><CODE>java.security.cert.CertificateExpiredException</CODE><DD><CODE>java.security.cert.CertificateNotYetValidException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE></DL></DD></DL><HR><A NAME="toCMSSignedData()"><!-- --></A><H3>toCMSSignedData</H3><PRE>public org.bouncycastle.cms.CMSSignedData <B>toCMSSignedData</B>()</PRE><DL><DD>Return the underlying CMSSignedData object.<P><DD><DL><DT><B>Returns:</B><DD>the underlying CMS structure.</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 a ASN.1 encoded byte stream representing the encoded object.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if encoding fails.</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/tsp/TimeStampResponseGenerator.html" title="class in org.bouncycastle.tsp"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/bouncycastle/tsp/TimeStampTokenGenerator.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/TimeStampToken.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="TimeStampToken.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 + -