DomainCertificateBuilder.GenerateCertificateChain 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.
Returns a base64-encoded string representing the domain certificate.
public string GenerateCertificateChain ();
member this.GenerateCertificateChain : unit -> string
Public Function GenerateCertificateChain () As String
Returns
Exceptions
Thrown if DomainId is null.
Thrown if ServiceKeyPair is null, has zero length, or is otherwise invalid.
Remarks
The following properties of this class must be set before calling this method:
- DomainId (and within it ServiceId and AccountId)
- ClientId
- DomainKeyPair
- ServiceKeyPair
- ServiceCertificate
- ServiceFriendlyName