Skip to content

How to add x5t and x5c when creating a JWS KeyStore? #434

@sibelius

Description

@sibelius

I'm using this code to generate my JWKS

const keyStore = jose.JWK.createKeyStore();

  await keyStore.add(cert, 'pem', {
    kid,
    key_ops: ['verify'],
  });

  const keys = keyStore.toJSON(true);

how can I generate and add a stable kid, a x5t and also x5c ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions