/opensolaris-onvv-gate/usr/src/lib/libkmsagent/common/ |
H A D | KMSClientProfile.cpp | 216 void LogError_function(KMSClientProfile *i_pProfile, argument 223 FATAL_ASSERT( i_pProfile && i_sOperation ); 256 strncpy(i_pProfile->m_wsErrorString, 261 i_pProfile->m_wsErrorString[KMS_MAX_ERROR_STRING] = 0; 265 strncat(i_pProfile->m_wsErrorString, 272 strncat(i_pProfile->m_wsErrorString, 275 strncat(i_pProfile->m_wsErrorString, 282 strncat(i_pProfile->m_wsErrorString, 285 strncat(i_pProfile->m_wsErrorString, 291 i_pProfile 416 KMSClient_GetLastErrorMessage(KMSClientProfile *i_pProfile) argument 434 KMSClient_RetrieveEntityCertificate( KMSClientProfile* i_pProfile, utf8cstr i_wsEntityID, utf8cstr i_wsPassphrase, char* const o_sHexHashedPassphrase ) argument 1217 LoadClusterInformation( KMSClientProfile* i_pProfile, int& o_bClusterInformationFound ) argument 1848 ClusterConfigChanged( KMSClientProfile const *i_pProfile, char * const i_sResponseEntitySiteID, struct KMS_Discovery::KMS_Discovery__ArrayOfClusterMembers const *i_pFilteredCluster) argument 2241 KMSClient_GetClusterInformation( KMSClientProfile *i_pProfile, utf8char *o_wsEntitySiteID, int i_iEntitySiteIDSize, int *o_pApplianceNum, KMSClusterEntry *o_pClusterEntryArray, int i_iClusterEntryArraySize) argument 2713 KMSClient_NoFIPSCompatibleKMAs(const KMSClientProfile * const i_pProfile) argument 2731 KMSClient_SelectAppliance(KMSClientProfile *i_pProfile, utf8char *i_wsApplianceAddress) argument 2808 KMSClient_UnloadProfile(KMSClientProfile *i_pProfile) argument [all...] |
H A D | KMSAgent.h | 587 * @param i_pProfile an initialized #KMSClientProfile; the failed 593 KMSClientProfile* i_pProfile ); 611 * @param i_pProfile a pointer to an initialized #KMSClientProfile structure 629 KMSClientProfile * const i_pProfile, 640 * @param i_pProfile a pointer to an initialized #KMSClientProfile 652 KMSClientProfile* const i_pProfile, 749 * @param i_pProfile a pointer to an initialized KMSClientProfile 757 KMSClientProfile* const i_pProfile ); 779 * @param i_pProfile an initialized #KMSClientProfile 795 KMSClientProfile* const i_pProfile, [all...] |
H A D | KMSAgentStorage.cpp | 172 static bool Profile_WriteConfigFile(KMSClientProfile *i_pProfile, argument 175 FATAL_ASSERT( i_pProfile ); 178 CAutoMutex oAutoMutex( (K_MUTEX_HANDLE)i_pProfile->m_pLock ); 193 LogError(i_pProfile, 207 const char* const sProfileName = i_pProfile->m_wsProfileName; 209 sp += K_snprintf(sp, sizeof(i_pProfile->m_wsProfileName), "ProfileName=%s\n", sProfileName); 211 sp += K_snprintf(sp, sizeof(i_pProfile->m_wsProfileName), "AgentID=%s\n", i_pProfile->m_wsEntityID); 213 sp += K_snprintf(sp, sizeof(i_pProfile->m_wsProfileName), "ClusterDiscoveryFrequency=%d\n", 214 i_pProfile 262 Profile_ReadConfigFile( KMSClientProfile *i_pProfile, const char *i_pFileName) argument 1017 StoreCACertificate( KMSClientProfile* const i_pProfile, CCertificate* const i_pCACertificate ) argument 1058 StoreAgentPKI( KMSClientProfile* const i_pProfile, CCertificate* const i_pAgentCertificate, CPrivateKey* const i_pAgentPrivateKey, const char* const i_sHexHashedPassphrase ) argument 1202 StoreTempAgentPKI( KMSClientProfile* const i_pProfile, CCertificate* i_pAgentCertificate, CPrivateKey* i_pAgentPrivateKey) argument 1481 K_soap_ssl_client_context( KMSClientProfile* const i_pProfile, struct soap * io_pSoap, unsigned short i_iFlags ) argument [all...] |
H A D | KMSAgent.cpp | 542 * @param i_pProfile pointer to profile 552 KMSClientProfile *i_pProfile, 573 LogError(i_pProfile, 603 LogError(i_pProfile, 619 LogError(i_pProfile, 632 LogError(i_pProfile, 647 <CAgentLoadBalancer *> (i_pProfile->m_pAgentLoadBalancer); 655 LogError(i_pProfile, 670 LogError(i_pProfile, 686 LogError(i_pProfile, 551 CopyDataUnitKeysResponse( KMSClientProfile *i_pProfile, int * const io_pClusterIndex, struct KMS_Agent::KMS_Agent__ArrayOfKeys *i_pKeysResponse) argument 733 KMSAgent_GetLastStatusCode(KMSClientProfile *i_pProfile, int i_iKMAFailoverReturnCode) argument 928 KMSAgent_GetLastErrorMessage(KMSClientProfile* i_pProfile) argument 948 KMSAgent_GetClusterInformation( KMSClientProfile * const i_pProfile, int i_iEntitySiteIDSize, int i_iClusterEntryArraySize, utf8cstr const o_pEntitySiteID, int * const o_pApplianceNum, KMSClusterEntry * const o_pClusterEntryArray) argument 1034 KMSAgent_SelectAppliance( KMSClientProfile * const i_pProfile, utf8cstr const i_pApplianceAddress) argument 1246 KMSAgent_UnloadProfile(KMSClientProfile * const i_pProfile) argument 1312 KMSAgent_ListKeyGroups( KMSClientProfile * const i_pProfile, KMSAgent_ArrayOfKeyGroups* * const o_ppKeyGroups) argument 1474 KMSAgent_CreateKey( KMSClientProfile * const i_pProfile, const KMSAgent_DataUnit * const i_pDataUnit, KEY_GROUP_ID const i_pKeyGroupID, KMSAgent_Key * const o_pKey) argument 1831 KMSAgent_CreateDataUnit( KMSClientProfile * const i_pProfile, const unsigned char * i_pExternalUniqueID, int i_iExternalUniqueIDIDLen, utf8cstr const i_pExternalTag, utf8cstr const i_pDescription, KMSAgent_DataUnit * const o_pDataUnit) argument 2089 KMSAgent_DisassociateDataUnitKeys( KMSClientProfile * const i_pProfile, const KMSAgent_DataUnit * const i_pDataUnit) argument 2209 KMSAgent_RetrieveKey( KMSClientProfile * const i_pProfile, const unsigned char * const i_pKeyID, const KMSAgent_DataUnit * const i_pDataUnit, utf8cstr const i_pKeyGroupID, KMSAgent_Key * const o_pKey) argument 2543 KMSAgent_RetrieveDataUnit( KMSClientProfile * const i_pProfile, const unsigned char * const i_pDataUnitID, const unsigned char * const i_pExternalUniqueID, int i_iExternalUniqueIDLen, utf8cstr const i_pExternalTag, utf8cstr const i_pDescription, KMSAgent_DataUnit * const o_pDataUnit) argument 2809 KMSAgent_RetrieveDataUnitByExternalUniqueID( KMSClientProfile * const i_pProfile, const unsigned char* const i_pExternalUniqueID, int i_iExternalUniqueIDLen, utf8cstr const i_pExternalTag, utf8cstr const i_pDescription, KMSAgent_DataUnit * const o_pDataUnit) argument 3064 KMSAgent_RetrieveDataUnitKeys( KMSClientProfile * const i_pProfile, const KMSAgent_DataUnit * const i_pDataUnit, int i_iPageSize, int i_iPageOffset, int* const o_piKeysRemaining, const unsigned char * const i_pKeyID, KMSAgent_ArrayOfKeys* * const o_ppKeys) argument 3324 KMSAgent_RetrieveProtectAndProcessKey( KMSClientProfile * const i_pProfile, const KMSAgent_DataUnit * const i_pDataUnit, utf8cstr const i_pKeyGroupID, KMSAgent_Key * const o_pKey) argument 3686 KMSAgent_CreateAuditLog( KMSClientProfile* i_pProfile, enum KMS_AUDIT_LOG_RETENTION i_iRetention, enum KMS_AUDIT_LOG_CONDITION i_iCondition, int i_bIssueAlert, utf8cstr i_pMessage) argument 3828 KMSAgent_ChangeLocalPWD( KMSClientProfile* i_pProfile, utf8cstr const i_pOldPassphrase, utf8cstr const i_pNewPassphrase) argument [all...] |
H A D | KMSAgentStorage.h | 66 KMSClientProfile* const i_pProfile ); 72 KMSClientProfile* const i_pProfile ); 99 KMSClientProfile* const i_pProfile, 128 KMSClientProfile* const i_pProfile, 153 * @param i_pProfile The profile must contain a reference to the CA certificate and for 164 KMSClientProfile* const i_pProfile,
|
H A D | KMSAgentLoadBalancer.cpp | 77 CAgentLoadBalancer::CAgentLoadBalancer (KMSClientProfile * const i_pProfile) argument 78 : m_pProfile (i_pProfile), 90 i_pProfile->m_wsApplianceAddress, 1097 void CAgentLoadBalancer::KMSClient_SortClusterArray (KMSClientProfile * const i_pProfile) argument 1099 FATAL_ASSERT(i_pProfile); 1101 CAutoMutex oAutoMutex((K_MUTEX_HANDLE) i_pProfile->m_pLock); 1107 for (i = 0; i < i_pProfile->m_iClusterNum; i++) 1109 if ((i_pProfile->m_aCluster[i].m_iEnabled == FALSE 1110 || i_pProfile->m_aCluster[i].m_iResponding == FALSE 1111 || i_pProfile [all...] |
H A D | KMSAgentLoadBalancer.h | 42 KMSClientProfile * const i_pProfile ); 228 KMSClientProfile * const i_pProfile);
|
H A D | KMSClientProfileImpl.h | 91 utf8cstr KMSClient_GetLastErrorMessage(KMSClientProfile *i_pProfile); 112 * i_pProfile -- a pointer to an initialized KMSClientProfile structure 128 bool KMSClient_GetClusterInformation(KMSClientProfile *i_pProfile, 139 bool KMSClient_NoFIPSCompatibleKMAs(const KMSClientProfile * const i_pProfile); 149 * i_pProfile -- a pointer to an initialized KMSClientProfile structure 159 bool KMSClient_SelectAppliance(KMSClientProfile *i_pProfile, 165 * @param i_pProfile a pointer that may, or may not be to a loaded profile 169 bool KMSClient_ProfileLoaded( KMSClientProfile *i_pProfile ); 198 * i_pProfile -- a pointer to an initialized KMSClientProfile structure 206 bool KMSClient_UnloadProfile(KMSClientProfile *i_pProfile); [all...] |