CertSrvCryptographyConfigEncryptionPublicKeyAlgorithm Property

Gets or sets the public key algorithm (such as RSA, DSA or ECC) that is used to generate CA Exchange encryption certificate. Use ECDH_* for ECC-based public key.

Definition

Namespace: SysadminsLV.PKI.Management.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public Oid EncryptionPublicKeyAlgorithm { get; set; }

Property Value

Oid

Remarks

Setter is ignored if provider specified in EncryptionProvider property is legacy provider.

When setting new algorithm name, EncryptionPublicKeyLength property is updated as follows:

  • For RSA, key length is set to 2048
  • For DSA, key length is set to 1024
  • For ECC named curve, key length is set to a value corresponding to that curve

See Also