Interface ICrossCertPairSubsystem

All Superinterfaces:
ISubsystem

public interface ICrossCertPairSubsystem extends ISubsystem
Interface for handling cross certs
Version:
$Revision$, $Date$
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byteArray2X509Cert(byte[] certBytes)
    convert byte array to X509Certificate
    void
    importCert(byte[] certBytes)
    "import" the CA cert cross-signed by another CA (potentially a bridge CA) into internal ldap db.
    void
    publish all cert pairs, if publisher is on

    Methods inherited from interface ISubsystem

    getConfigStore, getId, init, setId, shutdown, startup
    Modifier and Type
    Method
    Description
    Returns the root configuration storage of this system.
    Retrieves the name of this subsystem.
    void
    Initializes this subsystem with the given configuration store.
    void
    Sets specific to this subsystem.
    void
    Stops this system.
    void
    Notifies this subsystem if owner is in running mode.
  • Field Details

  • Method Details

    • importCert

      void importCert(byte[] certBytes) throws EBaseException
      "import" the CA cert cross-signed by another CA (potentially a bridge CA) into internal ldap db. If publishing is turned on, and if matches up a pair, then publish to publishing directory otherwise, leave in internal ldap db and wait for it's matching pair
      Parameters:
      certBytes - binary byte array of the cert
      Throws:
      EBaseException - when certBytes conversion to X509 certificate fails
    • publishCertPairs

      void publishCertPairs() throws EBaseException
      publish all cert pairs, if publisher is on
      Throws:
      EBaseException - when publishing fails
    • byteArray2X509Cert

      X509Certificate byteArray2X509Cert(byte[] certBytes) throws CertificateException
      convert byte array to X509Certificate
      Returns:
      X509Certificate the X509Certificate class representation of the certificate byte array
      Throws:
      CertificateException - when conversion fails