Skip to content

Commit

Permalink
Revert "Add base Signer and ExternalSigner implementations using PKI.js"
Browse files Browse the repository at this point in the history
This reverts commit 6ca87ca.
  • Loading branch information
Valeri Buchinski committed Feb 23, 2024
1 parent fe40c60 commit f8bd304
Show file tree
Hide file tree
Showing 39 changed files with 49 additions and 1,303 deletions.
4 changes: 2 additions & 2 deletions packages/signer-p12/dist/P12Signer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @prop {string} [passphrase]
* @prop {boolean} [asn1StrictParsing]
*/
export class P12Signer extends ISigner {
export class P12Signer extends Signer {
/**
* @param {Buffer | Uint8Array | string} p12Buffer
* @param {SignerOptions} additionalOptions
Expand All @@ -19,5 +19,5 @@ export type SignerOptions = {
passphrase?: string;
asn1StrictParsing?: boolean;
};
import { ISigner } from '@signpdf/utils';
import { Signer } from '@signpdf/utils';
//# sourceMappingURL=P12Signer.d.ts.map
2 changes: 1 addition & 1 deletion packages/signer-p12/dist/P12Signer.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/signer-p12/dist/P12Signer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
* @prop {boolean} [asn1StrictParsing]
*/

class P12Signer extends _utils.ISigner {
class P12Signer extends _utils.Signer {
/**
* @param {Buffer | Uint8Array | string} p12Buffer
* @param {SignerOptions} additionalOptions
Expand Down
4 changes: 2 additions & 2 deletions packages/signer-p12/src/P12Signer.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import forge from 'node-forge';
import {convertBuffer, SignPdfError, ISigner} from '@signpdf/utils';
import {convertBuffer, SignPdfError, Signer} from '@signpdf/utils';

/**
* @typedef {object} SignerOptions
* @prop {string} [passphrase]
* @prop {boolean} [asn1StrictParsing]
*/

export class P12Signer extends ISigner {
export class P12Signer extends Signer {
/**
* @param {Buffer | Uint8Array | string} p12Buffer
* @param {SignerOptions} additionalOptions
Expand Down
3 changes: 0 additions & 3 deletions packages/signer/.babelrc

This file was deleted.

5 changes: 0 additions & 5 deletions packages/signer/.eslintrc

This file was deleted.

17 changes: 0 additions & 17 deletions packages/signer/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions packages/signer/dist/ExternalSigner.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/signer/dist/ExternalSigner.d.ts.map

This file was deleted.

76 changes: 0 additions & 76 deletions packages/signer/dist/ExternalSigner.js

This file was deleted.

79 changes: 0 additions & 79 deletions packages/signer/dist/Signer.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/signer/dist/Signer.d.ts.map

This file was deleted.

Loading

0 comments on commit f8bd304

Please sign in to comment.