Package com.unboundid.util.ssl.cert
Class DecodedPublicKey
- java.lang.Object
-
- com.unboundid.util.ssl.cert.DecodedPublicKey
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
EllipticCurvePublicKey
,RSAPublicKey
@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class DecodedPublicKey extends java.lang.Object implements java.io.Serializable
This class defines the parent class for a decoded public key that may appear in an X.509 certificate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecodedPublicKey()
-
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 public key.abstract void
toString(java.lang.StringBuilder buffer)
Appends a string representation of this decoded public key to the provided buffer.
-
-
-
Constructor Detail
-
DecodedPublicKey
public DecodedPublicKey()
-
-
Method Detail
-
toString
public final java.lang.String toString()
Retrieves a string representation of this decoded public key.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of this decoded public key.
-
toString
public abstract void toString(java.lang.StringBuilder buffer)
Appends a string representation of this decoded public key to the provided buffer.- Parameters:
buffer
- The buffer to which the information should be appended.
-
-