views:

422

answers:

1

I want to use PKCS#7 as a container format for some encrypted, signed content and we need to use AES in CBC mode with ISO 10126 based padding. I can't seem to find a concrete reference to an algorithm identifier to use for this combination. I can invent my own but would then lose interoperability with other tools.

A: 

It turns out that the padding mode does not need to be specified, only the crypto algorithm matters.

Boris Terzic