Feature: Certificate Writes and Native X.509 Bridge - #16
Merged
Conversation
sephynox
force-pushed
the
feat/anchor-rs-update-p7
branch
from
July 30, 2026 03:00
caa3552 to
f505d88
Compare
sephynox
force-pushed
the
feat/anchor-rs-update-p7
branch
from
July 30, 2026 03:07
f505d88 to
638bacd
Compare
|
Srayman
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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_CERTIFICATEoperations to the block surface and a bridge between core certificates andSystem.Security.Cryptography.X509Certificates.Related Issues
anchor-rs v0.4.0#9Changes Made
UserClient.ModifyCertificatepublishes a certificate with its bundle or retires it by hashBlockFactorybuildsMANAGE_CERTIFICATEadd and remove operationsCertificate.ToX509Certificate()andKycCertificate.ToX509Certificate()expose the native .NET viewCertificates.Parse(X509Certificate2)adopts a native certificate into the coreissueChainso tests publish reference-issued CA bundlesTesting
make test: passesBreaking Changes
None