Lines Matching refs:chain
132 /* ctx is not const just because ctx->chain may get adapted */
138 /* Add first ctx->cert and its chain if using signature-based protection */
144 /* if not yet done try to build chain using available untrusted certs */
145 if (ctx->chain == NULL) {
147 "trying to build chain for own CMP signer cert");
148 ctx->chain = X509_build_chain(ctx->cert, ctx->untrusted, NULL, 0,
150 if (ctx->chain != NULL) {
152 "success building chain for own CMP signer cert");
157 "could not build chain for own CMP signer cert");
160 if (ctx->chain != NULL) {
161 if (!ossl_x509_add_certs_new(&msg->extraCerts, ctx->chain, prepend))
255 /* ctx is not const just because ctx->chain may get adapted */
300 * will add ctx->cert followed, if possible, by its chain built
313 * For signature-based protection add ctx->cert followed by its chain.