/macosx-10.9.5/Security-55471.14.18/include/security_keychain/ |
H A D | SecPolicySearch.cpp | 67 SecPolicyRef* policyRef) 71 RequiredParam(policyRef); 75 *policyRef = policy->handle(); 65 SecPolicySearchCopyNext( SecPolicySearchRef searchRef, SecPolicyRef* policyRef) argument
|
H A D | SecPolicySearch.h | 72 @param policyRef On return, a pointer to a policy reference. 76 OSStatus SecPolicySearchCopyNext(SecPolicySearchRef searchRef, SecPolicyRef *policyRef)
|
H A D | SecPolicy.h | 142 @param policyRef A policy reference. 150 CFDictionaryRef SecPolicyCopyProperties(SecPolicyRef policyRef) 336 @param policyRef A policy reference. 342 OSStatus SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID *oid) 348 @param policyRef A policy reference. 354 OSStatus SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA *value) 360 @param policyRef A policy reference. 369 OSStatus SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value) 375 @param policyRef A policy reference. 386 OSStatus SecPolicySetProperties(SecPolicyRef policyRef, [all...] |
H A D | SecPolicy.cpp | 100 SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID* oid) argument 103 Required(oid) = Policy::required(policyRef)->oid(); 108 SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA* value) argument 111 Required(value) = Policy::required(policyRef)->value(); 116 SecPolicyCopyProperties(SecPolicyRef policyRef) argument 121 result = Policy::required(policyRef)->properties(); 133 SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value) argument 138 Policy::required(policyRef)->setValue(newValue); 143 SecPolicySetProperties(SecPolicyRef policyRef, CFDictionaryRef properties) argument 146 Policy::required(policyRef) 151 SecPolicyGetTPHandle(SecPolicyRef policyRef, CSSM_TP_HANDLE* tpHandle) argument [all...] |
H A D | TrustSettings.cpp | 909 SecPolicyRef policyRef = NULL; local 912 OSStatus ortn = SecPolicyCopy(CSSM_CERT_X_509v3, &policyOid, &policyRef); 917 CFDictionaryAddValue(outTsDict, kSecTrustSettingsPolicy, policyRef); 918 CFRelease(policyRef); // owned by dictionary
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/ |
H A D | SecPolicySearch.cpp | 67 SecPolicyRef* policyRef) 71 RequiredParam(policyRef); 75 *policyRef = policy->handle(); 65 SecPolicySearchCopyNext( SecPolicySearchRef searchRef, SecPolicyRef* policyRef) argument
|
H A D | SecPolicySearch.h | 72 @param policyRef On return, a pointer to a policy reference. 76 OSStatus SecPolicySearchCopyNext(SecPolicySearchRef searchRef, SecPolicyRef *policyRef)
|
H A D | SecPolicy.h | 142 @param policyRef A policy reference. 150 CFDictionaryRef SecPolicyCopyProperties(SecPolicyRef policyRef) 336 @param policyRef A policy reference. 342 OSStatus SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID *oid) 348 @param policyRef A policy reference. 354 OSStatus SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA *value) 360 @param policyRef A policy reference. 369 OSStatus SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value) 375 @param policyRef A policy reference. 386 OSStatus SecPolicySetProperties(SecPolicyRef policyRef, [all...] |
H A D | SecPolicy.cpp | 100 SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID* oid) argument 103 Required(oid) = Policy::required(policyRef)->oid(); 108 SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA* value) argument 111 Required(value) = Policy::required(policyRef)->value(); 116 SecPolicyCopyProperties(SecPolicyRef policyRef) argument 121 result = Policy::required(policyRef)->properties(); 133 SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value) argument 138 Policy::required(policyRef)->setValue(newValue); 143 SecPolicySetProperties(SecPolicyRef policyRef, CFDictionaryRef properties) argument 146 Policy::required(policyRef) 151 SecPolicyGetTPHandle(SecPolicyRef policyRef, CSSM_TP_HANDLE* tpHandle) argument [all...] |
H A D | TrustSettings.cpp | 909 SecPolicyRef policyRef = NULL; local 912 OSStatus ortn = SecPolicyCopy(CSSM_CERT_X_509v3, &policyOid, &policyRef); 917 CFDictionaryAddValue(outTsDict, kSecTrustSettingsPolicy, policyRef); 918 CFRelease(policyRef); // owned by dictionary
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/ |
H A D | SecPolicySearch.cpp | 67 SecPolicyRef* policyRef) 71 RequiredParam(policyRef); 75 *policyRef = policy->handle(); 65 SecPolicySearchCopyNext( SecPolicySearchRef searchRef, SecPolicyRef* policyRef) argument
|
H A D | SecPolicySearch.h | 72 @param policyRef On return, a pointer to a policy reference. 76 OSStatus SecPolicySearchCopyNext(SecPolicySearchRef searchRef, SecPolicyRef *policyRef)
|
H A D | SecPolicy.h | 142 @param policyRef A policy reference. 150 CFDictionaryRef SecPolicyCopyProperties(SecPolicyRef policyRef) 336 @param policyRef A policy reference. 342 OSStatus SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID *oid) 348 @param policyRef A policy reference. 354 OSStatus SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA *value) 360 @param policyRef A policy reference. 369 OSStatus SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value) 375 @param policyRef A policy reference. 386 OSStatus SecPolicySetProperties(SecPolicyRef policyRef, [all...] |
H A D | SecPolicy.cpp | 100 SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID* oid) argument 103 Required(oid) = Policy::required(policyRef)->oid(); 108 SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA* value) argument 111 Required(value) = Policy::required(policyRef)->value(); 116 SecPolicyCopyProperties(SecPolicyRef policyRef) argument 121 result = Policy::required(policyRef)->properties(); 133 SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value) argument 138 Policy::required(policyRef)->setValue(newValue); 143 SecPolicySetProperties(SecPolicyRef policyRef, CFDictionaryRef properties) argument 146 Policy::required(policyRef) 151 SecPolicyGetTPHandle(SecPolicyRef policyRef, CSSM_TP_HANDLE* tpHandle) argument [all...] |
H A D | TrustSettings.cpp | 909 SecPolicyRef policyRef = NULL; local 912 OSStatus ortn = SecPolicyCopy(CSSM_CERT_X_509v3, &policyOid, &policyRef); 917 CFDictionaryAddValue(outTsDict, kSecTrustSettingsPolicy, policyRef); 918 CFRelease(policyRef); // owned by dictionary
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_manifest/lib/ |
H A D | ManifestSigner.h | 46 SecPolicyRef policyRef, ManifestInternal *manifest) = 0;
|
H A D | SecManifest.h | 143 @param policyRef A SecPolicyRef used to evaluate the signature. Pass NULL to use the default policy 151 SecPolicyRef policyRef,
|
H A D | SecManifest.cpp | 101 SecPolicyRef policyRef, 121 policyRef, manifest == NULL ? NULL : &mp->GetManifestInternal ()); 96 SecManifestVerifySignatureWithPolicy(CFDataRef data, SecManifestTrustSetupCallback setupCallback, void* setupContext, SecManifestTrustEvaluateCallback evaluateCallback, void* evaluateContext, SecPolicyRef policyRef, SecManifestRef *manifest) argument
|
H A D | AppleManifest.h | 70 SecPolicyRef policyRef, ManifestInternal *manifest);
|
/macosx-10.9.5/Security-55471.14.18/sec/Security/ |
H A D | SecPolicy.h | 127 @param policyRef A policy reference. 135 CFDictionaryRef SecPolicyCopyProperties(SecPolicyRef policyRef) 321 @param policyRef A policy reference. 327 OSStatus SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID *oid) 333 @param policyRef A policy reference. 339 OSStatus SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA *value) 345 @param policyRef A policy reference. 354 OSStatus SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value) 360 @param policyRef A policy reference. 371 OSStatus SecPolicySetProperties(SecPolicyRef policyRef, [all...] |
H A D | SecPolicy.c | 584 CFDictionaryRef SecPolicyCopyProperties(SecPolicyRef policyRef) { argument 587 if (!policyRef) return NULL; 591 CFStringRef oid = (CFStringRef) CFRetain(policyRef->_oid); 662 if (nameKey && policyRef->_options) { 663 CFTypeRef name = (CFTypeRef) CFDictionaryGetValue(policyRef->_options, 704 OSStatus SecPolicySetProperties(SecPolicyRef policyRef, CFDictionaryRef properties) { argument 707 if (!(policyRef && properties && (CFDictionaryGetTypeID() == CFGetTypeID(properties)))) { 710 CFStringRef oid = (CFStringRef) CFRetain(policyRef->_oid); 723 SecPolicySetOptionsValue(policyRef, kSecPolicyCheckSSLHostname, name); 731 SecPolicySetOptionsValue(policyRef, kSecPolicyCheckEAPTrustedServerName [all...] |
/macosx-10.9.5/SecurityTool-55115/ |
H A D | verify_cert.c | 70 SecPolicyRef policyRef = NULL; local 191 ortn = SecPolicySearchCopyNext(searchRef, &policyRef); 207 ortn = SecPolicySetValue(policyRef, &optionData); 223 ortn = SecPolicySetValue(policyRef, &optionData); 233 ortn = SecTrustCreateWithCertificates(certs, policyRef, &trustRef); 323 CFRELEASE(policyRef);
|
H A D | trusted_cert_utils.c | 237 SecPolicyRef policyRef = NULL; local 239 ortn = SecPolicyCopy(CSSM_CERT_X_509v3, oid, &policyRef); 244 return policyRef;
|
H A D | trusted_cert_add.c | 150 SecPolicyRef policyRef = oidToPolicy(oid); local 151 if(policyRef == NULL) { 154 CFDictionaryAddValue(*dict, kSecTrustSettingsPolicy, policyRef); 155 CFRelease(policyRef);
|
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/ |
H A D | crypto_cssm.c | 68 static OSStatus EvaluateCert(SecCertificateRef evalCertArray[], CFIndex evalCertArrayNumValues, CFTypeRef policyRef, SecKeyRef *publicKeyRef); 76 SecPolicyRef policyRef = NULL; local 88 policyRef = SecPolicyCreateWithProperties(kSecPolicyAppleIPsec, properties); 91 return policyRef; 221 SecPolicyRef policyRef = crypto_cssm_x509cert_get_SecPolicyRef(hostname); local 272 status = EvaluateCert(certArrayRef, certArrayRefNumValues, policyRef, publicKeyRef); 279 if (policyRef) 280 CFRelease(policyRef); 439 static OSStatus EvaluateCert(SecCertificateRef evalCertArray[], CFIndex evalCertArrayNumValues, CFTypeRef policyRef, SecKeyRef *publicKeyRef) argument 456 status = SecTrustCreateWithCertificates(cfCertRef, policyRef, [all...] |