ICertSrvSetupKeyInformation::Length property

The Length property gets or sets the strength of the key to one of the values supported by the cryptographic service provider (CSP).

This property is read/write.

Syntax


HRESULT put_Length(
  [in]  LONG lVal
);

HRESULT get_Length(
  [out] LONG *pVal
);

Property value

A LONG integer that specifies the length, in bits, of the private key.

Error codes

If the method succeeds, it returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]

Header

Casetup.h

IDL

Casetup.idl

DLL

Certocm.dll

IID

IID_ICertSrvSetupKeyInformation is defined as 6ba73778-36da-4c39-8a85-bcfa7d000793

See also

ICertSrvSetupKeyInformation

 

 

Show: