# US 2017/0288878 A1 · Image processing apparatus and control method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0288878 A1
- Document ID: US20170288878A1
- Status: Published application
- Kind: A1
- Application number: 15/479,951
- Filed: 2017-04-05
- Published: 2017-10-05
- Earliest claimed: 2016-04-05
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Chang-woo LEE; Nam-gwon LEE
- Web page: https://patentgrep.com/patent/US20170288878A1

## CPC

- H04L 9/3247: {involving digital signatures}
- G06F 21/00: Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F 21/44: Program or device authentication
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An image processing apparatus is provided. The image processing apparatus includes a storage configured to store an operating system (OS) of the image processing apparatus, a script file including a program code and a first electronic signature, and an interpreter program provided to execute the program code on the OS; and at least one processor configured to perform an authentication of the first electronic signature with the OS in response to the interpreter program executing the program code on the OS, and selectively permit or block the execution of the program code according to whether the first electronic signature passes or fails to pass the authentication.

## Claims

### Claim 1

An image processing apparatus comprising:
a storage to store an operating system (OS) of the image processing apparatus, a script file including a program code and a first electronic signature, and an interpreter program provided to execute the program code on the OS; and
at least one processor to execute the OS to:
perform an authentication of the first electronic signature in response to a system call from the interpreter program to execute the program code on the OS, and
selectively permit or block execution of the program code according to whether the first electronic signature passes or fails the authentication.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the first electronic signature includes a code which is generated by converting the program code based on a determined algorithm.

### Claim 3 (depends on 2)

The apparatus according to claim 2, wherein the determined algorithm includes a hash function.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein the script file further includes a separator to separate the program code and the first electronic signature, and
wherein the first electronic signature includes a code which is generated by converting the program code and the separator based on a determined algorithm.

### Claim 5 (depends on 2)

The apparatus according to claim 2, wherein the first electronic signature is generated by encrypting the code with a secret key, and
wherein, to perform the authentication, the at least one processor decrypts the first electronic signature with a public key corresponding to the secret key.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the at least one processor:
compares a first authentication code generated by decrypting the first electronic signature with the public key with a second authentication code generated by converting the program code based on the determined algorithm, and
determines that the first electronic signature passes the authentication in response to the first authentication code being equal to the second authentication code and that the first electronic signature fails the authentication in response to the first authentication code not being equal to the second authentication code.

### Claim 7 (depends on 1)

The apparatus according to claim 1, wherein the at least one processor identifies the interpreter program from among a plurality of programs executed on the OS, based on identification information appended to the interpreter program.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the at least one processor:
performs an authentication of a second electronic signature appended to the identified interpreter program, and
performs the authentication of the first electronic signature in response to the second electronic signature passing the authentication, and blocks the execution of the program code without performing the authentication of the first electronic signature in response to the second electronic signature failing the authentication.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the second electronic signature includes a second code which is generated by converting an interpreter program code based on a second determined algorithm.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the second determined algorithm includes a hash function.

### Claim 11

A control method of an image processing apparatus, the control method comprising:
executing an operating system (OS) of the image processing apparatus;
by an interpreter program, calling a script file including a program code and a first electronic signature to execute the program code on the OS;
by the OS:
in response to the interpreter program calling the script file to execute the program code, performing an authentication of the first electronic signature, and
selectively permitting or blocking execution of the program code according to whether the first electronic signature passes or fails the authentication.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the first electronic signature includes a code which is generated by converting the program code based on a determined algorithm.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the determined algorithm includes a hash function.

### Claim 14 (depends on 11)

The method according to claim 11, wherein the script file further includes a separator to separate the program code and the first electronic signature, and
wherein the first electronic signature includes a code which is generated by converting the program code and the separator based on a determined algorithm.

### Claim 15 (depends on 12)

The apparatus according to claim 12, wherein the first electronic signature is generated by encrypting the code with a secret key, and
wherein the performing the authentication includes decrypting the first electronic signature with a public key corresponding to the secret key.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the performing the authentication includes:
comparing a first authentication code generated by decrypting the first electronic signature with the public key with a second authentication code generated by converting the program code based on the determined algorithm, and
determining that the first electronic signature passes the authentication in response to the first authentication code being equal to the second authentication code and that the first electronic signature fails the authentication in response to the first authentication code not being equal to the second authentication code.

### Claim 17 (depends on 11)

The apparatus according to claim 11, wherein the performing the authentication includes identifying the interpreter program from among a plurality of programs executed on the OS, based on identification information appended to the interpreter program.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the performing the authentication further includes:
performing an authentication of a second electronic signature appended to the identified interpreter program, and
performing the authentication of the first electronic signature in response to the second electronic signature passing the authentication, and blocking the execution of the program code without performing the authentication of the first electronic signature in response to the second electronic signature failing the authentication.

### Claim 19 (depends on 18)

The method according to claim 18, wherein the second electronic signature includes a second code which is generated by converting an interpreter program code based on a second determined algorithm.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the second determined algorithm includes a hash function.
