| 2 | import { ParsedSignature } from './parser' |
| 3 | |
| 4 | interface Profile { |
| 5 | publicKey: { |
| 6 | id: string |
| 7 | owner: string |
| 8 | publicKeyPem: string |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | export async function verifySignature(parsedSignature: ParsedSignature, key: CryptoKey): Promise<boolean> { |
| 13 | return crypto.subtle.verify( |
nothing calls this directly
no outgoing calls
no test coverage detected