pem-dev
[Top] [All Lists]

DEK-Info with multiple parameters

1993-03-22 10:43:00

The following is from RFC 1421, section 4.6.1.3:

   The "DEK-Info:" field carries either one argument or two arguments
   separated by a comma.  The first argument identifies the algorithm
   and mode used for message text encryption.  The second argument, if
   present, carries any cryptographic parameters required by the
   algorithm and mode identified in the first argument.

This only allows for an encryption algorithm to have one parameter field,
separated by a comma.  What happens if there is an encryption algorithm
which has two parameters? Is the following format allowed:
  DEK-Info: NEW-ALG, parameter1, parameter2

Or does the quote from RFC 1421 mean that both parameters have to be separated
from the identifier by a comma and within the "parameters" field,
the two parameters have to be spearated by another symbol such as a 
colon like this: 
  DEK-Info: NEW-ALG, parameter1:parameter2

- Jeff

<Prev in Thread] Current Thread [Next in Thread>