Interface ICrossCertPairSubsystem

All Superinterfaces:
ISubsystem

public interface ICrossCertPairSubsystem extends ISubsystem
Interface for handling cross certs
Version:
$Revision$, $Date$
  • 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