1 | // |
---|---|
2 | // VerificationErrorArgs.cpp |
3 | // |
4 | // Library: NetSSL_OpenSSL |
5 | // Package: SSLCore |
6 | // Module: VerificationErrorArgs |
7 | // |
8 | // Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH. |
9 | // and Contributors. |
10 | // |
11 | // SPDX-License-Identifier: BSL-1.0 |
12 | // |
13 | |
14 | |
15 | #include "Poco/Net/VerificationErrorArgs.h" |
16 | |
17 | |
18 | namespace Poco { |
19 | namespace Net { |
20 | |
21 | |
22 | VerificationErrorArgs::VerificationErrorArgs(const X509Certificate& cert, int errDepth, int errNum, const std::string& errMsg): |
23 | _cert(cert), |
24 | _errorDepth(errDepth), |
25 | _errorNumber(errNum), |
26 | _errorMessage(errMsg), |
27 | _ignoreError(false) |
28 | { |
29 | } |
30 | |
31 | |
32 | VerificationErrorArgs::~VerificationErrorArgs() |
33 | { |
34 | } |
35 | |
36 | |
37 | } } // namespace Poco::Net |
38 |