Share via


ICspAlgorithm::get_MinLength-Methode (certenroll.h)

Die MinLength-Eigenschaft ruft die mindest zulässige Länge für einen Schlüssel ab. Diese Eigenschaft ist webfähig.

Diese Eigenschaft ist schreibgeschützt.

Syntax

HRESULT get_MinLength(
  LONG *pValue
);

Parameter

pValue

Rückgabewert

Keine

Bemerkungen

Die Eigenschaften DefaultLength, IncrementLength, MaxLength und MinLength können je nach Algorithmus und Anbieter variieren. In der folgenden Tabelle sind einige Beispiele für maximale, minimale und standardmäßige Schlüsselgrößen aufgeführt.

Algorithmus-OID Kryptografieanbieter Schlüssellänge (Bits)
XCN_OID_OIWSEC_desCBC(1.3.14.3.2.7) Microsoft Base DSS und Diffie-Hellman Kryptografieanbieter

Microsoft erweiterter Kryptografieanbieter v1.0

Microsoft DH Schannel Cryptographic Provider

Microsoft Enhanced RSA and AES Cryptographic Provider

Minimum: 56

Maximum: 56

Standardwert: 56

XCN_OID_RSA_DES_EDE3_CBC(1.2.840.113549.3.7) Microsoft Base DSS und Diffie-Hellman Kryptografieanbieter

Microsoft erweiterter Kryptografieanbieter v1.0

Microsoft DH Schannel Cryptographic Provider

Microsoft Enhanced RSA and AES Cryptographic Provider

Microsoft Exchange Cryptographic Provider v1.0

Minimum: 168

Maximum: 168

Standardwert: 168

XCN_OID_RSA_RSA(1.2.840.113549.1.1.1) Microsoft erweiterter Kryptografieanbieter v1.0

Microsoft Enhanced RSA and AES Cryptographic Provider

Microsoft RSA Schannel Cryptographic Provider

Microsoft starker Kryptografieanbieter

Minimum: 384

Maximum: 16.384

Standardwert: 1.024

Inkrement: 8

XCN_OID_X957_DSA(1.2.840.10040.4.1) Microsoft Base DSS und Diffie-Hellman Kryptografieanbieter

Microsoft Basis-DSS-Kryptografieanbieter

Microsoft DH Schannel Cryptographic Provider

Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider

Minimum: 512

Maximum: 1.024

Standardwert: 1.024

Inkrement: 64

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows Vista [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile certenroll.h
DLL CertEnroll.dll

Weitere Informationen

ICspAlgorithm