From ece7d18cf35374bf4e26d041799cda8f791c89f8 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 7 Jul 2003 10:58:37 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@2 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../moa/spss/server/tools/CertTool.html | 272 +++++++++++++++++++++ 1 file changed, 272 insertions(+) create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html new file mode 100644 index 000000000..bdca018c3 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html @@ -0,0 +1,272 @@ + + + + + + +MOA SP/SS Server Internal API: Class CertTool + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +at.gv.egovernment.moa.spss.server.tools +
+Class CertTool

+
+java.lang.Object
+  |
+  +--at.gv.egovernment.moa.spss.server.tools.CertTool
+
+
+
+
public class CertTool
extends Object
+ +

+A tool to support X509 certificate handling for configuring the MOA SP/SS + service. + + This class provides functions for: +

+

+

+
Version:
$Id$
+
Author:
Patrick Peck
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
CertTool() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddCertToCertStore(String certFile, + String certStoreRoot) + +
+          Add a certificate to a directory certificate store.
+static voidmain(String[] args) + +
+          Main entry point of the tool.
+ voidprintCertInfo(String certFile, + PrintStream out) + +
+          Print the information about the certificate. + +
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CertTool

+
+public CertTool()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
Main entry point of the tool.
+
Parameters:
args - The command line arguments. A single argument is expected, + which is the file name of the X509 certificate to inspect.
+
+
+
+ +

+printCertInfo

+
+public void printCertInfo(String certFile,
+                          PrintStream out)
+
+
Print the information about the certificate. + + This method will output information about the Subject DN, the Issuer DN and + the serial number of the certificate.
+
Parameters:
certFile - The name of the certificate file to inspect.
out - The stream to print the information to.
+
+
+
+ +

+addCertToCertStore

+
+public void addCertToCertStore(String certFile,
+                               String certStoreRoot)
+
+
Add a certificate to a directory certificate store.
+
Parameters:
certFile - The certificate to add.
certStoreRoot - The root directory of the certificate store.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + -- cgit v1.2.3