Cargo Features

[dependencies]
p12_polyfill = { version = "0.3.1", default-features = false, features = ["hjiayz-p12", "qthree-p12", "rustcrypto-pkcs12", "rustls-pki-types", "rustls-21", "pem"] }
default = qthree-p12

The qthree-p12 feature is set by default whenever p12_polyfill is added without default-features = false somewhere in the dependency tree.

hjiayz-p12 = p12, yasna

Affects p12_polyfill::hjiayz_p12

qthree-p12 default = p12_q3, yasna

use temporary fork to work around edge cases

Affects p12_polyfill::qthree_p12

rustcrypto-pkcs12 = cms, der, pkcs12, pkcs8

Affects p12_polyfill::rustcrypto_pkcs12

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rustls-pki-types implicit feature

Enables rustls-pki-types

convert p12 to der, to use with rustls v0.22+

Affects p12_polyfill::rustls

rustls-21 implicit feature

Enables rustls ^0.21

convert p12 to der, to use with rustls v0.21

Affects p12_polyfill::rustls_21

pem implicit feature

Enables pem

convert p12 to pem, to use with native-tls

Affects p12_polyfill::pem

p12 hjiayz-p12?

Enables p12

feature hjiayz-p12 and qthree-p12

p12_q3 qthree-p12
yasna hjiayz-p12? qthree-p12
pkcs12 rustcrypto-pkcs12?

Enables pkcs12

feature rustcrypto-pkcs12, unimplemented yet!

pkcs8 rustcrypto-pkcs12?
der rustcrypto-pkcs12?
cms rustcrypto-pkcs12?