Calif. adopts digital-signature law