Lines Matching refs:error

32 an error or in a verification callback to determine the nature of an error.
34 X509_STORE_CTX_get_error() returns the error code of I<ctx>. I<ctx> B<MUST NOT> be NULL.
35 See the L</ERROR CODES> section for a full description of all error codes.
37 an error, likely because a verification callback function has waived the error.
39 X509_STORE_CTX_set_error() sets the error code of I<ctx> to I<s>. For example
40 it might be used in a verification callback to set an error based on additional
43 X509_STORE_CTX_get_error_depth() returns the I<depth> of the error. This is a
44 nonnegative integer representing where in the certificate chain the error
49 X509_STORE_CTX_set_error_depth() sets the error I<depth>.
51 depth at which an error condition was detected.
54 I<ctx>. If an error occurred, the current certificate will be the one
55 that is most closely related to the error, or possibly NULL if no such
59 caused the error.
62 It may be examined by a verification callback invoked to handle each error
81 X509_verify_cert_error_string() returns a human readable error string for
82 verification error I<n>.
86 X509_STORE_CTX_get_error() returns B<X509_V_OK> or an error code.
88 X509_STORE_CTX_get_error_depth() returns a nonnegative error depth.
91 error or NULL if no certificate is relevant to the error.
93 X509_verify_cert_error_string() returns a human readable error string for
94 verification error I<n>.
98 A list of error codes and messages is shown below. Some of the
99 error codes are defined but currently never returned: these are described as
108 =item B<X509_V_ERR_UNSPECIFIED: unspecified certificate verification error>
110 Unspecified error; should not happen.
170 format error in certificate's notBefore field>
175 format error in certificate's notAfter field>
180 format error in CRL's lastUpdate field>
185 format error in CRL's nextUpdate field>
191 An error occurred trying to allocate memory.
319 encoding) or some value inconsistent with other extensions. This error only
355 An application specific error. This will never be returned unless explicitly
375 =item B<X509_V_ERR_CRL_PATH_VALIDATION_ERROR: CRL path validation error>
377 An error occurred when attempting to verify the CRL path. This error can only
400 This error is only possible in L<openssl-s_client(1)>.
418 =item B<X509_V_ERR_STORE_LOOKUP: issuer certificate lookup error>
420 Issuer certificate lookup error.
482 If an unrecognised error code is passed to X509_verify_cert_error_string() the
490 B<X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY> error codes.