Certes
Show / Hide Table of Contents

Enum PfxEncryption

The algorithms used to protect the private key and certificates in a PFX.

Namespace: Certes.Pkcs
Assembly: Certes.dll
Syntax
public enum PfxEncryption

Fields

Name Description
Aes256

PBES2 with AES-256-CBC and PBKDF2 using HMAC-SHA256, for both the private key and the certificates. Readable by OpenSSL 3, current .NET, Windows 10 1709 and later, Windows Server 2019 and later, macOS, and Android.

Legacy

The algorithms used before 4.0: 3DES (pbeWithSHAAnd3-KeyTripleDES-CBC) for the private key and 40-bit RC2 (pbeWithSHAAnd40BitRC2-CBC) for the certificates. These are weak and are rejected by OpenSSL 3 without its legacy provider and by Android. Use only for consumers that cannot read Aes256, such as Windows Server 2016 and earlier.

  • Edit this page
  • View Source
© 2018 Certes Project
Back to top