Skip to contents

Reads back what set_public_params() delivered. Encryption needs only this, so a party that has it is self-sufficient, and any other party that will encrypt under the same key — a querier that is not itself a site, say — can be handed a copy.

Usage

site_params(site, ...)

Arguments

site

a Site, or a user-defined subclass of RemoteSite.

...

method-specific arguments; the built-in method takes none.

Value

a PublicParams object.

Details

Aborts if the site was never configured, rather than returning NULL for a caller to encrypt with.