Class JsonWebKey

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class JsonWebKey extends Object implements Serializable
JsonWebKey
See Also:
  • Field Details

  • Constructor Details

    • JsonWebKey

      public JsonWebKey()
  • Method Details

    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Timestamp when the object was created
      Returns:
      created
    • getE

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

      @Nullable public OffsetDateTime getExpiresAt()
      Timestamp when the certificate expires
      Returns:
      expiresAt
    • getKid

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

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

      @Nullable public OffsetDateTime getLastUpdated()
      Timestamp when the object was last updated
      Returns:
      lastUpdated
    • n

      public JsonWebKey n(String 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)
    • getUse

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

      @Nullable public List<String> getX5c()
      X.509 certificate chain that contains a chain of one or more certificates
      Returns:
      x5c
    • getX5tHashS256

      @Nullable public String getX5tHashS256()
      X.509 certificate SHA-256 thumbprint, which is the base64url-encoded SHA-256 thumbprint (digest) of the DER encoding of an X.509 certificate
      Returns:
      x5tHashS256
    • 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