Exemplo n.º 1
0
        public void OcspFromSelfSignedCertificate()
        {
            var caCertificate   = CertificateProvider.GenerateCertificateAuthorityCertificate("Certificate Authority - Graham Miller");
            var leafCertificate = CertificateProvider.GenerateSignedCertificateWithOcsp("Graham Miller", caCertificate);

            WriteCertificateExtensions(leafCertificate);
        }
Exemplo n.º 2
0
        public void Ocsp()
        {
            var caCertificate   = CertificateProvider.GenerateCertificateAuthorityCertificate("Certificate Authority - Graham Miller");
            var leafCertificate = CertificateProvider.GenerateSignedCertificateWithOcsp("Graham Miller", caCertificate);

            Verify(leafCertificate);
        }