⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 secerr.h

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 H
📖 第 1 页 / 共 3 页
字号:

#if defined(OS400) && (__OS400_TGTVRM__ >= 510)
#pragma datamodel(P128)
#endif

/*********************************************************************/
/*                                                                   */
/* Licensed Materials - Property of IBM                              */
/*                                                                   */
/* L-GHUS-5VMPGW, L-GHUS-5S3PEE                                      */
/* (C) Copyright IBM Corp. 1989, 2005  All Rights Reserved           */
/*                                                                   */
/* US Government Users Restricted Rights - Use, duplication or       */
/* disclosure restricted by GSA ADP Schedule Contract with           */
/* IBM Corp.                                                         */
/*                                                                   */
/*********************************************************************/


#ifndef SECURE_ERR_DEFS
#define SECURE_ERR_DEFS


#define ERR_SECURE_BUG_1				PKG_SECURE+1
	errortext(ERR_SECURE_BUG_1,			"Security package software error #1")

#define ERR_SECURE_NOKEYFILE			PKG_SECURE+2
	errortext(ERR_SECURE_NOKEYFILE,		"Could not open the ID file")

#define ERR_SECURE_ENCRYPTED			PKG_SECURE+3
	errortext(ERR_SECURE_ENCRYPTED,		"Network traffic is being encrypted at the server's request...")

#define	ERR_SECURE_UNKNOWNFCT			PKG_SECURE+4
	errortext(ERR_SECURE_UNKNOWNFCT,	"Unknown authentication function code")

#define ERR_SECURE_NOCLIENTCERT			PKG_SECURE+5
	errortext(ERR_SECURE_NOCLIENTCERT,	"Your ID has not been certified to access the server")
									
#define	ERR_SECURE_NOSERVERCERT			PKG_SECURE+6
	errortext(ERR_SECURE_NOSERVERCERT,	"The server's ID has not been certified for your access")

#define ERR_SECURE_ESTABLISHED			PKG_SECURE+7
	internaltext(ERR_SECURE_ESTABLISHED,"Password handler already established")

#define ERR_SECURE_BADPASSWORD			PKG_SECURE+8
	errortext(ERR_SECURE_BADPASSWORD,	"Wrong Password. (Passwords are case sensitive - be sure to use correct upper and lower case.)")

#define	ERR_SECURE_PROTOCOL_1			PKG_SECURE+9
	errortext(ERR_SECURE_PROTOCOL_1,	"Security protocol error #1")

#define ERR_SECURE_INVALIDCTX			PKG_SECURE+10
	errortext(ERR_SECURE_INVALIDCTX,	"Security context is invalid")

#define ERR_SECURE_INVRESPONSE			PKG_SECURE+11
	errortext(ERR_SECURE_INVRESPONSE,	"Remote user failed authentication")

#define ERR_SECURE_INVCERTKEY			PKG_SECURE+13
	errortext(ERR_SECURE_INVCERTKEY,	"ID's certificate is invalid")

#define ERR_SECURE_NOUSERINFO			PKG_SECURE+14
	errortext(ERR_SECURE_NOUSERINFO,	"The remote ID was never received")

#define ERR_SECURE_INVTICKET			PKG_SECURE+15
	errortext(ERR_SECURE_INVTICKET,		"Ticket is invalid")

#define ERR_SECURE_FRAUD				PKG_SECURE+16
	errortext(ERR_SECURE_FRAUD,			"Remote user's identity is fraudulent")

#define ERR_SECURE_UNAUTH				PKG_SECURE+17
	errortext(ERR_SECURE_UNAUTH,		"Authentication has not yet been attempted")

#define ERR_SECURE_FAILED_AUTH			PKG_SECURE+18
	errortext(ERR_SECURE_FAILED_AUTH,	"failed to authenticate")

#define ERR_SECURE_TOO_MANY_PWDS		PKG_SECURE+19
	errortext(ERR_SECURE_TOO_MANY_PWDS,	"You cannot require more passwords than there are")

#define ERR_SECURE_ZERO_PWDS			PKG_SECURE+20
	errortext(ERR_SECURE_ZERO_PWDS,		"You must require at least one password")

