CertificateStore stores numerous X509 Certificates for use in CRL lists,
CA lists, etc.
Example
autostore = newCertificateStore();
autocaCert = newCertificate(cast(char[])File("cacert.pem").read);
store.add(caCert);
autountrustedCert = newCertificate(cast(char[])File("cert.pem").read);
if (untrustedCert.verify(store))
Stdout("The untrusted cert was signed by our caCert and is valid.").newline;
elseStdout("The untrusted cert was expired, or not signed by the caCert").newline;
CertificateStore stores numerous X509 Certificates for use in CRL lists, CA lists, etc.
Example