Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
media
danimation.controls
danimation.programming
devices
drm
dshow.programming
dtransform
encoder
encoder.optimization
hometheaterpc
media
media.beta
media.beta.encoder
mediacenter
mediacenter.portable
mediaplayer
music.products
musicproducer
player
player.plugins
player.skins
player.solaris
player.visualizations
player.web
sdk
server
tools
  
 
date: Fri, 27 Jun 2008 02:11:01 -0700,    group: microsoft.public.windowsmedia.drm        back       


Where should I use PublicKey?   
Hello again,

I wrote an application that takes unprotected stream from an encoder, 
applies DRM protection and writes to a NetworkSink. The problem lies between 
my tool and the LicenseServer, namely LicenseServer fails when verifying 
PUBLIC KEY. 
According to http://msdn.microsoft.com/en-us/library/aa390672(VS.85).aspx, 
there is NO PLACE (no property to be set) I can set PublicKey generated by a 
license server. No matter if I use DRM_LA* certs from a Format SDK or WMRM 
SDK (from registry of the machine a license server and RM SDK is installed) I 
have this error in the license server. PrivateKey and KeySeed is generated on 
the License Server side when generating Encoder profile file (I am not using 
*.drm file directly, because I can't find a way of reading it).

What is the relation between all those keys? What keys should be used in my 
application, which should be generated and which passed back to License 
Server. Does anybody know it at Microsoft?

Radioactive
date: Fri, 27 Jun 2008 02:11:01 -0700   author:   Radioactive

RE: Where should I use PublicKey?   
Done!

The public key should be generated by application encrypting streams 
(Encrypter) and passed back to the License Server. Seeds must be the same on 
License server and Ecrypter. KeyID as it is MSDN, may be generated by 
Encrypter (each time can be different). Private key generated by the 
Encrypter stays private. LA_xxx attributes can be used as given together with 
the license or taken from registry where the License Server is installed 
(more precisely, where the WMRM is installed). 

Radek

"Radioactive" wrote:

> Hello again,
> 
> I wrote an application that takes unprotected stream from an encoder, 
> applies DRM protection and writes to a NetworkSink. The problem lies between 
> my tool and the LicenseServer, namely LicenseServer fails when verifying 
> PUBLIC KEY. 
> According to http://msdn.microsoft.com/en-us/library/aa390672(VS.85).aspx, 
> there is NO PLACE (no property to be set) I can set PublicKey generated by a 
> license server. No matter if I use DRM_LA* certs from a Format SDK or WMRM 
> SDK (from registry of the machine a license server and RM SDK is installed) I 
> have this error in the license server. PrivateKey and KeySeed is generated on 
> the License Server side when generating Encoder profile file (I am not using 
> *.drm file directly, because I can't find a way of reading it).
> 
> What is the relation between all those keys? What keys should be used in my 
> application, which should be generated and which passed back to License 
> Server. Does anybody know it at Microsoft?
> 
> Radioactive
> 
>
date: Thu, 3 Jul 2008 09:38:02 -0700   author:   Radioactive

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us