Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compressed_certificate support #1909

Open
swoky opened this issue Nov 14, 2024 · 1 comment
Open

compressed_certificate support #1909

swoky opened this issue Nov 14, 2024 · 1 comment
Labels
question Further information is requested

Comments

@swoky
Copy link

swoky commented Nov 14, 2024

i am using bctls-jdk18on-1.78.1 to create a tls client, but it's not working when the server returned a compressed_certificate,

if i remove compress_certificate(27) from getClientExtensions method, it will be ok.

so the compress_certificate extension is not implemented ?

@swoky
Copy link
Author

swoky commented Nov 14, 2024

i use TlsExtensionsUtils.addCompressCertificateExtension(...) ,just now i checked TlsClientProtocol , found this
`

    case HandshakeType.certificate_status:
    case HandshakeType.certificate_url:
    case HandshakeType.client_hello:
    case HandshakeType.client_key_exchange:
    case HandshakeType.compressed_certificate:
    case HandshakeType.end_of_early_data:
    case HandshakeType.hello_request:
    case HandshakeType.hello_verify_request:
    case HandshakeType.message_hash:
    case HandshakeType.server_hello_done:
    case HandshakeType.server_key_exchange:
    case HandshakeType.supplemental_data:
    default:
        throw new TlsFatalAlert(AlertDescription.unexpected_message);

`

@winfriedgerlach winfriedgerlach added the question Further information is requested label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants