Library API
    Preparing search index...

    Function verifyJWS

    • Verifies a JSON Web Signature (JWS) against a provided public key.

      Parameters

      • token: string

        The JWS string to verify

      • publicKey: CryptoKey

        The CryptoKey used for verification

      Returns Promise<boolean>

      A promise resolving to true if the signature is valid