Class SigningKey

java.lang.Object
io.deeplumen.ucp.models.discovery.SigningKey

@Generated("jsonschema2pojo") public class SigningKey extends Object
  • Constructor Details

    • SigningKey

      public SigningKey()
  • Method Details

    • getKid

      public String getKid()
      Key ID. Referenced in signature headers to identify which key to use for verification. (Required)
    • setKid

      public void setKid(String kid)
      Key ID. Referenced in signature headers to identify which key to use for verification. (Required)
    • withKid

      public SigningKey withKid(String kid)
    • getKty

      public String getKty()
      Key type (e.g., 'EC', 'RSA'). (Required)
    • setKty

      public void setKty(String kty)
      Key type (e.g., 'EC', 'RSA'). (Required)
    • withKty

      public SigningKey withKty(String kty)
    • getCrv

      public String getCrv()
      Curve name for EC keys (e.g., 'P-256').
    • setCrv

      public void setCrv(String crv)
      Curve name for EC keys (e.g., 'P-256').
    • withCrv

      public SigningKey withCrv(String crv)
    • getX

      public String getX()
      X coordinate for EC public keys (base64url encoded).
    • setX

      public void setX(String x)
      X coordinate for EC public keys (base64url encoded).
    • withX

      public SigningKey withX(String x)
    • getY

      public String getY()
      Y coordinate for EC public keys (base64url encoded).
    • setY

      public void setY(String y)
      Y coordinate for EC public keys (base64url encoded).
    • withY

      public SigningKey withY(String y)
    • getN

      public String getN()
      Modulus for RSA public keys (base64url encoded).
    • setN

      public void setN(String n)
      Modulus for RSA public keys (base64url encoded).
    • withN

      public SigningKey withN(String n)
    • getE

      public String getE()
      Exponent for RSA public keys (base64url encoded).
    • setE

      public void setE(String e)
      Exponent for RSA public keys (base64url encoded).
    • withE

      public SigningKey withE(String e)
    • getUse

      public SigningKey.Use getUse()
      Key usage. Should be 'sig' for signing keys.
    • setUse

      public void setUse(SigningKey.Use use)
      Key usage. Should be 'sig' for signing keys.
    • withUse

      public SigningKey withUse(SigningKey.Use use)
    • getAlg

      public String getAlg()
      Algorithm (e.g., 'ES256', 'RS256').
    • setAlg

      public void setAlg(String alg)
      Algorithm (e.g., 'ES256', 'RS256').
    • withAlg

      public SigningKey withAlg(String alg)
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • withAdditionalProperty

      public SigningKey withAdditionalProperty(String name, Object value)
    • toString

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

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object