VOCAL Print Logo
Security >  JPSEC >  JPSEC Authentication

JPSEC Authentication Template

The authentication template conveys to the verifier how to verify the authenticity of the recieved codestream. There are 3 general classes of authentication methods:

  • Hash-Based Authentication
  • Cipher-Based Authentication
  • Digital Signatures

The first two are also referred to as Message Authentication Codes (MACs). The template defines the authentication method to be used and any parameters needed to accomplish the authentication.

When the Hash-based MAC is called for there is only one method defined in the JPSEC standard HMAC. The list of Hash functions for use with this method are given in table 1. The method, function, key template, and size in bits of the MAC are defined in the template.

Table 1: JPSEC Hash Function Identifiers

Identifier Hash Function
0 Reserved
1 SHA-1
2 RIPEMD-128
3 RIPEMD-160
4 MASH-1
5 MASH-2
6 SHA-224
7 SHA-256
8 SHA-384
9 SHA-512
10 Whirlpool
All other values are reserved for ISO use


When the Cipher-based MAC is called for there are four methods defined in the JPSEC standard:

  • CBC-MAC MAC Algorithm 1
  • CBC-MAC MAC Algorithm 2
  • CBC-MAC MAC Algorithm 3
  • CBC-MAC MAC Algorithm 4

The list of Block-ciphers for use with these methods is given in table 2. The method, block-cipher to be used, key template, and size in bits of the MAC are defined in the template.

Table 2: JPSEC Block-cipher Identifiers

Identifier Cipher Type
0x0000 NULL (no encryption)
0x0001 AES
0x0002 TDEA
0x0003 MISTY-1
0x0004 Camellia
0x0005 CAST-128
0x0006 SEED
All other values are reserved for ISO use


When a digital signature is called for there are four methods defined in the JPSEC standard:

The list of Hash functions for use with this method are given in table 1. The method, hash function, key template, and size of the digital signature in bits are defined in the template.



Further information available here:
JPSEC
JPSEC Tools
JPSEC Tool Decryption Template
JPSEC Tool Hash Template
JPSEC Tool Key Template
JPSEC Registration Authority (RA)


JPSEC Standards available here:
Joint Photographic Experts Group (JPEG) Part 8 - JPSEC: Secure JPEG 2000 Final Committee Draft
ISO/IEC 15444-8:2007 - Information technology -- JPEG 2000 image coding system: Secure JPEG 2000
T.807 (05/06) - Information technology -- JPEG 2000 image coding system: Secure JPEG 2000