func (c Config) IdentityPublicKey() *bakery.PublicKey {
	key := c.asString(IdentityPublicKey)
	if key == "" {
		return nil
	}
	var pubKey bakery.PublicKey
	err := pubKey.UnmarshalText([]byte(key))
	if err != nil {
		// We check if the key string can be unmarshalled into a PublicKey in the
		// Validate function, so we really do not expect this to fail.
		panic(err)
	}
	return &pubKey
}
// IdentityPublicKey returns the public key of the identity manager.
IdentityPublicKey returns the public key of the identity manager.
// IdentityPublicKey returns the public key of the identity manager .
func (c Config) IdentityPublicKey() *bakery.PublicKey {
	key := c.asString(IdentityPublicKey)
	if key == "" {
		return nil
	}
	var pubKey bakery.PublicKey
	err := pubKey.UnmarshalText([]byte(key))
	if err != nil {
		panic(err)
	}
	return &pubKey
}
func ( c Config ) IdentityPublicKey ( ) * bakery . PublicKey { key := c . asString ( IdentityPublicKey ) if key == " " { return nil } var pubKey bakery . PublicKey err := pubKey . UnmarshalText ( [ ] byte ( key ) ) if err != nil { panic ( err ) } return & pubKey }
IdentityPublicKey returns the public key of the identity manager.
IdentityPublicKey returns the public key of the identity manager .
// We check if the key string can be unmarshalled into a PublicKey in the // Validate function, so we really do not expect this to fail.