equal
deleted
inserted
replaced
1336 } |
1336 } |
1337 |
1337 |
1338 return KeyIdentifierL(); |
1338 return KeyIdentifierL(); |
1339 } |
1339 } |
1340 |
1340 |
1341 EXPORT_C TKeyIdentifier CX509Certificate::SubjectKeyIdL() |
1341 EXPORT_C TKeyIdentifier CX509Certificate::SubjectKeyIdL() const |
1342 { |
1342 { |
1343 // if it is a v1 or v2 type then there is no way of knowing which is a CA, treat all certs as CA as done in the certificate recognizer. |
1343 // if it is a v1 or v2 type then there is no way of knowing which is a CA, treat all certs as CA as done in the certificate recognizer. |
1344 if (Version() != 3 ) |
1344 if (Version() < 3 ) |
1345 { |
1345 { |
1346 return SubjectKeyIdentifierL(); |
1346 return SubjectKeyIdentifierL(); |
1347 } |
1347 } |
1348 |
1348 |
1349 // if it is x509 v3 certificate then check for the basic constraint extension. |
1349 // if it is x509 v3 certificate then check for the basic constraint extension. |