Skip to content

Feature: Certificate Writes and Native X.509 Bridge - #16

Merged
sephynox merged 2 commits into
mainfrom
feat/anchor-rs-update-p7
Jul 30, 2026
Merged

Feature: Certificate Writes and Native X.509 Bridge#16
sephynox merged 2 commits into
mainfrom
feat/anchor-rs-update-p7

Conversation

@sephynox

@sephynox sephynox commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

The SDK could read published certificates but not publish or retire them, which blocked porting the examples repo off its hand-written interop layer. This adds the MANAGE_CERTIFICATE operations to the block surface and a bridge between core certificates and System.Security.Cryptography.X509Certificates.

Related Issues

Changes Made

  • UserClient.ModifyCertificate publishes a certificate with its bundle or retires it by hash
  • BlockFactory builds MANAGE_CERTIFICATE add and remove operations
  • Certificate.ToX509Certificate() and KycCertificate.ToX509Certificate() expose the native .NET view
  • Certificates.Parse(X509Certificate2) adopts a native certificate into the core
  • Node harness gains issueChain so tests publish reference-issued CA bundles

Testing

  • make test: passes

Breaking Changes

None

@sephynox
sephynox requested a review from Srayman July 30, 2026 02:47
@sephynox sephynox self-assigned this Jul 30, 2026
Base automatically changed from feat/anchor-rs-update-p6 to main July 30, 2026 03:00
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p7 branch from caa3552 to f505d88 Compare July 30, 2026 03:00
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p7 branch from f505d88 to 638bacd Compare July 30, 2026 03:07
@sonarqubecloud

Copy link
Copy Markdown

@sephynox
sephynox merged commit 05fa1f5 into main Jul 30, 2026
7 checks passed
@sephynox
sephynox deleted the feat/anchor-rs-update-p7 branch July 30, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants