Skip to content

Commit

Permalink
Use DER encoding as the signedData content section
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Oct 8, 2018
1 parent f0198fe commit 241dc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NuGetKeyVaultSignTool.Core/KeyVaultSignatureProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ PrimarySignature CreateKeyVaultPrimarySignature(SignPackageRequest request, Sign
var msg = new CmsProcessableByteArray(signatureContent.GetBytes());
var data = generator.Generate(msg, true);

var encoded = data.GetEncoded();
var encoded = data.ContentInfo.GetDerEncoded();
return PrimarySignature.Load(encoded);
}

Expand Down

0 comments on commit 241dc44

Please sign in to comment.