(options)
| 86 | } |
| 87 | |
| 88 | function getSaltLength(options) { |
| 89 | let saltLength = getIntOption('saltLength', options); |
| 90 | if (options.padding === constants.RSA_PKCS1_PSS_PADDING && saltLength === undefined) { |
| 91 | saltLength = constants.RSA_PSS_SALTLEN_MAX_SIGN; |
| 92 | } |
| 93 | return saltLength; |
| 94 | } |
| 95 | |
| 96 | function getDSASignatureEncoding(options) { |
| 97 | if (typeof options === 'object') { |
no test coverage detected
searching dependent graphs…