Android
2012.05.24 11:14

How to create OMA DRM v1.0 content

조회 수 13194 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print


출처 : http://www.developer.nokia.com/Community/Wiki/How_to_create_OMA_DRM_v1.0_content


The easiest way to create OMA DRM v1.0 content is by using Nokia Mobile Internet Toolkit, a standalone tool from Nokia Developer. This article will show how to protect a JPEG image into a protected OMA DRM v1.0 content using NMIT version 4.1.

Tools

The following tools are needed to run the demonstration:

  • S60 or Series 40 emulator that supports OMA DRM v1.0.
  • Phone supporting OMA DRM v1.0. Check the device matrix from Nokia Developer to find out which devices support OMA DRM v1.0. Note that some devices do not support all protection methods of OMA DRM v1.0. Some of them support OMA DRM v1.0 Forward-lock only as an example.

OMA DRM v1.0 Forward-lock

OMA DRM v1.0 Forward-lock is the simplest protection method of OMA DRM v1.0. The content is locked to a certain device. It cannot be forwarded to other devices.


Creating OMA DRM v1.0 Forward-lock content

Follow the instructions below to create OMA DRM v1.0 Forward Lock:

  • Open NMIT.
  • Select File | New | Deployment | DRM Message.
  • Select Forward Lock (.dm) as message type.
  • Click Load Content button to load the JPEG image that is going to be protected.
  • Make sure that the Content-type is correct. For example, it has to be image/jpeg for JPEG image.
  • Select File | Save to save the content. For example, save it as nokia.dm.


Nmit forwardlock.png


Note that the generated content, i.e. nokia.dm, is NOT protected yet. It just wraps the original content with OMA DRM v1.0 container. The content is going to be protected when delivered to the emulator/device.


Pushing OMA DRM v1.0 Forward-lock content to emulator

  • From NMIT, activate SDK panel. It can be done by selecting Tools | SDK Control Panel menu or pressing Ctrl+E.
  • Select one of the SDK listed in the right panel. Click the green button on the right side of the SDK name to launch the emulator.
  • After the SDK has been started, back to the content's panel (nokia.dm).
  • Click Show Message button at the bottom right of the window to push the content to the emulator.

Nmit forwardlock emulator.png


Setting up Web server to support OMA DRM v1.0

Before a Web server can be used as an OMA DRM v1.0 content provider, there are some MIME types that have to be set. It is needed so that the client knows the MIME type of the content it is downloading.

For Apache httpd, add the following lines to the .htaccess file:

AddType application/vnd.oma.drm.message .dm
AddType application/vnd.oma.drm.content .dcf
AddType application/vnd.oma.drm.rights+wbxml .drc
AddType application/vnd.oma.drm.rights+xml .dr


where is the Microsoft IIS configuration ? How do I add a new file extension(IIS 6) Add a MIME Type (IIS 7)

Downloading OMA DRM v1.0 Forward-lock content to device

  • Make sure that the content has been uploaded to the Web server and the MIME types have been set correctly.
  • Open Web browser on the client. Type the URL where the protected content is stored, for example http://myserver/nokia.dm.
  • The Web browser will download the file and encrypt it on-the-fly. The content is also locked to the device; so that it cannot be forward to other devices.


Nokia Delivery Server

As mentioned above, the content that is stored on the Web server is actually not protected. It will be protected on the device on-the-fly. It is definitely not a secure way of delivering real contents. As an example, a hacker may download the content via PC and then strip off the OMA DRM v1.0 container. He will then get the original unprotected content.

Nokia has developed a server, called Nokia Delivery Server (DLS), to "protect" the content. Furthermore, DLS can be integrated into billing systems.


Creating OMA DRM v1.0 Combined Delivery

OMA DRM v1.0 Combined Delivery means the content is delivered to the device together with the corresponding rights object. The media object can be used depending on the usage rights that are specified in the rights object.


Creating OMA DRM v1.0 Combined Delivery content

  • Open NMIT.
  • Select File | New | Deployment | DRM Message.
  • Select Combined Delivery Lock (.dm) as message type.
  • Click Load Content button to load the JPEG image that is going to be protected.
  • Enter the identifier of this content in the Content-ID field, for example myimage@nokia.com.
  • Make sure that the Content-type is correct. For example, it has to be image/jpeg for JPEG image.
  • Select File | Save to save the content. For example, save it as nokia_combined.dm.
  • The next is to specify the rights. On the Specify Rights panel, click Display. Check Enable display rights to allow the content to be displayed on the device.
  • Enable Count and enter 3 times. This means the content can be displayed maximum 3 times only.
  • Click Save Binary Rights button to save the rights. For example, save is as nokia_combined.drc.


Nmit combineddelivery.png


Pushing OMA DRM v1.0 Combined Delivery content to emulator

Pushing OMA DRM v1.0 Combined Delivery content can be done in the same way as OMA DRM v1.0 Forward Lock. Launch the emulator from SDK Panel and then click Show Message button from NMIT.

Additionally, the rights can be viewed from Activation Keys application. Normally this application is located in the Tools folder. However, different devices may have different folder. On the S60 3rd emulator, it is located under Configurations folder. The picture below shows how information about rights viewed on the Activation Keys application.

Nmit combineddelivery emulator.png

Internal links

External links


Dreamy의 코드 스크랩

내가 모으고 내가 보는

List of Articles
번호 분류 제목 날짜 조회 수 추천 수
191 Android repo 명령어 (command) 설명 init sync diff prune forall upload download start status 2013.05.30 20557 0
190 Android 이클립스(Eclipse)에서 유용한 단축키 일람 1 2013.05.21 39174 0
189 Python Python 문자열 관련 함수 2013.05.07 22619 0
188 Android CPU사용률은 /proc/stat를 참고 2013.05.07 30550 0
187 LINUX 접속한 사용자 확인 w 명령어 2013.05.02 13219 0
186 Android ADB 에서 cpu 사용률 보기 2013.04.29 20179 0
185 C# Textbox에 숫자만 입력가능하게 설정하기 2013.04.22 20838 0
184 LINUX 사용자 계정 목록 보기 2013.04.22 15984 0
183 Android CDMA 모델에서의 IMEI secret 2013.04.22 0 0
182 Android adb 로 low battery 이벤트 날리기 2013.04.19 16801 0
181 C# Quick Sort 함수 2013.04.17 9911 0
180 Python python 문법요약 2013.04.08 28609 0
179 Python BeautifulSoup로 HTML 파싱 끝내기 2013.04.08 42628 0
178 Python BeautifulSoup으로 웹에 있는 데이터 긁어오기 2013.04.08 77012 0
177 일반 자주 사용하는 아주 유용한 파워포인트 단축키 [Useful Short-cut for PowerPoint] 2013.04.01 20041 0
목록
Board Pagination ‹ Prev 1 ... 17 18 19 20 21 22 23 24 25 26 ... 34 Next ›
/ 34

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5