Package ai.vectros.types
Class Jwk
java.lang.Object
ai.vectros.types.Jwk
-
Method Details
-
getKty
- Returns:
- Key type. Always
ECfor this P-256 key.
-
getCrv
- Returns:
- Curve identifier. Always
P-256.
-
getX
- Returns:
- The x coordinate of the EC public key, base64url-encoded (32 bytes, unpadded).
-
getY
- Returns:
- The y coordinate of the EC public key, base64url-encoded (32 bytes, unpadded).
-
getUse
- Returns:
- Intended use of the key.
sigindicates signature verification.
-
getKid
- Returns:
- Key id that uniquely identifies this key, so clients can cache it and reload when it rotates.
-
getAlg
- Returns:
- Signing algorithm.
ES256is ECDSA using P-256 and SHA-256.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-