blob: 2f8530a6bc7eb12dc5086b4d00c5269040d74d6f [file] [log] [blame]
henrike@webrtc.orgf0488722014-05-13 18:00:26 +00001/*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#include "rtc_base/logging.h"
12#include "rtc_base/win32.h"
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000013
14namespace rtc {
15
16///////////////////////////////////////////////////////////////////////////////
17
18extern const ConstantLabel SECURITY_ERRORS[];
19
20const ConstantLabel SECURITY_ERRORS[] = {
21 KLABEL(SEC_I_COMPLETE_AND_CONTINUE),
22 KLABEL(SEC_I_COMPLETE_NEEDED),
23 KLABEL(SEC_I_CONTEXT_EXPIRED),
24 KLABEL(SEC_I_CONTINUE_NEEDED),
25 KLABEL(SEC_I_INCOMPLETE_CREDENTIALS),
26 KLABEL(SEC_I_RENEGOTIATE),
27 KLABEL(SEC_E_CERT_EXPIRED),
28 KLABEL(SEC_E_INCOMPLETE_MESSAGE),
29 KLABEL(SEC_E_INSUFFICIENT_MEMORY),
30 KLABEL(SEC_E_INTERNAL_ERROR),
31 KLABEL(SEC_E_INVALID_HANDLE),
32 KLABEL(SEC_E_INVALID_TOKEN),
33 KLABEL(SEC_E_LOGON_DENIED),
34 KLABEL(SEC_E_NO_AUTHENTICATING_AUTHORITY),
35 KLABEL(SEC_E_NO_CREDENTIALS),
36 KLABEL(SEC_E_NOT_OWNER),
37 KLABEL(SEC_E_OK),
38 KLABEL(SEC_E_SECPKG_NOT_FOUND),
39 KLABEL(SEC_E_TARGET_UNKNOWN),
40 KLABEL(SEC_E_UNKNOWN_CREDENTIALS),
41 KLABEL(SEC_E_UNSUPPORTED_FUNCTION),
42 KLABEL(SEC_E_UNTRUSTED_ROOT),
43 KLABEL(SEC_E_WRONG_PRINCIPAL),
44 LASTLABEL
45};
46
47///////////////////////////////////////////////////////////////////////////////
48
49} // namespace rtc