@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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __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.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getKey()
The content of the PEM-encoded public key.
|
int |
hashCode() |
PemEncodedPublicKey.Builder |
toBuilder() |
String |
toString() |
getKid
@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 boolean equals(Object o)
equals
in class StaticPublicKey
protected boolean canEqual(Object other)
canEqual
in class StaticPublicKey
public int hashCode()
hashCode
in class StaticPublicKey
Copyright © 2016–2021. All rights reserved.