Searched refs:keyParams (Results 1 – 1 of 1) sorted by relevance
/external/libcups/cups/ |
D | tls-darwin.c | 102 CFMutableDictionaryRef keyParams = NULL; in cupsMakeServerCredentials() local 136 …keyParams = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCF… in cupsMakeServerCredentials() 137 if (!keyParams) in cupsMakeServerCredentials() 143 CFDictionaryAddValue(keyParams, kSecAttrKeyType, kSecAttrKeyTypeRSA); in cupsMakeServerCredentials() 144 CFDictionaryAddValue(keyParams, kSecAttrKeySizeInBits, CFSTR("2048")); in cupsMakeServerCredentials() 145 CFDictionaryAddValue(keyParams, kSecAttrLabel, cfcommon_name); in cupsMakeServerCredentials() 147 err = SecKeyGeneratePair(keyParams, &publicKey, &privateKey); in cupsMakeServerCredentials() 234 if (keyParams) in cupsMakeServerCredentials() 235 CFRelease(keyParams); in cupsMakeServerCredentials()
|