Package com.unboundid.util.ssl.cert
Class DecodedPrivateKey
- java.lang.Object
-
- com.unboundid.util.ssl.cert.DecodedPrivateKey
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
EllipticCurvePrivateKey
,RSAPrivateKey
@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class DecodedPrivateKey extends java.lang.Object implements java.io.Serializable
This class defines the parent class for a decoded private key that may appear in a PKCS #8 private key object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecodedPrivateKey()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Retrieves a string representation of this decoded private key.abstract void
toString(java.lang.StringBuilder buffer)
Appends a string representation of this decoded private key to the provided buffer.
-
-
-
Constructor Detail
-
DecodedPrivateKey
public DecodedPrivateKey()
-
-
Method Detail
-
toString
public final java.lang.String toString()
Retrieves a string representation of this decoded private key.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of this decoded private key.
-
toString
public abstract void toString(java.lang.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.
-
-