다음을 통해 공유


LicenseResponse.LicenseServerTimeCertificate Property

Definition

Gets or sets the certificate used to sign the license server time returned to the client.

public Microsoft.Media.Drm.LicenseServerTimeCertificate LicenseServerTimeCertificate { get; set; }
member this.LicenseServerTimeCertificate : Microsoft.Media.Drm.LicenseServerTimeCertificate with get, set
Public Property LicenseServerTimeCertificate As LicenseServerTimeCertificate

Property Value

The certificate used to sign the license server time returned to the client.

Exceptions

On set, thrown if set to a non-null value when the ILicenseChallenge passed to LicenseResponse(ILicenseChallenge) does not include LicenseServerTime in its ReeFeatureList.

Remarks

This certificate will be used to ensure licenses are bound to LicenseServerTime and that the LicenseServerTime on the client is set to the current server time when requested.

Always set this property when ReeFeatureList contains LicenseServerTime regardless of whether LicenseServerTimeRequested returns true or false. Otherwise, licenses returned from this content service may will not use the time returned from a this content service during previous license acquisition.

If the client included a LicenseServerTime challenge as part of the LicenseAcquisition challenge, this data will be used to sign the LicenseServerTime portion of the LicenseacquisitionResponse. The client will only include said challenge when its LicenseServerTime needs to be set, and it requires an additional ECC sign operation on the server to respond. If the client's LicenseServerTime does not need to be set, setting this property will not increase the size of the license acquisition response.

If LicenseServerTimeRequested returns true and you set this property, then the LicenseResponse you return from HandleLicenseAcquisitionAsync(ILicenseChallenge) may include no licenses.

Applies to