1/*
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
11#include "webrtc/base/win32.h"
12#include "webrtc/base/logging.h"
13
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
50