org.apache.geronimo.ca.helper.util
Class CAHelperUtils

java.lang.Object
  extended by org.apache.geronimo.ca.helper.util.CAHelperUtils

public class CAHelperUtils
extends Object

This class implements some methods used by the CA Helper Application.


Constructor Summary
CAHelperUtils()
           
 
Method Summary
static CertificateRequestStore getCertificateRequestStore()
          This method returns the CertificateRequestStore.
static CertificateStore getCertificateStore()
          This method returns the CertificateStore.
static int getHttpsClientAuthPort()
          This method returns a port configured for HTTPS ClientAuthentication.
static void removeRequest(String csrId, BigInteger sNo)
          This method removes a certificate request stored in the CertificateRequestStore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAHelperUtils

public CAHelperUtils()
Method Detail

removeRequest

public static void removeRequest(String csrId,
                                 BigInteger sNo)
This method removes a certificate request stored in the CertificateRequestStore.

Parameters:
csrId - Id of the CSR to be removed.
sNo - Serial number of the certificate issued in response to the CSR to be removed.

getCertificateRequestStore

public static CertificateRequestStore getCertificateRequestStore()
This method returns the CertificateRequestStore.


getCertificateStore

public static CertificateStore getCertificateStore()
This method returns the CertificateStore.


getHttpsClientAuthPort

public static int getHttpsClientAuthPort()
This method returns a port configured for HTTPS ClientAuthentication.

Returns:
Port configured for HTTPS Client Authentication.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.