Class ReplaceInterServerCertificateExtendedResult

    • Constructor Detail

      • ReplaceInterServerCertificateExtendedResult

        public ReplaceInterServerCertificateExtendedResult​(@NotNull
                                                           ExtendedResult extendedResult)
                                                    throws LDAPException
        Creates a new replace inter-server certificate extended result that is decoded from the provided extended result.
        Parameters:
        extendedResult - The generic extended result to decode as a replace inter-server certificate extended result. It must not be null.
        Throws:
        LDAPException - If the provided extended result cannot be decoded as a replace inter-server certificate extended result.
      • ReplaceInterServerCertificateExtendedResult

        public ReplaceInterServerCertificateExtendedResult​(int messageID,
                                                           @NotNull
                                                           ResultCode resultCode,
                                                           @Nullable
                                                           java.lang.String diagnosticMessage,
                                                           @Nullable
                                                           java.lang.String matchedDN,
                                                           @Nullable
                                                           java.lang.String[] referralURLs,
                                                           @Nullable
                                                           java.lang.String toolOutput,
                                                           @Nullable
                                                           Control... responseControls)
        Creates a new replace inter-server certificate extended result with the provided information.
        Parameters:
        messageID - The message ID for the LDAP message that is associated with this LDAP result.
        resultCode - The result code from the response.
        diagnosticMessage - The diagnostic message from the response, if available.
        matchedDN - The matched DN from the response, if available.
        referralURLs - The set of referral URLs from the response, if available.
        toolOutput - The output (a combined representation of both standard output and standard error) obtained from running the replace-certificate tool. It may be null if request processing failed before running the tool.
        responseControls - The set of controls to include in the extended result. It may be null or empty if no response controls should be included.