Lines Matching refs:trust

52  int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
54 int purpose, int trust);
156 Among others, the parameters determine the trust model and verification purpose.
176 certificate itself. In addition the trust store containing trusted certificates
177 can declare what purposes we trust different certificates for. This "trust"
183 administrator might only trust it for the former. An X.509 certificate extension
200 purpose also has an associated default trust value which will also be set at the
201 same time. During verification this trust setting will be verified to check it
202 is consistent with the trust set by the system administrator for certificates in
205 X509_STORE_CTX_set_trust() sets the trust value for the target certificate
206 being verified in the I<ctx>. Built-in available values for the I<trust>
210 also possible to create a custom trust value. Since X509_STORE_CTX_set_purpose()
211 also sets the trust value it is normally sufficient to only call that function.
213 X509_STORE_CTX_set_purpose() since the trust setting of the last call will be
219 function it is possible to set the purpose and trust values for the I<ctx> at
223 purpose values as described for X509_STORE_CTX_set_purpose() above. The I<trust>
224 argument can have the same trust values as described in
226 I<trust> values may also have the value 0 to indicate that the supplied
229 already set in I<ctx> before, and the trust is set from the I<trust> argument
230 unless the trust was already set in I<ctx> before.
231 If I<trust> is 0 then the trust value will be set from
232 the default trust value for I<purpose>. If the default trust value for the
233 purpose is I<X509_TRUST_DEFAULT> and I<trust> is 0 then the default trust value
234 associated with the I<def_purpose> value is used for the trust setting instead.