Searched refs:policyRef (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecPolicySearch.cpp67 SecPolicyRef* policyRef)
71 RequiredParam(policyRef);
75 *policyRef = policy->handle();
65 SecPolicySearchCopyNext( SecPolicySearchRef searchRef, SecPolicyRef* policyRef) argument
H A DSecPolicySearch.h72 @param policyRef On return, a pointer to a policy reference.
76 OSStatus SecPolicySearchCopyNext(SecPolicySearchRef searchRef, SecPolicyRef *policyRef)
H A DSecPolicy.h142 @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 DSecPolicy.cpp100 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 DTrustSettings.cpp909 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 DSecPolicySearch.cpp67 SecPolicyRef* policyRef)
71 RequiredParam(policyRef);
75 *policyRef = policy->handle();
65 SecPolicySearchCopyNext( SecPolicySearchRef searchRef, SecPolicyRef* policyRef) argument
H A DSecPolicySearch.h72 @param policyRef On return, a pointer to a policy reference.
76 OSStatus SecPolicySearchCopyNext(SecPolicySearchRef searchRef, SecPolicyRef *policyRef)
H A DSecPolicy.h142 @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 DSecPolicy.cpp100 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 DTrustSettings.cpp909 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 DSecPolicySearch.cpp67 SecPolicyRef* policyRef)
71 RequiredParam(policyRef);
75 *policyRef = policy->handle();
65 SecPolicySearchCopyNext( SecPolicySearchRef searchRef, SecPolicyRef* policyRef) argument
H A DSecPolicySearch.h72 @param policyRef On return, a pointer to a policy reference.
76 OSStatus SecPolicySearchCopyNext(SecPolicySearchRef searchRef, SecPolicyRef *policyRef)
H A DSecPolicy.h142 @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 DSecPolicy.cpp100 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 DTrustSettings.cpp909 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 DManifestSigner.h46 SecPolicyRef policyRef, ManifestInternal *manifest) = 0;
H A DSecManifest.h143 @param policyRef A SecPolicyRef used to evaluate the signature. Pass NULL to use the default policy
151 SecPolicyRef policyRef,
H A DSecManifest.cpp101 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 DAppleManifest.h70 SecPolicyRef policyRef, ManifestInternal *manifest);
/macosx-10.9.5/Security-55471.14.18/sec/Security/
H A DSecPolicy.h127 @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 DSecPolicy.c584 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 Dverify_cert.c70 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 Dtrusted_cert_utils.c237 SecPolicyRef policyRef = NULL; local
239 ortn = SecPolicyCopy(CSSM_CERT_X_509v3, oid, &policyRef);
244 return policyRef;
H A Dtrusted_cert_add.c150 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 Dcrypto_cssm.c68 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...]

Completed in 104 milliseconds

12