Skip to content

Connectum API Reference / @connectum/auth / testing / RsaTestKeypair

Interface: RsaTestKeypair

Defined in: packages/auth/src/testing/test-jwt-rs256.ts:53

A generated RSA test keypair plus the public JWK to publish at a JWKS endpoint.

Properties

kid

readonly kid: string

Defined in: packages/auth/src/testing/test-jwt-rs256.ts:61

Key id shared by publicJwk and the token header (load-bearing for JWKS key selection).


privateKey

readonly privateKey: CryptoKey

Defined in: packages/auth/src/testing/test-jwt-rs256.ts:55

Private signing key — pass to createTestJwtRS256.


publicJwk

readonly publicJwk: JWK

Defined in: packages/auth/src/testing/test-jwt-rs256.ts:59

Public JWK (carries kid, alg: "RS256", use: "sig") — serve at the JWKS endpoint.


publicKey

readonly publicKey: CryptoKey

Defined in: packages/auth/src/testing/test-jwt-rs256.ts:57

Public verification key.