@Atarian: You can't
create ADEPT DRM protected ePubs with ADE/RMDSK; you can only download ADEPT DRM protected ePubs with these apps. If you wanted to mimic the behavior of ADE, you'd have reverse-engineer the code by
analyzing the data exchange between ADE/RMSDK and the content server with Wireshark.
Note that if you want to
sell ADEPT DRM protected ePubs, you'll need to buy a
Adobe Content Server license and setup a dedicated server.