Searched refs:identity (Results 1 - 25 of 372) sorted by relevance

1234567891011>>

/macosx-10.9.5/Security-55471.14.18/sec/Security/
H A DSecIdentity.c58 SecIdentityRef identity = (SecIdentityRef)cf; local
60 CFSTR("<SecIdentityRef: %p>"), identity);
64 SecIdentityRef identity = (SecIdentityRef)cf; local
65 CFReleaseSafe(identity->_certificate);
66 CFReleaseSafe(identity->_privateKey);
80 /* Hash of identity is hash of certificate plus hash of key. */
82 SecIdentityRef identity = (SecIdentityRef)cf; local
83 return CFHash(identity->_certificate) + CFHash(identity->_privateKey);
109 OSStatus SecIdentityCopyCertificate(SecIdentityRef identity, argument
116 SecIdentityCopyPrivateKey(SecIdentityRef identity, SecKeyRef *privateKeyRef) argument
[all...]
H A DSecCMS.h99 @param identity signer
108 OSStatus SecCMSSignDataAndAttributes(SecIdentityRef identity, CFDataRef data,
114 @param identity signer
122 OSStatus SecCMSSignDigestAndAttributes(SecIdentityRef identity, CFDataRef digest,
128 @param identity signer
137 OSStatus SecCMSCreateSignedData(SecIdentityRef identity, CFDataRef data,
157 @abstract open an enveloped cms blob. expects recipients identity in keychain.
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/mech/
H A Dgss_acquire_cred_ex.c55 gss_auth_identity_t identity,
68 identity,
85 gss_auth_identity_t identity,
99 * If no desired_name, make one up from the identity
103 if (identity->username == NULL)
105 if (identity->realm)
106 asprintf(&str, "%s@%s", identity->username, identity->realm);
108 str = strdup(identity->username);
134 buffer.value = identity
50 gss_acquire_cred_ex(const gss_name_t desired_name, OM_uint32 flags, OM_uint32 time_req, gss_const_OID desired_mech, gss_cred_usage_t cred_usage, gss_auth_identity_t identity, gss_acquire_cred_complete complete) argument
79 gss_acquire_cred_ex_f(gss_status_id_t status, gss_name_t desired_name, OM_uint32 flags, OM_uint32 time_req, gss_const_OID desired_mech, gss_cred_usage_t cred_usage, gss_auth_identity_t identity, void * userctx, void (*usercomplete)(void *, OM_uint32, gss_status_id_t, gss_cred_id_t, gss_OID_set, OM_uint32)) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/regressions/
H A Dgencerts.sh7 openssl pkcs12 -export -passout pass:password -out identity-1.p12 -inkey privkey-1.pem -in cert-1.pem
11 xxd -i identity-1.p12 identity-1.h
/macosx-10.9.5/WebCore-7537.78.1/platform/network/
H A DCredential.cpp59 , m_identity(original.identity())
97 Credential::Credential(SecIdentityRef identity, CFArrayRef certificates, CredentialPersistence persistence) argument
101 , m_identity(identity)
107 SecIdentityRef Credential::identity() const function in class:WebCore::Credential
135 // Comparing identity and certificate chain pointers is valid only
138 // FIXME: Is pointer comparison of the identity and certificates properties sufficient?
140 if (a.identity() != b.identity())
145 // We only need to check identity and certificates to compare
/macosx-10.9.5/WebKit2-7537.78.2/Shared/Authentication/mac/
H A DAuthenticationManager.mac.mm47 // The passed-in certificate chain includes the identity certificate at index 0, and additional certificates starting at index 1.
48 SecIdentityRef identity;
49 OSStatus result = SecIdentityCreateWithCertificate(NULL, (SecCertificateRef)CFArrayGetValueAtIndex(chain, 0), &identity);
59 NSURLCredential *credential = [NSURLCredential credentialWithIdentity:identity
/macosx-10.9.5/SecurityTool-55115/
H A Didentity_find.h37 const char *identity,
/macosx-10.9.5/Security-55471.14.18/include/security_smime/
H A Dcmsreclist.c192 SecIdentityRef identity = NULL; local
203 identity = CERT_FindIdentityByIssuerAndSN(keychainOrArray, recipient->id.issuerAndSN);
206 identity = CERT_FindIdentityBySubjectKeyID(keychainOrArray, recipient->id.subjectKeyID);
210 if (identity)
217 if (SecIdentityCopyCertificate(identity, &cert))
219 if (SecIdentityCopyPrivateKey(identity, &privKey))
221 CFRelease(identity);
229 if (identity)
230 CFRelease(identity);
/macosx-10.9.5/Security-55471.14.18/libsecurity_smime/lib/
H A Dcmsreclist.c192 SecIdentityRef identity = NULL; local
203 identity = CERT_FindIdentityByIssuerAndSN(keychainOrArray, recipient->id.issuerAndSN);
206 identity = CERT_FindIdentityBySubjectKeyID(keychainOrArray, recipient->id.subjectKeyID);
210 if (identity)
217 if (SecIdentityCopyCertificate(identity, &cert))
219 if (SecIdentityCopyPrivateKey(identity, &privKey))
221 CFRelease(identity);
229 if (identity)
230 CFRelease(identity);
/macosx-10.9.5/Security-55471.14.18/sec/Security/Regressions/secitem/
H A Dsi-64-ossl-cms.c149 SecIdentityRef identity = NULL; local
153 isnt(identity = SecIdentityCreate(NULL, cert, privKey), NULL, "create identity");
157 ok_status(SecCMSCreateSignedData(identity, detached_data, NULL, NULL, cms_data), "create attached data");
161 ok_status(SecCMSCreateSignedData(identity, detached_data, detached_cms_dict, NULL, cms_data), "create attached data");
165 ok_status(SecCMSCreateSignedData(identity, NULL, NULL, NULL, cms_data), "create attached data");
170 CFReleaseNull(identity);
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/
H A Dssu.c51 dns_name_t *identity; /*%< the identity to match */ member in struct:dns_ssurule
101 if (rule->identity != NULL) {
102 dns_name_free(rule->identity, mctx);
103 isc_mem_put(mctx, rule->identity, sizeof(dns_name_t));
161 dns_name_t *identity, unsigned int matchtype,
170 REQUIRE(dns_name_isabsolute(identity));
183 rule->identity = NULL;
189 rule->identity = isc_mem_get(mctx, sizeof(dns_name_t));
190 if (rule->identity
160 dns_ssutable_addrule(dns_ssutable_t *table, isc_boolean_t grant, dns_name_t *identity, unsigned int matchtype, dns_name_t *name, unsigned int ntypes, dns_rdatatype_t *types) argument
[all...]
/macosx-10.9.5/eap8021x-180/EAP8021X.fproj/
H A DEAPOLClientConfigurationPrivate.h73 EAPOLClientSetACLForIdentity(SecIdentityRef identity);
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecIdentity.h52 @abstract Creates a new identity reference for the given certificate, assuming the associated private key is in one of the specified keychains.
55 @param identityRef On return, an identity reference. You are responsible for releasing this reference by calling the CFRelease function.
66 @abstract Returns a reference to a certificate for the given identity reference.
67 @param identityRef An identity reference.
78 @abstract Returns the private key associated with an identity.
79 @param identityRef An identity reference.
80 @param privateKeyRef On return, a reference to the private key for the given identity. You are responsible for releasing this reference by calling the CFRelease function.
90 @abstract Returns the preferred identity for the specified name and key usage, optionally limiting the result to an identity issued by a certificate whose subject is one of the distinguished names in validIssuers. If a preferred identity doe
[all...]
H A DSecIdentitySearch.h46 @abstract Contains information about an identity search.
64 @param searchRef On return, an identity search reference. You must release the identity search reference by calling the CFRelease function.
66 @discussion You can set values for key usage, and one or more keychains, to control the search for identities. You can use the returned search reference to obtain the remaining identities in subsequent calls to the SecIentitySearchCopyNext function. You must release the identity search reference by calling the CFRelease function.
74 @abstract Finds the next identity matching the given search criteria, as previously specified by a call to SecIdentitySearchCreate or SecIdentitySearchCreateWithAttributes.
75 @param searchRef A reference to the current identity search. You create the identity search reference by calling either SecIdentitySearchCreate or SecIdentitySearchCreateWithAttributes.
76 @param identity On return, an identity reference for the next found identity, i
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecIdentity.h52 @abstract Creates a new identity reference for the given certificate, assuming the associated private key is in one of the specified keychains.
55 @param identityRef On return, an identity reference. You are responsible for releasing this reference by calling the CFRelease function.
66 @abstract Returns a reference to a certificate for the given identity reference.
67 @param identityRef An identity reference.
78 @abstract Returns the private key associated with an identity.
79 @param identityRef An identity reference.
80 @param privateKeyRef On return, a reference to the private key for the given identity. You are responsible for releasing this reference by calling the CFRelease function.
90 @abstract Returns the preferred identity for the specified name and key usage, optionally limiting the result to an identity issued by a certificate whose subject is one of the distinguished names in validIssuers. If a preferred identity doe
[all...]
H A DSecIdentitySearch.h46 @abstract Contains information about an identity search.
64 @param searchRef On return, an identity search reference. You must release the identity search reference by calling the CFRelease function.
66 @discussion You can set values for key usage, and one or more keychains, to control the search for identities. You can use the returned search reference to obtain the remaining identities in subsequent calls to the SecIentitySearchCopyNext function. You must release the identity search reference by calling the CFRelease function.
74 @abstract Finds the next identity matching the given search criteria, as previously specified by a call to SecIdentitySearchCreate or SecIdentitySearchCreateWithAttributes.
75 @param searchRef A reference to the current identity search. You create the identity search reference by calling either SecIdentitySearchCreate or SecIdentitySearchCreateWithAttributes.
76 @param identity On return, an identity reference for the next found identity, i
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecIdentity.h52 @abstract Creates a new identity reference for the given certificate, assuming the associated private key is in one of the specified keychains.
55 @param identityRef On return, an identity reference. You are responsible for releasing this reference by calling the CFRelease function.
66 @abstract Returns a reference to a certificate for the given identity reference.
67 @param identityRef An identity reference.
78 @abstract Returns the private key associated with an identity.
79 @param identityRef An identity reference.
80 @param privateKeyRef On return, a reference to the private key for the given identity. You are responsible for releasing this reference by calling the CFRelease function.
90 @abstract Returns the preferred identity for the specified name and key usage, optionally limiting the result to an identity issued by a certificate whose subject is one of the distinguished names in validIssuers. If a preferred identity doe
[all...]
H A DSecIdentitySearch.h46 @abstract Contains information about an identity search.
64 @param searchRef On return, an identity search reference. You must release the identity search reference by calling the CFRelease function.
66 @discussion You can set values for key usage, and one or more keychains, to control the search for identities. You can use the returned search reference to obtain the remaining identities in subsequent calls to the SecIentitySearchCopyNext function. You must release the identity search reference by calling the CFRelease function.
74 @abstract Finds the next identity matching the given search criteria, as previously specified by a call to SecIdentitySearchCreate or SecIdentitySearchCreateWithAttributes.
75 @param searchRef A reference to the current identity search. You create the identity search reference by calling either SecIdentitySearchCreate or SecIdentitySearchCreateWithAttributes.
76 @param identity On return, an identity reference for the next found identity, i
[all...]
/macosx-10.9.5/emacs-92/emacs/lisp/
H A Dpcmpl-linux.el55 nil 'identity)))
62 nil 'identity)))
68 (while (pcomplete-here (pcomplete-entries) nil 'identity)))
/macosx-10.9.5/pam_modules-138/modules/pam_ntlm/
H A Dpam_ntlm.c83 gss_auth_identity_desc identity; local
97 memset(&identity, 0, sizeof(identity));
132 identity.username = (char *)user;
133 identity.password = (char *)password;
136 for (i = 0; i < count && identity.realm == NULL; i++) {
155 retval = cfstring_to_cstring(domain, &identity.realm);
161 if (identity.realm == NULL) {
184 &identity,
193 PAM_LOG("pam_sm_setcred: ntlm done, used domain: %s", identity
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/Security/
H A DsslKeychain.c187 SecIdentityRef identity; local
225 identity = (SecIdentityRef)CFArrayGetValueAtIndex(certs, 0);
226 if(identity == NULL) {
230 if(CFGetTypeID(identity) != SecIdentityGetTypeID()) {
238 ortn = SecIdentityCopyCertificate(identity, &certRef);
259 /* fetch private key from identity */
260 ortn = SecIdentityCopyPrivateKey(identity, &keyRef);
335 SecIdentityRef identity; local
365 identity = (SecIdentityRef)CFArrayGetValueAtIndex(certs, 0);
366 if (identity
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/lib/
H A DsslKeychain.c187 SecIdentityRef identity; local
225 identity = (SecIdentityRef)CFArrayGetValueAtIndex(certs, 0);
226 if(identity == NULL) {
230 if(CFGetTypeID(identity) != SecIdentityGetTypeID()) {
238 ortn = SecIdentityCopyCertificate(identity, &certRef);
259 /* fetch private key from identity */
260 ortn = SecIdentityCopyPrivateKey(identity, &keyRef);
335 SecIdentityRef identity; local
365 identity = (SecIdentityRef)CFArrayGetValueAtIndex(certs, 0);
366 if (identity
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/security_ssl/
H A DsslKeychain.c187 SecIdentityRef identity; local
225 identity = (SecIdentityRef)CFArrayGetValueAtIndex(certs, 0);
226 if(identity == NULL) {
230 if(CFGetTypeID(identity) != SecIdentityGetTypeID()) {
238 ortn = SecIdentityCopyCertificate(identity, &certRef);
259 /* fetch private key from identity */
260 ortn = SecIdentityCopyPrivateKey(identity, &keyRef);
335 SecIdentityRef identity; local
365 identity = (SecIdentityRef)CFArrayGetValueAtIndex(certs, 0);
366 if (identity
[all...]
/macosx-10.9.5/dcerpc-58/dcerpc/ncklib/
H A Dsec_id.c109 PRIVATE void sec_id_free(sec_id_t *identity);
144 PRIVATE void sec_id_free(sec_id_t *identity) argument
148 if (identity != NULL) {
149 rpc_string_free(&identity->name, &st);
/macosx-10.9.5/emacs-92/emacs/lisp/mail/
H A Drmailmsc.el48 (mapconcat 'identity names ", ")

Completed in 214 milliseconds

1234567891011>>