From 7916c117627db0411b35f202f88b2ab6e115361a Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> Date: Fri, 28 Jan 2005 14:10:50 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'MOA-ID-1_20d09'. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/MOA-ID-1_20d09@264 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../at/gv/egovernment/moa/util/KeyStoreUtils.html | 302 --------------------- 1 file changed, 302 deletions(-) delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html deleted file mode 100644 index 9d35345c4..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class KeyStoreUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -at.gv.egovernment.moa.util -
-Class KeyStoreUtils

-
-java.lang.Object
-  |
-  +--at.gv.egovernment.moa.util.KeyStoreUtils
-
-
-
-
public class KeyStoreUtils
extends Object
- -

-Utility for creating and loading key stores. -

-

-
Version:
$Id$
-
Author:
Paul Ivancsics
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
KeyStoreUtils() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static KeyStorecreateKeyStore(String keyStoreType, - String[] certFilenames) - -
-          Creates a key store from X509 certificate files, aliasing them with - the index in the String[], starting with "0".
-static KeyStorecreateKeyStoreFromCertificateDirectory(String keyStoreType, - String certDirURLString) - -
-          Creates a key store from a directory containg X509 certificate files, - aliasing them with the index in the String[], starting with "0". -
-static KeyStoreloadKeyStore(String keystoreType, - InputStream in, - String password) - -
-          Loads a key store from an InputStream, and - closes the InputStream.
-static KeyStoreloadKeyStore(String keystoreType, - String urlString, - String password) - -
-          Loads a key store from file.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-KeyStoreUtils

-
-public KeyStoreUtils()
-
-
- - - - - - - - -
-Method Detail
- -

-loadKeyStore

-
-public static KeyStore loadKeyStore(String keystoreType,
-                                    String urlString,
-                                    String password)
-                             throws IOException,
-                                    GeneralSecurityException
-
-
Loads a key store from file.
-
Parameters:
keystoreType - key store type
urlString - URL of key store
password - password protecting the key store
Returns:
key store loaded
Throws:
IOException - thrown while reading the key store from file
GeneralSecurityException - thrown while creating the key store
-
-
-
- -

-loadKeyStore

-
-public static KeyStore loadKeyStore(String keystoreType,
-                                    InputStream in,
-                                    String password)
-                             throws IOException,
-                                    GeneralSecurityException
-
-
Loads a key store from an InputStream, and - closes the InputStream.
-
Parameters:
keystoreType - key store type
in - input stream
password - password protecting the key store
Returns:
key store loaded
Throws:
IOException - thrown while reading the key store from the stream
GeneralSecurityException - thrown while creating the key store
-
-
-
- -

-createKeyStore

-
-public static KeyStore createKeyStore(String keyStoreType,
-                                      String[] certFilenames)
-                               throws IOException,
-                                      GeneralSecurityException
-
-
Creates a key store from X509 certificate files, aliasing them with - the index in the String[], starting with "0".
-
Parameters:
keyStoreType - key store type
certFilenames - certificate filenames
Returns:
key store created
Throws:
IOException - thrown while reading the certificates from file
GeneralSecurityException - thrown while creating the key store
-
-
-
- -

-createKeyStoreFromCertificateDirectory

-
-public static KeyStore createKeyStoreFromCertificateDirectory(String keyStoreType,
-                                                              String certDirURLString)
-                                                       throws IOException,
-                                                              GeneralSecurityException
-
-
Creates a key store from a directory containg X509 certificate files, - aliasing them with the index in the String[], starting with "0". - All the files in the directory are considered to be certificates.
-
Parameters:
keyStoreType - key store type
certDirURLString - file URL of directory containing certificate filenames
Returns:
key store created
Throws:
IOException - thrown while reading the certificates from file
GeneralSecurityException - thrown while creating the key store
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - -- cgit v1.2.3