Class ReplaceCertificateTrustBehavior

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    JVMDefaultReplaceCertificateTrustBehavior, TrustManagerProviderReplaceCertificateTrustBehavior

    @NotExtensible
    @ThreadSafety(level=INTERFACE_THREADSAFE)
    public abstract class ReplaceCertificateTrustBehavior
    extends java.lang.Object
    implements java.io.Serializable
    This class acts as a superclass for objects that may be used to indicate how the server should handle updating trust information for a new listener certificate chain.
    NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
    See Also:
    Serialized Form
    • Method Detail

      • encode

        @NotNull
        public abstract ASN1Element encode()
        Encodes this trust behavior object to an ASN.1 element suitable for inclusion in a replace listener certificate request.
        Returns:
        The ASN.1 element containing an encoded representation of this trust behavior object.
      • decode

        @NotNull
        public static ReplaceCertificateTrustBehavior decode​(@NotNull
                                                             ASN1Element element)
                                                      throws LDAPException
        Decodes the provided ASN.1 element as a trust behavior object.
        Parameters:
        element - An ASN.1 element that contains an encoded representation of a trust behavior element. It must not be null.
        Returns:
        The decoded trust behavior object.
        Throws:
        LDAPException - If the provided element cannot be decoded as a trust behavior object.
      • toString

        @NotNull
        public final java.lang.String toString()
        Retrieves a string representation of this trust behavior object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of this trust behavior object.
      • toString

        public abstract void toString​(@NotNull
                                      java.lang.StringBuilder buffer)
        Appends a string representation of this trust behavior object to the provided buffer.
        Parameters:
        buffer - The buffer to which the encoded representation should be appended. It must not be null.