EANCOM® 2002 S4 Edition 2016 Part II
KEYMAN Security key and certificate management message
5. Segments Layout
 
Previous Segment Segment number: 4 Legend Next Segment
SG4 - C 99 -
USL-SG5
A group of segments containing lists of certificates or public keys. The group shall be used to group together certificates of similar status - i.e., which are still valid, or which may be invalid for some reason.
SG5 - M 9999 -
USC-USA
A group of segments containing the data necessary to validate the security methods applied to the message/package, when asymmetric algorithms are used (as defined in Part 5 of ISO 9735). This group shall be used in the delivery of lists of keys or certificates of similar status.
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
6 = Owner signing
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  
10 = RSA
17 = ECC
Identification of the algorithm in order to generate the digital signature. 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
O    
0531
Algorithm parameter qualifier
M an..3
M *
General explanations
13 = Exponent
Identifies the algorithm parameter value as the exponent of a public key which is to be used according to the function defined by the use of algorithm.
0554
Algorithm parameter value
M an..512
M  
Value of the exponent of the a public key.
S503
ALGORITHM PARAMETER
C
C    
0531
Algorithm parameter qualifier
M an..3
M *
12 = Modulus
0554
Algorithm parameter value
M an..512
M  
Specification of the public key
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 digital signature.
At least one occurrence of this segment is mandatory.

Please note that the DEG S503 is repeated twice according to EDIFACT syntax 4 rules, as repetition separator the asterisk (*) is used.

Example:
USA+6:16:1:10:1:7:1+13:010001*12:CF8516555.........7E7406D7'
Previous Segment Next Segment
© Copyright GS1 Edition 2016