Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion types/jsrsasign/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for jsrsasign 9.0
// Type definitions for jsrsasign 10.2
// Project: https://github.com/kjur/jsrsasign
// Definitions by: Florian Imdahl <https://github.com/ffflorian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Expand Down
4 changes: 2 additions & 2 deletions types/jsrsasign/modules/RSAKey.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ declare namespace jsrsasign {
* @param sMsg message string to be verified.
* @param hSig hexadecimal string of signature.
* non-hexadecimal characters including new lines will be ignored.
* @return returns 1 if valid, otherwise 0
* @return returns true if valid, otherwise false
*/
verify(sMsg: string, hSig: string): 0 | 1;
verify(sMsg: string, hSig: string): boolean;

/**
* verifies a sigature for a message string with RSA public key by PKCS#1 PSS sign.
Expand Down