GetSslCertificate method of the BitsCompactServerUrlGroup class

The GetSslCertificate method gets the SSL certificate for a port.

Syntax

uint32 GetSslCertificate(
  [in]  uint16 Port,
  [out] string StoreName,
  [out] uint8  hashBlob[]
);

Parameters

Port [in]

Specifies the port on which the certificate must be bound.

StoreName [out]

A null-terminated string that contains the name of the certificate store.

hashBlob [out]

Specifies the SHA1 hash that identifies the certificate.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2
Redistributable
Windows Management Framework on Windows Server 2008 with SP2
Namespace
Root\microsoft\bits
MOF
BitsProvider.mof

See also

BitsCompactServerUrlGroup