@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class PemEncodedPublicKey extends StaticPublicKey
A PEM-encoded public key used for verifying the JWT signature.
Note: Objects should always be created or deserialized using the PemEncodedPublicKey.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the PemEncodedPublicKey.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PemEncodedPublicKey.Builder |
StaticPublicKey.Format
Constructor and Description |
---|
PemEncodedPublicKey(String kid,
String key)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PemEncodedPublicKey.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getKey()
The content of the PEM-encoded public key.
|
int |
hashCode() |
PemEncodedPublicKey.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getKid
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public PemEncodedPublicKey(String kid, String key)
public static PemEncodedPublicKey.Builder builder()
Create a new builder.
public PemEncodedPublicKey.Builder toBuilder()
public String getKey()
The content of the PEM-encoded public key.
public String toString()
toString
in class StaticPublicKey
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class StaticPublicKey
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class StaticPublicKey
public int hashCode()
hashCode
in class StaticPublicKey
Copyright © 2016–2023. All rights reserved.