pam_pkcs11  0.6.10
NSPRerrs.h
Go to the documentation of this file.
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  *
4  * The contents of this file are subject to the Mozilla Public License Version
5  * 1.1 (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  * http://www.mozilla.org/MPL/
8  *
9  * Software distributed under the License is distributed on an "AS IS" basis,
10  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  * for the specific language governing rights and limitations under the
12  * License.
13  *
14  * The Original Code is the Netscape security libraries.
15  *
16  * The Initial Developer of the Original Code is
17  * Netscape Communications Corporation.
18  * Portions created by the Initial Developer are Copyright (C) 1994-2000
19  * the Initial Developer. All Rights Reserved.
20  *
21  * Contributor(s):
22  *
23  * Alternatively, the contents of this file may be used under the terms of
24  * either the GNU General Public License Version 2 or later (the "GPL"), or
25  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26  * in which case the provisions of the GPL or the LGPL are applicable instead
27  * of those above. If you wish to allow use of your version of this file only
28  * under the terms of either the GPL or the LGPL, and not to allow others to
29  * use your version of this file under the terms of the MPL, indicate your
30  * decision by deleting the provisions above and replace them with the notice
31  * and other provisions required by the GPL or the LGPL. If you do not delete
32  * the provisions above, a recipient may use your version of this file under
33  * the terms of any one of the MPL, the GPL or the LGPL.
34  *
35  * ***** END LICENSE BLOCK ***** */
36 /* General NSPR 2.0 errors */
37 /* Caller must #include "prerror.h" */
38 
39 ER2( PR_OUT_OF_MEMORY_ERROR, "Memory allocation attempt failed." )
40 ER2( PR_BAD_DESCRIPTOR_ERROR, "Invalid file descriptor." )
41 ER2( PR_WOULD_BLOCK_ERROR, "The operation would have blocked." )
42 ER2( PR_ACCESS_FAULT_ERROR, "Invalid memory address argument." )
43 ER2( PR_INVALID_METHOD_ERROR, "Invalid function for file type." )
44 ER2( PR_ILLEGAL_ACCESS_ERROR, "Invalid memory address argument." )
45 ER2( PR_UNKNOWN_ERROR, "Some unknown error has occurred." )
46 ER2( PR_PENDING_INTERRUPT_ERROR,"Operation interrupted by another thread." )
47 ER2( PR_NOT_IMPLEMENTED_ERROR, "function not implemented." )
48 ER2( PR_IO_ERROR, "I/O function error." )
49 ER2( PR_IO_TIMEOUT_ERROR, "I/O operation timed out." )
50 ER2( PR_IO_PENDING_ERROR, "I/O operation on busy file descriptor." )
51 ER2( PR_DIRECTORY_OPEN_ERROR, "The directory could not be opened." )
52 ER2( PR_INVALID_ARGUMENT_ERROR, "Invalid function argument." )
53 ER2( PR_ADDRESS_NOT_AVAILABLE_ERROR, "Network address not available (in use?)." )
54 ER2( PR_ADDRESS_NOT_SUPPORTED_ERROR, "Network address type not supported." )
55 ER2( PR_IS_CONNECTED_ERROR, "Already connected." )
56 ER2( PR_BAD_ADDRESS_ERROR, "Network address is invalid." )
57 ER2( PR_ADDRESS_IN_USE_ERROR, "Local Network address is in use." )
58 ER2( PR_CONNECT_REFUSED_ERROR, "Connection refused by peer." )
59 ER2( PR_NETWORK_UNREACHABLE_ERROR, "Network address is presently unreachable." )
60 ER2( PR_CONNECT_TIMEOUT_ERROR, "Connection attempt timed out." )
61 ER2( PR_NOT_CONNECTED_ERROR, "Network file descriptor is not connected." )
62 ER2( PR_LOAD_LIBRARY_ERROR, "Failure to load dynamic library." )
63 ER2( PR_UNLOAD_LIBRARY_ERROR, "Failure to unload dynamic library." )
64 ER2( PR_FIND_SYMBOL_ERROR,
65 "Symbol not found in any of the loaded dynamic libraries." )
66 ER2( PR_INSUFFICIENT_RESOURCES_ERROR, "Insufficient system resources." )
67 ER2( PR_DIRECTORY_LOOKUP_ERROR,
68 "A directory lookup on a network address has failed." )
69 ER2( PR_TPD_RANGE_ERROR,
70 "Attempt to access a TPD key that is out of range." )
71 ER2( PR_PROC_DESC_TABLE_FULL_ERROR, "Process open FD table is full." )
72 ER2( PR_SYS_DESC_TABLE_FULL_ERROR, "System open FD table is full." )
73 ER2( PR_NOT_SOCKET_ERROR,
74 "Network operation attempted on non-network file descriptor." )
75 ER2( PR_NOT_TCP_SOCKET_ERROR,
76 "TCP-specific function attempted on a non-TCP file descriptor." )
77 ER2( PR_SOCKET_ADDRESS_IS_BOUND_ERROR, "TCP file descriptor is already bound." )
78 ER2( PR_NO_ACCESS_RIGHTS_ERROR, "Access Denied." )
79 ER2( PR_OPERATION_NOT_SUPPORTED_ERROR,
80 "The requested operation is not supported by the platform." )
81 ER2( PR_PROTOCOL_NOT_SUPPORTED_ERROR,
82 "The host operating system does not support the protocol requested." )
83 ER2( PR_REMOTE_FILE_ERROR, "Access to the remote file has been severed." )
84 ER2( PR_BUFFER_OVERFLOW_ERROR,
85 "The value requested is too large to be stored in the data buffer provided." )
86 ER2( PR_CONNECT_RESET_ERROR, "TCP connection reset by peer." )
87 ER2( PR_RANGE_ERROR, "Unused." )
88 ER2( PR_DEADLOCK_ERROR, "The operation would have deadlocked." )
89 ER2( PR_FILE_IS_LOCKED_ERROR, "The file is already locked." )
90 ER2( PR_FILE_TOO_BIG_ERROR,
91 "Write would result in file larger than the system allows." )
92 ER2( PR_NO_DEVICE_SPACE_ERROR, "The device for storing the file is full." )
93 ER2( PR_PIPE_ERROR, "Unused." )
94 ER2( PR_NO_SEEK_DEVICE_ERROR, "Unused." )
95 ER2( PR_IS_DIRECTORY_ERROR,
96 "Cannot perform a normal file operation on a directory." )
97 ER2( PR_LOOP_ERROR, "Symbolic link loop." )
98 ER2( PR_NAME_TOO_LONG_ERROR, "File name is too long." )
99 ER2( PR_FILE_NOT_FOUND_ERROR, "File not found." )
100 ER2( PR_NOT_DIRECTORY_ERROR,
101 "Cannot perform directory operation on a normal file." )
102 ER2( PR_READ_ONLY_FILESYSTEM_ERROR,
103 "Cannot write to a read-only file system." )
104 ER2( PR_DIRECTORY_NOT_EMPTY_ERROR,
105 "Cannot delete a directory that is not empty." )
106 ER2( PR_FILESYSTEM_MOUNTED_ERROR,
107 "Cannot delete or rename a file object while the file system is busy." )
108 ER2( PR_NOT_SAME_DEVICE_ERROR,
109 "Cannot rename a file to a file system on another device." )
110 ER2( PR_DIRECTORY_CORRUPTED_ERROR,
111 "The directory object in the file system is corrupted." )
112 ER2( PR_FILE_EXISTS_ERROR,
113 "Cannot create or rename a filename that already exists." )
114 ER2( PR_MAX_DIRECTORY_ENTRIES_ERROR,
115 "Directory is full. No additional filenames may be added." )
116 ER2( PR_INVALID_DEVICE_STATE_ERROR,
117 "The required device was in an invalid state." )
118 ER2( PR_DEVICE_IS_LOCKED_ERROR, "The device is locked." )
119 ER2( PR_NO_MORE_FILES_ERROR, "No more entries in the directory." )
120 ER2( PR_END_OF_FILE_ERROR, "Encountered end of file." )
121 ER2( PR_FILE_SEEK_ERROR, "Seek error." )
122 ER2( PR_FILE_IS_BUSY_ERROR, "The file is busy." )
123 ER2( PR_IN_PROGRESS_ERROR,
124 "Operation is still in progress (probably a non-blocking connect)." )
125 ER2( PR_ALREADY_INITIATED_ERROR,
126 "Operation has already been initiated (probably a non-blocking connect)." )
127 
128 #ifdef PR_GROUP_EMPTY_ERROR
129 ER2( PR_GROUP_EMPTY_ERROR, "The wait group is empty." )
130 #endif
131 
132 #ifdef PR_INVALID_STATE_ERROR
133 ER2( PR_INVALID_STATE_ERROR, "Object state improper for request." )
134 #endif
135 
136 #ifdef PR_NETWORK_DOWN_ERROR
137 ER2( PR_NETWORK_DOWN_ERROR, "Network is down." )
138 #endif
139 
140 #ifdef PR_SOCKET_SHUTDOWN_ERROR
141 ER2( PR_SOCKET_SHUTDOWN_ERROR, "The socket was previously shut down." )
142 #endif
143 
144 #ifdef PR_CONNECT_ABORTED_ERROR
145 ER2( PR_CONNECT_ABORTED_ERROR, "TCP Connection aborted." )
146 #endif
147 
148 #ifdef PR_HOST_UNREACHABLE_ERROR
149 ER2( PR_HOST_UNREACHABLE_ERROR, "Host is unreachable." )
150 #endif
151 
152 /* always last */
153 ER2( PR_MAX_ERROR, "Placeholder for the end of the list" )
Unable to communicate securely Peer requires high grade encryption which is not supported Unable to find the certificate or key necessary for authentication The server has encountered bad data from the client Unsupported certificate type Client authentication Unable to communicate securely with peer
Definition: SSLerrs.h:71
ER2(PR_FIND_SYMBOL_ERROR, "Symbol not found in any of the loaded dynamic libraries.") ER2(PR_DIRECTORY_LOOKUP_ERROR
A directory lookup on a network address has failed Network operation attempted on non network file descriptor The requested operation is not supported by the platform The value requested is too large to be stored in the data buffer provided Cannot perform a normal file operation on a directory Cannot write to a read only file system Cannot delete or rename a file object while the file system is busy The directory object in the file system is corrupted Directory is full No additional filenames may be added Operation is still in progress(probably a non-blocking connect)." ) ER2( PR_ALREADY_INITIATED_ERROR
security library failure security library
Definition: SECerrs.h:49
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot or matching certificate and private key not found Signature verification too many signers found
Definition: SECerrs.h:182
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot or matching certificate and private key not found Signature verification failed
Definition: SECerrs.h:182
Unable to communicate securely Peer requires high grade encryption which is not supported Unable to find the certificate or key necessary for authentication The server has encountered bad data from the client Unsupported certificate type Client authentication Unable to communicate securely with Peer only supports SSL which is locally disabled SSL peer reports incorrect Message Authentication Code SSL peer rejected your certificate as revoked Cannot connect
Definition: SSLerrs.h:100