commit | a2ec90c57ff798eed011f416268debf5cc26cecb | [log] [tgz] |
---|---|---|
author | Ankur <ataly@google.com> | Tue Sep 30 11:03:52 2014 -0700 |
committer | Ankur <ataly@google.com> | Tue Sep 30 11:03:53 2014 -0700 |
tree | 702b00926fd6f69df9a2d92ecc1c3115831f237b | |
parent | 75081439d8d8462bab3df3e99ee634d3346f8499 [diff] |
"veyron2/security": CreatePrincipal Allow CreatePrincipal to take a nil BlessingStore and/or a nil BlessingRoots. This simplifies principal creation within tests that just need a principal for private key operations. Also it provides other packages that need a signer (e.g., serialization) to cheaply obtain one by creating a principal. Change-Id: I7ad0ecc92f858cc4af923f14242d488d27e7a2ad