#define ERR_SECURE_MAX_PWDS				PKG_SECURE+21
	errortext(ERR_SECURE_MAX_PWDS,		"There cannot be more than eight passwords on an ID")

#define	ERR_SECURE_OLDAUTHVERSION		PKG_SECURE+22
	errortext(ERR_SECURE_OLDAUTHVERSION, "Remote authentication protocol version is no longer supported")


#define ERR_SECURE_NOTRUSTED_CLIENTCERT	PKG_SECURE+23
	errortext(ERR_SECURE_NOTRUSTED_CLIENTCERT,	"Your ID has not been certified by a certifier that is trusted by the server")
									
#define	ERR_SECURE_NOTRUSTED_SERVERCERT	PKG_SECURE+24
	errortext(ERR_SECURE_NOTRUSTED_SERVERCERT,	"The server's ID has not been certified by a certifier that you trust")


#define	ERR_SECURE_BADMSGDATA			PKG_SECURE+25
	errortext(ERR_SECURE_BADMSGDATA,	"Network error: message has been corrupted")

#define ERR_SECURE_ZERO_LENGTH_PW		PKG_SECURE+26
	errortext(ERR_SECURE_ZERO_LENGTH_PW,"You must type something; you may not have a zero length password.")

#define ERR_SECURE_SHORTMSG				PKG_SECURE+27
	errortext(ERR_SECURE_SHORTMSG,		"Network authentication message is too short")

#define	ERR_SECURE_EXPIRED_CERT			PKG_SECURE+28
	errortext(ERR_SECURE_EXPIRED_CERT,	"Your certificate has expired")

#define	ERR_SECURE_FUTUREAUTHVERSION	PKG_SECURE+29
	errortext(ERR_SECURE_FUTUREAUTHVERSION, "Remote authentication protocol version is not yet supported")

#define	ERR_SECURE_EXPIRED_UI			PKG_SECURE+30
	errortext(ERR_SECURE_EXPIRED_UI,	"Your User ID has expired")

#define	ERR_SECURE_EXPIRED_SERVERUI		PKG_SECURE+31
	errortext(ERR_SECURE_EXPIRED_SERVERUI,	"The Server's ID has expired")

#define ERR_SECURE_AUTHENTICATING		PKG_SECURE+32
	stringtext(ERR_SECURE_AUTHENTICATING, 	"Verifying your authorization to use server.")

#define ERR_SECURE_DISTINFO_CHANGE		PKG_SECURE+33
	stringtext(ERR_SECURE_DISTINFO_CHANGE, "Authentication error: the remote name, license, or key changed while authenticating")

#define ERR_SECURE_PW_NOT_CONFIRMED		PKG_SECURE+34
	errortext(ERR_SECURE_PW_NOT_CONFIRMED, "The password and its confirmation value are not the same")

#define	ERR_SECURE_PROTOCOL_2			PKG_SECURE+35
	errortext(ERR_SECURE_PROTOCOL_2,	"Security protocol error #2")
#define	ERR_SECURE_BADSESSKEY			PKG_SECURE+36
	errortext(ERR_SECURE_BADSESSKEY,	"An invalid session encryption key was received")
#define	ERR_SECURE_PROTOCOL_4			PKG_SECURE+37
	errortext(ERR_SECURE_PROTOCOL_4,	"Security protocol error #4")
#define	ERR_SECURE_PROTOCOL_5			PKG_SECURE+38
	errortext(ERR_SECURE_PROTOCOL_5,	"Security protocol error #5")
#define	ERR_SECURE_PROTOCOL_6			PKG_SECURE+39
	errortext(ERR_SECURE_PROTOCOL_6,	"Security protocol error #6")
#define	ERR_SECURE_UNKNOWN_MSG			PKG_SECURE+40
	errortext(ERR_SECURE_UNKNOWN_MSG,	"Unknown authentication message type was received")
#define	ERR_SECURE_PROTOCOL_8			PKG_SECURE+41
	errortext(ERR_SECURE_PROTOCOL_8,	"Security protocol error #8")
