R/stochastic_cert.R
stone_stochastic_cert_verify.Rd
Montagu generates a certificate when a group uploads their stochastic parameter set. Stoner can check the certificate applies to the right touchstone and modelling group.
stone_stochastic_cert_verify(
con,
certfile,
modelling_group,
touchstone,
disease
)
DBI connection to production. Used for verifying certificate against expected properties
Name of the certificate file to be verified.
The expected modelling group. We expect that the owner of this certificate logged in as this modelling_group, when uploading their stochastic parameter set.
The expected touchstone. We expect that the owner of the provided certificate uploaded a stochastic parameter set to this touchstone in order to get it.
The expected disease. We expect that the certificate provided was uploaded into Montagu with reference to this disease.