Android
2012.05.24 11:14

How to create OMA DRM v1.0 content

조회 수 15790 댓글 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
번호 분류 제목 날짜 조회 수 추천 수
120 Android Android Log (logcat) 보기 2012.06.08 30249 0
119 일반 CSS 참고 사이트 2012.06.05 17496 0
118 LINUX du 명령어 사용법(디스크 용량 확인) 1 2012.05.31 79992 0
» Android How to create OMA DRM v1.0 content 2012.05.24 15790 0
116 C# [C#] (System.Collections.Generic) ArrayList 2012.05.23 17765 0
115 C# c# 다국어 개발 2012.05.22 20235 0
114 C# Visual C# 에서 XP 테마 적용하기 2012.05.21 17456 0
113 Android [GIT 사용법] Git Log 활용하기 2012.05.08 15177 0
112 LINUX 리눅스 커널리빌딩, 버젼확인, ctags명령, vi편집기활용, 기본명령 2012.05.07 17082 0
111 LINUX [Shell Script] Shell Script 기본 2012.05.05 30203 0
110 Android Gerrit 검색 쿼리 도움말 2012.04.30 20804 0
109 LINUX vi 필수 명령어 2012.04.27 15576 0
108 Android Git 사용자 설명서 2012.04.24 18284 0
107 개념 CSFB와 SVLTE (Circuit Switched Fall-Back & Simultaneous Voice and LTE) 2012.04.23 26390 0
106 LINUX KScope 사용법 2012.04.23 17362 0
목록
Board Pagination ‹ Prev 1 ... 22 23 24 25 26 27 28 29 30 31 ... 34 Next ›
/ 34

나눔글꼴 설치 안내


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

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

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5