Class ReplaceCertificateKeyStoreContent

    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      static ReplaceCertificateKeyStoreContent decode​(ASN1Element element)
      Decodes the provided ASN.1 element as a key store content object.
      abstract ASN1Element encode()
      Encodes this key store content object to an ASN.1 element suitable for inclusion in either a replace listener certificate or replace inter-server certificate request.
      java.lang.String toString()
      Retrieves a string representation of this key store content object.
      abstract void toString​(java.lang.StringBuilder buffer)
      Appends a string representation of this key store content object to the provided buffer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • encode

        @NotNull
        public abstract ASN1Element encode()
        Encodes this key store content object to an ASN.1 element suitable for inclusion in either a replace listener certificate or replace inter-server certificate request.
        Returns:
        The ASN.1 element containing an encoded representation of this key store content object.
      • decode

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

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

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