I am working on an SCEP implementation (both requester and authority). The project uses JScep as a library.
During the communication for a PKCSReq the client receives a CertRep SUCCESS. The draft says the following:
+----------------+--------------------------------------------------+
| Request-type | Reply-contents |
+----------------+--------------------------------------------------+
| PKCSReq | the reply MUST contain at least the issued |
| | certificate in the certificates field of the |
| | Signed-Data. The reply MAY contain additional |
| | certificates, but the issued certificate MUST be |
| | the first in the list. The reply MUST NOT |
| | contain a CRL. All returned certificates MUST |
| | conform to [RFC5280]. |
I am a bit confused to interpret MAY contain additional certificates
.
Does this mean that the whole cert chain will be presented in the response as a Collection
(JScep)?