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

📄 utils.html

📁 sip CMSEnvelopedData
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD><CODE><A HREF="../chapter9/Utils.html#buildPath(java.security.cert.X509Certificate, java.security.cert.X509CertSelector, java.security.cert.CertStore)">buildPath</A>, <A HREF="../chapter9/Utils.html#createCredentials()">createCredentials</A>, <A HREF="../chapter9/Utils.html#createMimeMessage(java.lang.String, java.lang.Object, java.lang.String)">createMimeMessage</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_chapter8.Utils"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class chapter8.<A HREF="../chapter8/Utils.html" title="class in chapter8">Utils</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../chapter8/Utils.html#createEndEntityCredential(java.security.PrivateKey, java.security.cert.X509Certificate)">createEndEntityCredential</A>, <A HREF="../chapter8/Utils.html#createIntermediateCredential(java.security.PrivateKey, java.security.cert.X509Certificate)">createIntermediateCredential</A>, <A HREF="../chapter8/Utils.html#createRootCredential()">createRootCredential</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_chapter7.Utils"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class chapter7.<A HREF="../chapter7/Utils.html" title="class in chapter7">Utils</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../chapter7/Utils.html#generateEndEntityCert(java.security.PublicKey, java.security.PrivateKey, java.security.cert.X509Certificate)">generateEndEntityCert</A>, <A HREF="../chapter7/Utils.html#generateIntermediateCert(java.security.PublicKey, java.security.PrivateKey, java.security.cert.X509Certificate)">generateIntermediateCert</A>, <A HREF="../chapter7/Utils.html#generateRootCert(java.security.KeyPair)">generateRootCert</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_chapter6.Utils"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class chapter6.<A HREF="../chapter6/Utils.html" title="class in chapter6">Utils</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../chapter6/Utils.html#generateRSAKeyPair()">generateRSAKeyPair</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_chapter4.Utils"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class chapter4.<A HREF="../chapter4/Utils.html" title="class in chapter4">Utils</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../chapter4/Utils.html#createFixedRandom()">createFixedRandom</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_chapter3.Utils"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class chapter3.<A HREF="../chapter3/Utils.html" title="class in chapter3">Utils</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../chapter3/Utils.html#createCtrIvForAES(int, java.security.SecureRandom)">createCtrIvForAES</A>, <A HREF="../chapter3/Utils.html#createKeyForAES(int, java.security.SecureRandom)">createKeyForAES</A>, <A HREF="../chapter3/Utils.html#toByteArray(java.lang.String)">toByteArray</A>, <A HREF="../chapter3/Utils.html#toString(byte[])">toString</A>, <A HREF="../chapter3/Utils.html#toString(byte[], int)">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_chapter2.Utils"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class chapter2.<A HREF="../chapter2/Utils.html" title="class in chapter2">Utils</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../chapter2/Utils.html#toHex(byte[])">toHex</A>, <A HREF="../chapter2/Utils.html#toHex(byte[], int)">toHex</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="SERVER_NAME"><!-- --></A><H3>SERVER_NAME</H3><PRE>public static final java.lang.String <B>SERVER_NAME</B></PRE><DL><DD>Names and passwords for the key store entries we need.<P><DL><DT><B>See Also:</B><DD><A HREF="../constant-values.html#chapter10.Utils.SERVER_NAME">Constant Field Values</A></DL></DL><HR><A NAME="SERVER_PASSWORD"><!-- --></A><H3>SERVER_PASSWORD</H3><PRE>public static final char[] <B>SERVER_PASSWORD</B></PRE><DL><DL></DL></DL><HR><A NAME="CLIENT_NAME"><!-- --></A><H3>CLIENT_NAME</H3><PRE>public static final java.lang.String <B>CLIENT_NAME</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../constant-values.html#chapter10.Utils.CLIENT_NAME">Constant Field Values</A></DL></DL><HR><A NAME="CLIENT_PASSWORD"><!-- --></A><H3>CLIENT_PASSWORD</H3><PRE>public static final char[] <B>CLIENT_PASSWORD</B></PRE><DL><DL></DL></DL><HR><A NAME="TRUST_STORE_NAME"><!-- --></A><H3>TRUST_STORE_NAME</H3><PRE>public static final java.lang.String <B>TRUST_STORE_NAME</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../constant-values.html#chapter10.Utils.TRUST_STORE_NAME">Constant Field Values</A></DL></DL><HR><A NAME="TRUST_STORE_PASSWORD"><!-- --></A><H3>TRUST_STORE_PASSWORD</H3><PRE>public static final char[] <B>TRUST_STORE_PASSWORD</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="Utils()"><!-- --></A><H3>Utils</H3><PRE>public <B>Utils</B>()</PRE><DL></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="class-use/Utils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../chapter10/SSLServerWithClientAuthIdExample.html" title="class in chapter10"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../index.html?chapter10/Utils.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Utils.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;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_chapter9.Utils">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Examples from <a href="http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764596330.html">"Beginning Cryptography with Java"</a></i></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -