Lines Matching refs:trust
52 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
54 int purpose, int trust);
169 certificate itself. In addition the trust store containing trusted certificates
170 can declare what purposes we trust different certificates for. This "trust"
176 administrator might only trust it for the former. An X.509 certificate extension
193 purpose also has an associated default trust value which will also be set at the
194 same time. During verification this trust setting will be verified to check it
195 is consistent with the trust set by the system administrator for certificates in
198 X509_STORE_CTX_set_trust() sets the trust value for the target certificate
199 being verified in the I<ctx>. Built-in available values for the I<trust>
203 also possible to create a custom trust value. Since X509_STORE_CTX_set_purpose()
204 also sets the trust value it is normally sufficient to only call that function.
206 X509_STORE_CTX_set_purpose() since the trust setting of the last call will be
212 function it is possible to set the purpose and trust values for the I<ctx> at
216 purpose values as described for X509_STORE_CTX_set_purpose() above. The I<trust>
217 argument can have the same trust values as described in
219 I<trust> values may also have the value 0 to indicate that the supplied
222 already set in I<ctx> before, and the trust is set from the I<trust> argument
223 unless the trust was already set in I<ctx> before.
224 If I<trust> is 0 then the trust value will be set from
225 the default trust value for I<purpose>. If the default trust value for the
226 purpose is I<X509_TRUST_DEFAULT> and I<trust> is 0 then the default trust value
227 associated with the I<def_purpose> value is used for the trust setting instead.