@smartdcc/duis-sign-wrap
Version:
Wrapper library for signing/validating DUIS
28 lines • 677 B
TypeScript
export interface ToolOptions {
/**
* Input xml DUIS
*/
xml: string | Buffer;
/**
* Mode
*/
mode: 'sign' | 'validate';
/**
* Preserve counter value in RequestID when signing
*/
preserveCounter?: boolean;
/**
* Override the location of the xmldsig jar file, used for testing.
*/
jarFile?: string;
/**
* Java executable, if omitted with rely on system PATH to resolve, used for testing.
*/
java?: string;
/**
* Java package, used for testing.
*/
package?: string;
}
export declare function runTool(options: ToolOptions): Promise<string>;
//# sourceMappingURL=tool.d.ts.map