IX509AttributeArchiveKey::get_EncryptionStrength method (certenroll.h)

The EncryptionStrength property retrieves an integer that contains the encryption strength of the symmetric algorithm used to encrypt the key.

This property is read-only.

Syntax

HRESULT get_EncryptionStrength(
  LONG *pValue
);

Parameters

pValue

Return value

None

Remarks

You can specify this property by calling the InitializeEncode method or the InitializeDecode method. However, the property is currently ignored and zero is returned because the Certificate Enrollment SDK does not support any algorithms for which the object identifier (OID) does not already imply the encryption strength (key length). For example, AES has multiple strengths, but each strength is already indicated by the OID.

You can call the following properties to retrieve the raw data:

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

IX509AttributeArchiveKey