Testing Client Info
The license server includes a special clientinfo
feature that reflects the information available to the license server in the license request challenge generated by the client.
Use this feature to easily see what information from your clients are available to the license server, and to build the appropriate handler logic for license generation.
Here is a transaction example:
Test Server Url: http://test.playready.microsoft.com/service/rightsmanager.asmx?cfg=(msg:clientinfo)
SOAPAction: http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense
Sample Request:
<?xml version="1.0" encoding="utf-8" ?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AcquireLicense xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols"> <challenge> <Challenge xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols/messages"> <LA xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols" Id="SignedData" xml:space="preserve"> <Version>1</Version> <ContentHeader><WRMHEADER xmlns="http://schemas.microsoft.com/DRM/2007/03/PlayReadyHeader" version="4.0.0.0"><DATA><PROTECTINFO><KEYLEN>16</KEYLEN><ALGID>AESCTR</ALGID></PROTECTINFO><KID>JpbjtvscoUq8vU7xq6eEOg==</KID><LA_URL>http://test.playready.microsoft.com/service/rightsmanager.asmx</LA_URL><LUI_URL>http://test.playready.microsoft.com/service/getrights.html</LUI_URL></DATA></WRMHEADER></ContentHeader> <CLIENTINFO><CLIENTVERSION>10.0.16384.10011</CLIENTVERSION></CLIENTINFO> <RevocationLists><RevListInfo><ListID>ioydTlK2p0WXkWklprR5Hw==</ListID><Version>11</Version></RevListInfo><RevListInfo><ListID>gC4IKKPHsUCCVhnlttibJw==</ListID><Version>11</Version></RevListInfo><RevListInfo><ListID>Ef/RUojT3U6Ct2jqTCChbA==</ListID><Version>34</Version></RevListInfo><RevListInfo><ListID>BOZ1zT1UnEqfCf5tJOi/kA==</ListID><Version>12</Version></RevListInfo></RevocationLists> <LicenseNonce>YCBas7tAUmkjOcabdD4DuQ==</LicenseNonce> <ClientTime>1488568844</ClientTime> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></EncryptionMethod><KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://schemas.microsoft.com/DRM/2007/03/protocols#ecc256"></EncryptionMethod><KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><KeyName>WMRMServer</KeyName></KeyInfo><CipherData><CipherValue>2WjdyJ7EE914pgbbnOIKmv2rKWi/BHHsWfskVohzgFEanWZE4uaTsgmsnVrlv0AKQ7Bf7nq7fAj2Q5T6h+grmSKl8svVJIOdPQFxLnO0gmIzGFmTaeOYeVJkqoFCO+GI85Qiw4WCgsOlFkLu+bqHn/Gn8LyF5Mc4CsFo1Nnpu5Q=</CipherValue></CipherData></EncryptedKey></KeyInfo><CipherData><CipherValue>yrTZe6rE+TFCi6Kuh18x84D8wj+8czHHWNmIFNeOIdMMgGmFlwgC38kOR53xXZK5cCUAiyUyJrrEKDjlUbcyyM8hpzbS37GY9rxIl7/dfd7Yv/Aie9681MEPdPe35708bvbylHBcGHk8RSajFGvu6RaMuXUjcFAT3UHd2GLw3gapGl28hbYE/fCuefXgdpbaor6Flr5qLdk0shy+Ua/bF5zmZ+w1nwbmnXTjnQcx883JKmGLGFXM4b/loKZ2KgIahov1SoBT2yZjDbQjI7NGr4WHGUYFiRLt+P/flU7c8uQ3i2GVxUU5gvHD5apsiEcf52/KrPf+/2Vxx7a0n/8igSTfA1cxbNXBZ5dpWlacIhYFKv0PtP0cJ1w20pquafAuiXzkSdSPJ7Bzy2Uz8u8b/pNvjpL77i4ZVlpYvq+o6Y/k3hc7UFoMpDbgWIciJjGHsVEz+74lolEGP+Mpl/SHiG61fpe5bXFzXpDtIhGfe2bX7Sw2aW7n59YUO9mXjVLS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ipherData></EncryptedData> </LA> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://schemas.microsoft.com/DRM/2007/03/protocols#ecdsa-sha256"></SignatureMethod><Reference URI="#SignedData"><DigestMethod Algorithm="http://schemas.microsoft.com/DRM/2007/03/protocols#sha256"></DigestMethod><DigestValue>oxCtVG0shEBoLpLd6rke45BjZtEo8BrWCOrfmk2US8s=</DigestValue></Reference></SignedInfo><SignatureValue>QkuvPRFsKjEEDRMT057gaqaks7itBZON0NhSFhgLEwzLhrpaah9ET0j/KnjHrdYDGoC+BcttroZDNnmHCcndoQ==</SignatureValue><KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><KeyValue><ECCKeyValue><PublicKey>KhSCjNAz2d8IVZW3gk2jJG96orpXhVqwXxARo5tikjYY99ieZyP3IPztIS/bl9kGvJTxXaMA07K2Ph+8DLeCyg==</PublicKey></ECCKeyValue></KeyValue></KeyInfo></Signature> </Challenge> </challenge> </AcquireLicense> </soap:Body> </soap:Envelope>
Sample Response, for a challenge issued by Edge on Windows 10:
Client Info:
Client Version: 10.0.16384.10011
Client Time: 10/01/2017 2:00:00 PM
Supported Features:
Receiver
AntiRollbackClock
RevocationLists
PlayReady3Features
Device Certificate Info (Cert 0):
Platform: WindowsOnX86
Type: Device
SecurityLevel: 2000
RobustnessVersion: 100925543
DigestValue: 04+2aK5sjv+m5/EUY9BIMFqe0ResBkL9wfuFepWDU9E=
IssuerKey: h/k8EU71zsgAqa0niR1TnpKDC6dyOEgUGjybc3+s/EnUJWpkMtOwygoyCPp1nuRCFDvfoaaI78kb2fqGBI0tWg==
Binding Key Type: 3
Certificate Chain:
↳ Cert 1:
ManufacturerName: Microsoft
ModelName: Windows
ModelNumber: 6.4.0.103
DigestValue: LLp1fynIs9tgDxDDU+8jFveBoQp+0x8fXnqyV9tk1Zc=
Platform: WindowsOnX86
↳ Cert 2:
ManufacturerName: Microsoft
ModelName: PlayReady SL2000 Device Port- Windows Lib Codebase Version CA
ModelNumber: 1.0.0.4
DigestValue: Y3C0kjOxz3h/njYBKeApsvfPscwLcV1qAiTfAXXSLw4=
↳ Cert 3:
ManufacturerName: Microsoft
ModelName: PlayReady SL2000 Device Port - Windows Platform CA for x86/amd64
ModelNumber: 1.0.0.3
DigestValue: L62pDo9+gkd6LoLDbQwgxwtYldcuhSEog7GcJwtJ3CE=
↳ Cert 4:
ManufacturerName: Microsoft
ModelName: PlayReady SL2000 Device Port + Link CA
ModelNumber: 1.0.0.1
DigestValue: 7Q8z1rSr8I3AGkcf0BNoDgwS46nO0wD5m0WvYfFoTWQ=
Sample Response, for a challenge issued by a PK 3.2 based SL3000 client:
Client Info:
Client Version: 3.2.0.4242
Client Time: 10/01/2017 2:00:00 PM
Supported Features:
SecureClock
RevocationLists
Receiver
Transmitter
PlayReady3Features
Device Certificate Info (Cert 0):
Platform: OEM
Type: Device
SecurityLevel:3000
RobustnessVersion: 0
ManufacturerName: Contoso
ModelName: Cool Device Name
ModelNumber: Cool Device Name
DigestValue: IOSxDmGiRlX+dUf62sohHj/IB0qRKSkV7wz7sbZ3HSo=
IssuerKey: UlT6XXcgAMzaVAJN9JLJVomCFwppjoqgMMcT748yX27D053iiEP69pjEBnTxWiSEVXj76/e2wDImTgQDtbLTVg==
Binding Key Type: 3
Certificate Chain:
↳ Cert 1:
ManufacturerName: Contoso
ModelName: Cool Device Name
ModelNumber: ABC-XYZ-123
DigestValue: rmnxSlpuh9WTlXa6ACLcSJDnPVtoS5/2P1wa/kEgs1M=
↳ Cert 2:
ManufacturerName: Contoso
DigestValue: 5H3YVzR9EhHVnsseOJmO/ZCrX10Z8bOx9PDhKOhrxe4=
↳ Cert 3:
ManufacturerName: Microsoft
ModelName: PlayReady SL3000 Device Port + Link CA
ModelNumber: 1.0.0.1
DigestValue: bk7YOJRioSgnzjpZgLasowaL96LFIBHDx6B0z+JoDPE=