Skip to main content

Module key

Module key 

Source
Expand description

Portable private-key ownership and signing.

Exportable PKCS#8 material is zeroized when its final owner drops. Windows keys remain in CNG, including keys imported from PEM/DER, and cannot be exported through this API.

Structs§

PrivateKey
A matching certificate/private-key pair; clones share the underlying key.

Enums§

HashAlg
Hash algorithm used by a signature scheme.
SignScheme
Signature encoding and hash used by PrivateKey::sign.