OptionalisOptionalmomentThe moment at which the certificate is being validated, or null if the moment is indeterminate and unknowable -- in which case the certificate validity period is not checked
OptionalstoreCertificate store to use for verifying the certificate
Optionalintermediate?: Set<Certificate>Intermediate certificates
Optionalroot?: Set<Certificate>Root certificates
Indicate this certificate is a root certificate that we trust -- it will get a "chain" parameter even if no "store" is provided or if it is not in the store. This is because otherwise we would need to load trusted certificates twice, once for the store and once for the chain.