Skip to content

Commit

Permalink
docs: update cms.decrypt for CodeError change
Browse files Browse the repository at this point in the history
  • Loading branch information
tabcat committed Jan 24, 2023
1 parent 84e2cde commit 6a62f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keychain/cms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class CMS {
* Reads some protected data.
*
* The keychain must contain one of the keys used to encrypt the data. If none of the keys
* exists, an Error is returned with the property 'missingKeys'. It is array of key ids.
* exists, an Error is returned with the property '.props.missingKeys'. It is array of key ids.
*/
async decrypt (cmsData: Uint8Array): Promise<Uint8Array> {
if (!(cmsData instanceof Uint8Array)) {
Expand Down

0 comments on commit 6a62f0b

Please sign in to comment.