public override void Dispose()
        {
            _trustedTestCert?.Dispose();
            _trustedExpiredTestCert?.Dispose();
            _expiredSignedTestPackageV1Directory?.Dispose();

            base.Dispose();
        }
Esempio n. 2
0
        public void Dispose()
        {
            _trustedRoot?.Dispose();
            _responders.Dispose();

            if (_testServer.IsValueCreated)
            {
                _testServer.Value.Result.Dispose();
            }
        }
        public void Dispose()
        {
            _trustedTestCertWithPrivateKey?.Dispose();
            _trustedTestCertWithoutPrivateKey?.Dispose();
            _trustedTimestampRoot?.Dispose();
            _responders.Dispose();

            if (_testServer.IsValueCreated)
            {
                _testServer.Value.Result.Dispose();
            }
        }
        public void Dispose()
        {
            if (!_isDisposed)
            {
                _defaultCertificate.Dispose();

                _trustedDefaultCertificate.Dispose();

                GC.SuppressFinalize(this);

                _isDisposed = true;
            }
        }
        public override void Dispose()
        {
            _trustedAuthorTestCert?.Dispose();
            _trustedRepositoryTestCert?.Dispose();
            _trustedServerRoot?.Dispose();
            _responders.Dispose();

            if (_testServer.IsValueCreated)
            {
                _testServer.Value.Result.Dispose();
            }

            base.Dispose();
        }
Esempio n. 6
0
        public void Dispose()
        {
            _trustedTestCert?.Dispose();
            _trustedTestCertWithInvalidEku?.Dispose();
            _trustedTestCertExpired?.Dispose();
            _trustedTestCertNotYetValid?.Dispose();
            _trustedTimestampRoot?.Dispose();
            _trustedTestCertChain?.Dispose();
            _revokedTestCertChain?.Dispose();
            _revocationUnknownTestCertChain?.Dispose();
            _crlServer?.Stop();
            _crlServer?.Dispose();
            _testDirectory?.Dispose();
            _responders.Dispose();

            if (_testServer.IsValueCreated)
            {
                _testServer.Value.Result.Dispose();
            }
        }
Esempio n. 7
0
        public void Dispose()
        {
            _trustedTestCert?.Dispose();
            _trustedTestCertExpired?.Dispose();
            _trustedTestCertNotYetValid?.Dispose();
            _trustedServerRoot?.Dispose();
            _responders.Dispose();

            if (_trustedTestCertificateWithReissuedCertificate != null)
            {
                foreach (var certificate in _trustedTestCertificateWithReissuedCertificate)
                {
                    certificate.Dispose();
                }
            }

            if (_testServer.IsValueCreated)
            {
                _testServer.Value.Result.Dispose();
            }
        }
Esempio n. 8
0
        public void Dispose()
        {
            _trustedTimestampRoot?.Dispose();

            if (_testServer.IsValueCreated)
            {
                _testServer.Value.Result.Dispose();
            }

            if (_defaultAuthorSigningCertficate.IsValueCreated)
            {
                _defaultAuthorSigningCertficate.Value.Result.Dispose();
            }

            if (_defaultRepositorySigningCertficate.IsValueCreated)
            {
                _defaultRepositorySigningCertficate.Value.Result.Dispose();
            }

            _responders.Dispose();
        }
 public void Dispose()
 {
     _trustedTestCert?.Dispose();
     _trustedTestCertWithInvalidEku?.Dispose();
 }
Esempio n. 10
0
 public void Dispose()
 {
     _trustedTestCert?.Dispose();
 }
Esempio n. 11
0
 public void Dispose()
 {
     _trustedRepoTestCert.Dispose();
 }