GenerateClusterCertV2 (Opnum 16)

The GenerateClusterCertV2 method<40> SHOULD generate and return a new certificate.

 HRESULT GenerateClusterCertV2 {
   [ in, out ] CLUSTER_CERT *ClusterCert,
   [ in ] CLUSTER_CERTTYPE certType

ClusterCert: The new certificate for the cluster. The CLUSTER_CERT structure is defined in section 2.2.23.

CertType: Type of certificate used by the cluster, as specified in section 2.2.26.

Return Values: A signed 32-bit value that indicates return status. If the method returns a negative value, it has failed. Zero or positive values indicate success, with the lower 16 bits in positive nonzero values containing warnings or flags defined in the method implementation. For more information about Win32 error codes and HRESULT values, see [MS-ERREF] sections 2.1 and 2.2.

Return value/code




The call was successful.

For any other condition, this method MUST return a value that is not one of the values listed in the preceding table. The client MUST behave in one consistent, identical manner for all values that are not listed in the preceding table.

Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE].

The opnum field value for this method is 16.

When processing this call, the server MUST generate a new certificate with certificate name set as follows:

  • If certType is Cluster_PKU2U, the certificate name MUST be set to CLIUSR.

  • If certType is ClusterSet_PKU2U, the certificate name MUST be set to CSUSR.

The server returns the certificate to the client.