Static Propertyvapor.jwt-kit 5.1.2JWTKit->Crypto
curve
P256+CurveType.swift:14static let curve: ECDSACurve
static let curve: ECDSACurve
import Crypto
import JWTKit
🔑 JSON Web Token signing and verification (HMAC, RSA, PSS, ECDSA, EdDSA) using SwiftCrypto.
enum P256
An elliptic curve that enables NIST P-256 signatures and key agreement.
struct ECDSACurve
A struct representing an Elliptic Curve used in Elliptic Curve Digital Signature Algorithm (ECDSA).
static let byteRanges: (x: Range<Int>, y: Range<Int>)
Specifies the byte ranges in which the X and Y coordinates of an ECDSA public key appear for the P256 curve. For P256, the public key is typically 65 bytes long: a single byte prefix (usually 0x04 for uncompressed keys), followed by 32 bytes for the X coordinate, and then 32 bytes for the Y coordinate.
struct SigningAlgorithm
typealias PrivateKey = P256.Signing.PrivateKey
typealias Signature = P256.Signing.ECDSASignature