cryptoservices/certificateandkeymgmt/x509/x509cert.cpp
branchRCL_3
changeset 70 b38692a04122
parent 48 eb9b28acd381
child 95 641f389e9157
equal deleted inserted replaced
63:07c4e3a0535d 70:b38692a04122
  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.