Class DecodedPrivateKey

java.lang.Object
com.unboundid.util.ssl.cert.DecodedPrivateKey
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EllipticCurvePrivateKey, RSAPrivateKey

This class defines the parent class for a decoded private key that may appear in a PKCS #8 private key object.
See Also:
  • Constructor Details

  • Method Details

    • toString

      @NotNull public final String toString()
      Retrieves a string representation of this decoded private key.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this decoded private key.
    • toString

      public abstract void toString(@NotNull StringBuilder buffer)
      Appends a string representation of this decoded private key to the provided buffer.
      Parameters:
      buffer - The buffer to which the information should be appended.