DomainCertificateBuilder.GenerateDomainKeyPair Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.