#define	ERR_SECURE_RCVUNEXPMSG			PKG_SECURE+42
	errortext(ERR_SECURE_RCVUNEXPMSG,	"Authentication message received out of sequence")
#define	ERR_SECURE_PROTOCOL_10			PKG_SECURE+43
	errortext(ERR_SECURE_PROTOCOL_10,	"Security protocol error #10")
#define	ERR_SECURE_PROTOCOL_11			PKG_SECURE+44
	errortext(ERR_SECURE_PROTOCOL_11,	"Security protocol error #11")

#define STR_PTCONNECT_IGNORED_RLAN_CONNREC	PKG_SECURE+49
	stringtext(STR_PTCONNECT_IGNORED_RLAN_CONNREC,	"Ignoring connection document because service '%s ' is not available")
#define	ERR_SECURE_NOKEYMATCH			PKG_SECURE+50
	errortext(ERR_SECURE_NOKEYMATCH,	"Your public key does not match the one stored in the Address Book")
#define	ERR_SECURE_SERVER_EXPIRED_CERT	PKG_SECURE+51
	errortext(ERR_SECURE_SERVER_EXPIRED_CERT,	"The server's certificate has expired")
#define	ERR_SECURE_NO_SERVER_CROSS_CERT	PKG_SECURE+52
	errortext(ERR_SECURE_NO_SERVER_CROSS_CERT,	"The server's Domino Directory does not contain any cross certificates capable of authenticating you.")
#define	ERR_SECURE_NO_CLIENT_CROSS_CERT	PKG_SECURE+53
	errortext(ERR_SECURE_NO_CLIENT_CROSS_CERT,	"Your Address Book does not contain any cross certificates capable of authenticating the server.")
#define	ERR_SECURE_SERVER_ID_CORRUPT	PKG_SECURE+54
	errortext(ERR_SECURE_SERVER_ID_CORRUPT,	"The server's ID file has been corrupted, or is not an ID file.")
#define	ERR_SECURE_NO_PASSTHRU_CTX		PKG_SECURE+55
	errortext(ERR_SECURE_NO_PASSTHRU_CTX,	"A passthru message was received without the necessary context")
#define	ERR_SECURE_WRONG_STATE			PKG_SECURE+56
	errortext(ERR_SECURE_WRONG_STATE,	"The session is in the wrong state to accept that request")
#define ERR_NETBFR_PASSTHRU				PKG_SECURE+57
	internaltext(ERR_NETBFR_PASSTHRU,	"The session has been put into Passthru mode")
#define	ERR_SECURE_ILL_PASSTHRU_FCT		PKG_SECURE+58
	errortext(ERR_SECURE_ILL_PASSTHRU_FCT,	"Passthru function codes is not recognized")

#define ERR_PASSTHRU_SERVER_ON_PATH		PKG_SECURE+59
	errortext(ERR_PASSTHRU_SERVER_ON_PATH,	"Would pass through a server more than once")

#define	ERR_PASSTHRU_TOO_DEEP			PKG_SECURE+60
	errortext(ERR_PASSTHRU_TOO_DEEP,	"Server is too many hops away to establish a connection")
#define	ERR_LITE_TRANS_VIA_PT			PKG_SECURE+61
	errortext(ERR_LITE_TRANS_VIA_PT,	"Lite transaction attempted over passthru")

#define ERR_SECURE_BUG_2				PKG_SECURE+62
	errortext(ERR_SECURE_BUG_2,			"Security package software error #2")
#define ERR_SECURE_BUG_3				PKG_SECURE+63
	errortext(ERR_SECURE_BUG_3,			"Security package software error #3")
#define ERR_SECURE_BUG_4				PKG_SECURE+64
	errortext(ERR_SECURE_BUG_4,			"Security package software error #4")
#define ERR_SECURE_BUG_5				PKG_SECURE+65
	errortext(ERR_SECURE_BUG_5,			"Security package software error #5")
#define ERR_SECURE_BUG_6				PKG_SECURE+66
	errortext(ERR_SECURE_BUG_6,			"Security package software error #6")
