Lines Matching full:trust

187 \& int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
189 \& int purpose, int trust);
306 certificate itself. In addition the trust store containing trusted certificates
307 can declare what purposes we trust different certificates for. This \*(L"trust\*(R"
313 administrator might only trust it for the former. An X.509 certificate extension
330 purpose also has an associated default trust value which will also be set at the
331 same time. During verification this trust setting will be verified to check it
332 is consistent with the trust set by the system administrator for certificates in
335 \&\fBX509_STORE_CTX_set_trust()\fR sets the trust value for the target certificate
336 being verified in the \fIctx\fR. Built-in available values for the \fItrust\fR
340 also possible to create a custom trust value. Since \fBX509_STORE_CTX_set_purpose()\fR
341 also sets the trust value it is normally sufficient to only call that function.
343 \&\fBX509_STORE_CTX_set_purpose()\fR since the trust setting of the last call will be
349 function it is possible to set the purpose and trust values for the \fIctx\fR at
353 purpose values as described for \fBX509_STORE_CTX_set_purpose()\fR above. The \fItrust\fR
354 argument can have the same trust values as described in
359 already set in \fIctx\fR before, and the trust is set from the \fItrust\fR argument
360 unless the trust was already set in \fIctx\fR before.
361 If \fItrust\fR is 0 then the trust value will be set from
362 the default trust value for \fIpurpose\fR. If the default trust value for the
363 purpose is \fIX509_TRUST_DEFAULT\fR and \fItrust\fR is 0 then the default trust value
364 associated with the \fIdef_purpose\fR value is used for the trust setting instead.