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
readonlykid: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
readonlyprivateKey:CryptoKey
Defined in: packages/auth/src/testing/test-jwt-rs256.ts:55
Private signing key — pass to createTestJwtRS256.
publicJwk
readonlypublicJwk: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
readonlypublicKey:CryptoKey
Defined in: packages/auth/src/testing/test-jwt-rs256.ts:57
Public verification key.
