func (o *Authority) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error) {

	if o.Key, err = encrypter.DecryptString(o.Key); err != nil {
		return fmt.Errorf("unable to decrypt attribute 'Key' for 'Authority' (%s): %s", o.Identifier(), err)
	}

	return nil
}
// DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.
DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.
// DecryptAttributes decrypts the attributes marked as ` encrypted ` using the given decrypter .
func (o *Authority) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error) {
	if o.Key, err = encrypter.DecryptString(o.Key); err != nil {
		return fmt.Errorf("unable to decrypt attribute 'Key' for 'Authority' (%s): %s", o.Identifier(), err)
	}
	return nil
}
func ( o * Authority ) DecryptAttributes ( encrypter elemental . AttributeEncrypter ) ( err error ) { if o . Key , err = encrypter . DecryptString ( o . Key ) ; err != nil { return fmt . Errorf ( " " , o . Identifier ( ) , err ) } return nil }
DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.
DecryptAttributes decrypts the attributes marked as ` encrypted ` using the given decrypter .