jsdsi
Class CertPathBuilder

java.lang.Object
  extended byjava.security.cert.CertPathBuilderSpi
      extended byjsdsi.CertPathBuilder

public class CertPathBuilder
extends java.security.cert.CertPathBuilderSpi

Attempts to create a certification path that satisfies the given parameters: essentially a wrapper around the Prover class and its subclasses.

Version:
$Revision: 1.2.6.2 $ $Date: 2005/11/08 03:12:52 $
Author:
Sameer Ajmani
See Also:
CertPathParameters, Prover

Constructor Summary
CertPathBuilder()
           
 
Method Summary
 java.security.cert.CertPathBuilderResult engineBuild(java.security.cert.CertPathParameters params)
           
 CertPathBuilderResult engineBuild(CertPathParameters params)
           
static void main(java.lang.String[] args)
          For command-line usage:
java CertPathBuilder <forward?> <input-file>
Reads all certificates from the input-file, and tries to find a proof for every name and tag defined in the input-file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertPathBuilder

public CertPathBuilder()
Method Detail

engineBuild

public java.security.cert.CertPathBuilderResult engineBuild(java.security.cert.CertPathParameters params)
                                                     throws java.security.cert.CertPathBuilderException,
                                                            java.security.InvalidAlgorithmParameterException
Throws:
java.security.cert.CertPathBuilderException
java.security.InvalidAlgorithmParameterException
See Also:
CertPathBuilderSpi.engineBuild(CertPathParameters)

engineBuild

public CertPathBuilderResult engineBuild(CertPathParameters params)
                                  throws java.security.cert.CertPathBuilderException,
                                         java.security.InvalidAlgorithmParameterException
Throws:
java.security.cert.CertPathBuilderException
java.security.InvalidAlgorithmParameterException
See Also:
CertPathBuilderSpi.engineBuild(CertPathParameters)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
For command-line usage:
java CertPathBuilder <forward?> <input-file>
Reads all certificates from the input-file, and tries to find a proof for every name and tag defined in the input-file.

Parameters:
args - command-line arguments.
Throws:
java.lang.Exception - if an error occurs.


Copyright © 2002-2006 JSDSI. All Rights Reserved.