Freigeben über


DomainCertificateBuilder.GenerateDomainKeyPair Method

Definition

Generates a domain key pair for a new domain.

public static string GenerateDomainKeyPair ();
static member GenerateDomainKeyPair : unit -> string
Public Shared Function GenerateDomainKeyPair () As String

Returns

A randomly generated key pair for a new domain.

Remarks

Once the service code decides to issue a domain certificate to the client, this method should be called to generate the key pair for the certificate and the return value from this method can be set as DomainKeyPair. See DomainCertificateBuilder for what is needed (in addition to the key pair) to generate a domain certificate.

Applies to