Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Windows CNG bridge for rustls

NotificationsYou must be signed in to change notification settings

rustls/rustls-cng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github actionscrateslicenselicensedocs.rs

This crate allows you to use the Windows CNG private keys together withrustlsfor both the client and server sides of the TLS channel.

Rationale: In many situations, it is required to use non-exportable private certificate chainsfrom the Windows certificate store instead of the external PKCS8 file.rustls-cng can use such chains in therustls context.

Supported key/certificate types:RSA,ECDSA/ECDH. Supported elliptic curves: secp256r1 (prime256v1), secp384r1, secp521r1.

Documentation.

Usage

The main struct to use inrustls-cng isCngSigningKey, which can be constructedfrom the low-levelNCryptKey handle. The instance ofCngSigningKey can then beused inrustls in the customServerCredentialResolver orClientCredentialResolver implementation.

See theexamples directory for usage examples.

License

Licensed under the MIT or Apache licenses (LICENSE-MIT orLICENSE-APACHE)

About

Windows CNG bridge for rustls

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp