Searched refs:inPassword (Results 1 - 20 of 20) sorted by relevance

/macosx-10.9.5/MITKerberosShim-62.1/PrivateKerberos/
H A DKerberosLoginPrivate.h108 const char *inPassword);
/macosx-10.9.5/MITKerberosShim-62.1/Kerberos/
H A DKerberosLogin.h224 const char *inPassword,
230 const char *inPassword,
268 const char *inPassword,
275 const char *inPassword,
282 const char *inPassword,
/macosx-10.9.5/MITKerberosShim-62.1/include/
H A Dmit-KerberosLogin.h213 const char *inPassword,
219 const char *inPassword,
250 const char *inPassword,
255 const char *inPassword,
260 const char *inPassword,
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KClient/
H A DKClient.h141 /* * KClient 3.0 API declarations * See KClient30-API.html * * $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KClient/KClient.h,v 1.4 2005/01/10 19:17:31 snsimon Exp $ */ #ifndef __KCLIENT__ #define __KCLIENT__ /* Constants */ enum { /* No error */ kcNoError = 0, /* General runtime errors */ kcErrNoMemory = 23000, kcErrBadParam, /* Various invalid structures */ kcErrInvalidSession = 23010, kcErrInvalidPrincipal, kcErrInvalidAddress, kcErrInvalidFile, /* Missing required settings in the session */ kcErrNoClientPrincipal = 23020, kcErrNoServerPrincipal, kcErrNoLocalAddress, kcErrNoRemoteAddress, kcErrNoSessionKey, kcErrNoServiceKey, kcErrNoChecksum, kcErrNotLoggedIn = 23030, kcErrUserCancelled, kcErrIncorrectPassword, kcErrBufferTooSmall = 23040, kcErrKeyFileAccess, kcErrFileNotFound, kcErrInvalidPreferences, kcErrChecksumMismatch, kcFirstKerberosError = 20000, kcLastKerberosError = kcFirstKerberosError + 256 }; #ifndef rez #include <KerberosSupport/KerberosSupport.h> #include <CredentialsCache/CredentialsCache.h> #include <KerberosProfile/KerberosProfile.h> #include <KerberosDES/KerberosDES.h> #include <KClient/KClientTypes.h> #if TARGET_API_MAC_OSX && TARGET_API_MAC_CARBON #include <CoreServices/CoreServices.h> #elif TARGET_API_MAC_OS8 || TARGET_API_MAC_CARBON #include <Files.h> #else #error "Unknown OS" #endif #ifdef __cplusplus extern "C" { #endif /* Functions */ OSStatus KClientGetVersion ( UInt16* outMajorVersion, UInt16* outMinorVersion, const char** outVersionString); /* Initialization / destruction */ OSStatus KClientNewClientSession ( KClientSession* outSession); OSStatus KClientNewServerSession ( KClientSession* inSession, KClientPrincipal inService); OSStatus KClientDisposeSession ( KClientSession inSession); /* Accessing session properties */ OSStatus KClientGetClientPrincipal ( KClientSession inSession, KClientPrincipal* outPrincipal); OSStatus KClientSetClientPrincipal ( KClientSession inSession, KClientPrincipal inPrincipal); OSStatus KClientGetServerPrincipal ( KClientSession inSession, KClientPrincipal* outPrincipal); OSStatus KClientSetServerPrincipal ( KClientSession inSession, KClientPrincipal inPrincipal); OSStatus KClientGetLocalAddress ( KClientSession inSession, KClientAddress* outLocalAddress); OSStatus KClientSetLocalAddress ( KClientSession inSession, const KClientAddress* inLocalAddress); OSStatus KClientGetRemoteAddress ( KClientSession inSession, KClientAddress* outRemoteAddress); OSStatus KClientSetRemoteAddress ( KClientSession inSession, const KClientAddress* inRemoteAddress); OSStatus KClientGetSessionKey ( KClientSession inSession, KClientKey* outKey); OSStatus KClientGetExpirationTime ( KClientSession inSession, UInt32* outExpiration); OSStatus KClientSetKeyFile ( KClientSession inSession, const KClientFile* inKeyFile); /* Logging in and out (client) */ OSStatus KClientLogin ( KClientSession inSession); OSStatus KClientPasswordLogin ( KClientSession inSession, const char* inPassword); OSStatus KClientKeyFileLogin ( KClientSession inSession); /*OSStatus KClientKeyLogin ( KClientSession inSession, const KClientKey* inKey);*/ OSStatus KClientLogout ( KClientSession inSession); /* Accessing service keys (server) */ OSStatus KClientGetServiceKey ( KClientSession inSession, UInt32 inVersion, KClientKey* outKey); OSStatus KClientAddServiceKey ( KClientSession inSession, UInt32 inVersion, const KClientKey* inKey); /* Authenticating to a service (client) */ OSStatus KClientGetTicketForService ( KClientSession inSession, UInt32 inChecksum, void* outBuffer, UInt32* ioBufferLength); OSStatus KClientGetAuthenticatorForService ( KClientSession inSession, UInt32 inChecksum, const char* inApplicationVersion, void* outBuffer, UInt32* ioBufferLength); OSStatus KClientVerifyEncryptedServiceReply ( KClientSession inSession, const void* inBuffer, UInt32 inBufferLength); OSStatus KClientVerifyProtectedServiceReply ( KClientSession inSession, const void* inBuffer, UInt32 inBufferLength); /* Authenticating a client (server) */ OSStatus KClientVerifyAuthenticator ( KClientSession inSession, const void* inBuffer, UInt32 inBufferLength); OSStatus KClientGetEncryptedServiceReply ( KClientSession inSession, void* outBuffer, UInt32* ioBufferSize); OSStatus KClientGetProtectedServiceReply ( KClientSession inSession, void* outBuffer, UInt32* ioBufferSize); /* Communicating between a server and a client */ OSStatus KClientEncrypt ( KClientSession inSession, const void* inPlainBuffer, UInt32 inPlainBufferLength, void* outEncryptedBuffer, UInt32* ioEncryptedBufferLength); OSStatus KClientDecrypt ( KClientSession inSession, void* inEncryptedBuffer, UInt32 inDecryptedBufferLength, UInt32* outPlainOffset, UInt32* outPlainLength); OSStatus KClientProtectIntegrity ( KClientSession inSession, const void* inPlainBuffer, UInt32 inPlainBufferLength, void* outProtectedBuffer, UInt32* ioProtectedBufferLength); OSStatus KClientVerifyIntegrity ( KClientSession inSession, void* inProtectedBuffer, UInt32 inProtectedBufferLength, UInt32* outPlainOffset, UInt32* outPlainLength); /* Miscellaneous */ OSStatus KClientPasswordToKey ( KClientSession inSession, const char* inPassword, KClientKey* outKey); /* Getting to other APIs */ OSStatus KClientGetCCacheReference ( KCl (…)
/macosx-10.9.5/MITKerberosShim-62.1/
H A Dkll.c98 const char *inPassword,
104 inPassword,
112 const char *inPassword,
118 inPassword,
301 const char *inPassword,
321 inPassword,
328 const char *inPassword,
346 inPrincipal, inPassword,
385 const char *inPassword,
1261 const char *inPassword)
96 KLAcquireTicketsWithPassword(KLPrincipal inPrincipal, KLLoginOptions inLoginOptions, const char *inPassword, char **outCredCacheName) argument
110 KLAcquireNewTicketsWithPassword(KLPrincipal inPrincipal, KLLoginOptions inLoginOptions, const char *inPassword, char **outCredCacheName) argument
299 KLAcquireInitialTicketsWithPassword(KLPrincipal inPrincipal, KLLoginOptions inLoginOptions, const char *inPassword, char **outCredCacheName) argument
326 KLAcquireNewInitialTicketsWithPassword(KLPrincipal inPrincipal, KLLoginOptions inLoginOptions, const char *inPassword, char **outCredCacheName) argument
383 KLAcquireNewInitialTicketCredentialsWithPassword(KLPrincipal inPrincipal, KLLoginOptions inLoginOptions, const char *inPassword, void *inV5Context, KLBoolean *outGotV4Credentials, KLBoolean *outGotV5Credentials, void *outV4Credentials, void *outV5Credentials) argument
1260 __KLPrincipalSetKeychainPassword(KLPrincipal inPrincipal, const char *inPassword) argument
[all...]
H A DKrb4DeprecatedAPIs.c704 OSErr KClientPasswordLoginCompat (KClientSessionInfo *inSession, char *inPassword, KClientKey *outPrivateKey) argument
911 OSStatus KClientPasswordLogin (KClientSession inSession, const char *inPassword) argument
1004 OSStatus KClientPasswordToKey (KClientSession inSession, const char *inPassword, KClientKey *outKey) argument
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecKeychainPriv.h42 OSStatus SecKeychainCreateNew(SecKeychainRef keychainRef, UInt32 passwordLength, const char* inPassword);
H A DKeychains.h147 void create(UInt32 passwordLength, const void *inPassword);
149 void create(ConstStringPtr inPassword);
H A DKeychains.cpp466 KeychainImpl::create(UInt32 passwordLength, const void *inPassword) argument
470 if (!inPassword)
480 const CssmData password(const_cast<void *>(inPassword), passwordLength);
486 void KeychainImpl::create(ConstStringPtr inPassword) argument
490 if ( inPassword )
491 create(static_cast<UInt32>(inPassword[0]), &inPassword[1]); local
H A DSecKeychain.cpp918 OSStatus SecKeychainCreateNew(SecKeychainRef keychainRef, UInt32 passwordLength, const char* inPassword) argument
921 RequiredParam(inPassword);
922 KeychainImpl::required(keychainRef)->create(passwordLength, inPassword);
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecKeychainPriv.h42 OSStatus SecKeychainCreateNew(SecKeychainRef keychainRef, UInt32 passwordLength, const char* inPassword);
H A DKeychains.h147 void create(UInt32 passwordLength, const void *inPassword);
149 void create(ConstStringPtr inPassword);
H A DKeychains.cpp466 KeychainImpl::create(UInt32 passwordLength, const void *inPassword) argument
470 if (!inPassword)
480 const CssmData password(const_cast<void *>(inPassword), passwordLength);
486 void KeychainImpl::create(ConstStringPtr inPassword) argument
490 if ( inPassword )
491 create(static_cast<UInt32>(inPassword[0]), &inPassword[1]); local
H A DSecKeychain.cpp918 OSStatus SecKeychainCreateNew(SecKeychainRef keychainRef, UInt32 passwordLength, const char* inPassword) argument
921 RequiredParam(inPassword);
922 KeychainImpl::required(keychainRef)->create(passwordLength, inPassword);
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecKeychainPriv.h42 OSStatus SecKeychainCreateNew(SecKeychainRef keychainRef, UInt32 passwordLength, const char* inPassword);
H A DKeychains.h147 void create(UInt32 passwordLength, const void *inPassword);
149 void create(ConstStringPtr inPassword);
H A DKeychains.cpp466 KeychainImpl::create(UInt32 passwordLength, const void *inPassword) argument
470 if (!inPassword)
480 const CssmData password(const_cast<void *>(inPassword), passwordLength);
486 void KeychainImpl::create(ConstStringPtr inPassword) argument
490 if ( inPassword )
491 create(static_cast<UInt32>(inPassword[0]), &inPassword[1]); local
H A DSecKeychain.cpp918 OSStatus SecKeychainCreateNew(SecKeychainRef keychainRef, UInt32 passwordLength, const char* inPassword) argument
921 RequiredParam(inPassword);
922 KeychainImpl::required(keychainRef)->create(passwordLength, inPassword);
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KClientCompat/
H A DKClientCompat.h83 /* * KClient 1.9 deprecated API * * $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KClientCompat/KClientCompat.h,v 1.4 2005/01/10 19:17:31 snsimon Exp $ */ #ifndef __KCLIENTCOMPAT__ #define __KCLIENTCOMPAT__ /* Constants */ /* Error codes, only listing the ones actually returned by the library */ enum { cKrbMapDoesntExist = -1020, /* tried to access a map that doesn't exist (index too large, or criteria doesn't match anything) */ cKrbSessDoesntExist = -1019, /* tried to access a session that doesn't exist */ cKrbCredsDontExist = -1018, /* tried to access credentials that don't exist */ cKrbUserCancelled = -1016, /* user cancelled a log in operation */ cKrbConfigurationErr = -1015, /* Kerberos Preference file is not configured properly */ cKrbServerRejected = -1014, /* A server rejected our ticket */ cKrbServerImposter = -1013, /* Server appears to be a phoney */ cKrbServerRespIncomplete = -1012, /* Server response is not complete */ cKrbNotLoggedIn = -1011, /* Returned by cKrbGetUserName if user is not logged in */ cKrbAppInBkgnd = -1008, /* driver won't put up password dialog when in background */ cKrbInvalidSession = -1007, /* invalid structure passed to KClient/KServer routine */ cKrbKerberosErrBlock = -20000 /* start of block of 256 kerberos error numbers */ }; #ifndef rez #if PRAGMA_ONCE #pragma once #endif /* PRAGMA_ONCE */ #include <Kerberos4/Kerberos4.h> #include <KClient/KClientTypes.h> #ifdef __cplusplus extern "C" { #endif typedef KClientSession KClientSessionInfo; enum { KClientLoggedIn, KClientNotLoggedIn }; OSErr KClientVersionCompat ( SInt16* outMajorVersion, SInt16* outMinorVersion, char* outVersionString); OSErr KClientNewSessionCompat ( KClientSessionInfo* inSession, UInt32 inLocalAddress, UInt16 inLocalPort, UInt32 inRemoteAddress, UInt16 inRemotePort); OSErr KClientDisposeSessionCompat ( KClientSessionInfo* inSession); OSErr KClientGetTicketForServiceCompat ( KClientSessionInfo* inSession, char* inService, void* inBuffer, UInt32* outBufferLength); OSErr KClientGetTicketForServiceWithChecksumCompat ( KClientSessionInfo* inSession, UInt32 inChecksum, char* inService, void* inBuffer, UInt32* outBufferLength); OSErr KClientLoginCompat ( KClientSessionInfo* inSession, KClientKey* outPrivateKey); OSErr KClientPasswordLoginCompat ( KClientSessionInfo* inSession, char* inPassword, KClientKey* outPrivateKey); OSErr KClientLogoutCompat (void); SInt16 KClientStatusCompat (…)
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosLogin/
H A DKerberosLogin.h277 /* * KerberosLogin.h * * $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosLogin/KerberosLogin.h,v 1.4 2005/01/10 19:17:29 snsimon Exp $ * */ /* * This file contains part of the login library API. See * <http://web.mit.edu/macdev/mit/lib/Login/doc/API.html> * for API documentation */ #ifndef __KERBEROSLOGIN__ #define __KERBEROSLOGIN__ /* * * Constants * */ /* Kerberos versions */ enum KLEKerberosVersion { kerberosVersion_Any = 0, kerberosVersion_V4 = 1, kerberosVersion_V5 = 2, kerberosVersion_All = 0xFFFFFFFF }; /* dialog identifier constants */ enum KLEDialogIdentifiers { loginLibrary_LoginDialog, loginLibrary_OptionsDialog, loginLibrary_ChangePasswordDialog, loginLibrary_ProgressDialog, loginLibrary_PrompterDialog }; /* Login dialog items */ enum KLELoginDialogItems { loginDialog_Username, loginDialog_Password, loginDialog_Realm, loginDialog_TicketLifetime, loginDialog_ForwardableTicket }; /* Password dialog items */ enum KLEChangePasswordDialogItems { changePasswordDialog_OldPassword, changePasswordDialog_NewPassword, changePasswordDialog_VerifyPassword }; /* Option identifier constants */ enum KLEDefaultLoginOptions { /* Dialog state options */ loginOption_LoginName = 'name', loginOption_LoginInstance = 'inst', loginOption_AdvancedLoginMode = 'adv ', loginOption_ShowTicketLifetime = 'life', loginOption_ShowForwardableTicket = 'forw', loginOption_ShowProxiableTicket = 'prox', /* Initial values and ranges */ loginOption_RememberPrincipal = 'prin', loginOption_RememberExtras = 'extr', loginOption_MinimalTicketLifetime = '-lif', loginOption_MaximalTicketLifetime = '+lif', loginOption_DefaultTicketLifetime = '0lif', loginOption_LongTicketLifetimeDisplay = 'hms ', loginOption_DefaultForwardableTicket = '0fwd', loginOption_DefaultProxiableTicket = '0prx' }; /* Login mode identifier constants (for loginOption_AdvancedLoginMode) */ enum KLELoginMode { loginMode_Basic = 1, loginMode_Advanced = 2 }; /* Realm list constants */ enum KLERealmListIndexes { realmList_Start = 0, realmList_End = 0xFFFF }; #define klFirstError 19276 #define klLastError 19876 /* Error codes */ enum KLEStatus { klNoErr = 0, /* parameter errors */ klParameterErr = 19276, klBadPrincipalErr, klBadPasswordErr, klBadLoginOptionsErr, klInvalidVersionErr, /* Runtime Login errors */ klUserCanceledErr = 19476, klMemFullErr, klPreferencesReadErr, klPreferencesWriteErr, klV5InitializationFailedErr, klPrincipalDoesNotExistErr, klSystemDefaultDoesNotExistErr, klCredentialsExpiredErr, klNoRealmsErr, klRealmDoesNotExistErr, klNoCredentialsErr, klCredentialsBadAddressErr, klCacheDoesNotExistErr, /* Get/SetKerberosOption errors */ klBufferTooSmallErr = 19376, klBufferTooLargeErr, klInvalidOptionErr, klBadOptionValueErr, /* Password changing errors */ klPasswordMismatchErr = 19576, klInsecurePasswordErr, klPasswordChangeFailedErr, /* Dialog errors */ klDialogDoesNotExistErr = 19676, klDialogAlreadyExistsErr, klNotInForegroundErr, klNoAppearanceErr, klFatalDialogErr, klCarbonUnavailableErr, /* Login IPC errors */ klCantContactServerErr = 19776 }; #ifndef rez /* This stuff will confuse rez */ #include <KerberosSupport/KerberosConditionalMacros.h> #if TARGET_API_MAC_OSX && TARGET_API_MAC_CARBON #include <Carbon/Carbon.h> #elif TARGET_API_MAC_OS8 || TARGET_API_MAC_CARBON #include <Dialogs.h> #include <Events.h> #include <MacTypes.h> #else #error "Unknown OS" #endif #if PRAGMA_ONCE #pragma once #endif #if PRAGMA_IMPORT #pragma import on #endif #ifdef __cplusplus extern "C" { #endif #if PRAGMA_STRUCT_ALIGN #pragma options align=mac68k #elif PRAGMA_STRUCT_PACKPUSH #pragma pack(push, 2) #elif PRAGMA_STRUCT_PACK #pragma pack(2) #endif /* * * Types * */ typedef OSStatus KLStatus; /* one of KLEStatus */ typedef UInt32 KLKerberosVersion; /* one of KLEKerberosVersion */ typedef UInt32 KLDefaultLoginOption; /* one of KLEDefaultLoginOptions */ typedef UInt32 KLLoginMode; /* one of KLELoginMode */ typedef UInt32 KLDialogIdentifier; /* one of KLEDialogIdentifiers */ typedef UInt32 KLIndex; /* index (used for the realm list) */ typedef UInt32 KLLifetime; /* Lifetime in seconds */ typedef UInt32 KLTime; /* Unix time (seconds since 1/1/1970 00:00:00 GMT) */ typedef UInt32 KLSize; /* size of a buffer (KLG/SetDefaultLoginOptions) or realm list (CountKerberosRealms) */ typedef UInt32 KLRefCon; /* application ref con */ typedef Boolean KLBoolean; /* true or false! */ typedef SInt16 KLSInt16; /* used for Darwin-compat for KLApplicationOptions */ /* Callback API for Kerberos Login event filter */ /* Must be the same as an Idle Library event filter */ /* Callback API for Event handler proc for idle loop */ typedef CALLBACK_API (Boolean, KLEventFilterProcPtr) (const EventRecord *theEvent, KLRefCon appData); /* Procinfo for Login Library event filter */ enum { uppKLEventFilterProcInfo = kPascalStackBased | RESULT_SIZE (sizeof (Boolean)) | STACK_ROUTINE_PARAMETER (1, SIZE_CODE (sizeof (const EventRecord *))) | STACK_ROUTINE_PARAMETER (2, SIZE_CODE (sizeof (KLRefCon))) }; #if !TARGET_API_MAC_CARBON /* UPP for Kerberos Login event filter */ typedef STACK_UPP_TYPE (KLEventFilterProcPtr) KLEventFilterUPP; #define NewKLEventFilterProc(userRoutine) \ (KLEventFilterUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), uppKLEventFilterProcInfo, GetCurrentArchitecture()) /* How to call the event Handler UPPs */ #define CallKLEventFilterProc(userRoutine, theEvent, appData) \ ((Boolean)CALL_TWO_PARAMETER_UPP ((userRoutine), uppKLEventFilterProcInfo, theEvent, appData)) #else typedef KLEventFilterProcPtr KLEventFilterUPP; #define NewKLEventFilterProc(userRoutine) \ userRoutine #define CallKLEventFilterProc(userRoutine, theEvent, appData) \ ((userRoutine) (theEvent, appData)) #endif /* Application options */ typedef struct { KLEventFilterUPP eventFilter; KLRefCon eventFilterAppData; KLSInt16 realmsPopupMenuID; KLSInt16 loginModeMenuID; } KLApplicationOptions; /* Principal information */ struct OpaqueKLPrincipal; typedef struct OpaqueKLPrincipal * KLPrincipal; /* Login Options */ struct OpaqueKLLoginOptions; typedef struct OpaqueKLLoginOptions * KLLoginOptions; /* * * Functions * */ /* Kerberos Login high-level API */ KLStatus KLAcquireTickets ( KLPrincipal inPrincipal, KLPrincipal *outPrincipal, char **outCredCacheName); KLStatus KLAcquireNewTickets ( KLPrincipal inPrincipal, KLPrincipal *outPrincipal, char **outCredCacheName); KLStatus KLDestroyTickets (KLPrincipal inPrincipal); KLStatus KLChangePassword (KLPrincipal inPrincipal); /* Kerberos Login dialog low level functions */ KLStatus KLAcquireTicketsWithPassword ( KLPrincipal inPrincipal, KLLoginOptions inLoginOptions, const char *inPassword, char **outCredCacheName); KLStatus KLAcquireNewTicketsWithPassword ( KLPrincipal inPrincipal, KLLoginOptions inLoginOptions, const char *inPassword, char **outCredCacheName); KLStatus KLLastChangedTime (KLTime *outLastChangedTime); KLStatu (…)

Completed in 147 milliseconds