René's URL Explorer Experiment


Title: An X509 peer should support RPK too · Issue #2145 · bcgit/bc-java · GitHub

Open Graph Title: An X509 peer should support RPK too · Issue #2145 · bcgit/bc-java

X Title: An X509 peer should support RPK too · Issue #2145 · bcgit/bc-java

Description: In my case I have a DTLS server (using bouncy castle low level API), which need to support PSK, RPK and X509. A peer which support X509 could support RPK too. Of course, it should be possible to configure that peer in a way it only accep...

Open Graph Description: In my case I have a DTLS server (using bouncy castle low level API), which need to support PSK, RPK and X509. A peer which support X509 could support RPK too. Of course, it should be possible to co...

X Description: In my case I have a DTLS server (using bouncy castle low level API), which need to support PSK, RPK and X509. A peer which support X509 could support RPK too. Of course, it should be possible to co...

Opengraph URL: https://github.com/bcgit/bc-java/issues/2145

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"An X509 peer should support RPK too","articleBody":"[In my case](https://github.com/bcgit/bc-java/discussions/2075) I have a DTLS server (using bouncy castle low level API), which need to support PSK, RPK and X509.\n\nA peer which support X509 could support RPK too.\nOf course, it should be possible to configure that peer in a way it only accept X509.\n\nCurrently, it seems there is a bug (or missing feature) which prevent to create a server which accept both.\n\nA comment in the code seems to confirm that: \nhttps://github.com/bcgit/bc-java/blob/0e100a58af34d0cf91ea5cfd1f0a6d36681c3653/tls/src/main/java/org/bouncycastle/tls/AbstractTlsServer.java#L605-L606\n\n\nMaybe it make sense to try to find supported Server Certificate Type based on getCredentials() but in case this is X509 certificate, maybe RPK should be added too by default ? \n\nMaybe we should have a getSupportedServerCertificateTypes() in AbstractTlsServer with default implementation based on `getCredentials`, so it would be easy to override it change default behavoir.\n\n(Bonus question, as there is not so much documentation, it is often hard to know what is expected when implementing BC interface/abstract class, typically for getCredentials() should I a create a BcDefaultTlsCredentialedSigner on each call ? I guess at least 1 by handshake and so it should be simpler if getCredentials was called only 1 time by handshake ? currently it is called  twice, 1 time to get Server Certificate Type and one time to store it `ServerHandshakeState.serverCredentials`)","author":{"url":"https://github.com/sbernard31","@type":"Person","name":"sbernard31"},"datePublished":"2025-08-12T10:02:10Z","url":"https://github.com/bcgit/bc-java/issues/2145"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c6bebb87-9bef-2d05-e76b-3f96876c8f9e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A74:123E7D:24105:31812:6AFBF6CC
html-safe-nonce0022733805e93a916adf3681f7cba971122a73f51fe5cc810858f10aeff7760e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTc0OjEyM0U3RDoyNDEwNTozMTgxMjo2QUZCRjZDQyIsInZpc2l0b3JfaWQiOiI0MTEyNTk2NTc4MzE1NTMxOTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac225eb76e3d23ba942561849ee68de1432456346f4facf102bd19bc3d74d7f988
hovercard-subject-tagissue:3313503797
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bcgit/bc-java/2145/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cbf3ed657e4bce038b7e48411dab5163edc006f544648d6bb732423b2ea8671f/bcgit/bc-java/issues/2145
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cbf3ed657e4bce038b7e48411dab5163edc006f544648d6bb732423b2ea8671f/bcgit/bc-java/issues/2145
og:image:altIn my case I have a DTLS server (using bouncy castle low level API), which need to support PSK, RPK and X509. A peer which support X509 could support RPK too. Of course, it should be possible to co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesbernard31
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
turbo-cache-controlno-preview
go-importgithub.com/bcgit/bc-java git https://github.com/bcgit/bc-java.git
octolytics-dimension-user_id4566970
octolytics-dimension-user_loginbcgit
octolytics-dimension-repository_id10416648
octolytics-dimension-repository_nwobcgit/bc-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id10416648
octolytics-dimension-repository_network_root_nwobcgit/bc-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/bcgit/bc-java/issues/2145#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbcgit%2Fbc-java%2Fissues%2F2145
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbcgit%2Fbc-java%2Fissues%2F2145
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=bcgit%2Fbc-java
Reloadhttps://github.com/bcgit/bc-java/issues/2145
Reloadhttps://github.com/bcgit/bc-java/issues/2145
Reloadhttps://github.com/bcgit/bc-java/issues/2145
bcgithttps://github.com/bcgit
bc-javahttps://github.com/bcgit/bc-java
Codehttps://github.com/bcgit/bc-java
Issues47 (47)https://github.com/bcgit/bc-java/issues
Pull requests18 (18)https://github.com/bcgit/bc-java/pulls
Discussionshttps://github.com/bcgit/bc-java/discussions
Actionshttps://github.com/bcgit/bc-java/actions
Projectshttps://github.com/bcgit/bc-java/projects
Wikihttps://github.com/bcgit/bc-java/wiki
Security and qualityhttps://github.com/bcgit/bc-java/security
Insightshttps://github.com/bcgit/bc-java/pulse
https://github.com/bcgit/bc-java
New issuehttps://github.com/login?return_to=https://github.com/bcgit/bc-java/issues/2145
New issuehttps://github.com/login?return_to=https://github.com/bcgit/bc-java/issues/2145
An X509 peer should support RPK toohttps://github.com/bcgit/bc-java/issues/2145#top
enhancementNew feature or requesthttps://github.com/bcgit/bc-java/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/sbernard31
sbernard31https://github.com/sbernard31
on Aug 12, 2025https://github.com/bcgit/bc-java/issues/2145#issue-3313503797
In my casehttps://github.com/bcgit/bc-java/discussions/2075
bc-java/tls/src/main/java/org/bouncycastle/tls/AbstractTlsServer.javahttps://github.com/bcgit/bc-java/blob/0e100a58af34d0cf91ea5cfd1f0a6d36681c3653/tls/src/main/java/org/bouncycastle/tls/AbstractTlsServer.java#L605-L606
0e100a5https://github.com/bcgit/bc-java/commit/0e100a58af34d0cf91ea5cfd1f0a6d36681c3653
winfriedgerlachhttps://github.com/winfriedgerlach
enhancementNew feature or requesthttps://github.com/bcgit/bc-java/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Aug 12, 2025https://github.com/bcgit/bc-java/issues/2145#event-19113163510
https://github.com/peterdettman
peterdettmanhttps://github.com/peterdettman
on Aug 12, 2025https://github.com/bcgit/bc-java/issues/2145#issuecomment-3179894590
sbernard31https://github.com/sbernard31
on Aug 22, 2025https://github.com/bcgit/bc-java/issues/2145#event-19289892457
bcgitGH-2145: Enhance Server Certificate Types negotiationhttps://github.com/sbernard31/bc-java/commit/69e3e2051ac3f3ca18fcff2f8d81158a501d6caf
bcgitGH-2145https://github.com/bcgit/bc-java/issues/2145
69e3e20https://github.com/sbernard31/bc-java/commit/69e3e2051ac3f3ca18fcff2f8d81158a501d6caf
https://github.com/sbernard31
sbernard31https://github.com/sbernard31
on Aug 22, 2025https://github.com/bcgit/bc-java/issues/2145#issuecomment-3214845608
sbernard31@69e3e20https://github.com/sbernard31/bc-java/commit/69e3e2051ac3f3ca18fcff2f8d81158a501d6caf
eclipse-leshan/leshan@bd5fd85https://github.com/eclipse-leshan/leshan/commit/bd5fd853b3ba498d3c71ac53e9a062c145391c95
https://github.com/sbernard31
sbernard31https://github.com/sbernard31
on Sep 25, 2025https://github.com/bcgit/bc-java/issues/2145#issuecomment-3333057742
@peterdettmanhttps://github.com/peterdettman
https://github.com/sbernard31
sbernard31https://github.com/sbernard31
on Nov 18, 2025https://github.com/bcgit/bc-java/issues/2145#issuecomment-3547851112
@peterdettmanhttps://github.com/peterdettman
@winfriedgerlachhttps://github.com/winfriedgerlach
https://github.com/winfriedgerlach
winfriedgerlachhttps://github.com/winfriedgerlach
on Nov 19, 2025https://github.com/bcgit/bc-java/issues/2145#issuecomment-3551972439
@sbernard31https://github.com/sbernard31
Sign up for freehttps://github.com/signup?return_to=https://github.com/bcgit/bc-java/issues/2145
Sign in to commenthttps://github.com/login?return_to=https://github.com/bcgit/bc-java/issues/2145
enhancementNew feature or requesthttps://github.com/bcgit/bc-java/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.