Export (0) Print
Expand All

IX509CertificateRequest::Silent property

The Silent property specifies or retrieves a Boolean value that indicates whether any of the key-related modal dialogs are displayed during the certificate enrollment process.

This property is read/write.

Syntax


HRESULT put_Silent(
  [in]   VARIANT_BOOL Value
);

HRESULT get_Silent(
  [out]  VARIANT_BOOL *pValue
);

Property value

A VARIANT_BOOL variable. A value of VARIANT_TRUE indicates that no user interface should be displayed.

Error codes

If the function succeeds, the function returns S_OK.

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

Remarks

This property value is used by key-related Certificate Enrollment Control modal dialogs that:

  • Direct a user to insert a smart card
  • Request a smart card pin number
  • Request the protection level for a new key
  • Request a user password before accessing a key

You can set this property before calling any initialization method or the Encode method. For a PKCS #10 request, the property value is retrieved from and specified on the associated IX509PrivateKey object if the key exists. For a PKCS #7 or CMC request the property value is updated on the inner request and all signing certificates.

If the certificate request contains nested requests and you set the Silent property on the top level request, it is automatically propagated to all of the inner requests. You can, however, set the property manually on each of the inner objects.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

CertEnroll.h

DLL

CertEnroll.dll

See also

IX509CertificateRequest
IX509CertificateRequestCertificate
IX509CertificateRequestCmc
IX509CertificateRequestPkcs7
IX509CertificateRequestPkcs10
IX509SignatureInformation

 

 

Community Additions

ADD
Show:
© 2014 Microsoft