Skip to content

Commit

Permalink
Commenting out unsignedAttributes support
Browse files Browse the repository at this point in the history
Will be reintroduced with future work.

Co-authored-by: dcbr <15089458+dcbr@users.noreply.github.com>
  • Loading branch information
vbuch and dcbr authored Mar 27, 2024
1 parent 4c6367f commit c11b647
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/signer/src/Signer.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ export class Signer extends ISigner {

// Append the unsigned attributes, if there are any
const unsignedAttrs = await this.obtainUnsignedAttributes(signerInfo.signature.getValue());
if (unsignedAttrs.length > 0) {
signerInfo.unsignedAttrs = new pkijs.SignedAndUnsignedAttributes({
type: 1,
attributes: unsignedAttrs,
});
}
// if (unsignedAttrs.length > 0) {
// signerInfo.unsignedAttrs = new pkijs.SignedAndUnsignedAttributes({
// type: 1,
// attributes: unsignedAttrs,
// });
// }

// Create final result
const cmsContentWrap = new pkijs.ContentInfo({
Expand Down

0 comments on commit c11b647

Please sign in to comment.