Class ReplaceCertificateKeyStoreContent
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.extensions.ReplaceCertificateKeyStoreContent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CertificateDataReplaceCertificateKeyStoreContent,KeyStoreDataReplaceCertificateKeyStoreContent,KeyStoreFileReplaceCertificateKeyStoreContent
@NotExtensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public abstract class ReplaceCertificateKeyStoreContent
extends Object
implements Serializable
This class acts as a superclass for objects that may be used to indicate how
a certificate key store may be made available to a server instance when
replacing listener or inter-server certificates.
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(ASN1Element element) Decodes the provided ASN.1 element as a key store content object.abstract ASN1Elementencode()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.final StringtoString()Retrieves a string representation of this key store content object.abstract voidtoString(StringBuilder buffer) Appends a string representation of this key store content object to the provided buffer.
-
Constructor Details
-
ReplaceCertificateKeyStoreContent
public ReplaceCertificateKeyStoreContent()
-
-
Method Details
-
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 benull.- Returns:
- The decoded key store content object.
- Throws:
LDAPException- If the provided element cannot be decoded as a key store content object.
-
toString
Retrieves a string representation of this key store content object. -
toString
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 benull.
-