Exemplo n.º 1
0
 internal X509ClientCertificateAuthentication(X509ClientCertificateAuthentication other)
 {
     certificateValidationMode            = other.certificateValidationMode;
     customCertificateValidator           = other.customCertificateValidator;
     includeWindowsGroups                 = other.includeWindowsGroups;
     mapClientCertificateToWindowsAccount = other.mapClientCertificateToWindowsAccount;
     trustedStoreLocation                 = other.trustedStoreLocation;
     revocationMode = other.revocationMode;
     isReadOnly     = other.isReadOnly;
 }
Exemplo n.º 2
0
 internal X509ClientCertificateAuthentication(X509ClientCertificateAuthentication other)
 {
     _certificateValidationMode            = other._certificateValidationMode;
     _customCertificateValidator           = other._customCertificateValidator;
     _includeWindowsGroups                 = other._includeWindowsGroups;
     _mapClientCertificateToWindowsAccount = other._mapClientCertificateToWindowsAccount;
     _trustedStoreLocation                 = other._trustedStoreLocation;
     _revocationMode = other._revocationMode;
     _isReadOnly     = other._isReadOnly;
 }
Exemplo n.º 3
0
        private X509SecurityTokenAuthenticator CreateClientX509TokenAuthenticator()
        {
            X509ClientCertificateAuthentication authentication = ServiceCredentials.ClientCertificate.Authentication;

            return(new X509SecurityTokenAuthenticator(authentication.GetCertificateValidator(), authentication.MapClientCertificateToWindowsAccount, authentication.IncludeWindowsGroups));
        }
 internal X509CertificateInitiatorServiceCredential(X509CertificateInitiatorServiceCredential other)
 {
     certificate    = other.certificate;
     authentication = new X509ClientCertificateAuthentication(other.authentication);
     isReadOnly     = other.isReadOnly;
 }
 internal X509CertificateInitiatorServiceCredential()
 {
     authentication = new X509ClientCertificateAuthentication();
 }
Exemplo n.º 6
0
 internal X509CertificateInitiatorServiceCredential(X509CertificateInitiatorServiceCredential other)
 {
     _certificate   = other._certificate;
     Authentication = new X509ClientCertificateAuthentication(other.Authentication);
     _isReadOnly    = other._isReadOnly;
 }