#define ERR_SECURE_BUG_7				PKG_SECURE+67
	errortext(ERR_SECURE_BUG_7,			"Security package software error #7")
#define ERR_SECURE_BUG_8				PKG_SECURE+68
	errortext(ERR_SECURE_BUG_8,			"Security package software error #8")
#define ERR_SECURE_BUG_9				PKG_SECURE+69
	errortext(ERR_SECURE_BUG_9,			"Security package software error #9")
#define ERR_SECURE_MISSING_INITBLOCK	PKG_SECURE+70
	errortext(ERR_SECURE_MISSING_INITBLOCK, "Internal authentication error: missing initialization block")
#define ERR_SECURE_MISSING_OBJECT		PKG_SECURE+71
	errortext(ERR_SECURE_MISSING_OBJECT, "Internal authentication error: missing memory object")
#define ERR_SECURE_PROPOSED_ALTNAME_NOT_USED	PKG_SECURE+78
	errortext(ERR_SECURE_PROPOSED_ALTNAME_NOT_USED, "The proposed alternate name could not be used because an alternate name has already been assigned.")
#define ERR_SECURE_NOT_ALT_ANCESTOR		PKG_SECURE+79
	errortext(ERR_SECURE_NOT_ALT_ANCESTOR, "The Certifying Authority has not been assigned an alternate name which is an ancestor of the alternate name specified.")

/*	Start again with PKG_SECURE+80 to leave room for expanding the _BUG codes */

#define	ERR_PASSTHRU_MORE_HOPS			PKG_SECURE+80
	errortext(ERR_PASSTHRU_MORE_HOPS,	"More hops to follow")
#define	ERR_PASSTHRU_FAILED				PKG_SECURE+81
	errortext(ERR_PASSTHRU_FAILED,		"Passthru connect to remote server failed")
#define ERR_SECURE_NON_PTSERVER			PKG_SECURE+82
	errortext(ERR_SECURE_NON_PTSERVER,	"The server just connected to is not a Passthru server")

/*	Passthru trace/log strings. */

#define	STR_PTLOG_CONNECTED_TO			PKG_SECURE+83
	stringtext(STR_PTLOG_CONNECTED_TO,	"Connected to")

#define ERR_SECURE_NT_SETPASSWORD		PKG_SECURE+84
	errortext(ERR_SECURE_NT_SETPASSWORD, "You may need to manually change your Windows password to match your new Notes password.  Unable to proceed with Windows password change")

#define STR_PTCONNECT_FOUND_ADDRESS		PKG_SECURE+85
	stringtext(STR_PTCONNECT_FOUND_ADDRESS,	"Obtained Address '%s' on %s from server document or other connection document")

#define STR_PTLOG_USE_PORT				PKG_SECURE+86
	stringtext(STR_PTLOG_USE_PORT,		"Connecting to %a over %s")
#define STR_PTLOG_ERROR					PKG_SECURE+87
	stringtext(STR_PTLOG_ERROR,			"Local Error:")
#define STR_PTLOG_PASSTHRU_TO			PKG_SECURE+88
	stringtext(STR_PTLOG_PASSTHRU_TO,	"Asking server for connection to")
#define STR_PTLOG_AUTHENTICATE_WITH		PKG_SECURE+89
	stringtext(STR_PTLOG_AUTHENTICATE_WITH,	"Authenticating with")
#define STR_PTLOG_MAX_BUF				PKG_SECURE+90
	stringtext(STR_PTLOG_MAX_BUF,		"Buffer size =")
#define STR_PTLOG_PATH_LENGTH			PKG_SECURE+91
	stringtext(STR_PTLOG_PATH_LENGTH,	"Path length = %u, including %u slow links")

#define STR_PTLOG_LEVEL_NONE			PKG_SECURE+92
	stringtext(STR_PTLOG_LEVEL_NONE,	"Nothing")
#define STR_PTLOG_USE_HOP				PKG_SECURE+93
	stringtext(STR_PTLOG_USE_HOP,		"Add server")


#define STR_PTLOG_REMOTE_PORT			PKG_SECURE+94

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -