Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #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();
 }
Beispiel #6
0
 internal X509CertificateInitiatorServiceCredential(X509CertificateInitiatorServiceCredential other)
 {
     _certificate   = other._certificate;
     Authentication = new X509ClientCertificateAuthentication(other.Authentication);
     _isReadOnly    = other._isReadOnly;
 }