cangjie-tls

Configure TLS clients and servers using Cangjie's stdx.net.tls package.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-tls
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cangjie-tls
Source: https://github.com/SunriseSummer/CangjieDocValidator/tree/main/.github/skills/tls
Command: npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-tls

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive guidance on implementing secure network communication using Cangjie's stdx.net.tls package, enabling developers to establish encrypted connections and protect data in transit.

Core Features & Use Cases

  • TLS Client/Server Configuration: Learn how to set up TlsClientConfig and TlsServerConfig for secure connections.
  • Certificate Management: Understand certificate verification modes, custom CA usage, and mutual TLS (mTLS).
  • Session Resumption & ALPN: Implement efficient session resumption and Application-Layer Protocol Negotiation.
  • Use Case: Securely connect your Cangjie microservices over the network, ensuring data confidentiality and integrity, or build a secure client for an external API.

Quick Start

Use the cangjie-tls skill to create a TLS client that connects to "example.com" on port 443, skipping certificate verification for testing purposes.

Frequently Asked Questions about cangjie-tls

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement TLS encryption for Cangjie network communication?

To implement TLS encryption for Cangjie network communication, use the `stdx.net.tls` package to configure secure TCP and HTTP connections with `TlsClientConfig` and `TlsServerConfig`.

What do I need to set up mutual TLS authentication in Cangjie?

Setting up mutual TLS in Cangjie requires using `stdx.net.tls` to configure custom CA certificates and apply specific certificate verification modes for both client and server sides.

Does Cangjie TLS require any external cryptographic libraries?

Yes, Cangjie TLS requires the OpenSSL 3 dynamic library to be installed in your environment to handle the underlying cryptographic operations for secure network connections.

Can I use ALPN negotiation and session resumption with Cangjie TLS?

Yes, the Cangjie TLS package supports Application-Layer Protocol Negotiation and efficient session resumption to optimize secure connection establishment for your network applications.

How do I configure a Cangjie TLS client to skip certificate verification for testing?

You can configure a Cangjie TLS client to skip certificate verification for testing purposes by adjusting the settings within `TlsClientConfig` when establishing connections.

What is the best way to secure microservices built with the Cangjie programming language?

The best way to secure Cangjie microservices is implementing encrypted connections via the `stdx.net.tls` package, ensuring data confidentiality and integrity across your network.