UNPKG

@smartdcc/duis-sign-wrap

Version:
25 lines 670 B
export interface SignOptions { /** * Unsigned DUIS xml string */ xml: string | Buffer; /** * Preserve counter value in RequestID when signing */ preserveCounter?: boolean; /** * Http server backend */ backend?: boolean | URL; /** * Http headers to pass to backend */ headers?: Record<string, string>; /** * Override the location of the xmldsig jar file, used for testing. */ jarFile?: string; } export declare function signDuis(options: SignOptions): Promise<string>; export declare function validateDuis(options: SignOptions): Promise<string>; //# sourceMappingURL=index.d.ts.map