equal
deleted
inserted
replaced
284 } |
284 } |
285 |
285 |
286 if(iCertInfo.CertificateFormat() == EX509Certificate) |
286 if(iCertInfo.CertificateFormat() == EX509Certificate) |
287 { |
287 { |
288 TKeyIdentifier subjectKeyId; |
288 TKeyIdentifier subjectKeyId; |
289 |
289 bool isCA = ( iCertInfo.CertificateOwnerType() != EUserCertificate ); |
|
290 |
290 // nb. If processing a swicertstore we ignore any SubjectKeyId in the extension. |
291 // nb. If processing a swicertstore we ignore any SubjectKeyId in the extension. |
291 if(X509SubjectKeyId((iSwiMode)?(KIgnoreCertificateExtension) : (KUseCertificateExtension), |
292 if(X509SubjectKeyId((iSwiMode)?(KIgnoreCertificateExtension) : (KUseCertificateExtension), |
292 false, |
293 false, isCA, |
293 iCertData, |
294 iCertData, |
294 iCertSubject, subjectKeyId)) |
295 iCertSubject, subjectKeyId)) |
295 { |
296 { |
296 prog << Log::Indent() << "Subject = '" << iCertSubject << "'" << Log::Endl(); |
297 prog << Log::Indent() << "Subject = '" << iCertSubject << "'" << Log::Endl(); |
297 |
298 |