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
Radioactive - 03 Jul 2008 17:38 GMT
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
> Hello again,
>
[quoted text clipped - 15 lines]
>
> Radioactive