SignatureVerifyingKeyOptions

Public key configuration for signature verification.

Public key configuration for signature verification.

View source ↗

Properties

Prop

Type

Examples

// PEM format (string)
const pemKey = {
  format: 'spkiPem',
  data: publicKeyPem,
};

// DER format (binary)
const derKey = {
  format: 'spkiDer',
  data: new Uint8Array(derKeyBytes),
};

On this page