blob: 857408cdfca3501e31a5b23a1c557a37f26a2b40 [file] [log] [blame]
package security
import "veyron2/security"
// NewPrivateID returns a new PrivateID containing a freshly generated
// private key, and a single self-signed certificate specifying the provided
// name and the public key corresponding to the generated private key.
func NewPrivateID(name string) (security.PrivateID, error) {
return newChainPrivateID(name)
}