veyron.io/veyron/veyron/security: create principal from signer.

Add methods that create in-memory and persistent principals from an
existing signer.

We need this functionality as in Android we store the private key inside
a hardware token and pass a signer into Go.

Change-Id: I5575ec92533ded5dae22219ba39e9a8195b8ee4f
1 file changed
tree: 616343594e3555ac522d8e848df534e528cb80ac
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/