Class AuthorizationServerJsonWebKey

java.lang.Object
com.okta.sdk.resource.model.AuthorizationServerJsonWebKey
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class AuthorizationServerJsonWebKey extends Object implements Serializable
AuthorizationServerJsonWebKey
See Also:
  • Field Details

  • Constructor Details

    • AuthorizationServerJsonWebKey

      public AuthorizationServerJsonWebKey()
  • Method Details

    • alg

    • getAlg

      @Nullable public String getAlg()
      The algorithm used with the Key. Valid value: `RS256`
      Returns:
      alg
    • setAlg

      public void setAlg(String alg)
    • getE

      @Nullable public String getE()
      RSA key value (public exponent) for Key binding
      Returns:
      e
    • getKid

      @Nullable public String getKid()
      Unique identifier for the key
      Returns:
      kid
    • getKty

      @Nullable public String getKty()
      Cryptographic algorithm family for the certificate's keypair. Valid value: `RSA`
      Returns:
      kty
    • n

    • getN

      @Nullable public String getN()
      RSA modulus value that is used by both the public and private keys and provides a link between them
      Returns:
      n
    • setN

      public void setN(String n)
    • status

      public AuthorizationServerJsonWebKey status(String status)
    • getStatus

      @Nullable public String getStatus()
      An `ACTIVE` Key is used to sign tokens issued by the authorization server. Supported values: `ACTIVE`, `NEXT`, or `EXPIRED`<br> A `NEXT` Key is the next Key that the authorization server uses to sign tokens when Keys are rotated. The `NEXT` Key might not be listed if it hasn't been generated. An `EXPIRED` Key is the previous Key that the authorization server used to sign tokens. The `EXPIRED` Key might not be listed if no Key has expired or the expired Key was deleted.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • getUse

      @Nullable public String getUse()
      Acceptable use of the key. Valid value: `sig`
      Returns:
      use
    • links

    • getLinks

      @Nullable public LinksSelf getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(LinksSelf links)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object