Home | History | Annotate | Download | only in cups

Lines Matching refs:cert

47 					/* Server cert keychain */
50 /* Temporary self-signed cert */
53 /* Server cert keychain path */
99 SecCertificateRef cert = NULL; /* Self-signed certificate */
119 DEBUG_puts("1cupsMakeServerCredentials: Using existing self-signed cert.");
177 cert = SecGenerateSelfSignedCertificate(subject, certParams, publicKey, privateKey);
182 if (!cert)
188 ident = SecIdentityCreate(kCFAllocatorDefault, cert, privateKey);
221 DEBUG_puts("1cupsMakeServerCredentials: Unable to create identity from cert and keys.");
235 if (cert)
236 CFRelease(cert);
257 infofile[1024], /* Type-in information for cert */
704 * Certificate isn't directly generated from the CA cert...
808 char name[256]; /* Common name associated with cert */
809 time_t expiration; /* Expiration date of cert */
872 SecCertificateRef cert = NULL; /* Certificate */
931 err = SecItemCopyMatching(query, (CFTypeRef *)&cert);
936 if (CFGetTypeID(cert) != SecCertificateGetTypeID())
939 if ((data = SecCertificateCopyData(cert)) != NULL)
957 if (cert)
958 CFRelease(cert);
989 SecCertificateRef cert = NULL; /* Certificate */
1003 if ((cert = http_cdsa_create_credential((http_credential_t *)cupsArrayFirst(credentials))) == NULL)
1027 CFDictionaryAddValue(attrs, kSecValueRef, cert);
1049 if (cert)
1050 CFRelease(cert);