Interface ICrossCertPairSubsystem

  • All Superinterfaces:
    ISubsystem
    All Known Implementing Classes:
    CrossCertPairSubsystem

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

      • 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

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