Skip to content

Commit

Permalink
Add KLASS3-SK_2016 certificates and remove BES from signature timesta…
Browse files Browse the repository at this point in the history
…mp profile

WE2-745

Signed-off-by: Mart Somermaa <mrts@users.noreply.github.com>
  • Loading branch information
mrts committed Oct 28, 2024
1 parent 50e3119 commit ab58984
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/WebEid.AspNetCore.Example/Signing/SigningService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void SignContainer(SignatureDto signatureDto, string tempContainerName)
var signatureBytes = Convert.FromBase64String(signatureDto.Signature);
var signature = container.signatures().First(); // Container must have one signature as it was added in PrepareContainer
signature.setSignatureValue(signatureBytes);
signature.extendSignatureProfile("BES/time-stamp");
signature.extendSignatureProfile("time-stamp");
container.save();
}

Expand Down
10 changes: 8 additions & 2 deletions src/WebEid.AspNetCore.Example/WebEid.AspNetCore.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@

<ItemGroup>
<None Update="Certificates\Dev\TEST_of_ESTEID2018.cer">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Certificates\Prod\ESTEID2018.cer">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Certificates\Prod\KLASS3-SK_2016_EECCRCA_SHA384.cer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Certificates\Dev\TEST_of_KLASS3-SK_2016.cer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

Expand Down

0 comments on commit ab58984

Please sign in to comment.