Lines Matching refs:trust
60 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
62 int purpose, int trust);
201 certificate itself. In addition the trust store containing trusted certificates
202 can declare what purposes we trust different certificates for. This "trust"
208 administrator might only trust it for the former. An X.509 certificate extension
227 CA certificates along the chain, including any given trust anchor certificate.
229 Every purpose also has an associated default trust value, which will also be set
230 at the same time. During verification, this trust setting will be verified
231 to check whether it is consistent with the trust set by the system administrator
234 X509_STORE_CTX_set_trust() sets the trust value for the target certificate
235 being verified in the I<ctx>. Built-in available values for the I<trust>
239 also possible to create a custom trust value. Since X509_STORE_CTX_set_purpose()
240 also sets the trust value it is normally sufficient to only call that function.
242 X509_STORE_CTX_set_purpose() since the trust setting of the last call will be
248 function it is possible to set the purpose and trust values for the I<ctx> at
252 purpose values as described for X509_STORE_CTX_set_purpose() above. The I<trust>
253 argument can have the same trust values as described in
255 I<trust> values may also have the value 0 to indicate that the supplied
258 already set in I<ctx> before, and the trust is set from the I<trust> argument
259 unless the trust was already set in I<ctx> before.
260 If I<trust> is 0 then the trust value will be set from
261 the default trust value for I<purpose>. If the default trust value for the
262 purpose is I<X509_TRUST_DEFAULT> and I<trust> is 0 then the default trust value
263 associated with the I<def_purpose> value is used for the trust setting instead.