You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
425 B

import { COSECRV } from '../../cose.js';
import type { Uint8Array_ } from '../../../types/index.js';
/**
* In WebAuthn, EC2 signatures are wrapped in ASN.1 structure so we need to peel r and s apart.
*
* See https://www.w3.org/TR/webauthn-2/#sctn-signature-attestation-types
*/
export declare function unwrapEC2Signature(signature: Uint8Array_, crv: COSECRV): Uint8Array_;
//# sourceMappingURL=unwrapEC2Signature.d.ts.map