aboutsummaryrefslogtreecommitdiff
path: root/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html
diff options
context:
space:
mode:
Diffstat (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html')
-rw-r--r--spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html408
1 files changed, 408 insertions, 0 deletions
diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html
new file mode 100644
index 000000000..252e1a08f
--- /dev/null
+++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html
@@ -0,0 +1,408 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc on Tue Jul 01 18:49:22 CEST 2003 -->
+<TITLE>
+MOA SP/SS Server Internal API: Class SSLUtils
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
+</HEAD>
+<BODY BGCOLOR="white">
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_top"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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/SSLUtils.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="../../../../../at/gv/egovernment/moa/util/ResourceBundleChain.html"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../../at/gv/egovernment/moa/util/StreamEntityResolver.html"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="SSLUtils.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: &nbsp;INNER&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>
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+at.gv.egovernment.moa.util</FONT>
+<BR>
+Class SSLUtils</H2>
+<PRE>
+<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">java.lang.Object</A>
+ |
+ +--<B>at.gv.egovernment.moa.util.SSLUtils</B>
+</PRE>
+<HR>
+<DL>
+<DT>public class <B>SSLUtils</B><DT>extends <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></DL>
+
+<P>
+Utility for connecting to server applications via SSL.
+<P>
+<DL>
+<DT><B>Version: </B><DD>$Id$</DD>
+<DT><B>Author: </B><DD>Paul Ivancsics</DD>
+</DL>
+<HR>
+
+<P>
+<!-- ======== INNER CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/SSLUtils.html#SSLUtils()">SSLUtils</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;com.sun.net.ssl.KeyManager[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/SSLUtils.html#getKeyManagers(java.security.KeyStore, java.lang.String)">getKeyManagers</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/KeyStore.html">KeyStore</A>&nbsp;clientKeyStore,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStorePassword)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the <code>KeyManager</code>s from a default <code>KeyManagerFactory</code>,
+ initialized from the given client key store.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;com.sun.net.ssl.KeyManager[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/SSLUtils.html#getKeyManagers(java.lang.String, java.lang.String, java.lang.String)">getKeyManagers</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreURL,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStorePassword)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the client key store from file and gets the
+ <code>KeyManager</code>s from a default <code>KeyManagerFactory</code>,
+ initialized from the given client key store.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;com.sun.net.ssl.SSLContext</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/SSLUtils.html#getSSLContext(java.security.KeyStore, java.lang.String, java.lang.String, java.lang.String)">getSSLContext</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/KeyStore.html">KeyStore</A>&nbsp;trustStore,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreURL,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStorePassword)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an <code>SSLContext</code> initialized for the
+ given trust store and keystore.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;javax.net.ssl.SSLSocketFactory</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/SSLUtils.html#getSSLSocketFactory(java.security.KeyStore, java.lang.String, java.lang.String, java.lang.String)">getSSLSocketFactory</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/KeyStore.html">KeyStore</A>&nbsp;trustStore,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreURL,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStorePassword)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an <code>SSLSocketFactory</code> which utilizes the
+ given trust store and keystore.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;javax.net.ssl.SSLSocketFactory</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/SSLUtils.html#getSSLSocketFactory(java.lang.String, java.io.InputStream, java.lang.String)">getSSLSocketFactory</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;trustStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;trustStoreInputStream,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;trustStorePassword)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an <code>SSLSocketFactory</code> which utilizes the given trust store.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected static&nbsp;com.sun.net.ssl.TrustManager[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/SSLUtils.html#getTrustManagers(java.security.KeyStore)">getTrustManagers</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/KeyStore.html">KeyStore</A>&nbsp;trustStore)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the <code>TrustManager</code>s from a default <code>TrustManagerFactory</code>,
+ initialized from the given trust store.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected static&nbsp;com.sun.net.ssl.TrustManager[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/SSLUtils.html#getTrustManagers(java.lang.String, java.io.InputStream, java.lang.String)">getTrustManagers</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;trustStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;trustStoreInputStream,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;trustStorePassword)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the trust store from an input stream and gets the
+ <code>TrustManager</code>s from a default <code>TrustManagerFactory</code>,
+ initialized from the given trust store.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="SSLUtils()"><!-- --></A><H3>
+SSLUtils</H3>
+<PRE>
+public <B>SSLUtils</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="getSSLSocketFactory(java.lang.String, java.io.InputStream, java.lang.String)"><!-- --></A><H3>
+getSSLSocketFactory</H3>
+<PRE>
+public static javax.net.ssl.SSLSocketFactory <B>getSSLSocketFactory</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;trustStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;trustStoreInputStream,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;trustStorePassword)
+ throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></PRE>
+<DL>
+<DD>Creates an <code>SSLSocketFactory</code> which utilizes the given trust store.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>trustStoreType</CODE> - key store type of trust store<DD><CODE>trustStoreInputStream</CODE> - input stream for reading JKS trust store containing
+ trusted server certificates; if <code>null</code>, the default
+ trust store will be utilized<DD><CODE>trustStorePassword</CODE> - if provided, it will be used to check
+ the integrity of the trust store; if omitted, it will not be checked<DT><B>Returns:</B><DD><code>SSLSocketFactory</code> to be used by an <code>HttpsURLConnection</code><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - thrown while reading from the input stream<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></CODE> - thrown while creating the socket factory</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSSLSocketFactory(java.security.KeyStore, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
+getSSLSocketFactory</H3>
+<PRE>
+public static javax.net.ssl.SSLSocketFactory <B>getSSLSocketFactory</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/KeyStore.html">KeyStore</A>&nbsp;trustStore,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreURL,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStorePassword)
+ throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></PRE>
+<DL>
+<DD>Creates an <code>SSLSocketFactory</code> which utilizes the
+ given trust store and keystore.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>trustStore</CODE> - trust store containing trusted server certificates;
+ if <code>null</code>, the default trust store will be utilized<DD><CODE>clientKeyStoreType</CODE> - key store type of <code>clientKeyStore</code><DD><CODE>clientKeyStoreURL</CODE> - URL of key store containing keys to be used for
+ client authentication; if <code>null</code>, the default key store will be utilized<DD><CODE>clientKeyStorePassword</CODE> - if provided, it will be used to check
+ the integrity of the client key store; if omitted, it will not be checked<DT><B>Returns:</B><DD><code>SSLSocketFactory</code> to be used by an <code>HttpsURLConnection</code><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - thrown while reading key store file<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></CODE> - thrown while creating the socket factory</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSSLContext(java.security.KeyStore, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
+getSSLContext</H3>
+<PRE>
+public static com.sun.net.ssl.SSLContext <B>getSSLContext</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/KeyStore.html">KeyStore</A>&nbsp;trustStore,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreURL,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStorePassword)
+ throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></PRE>
+<DL>
+<DD>Creates an <code>SSLContext</code> initialized for the
+ given trust store and keystore.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>trustStore</CODE> - trust store containing trusted server certificates;
+ if <code>null</code>, the default trust store will be utilized<DD><CODE>clientKeyStoreType</CODE> - key store type of <code>clientKeyStore</code><DD><CODE>clientKeyStoreURL</CODE> - URL of key store containing keys to be used for
+ client authentication; if <code>null</code>, the default key store will be utilized<DD><CODE>clientKeyStorePassword</CODE> - if provided, it will be used to check
+ the integrity of the client key store; if omitted, it will not be checked<DT><B>Returns:</B><DD><code>SSLContext</code> to be used for creating an <code>SSLSocketFactory</code><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - thrown while reading key store file<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></CODE> - thrown while creating the SSL context</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTrustManagers(java.lang.String, java.io.InputStream, java.lang.String)"><!-- --></A><H3>
+getTrustManagers</H3>
+<PRE>
+protected static com.sun.net.ssl.TrustManager[] <B>getTrustManagers</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;trustStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;trustStoreInputStream,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;trustStorePassword)
+ throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></PRE>
+<DL>
+<DD>Loads the trust store from an input stream and gets the
+ <code>TrustManager</code>s from a default <code>TrustManagerFactory</code>,
+ initialized from the given trust store.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>trustStoreType</CODE> - key store type of trust store<DD><CODE>trustStoreInputStream</CODE> - input stream for reading JKS trust store containing
+ trusted server certificates; if <code>null</code>, the default
+ trust store will be utilized<DD><CODE>trustStorePassword</CODE> - if provided, it will be used to check
+ the integrity of the trust store; if omitted, it will not be checked<DT><B>Returns:</B><DD><code>TrustManager</code>s to be used for creating an
+ <code>SSLSocketFactory</code> utilizing the given trust store<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - thrown while reading from the input stream<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></CODE> - thrown while initializing the
+ default <code>TrustManagerFactory</code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTrustManagers(java.security.KeyStore)"><!-- --></A><H3>
+getTrustManagers</H3>
+<PRE>
+protected static com.sun.net.ssl.TrustManager[] <B>getTrustManagers</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/KeyStore.html">KeyStore</A>&nbsp;trustStore)
+ throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></PRE>
+<DL>
+<DD>Gets the <code>TrustManager</code>s from a default <code>TrustManagerFactory</code>,
+ initialized from the given trust store.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>trustStore</CODE> - the trust store to use<DD><CODE>trustStorePassword</CODE> - password protecting the given trust store<DT><B>Returns:</B><DD><code>TrustManager</code>s to be used for creating an
+ <code>SSLSocketFactory</code> utilizing the given trust store<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></CODE> - thrown while initializing the
+ default <code>TrustManagerFactory</code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getKeyManagers(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
+getKeyManagers</H3>
+<PRE>
+public static com.sun.net.ssl.KeyManager[] <B>getKeyManagers</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreType,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStoreURL,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStorePassword)
+ throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></PRE>
+<DL>
+<DD>Loads the client key store from file and gets the
+ <code>KeyManager</code>s from a default <code>KeyManagerFactory</code>,
+ initialized from the given client key store.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>clientKeyStoreType</CODE> - key store type of <code>clientKeyStore</code><DD><CODE>clientKeyStoreURL</CODE> - URL of key store containing keys to be used for
+ client authentication; if <code>null</code>, the default key store will be utilized<DD><CODE>clientKeyStorePassword</CODE> - password used to check the integrity of the client key store;
+ if <code>null</code>, it will not be checked<DT><B>Returns:</B><DD><code>KeyManager</code>s to be used for creating an
+ <code>SSLSocketFactory</code> utilizing the given client key store<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - thrown while reading from the key store file<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></CODE> - thrown while initializing the
+ default <code>KeyManagerFactory</code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getKeyManagers(java.security.KeyStore, java.lang.String)"><!-- --></A><H3>
+getKeyManagers</H3>
+<PRE>
+public static com.sun.net.ssl.KeyManager[] <B>getKeyManagers</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/KeyStore.html">KeyStore</A>&nbsp;clientKeyStore,
+ <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;clientKeyStorePassword)
+ throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></PRE>
+<DL>
+<DD>Gets the <code>KeyManager</code>s from a default <code>KeyManagerFactory</code>,
+ initialized from the given client key store.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>clientKeyStore</CODE> - client key store<DD><CODE>clientKeyStorePassword</CODE> - if provided, it will be used to check
+ the integrity of the client key store; if omitted, it will not be checked<DT><B>Returns:</B><DD><code>KeyManager</code>s to be used for creating an
+ <code>SSLSocketFactory</code> utilizing the given client key store<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/security/GeneralSecurityException.html">GeneralSecurityException</A></CODE> - thrown while initializing the
+ default <code>KeyManagerFactory</code></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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/SSLUtils.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="../../../../../at/gv/egovernment/moa/util/ResourceBundleChain.html"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../../at/gv/egovernment/moa/util/StreamEntityResolver.html"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="SSLUtils.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: &nbsp;INNER&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>
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+
+</BODY>
+</HTML>