EANCOM® 2002 S4 Edition 2016 Part II
AUTACK Secure authentication and acknowledgement message
5. Segments Layout
 
Previous Segment Segment number: 3 Legend Next Segment
SG1 - M 99 -
USH-USA-SG2
A group of segments identifying the security service and security mechanisms applied and containing the data necessary to carry out the validation calculations.
This segment group shall specify the security service and algorithm(s) applied to the referenced EDIFACT structure. Each security header group shall be linked to a security trailer group, and additionally linked to the USY segment(s).
USA - C 3 -
Security algorithm
  Function:
  To identify a security algorithm, the technical usage made of it, and to contain the technical parameters required.

Notes:
1. S503, provides space for one parameter. The number of repetitions of S503 actually used will depend on the algorithm used. The order of the parameters is arbitrary but, in each case, the actual value is preceded by a coded algorithm parameter qualifier.
 
EDIFACT
EAN *
Description
S502
SECURITY ALGORITHM
M
M    
0523
Use of algorithm, coded
M an..3
M *
General explanations
1 = Owner hashing
0525
Cryptographic mode of operation, coded
C an..3
R *
General explanations
16 = DSMR
Specification of the cryptographic mode of operation used for the algorithm.
Note: The cryptographic mode of operation are the security functions authenticity, integrity and non-repudiation of origin. The digital signature includes all three security functions.
0533
Mode of operation code list identifier
C an..3
R *
General explanations
1 = UN/CEFACT
0527
Algorithm, coded
C an..3
R  
6 = MD5
14 = RIPEMD-160
16 = SHA1
Identification of the algorithm in order to generate the hash value. The algorithms above are recommended.
0529
Algorithm code list identifier
C an..3
R *
General explanations
1 = UN/CEFACT
0591
Padding mechanism, coded
C an..3
R *
General explanations
7 = ISO 9796 #2 padding
Note: "ISO 9796 #2 padding" specifies the technical standard which is facilitating the security service "digital signature scheme giving message recovery" specified in DE 0525.
0601
Padding mechanism code list identifier
C an..3
R *
General explanations
1 = UN/CEFACT
S503
ALGORITHM PARAMETER
C
N    
0531
Algorithm parameter qualifier
M an..3
     
0554
Algorithm parameter value
M an..512
     
Segment Notes:
This segment is used to identify a security algorithm, the technical usage made of it, and contains the technical parameters required in order to generate the hash value.
At least one occurrence of this segment is mandatory.

Example:
USA+1:16:1:6:1:7:1'
Previous Segment Next Segment
© Copyright GS1 Edition 2016