Class JwksResponse.Body

java.lang.Object
com.revetsec.soklet.JwksResponse.Body
Enclosing class:
JwksResponse

@Immutable public static final class JwksResponse.Body extends Object
Immutable public JWKS body for application serialization and structural assertions. Its keys and JSON tree come from one publisher snapshot. JSON emission is explicit; diagnostics redact key identifiers, public parameters and certificate material.
Since:
1.0.0
  • Method Details

    • getKeys

      Returns the immutable public keys in publication order.
      Returns:
      the public key snapshot
      Since:
      1.0.0
    • toJsonObject

      Returns the immutable public JWKS document, including certificate metadata.
      Returns:
      the structured document for explicit serialization or inspection
      Since:
      1.0.0
    • toJson

      Serializes the complete public JWKS document as JSON text.
      Returns:
      the JSON text, including configured identifiers and certificate metadata
      Since:
      1.0.0
    • toString

      Describes the body without key or certificate contents.
      Overrides:
      toString in class Object
      Returns:
      a redacted description
      Since:
      1.0.0