Click or drag to resize

UpstreamCertificateAssociationManager Class

Upstream implementation of the certificate association manager
Inheritance Hierarchy
SystemObject
  SanteDB.Client.Upstream.RepositoriesUpstreamServiceBase
    SanteDB.Client.Upstream.SecurityUpstreamCertificateAssociationManager

Namespace: SanteDB.Client.Upstream.Security
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public class UpstreamCertificateAssociationManager : UpstreamServiceBase, 
	ICertificateIdentityProvider, IDataSigningCertificateManagerService, IServiceImplementation, IUpstreamServiceProvider<IDataSigningCertificateManagerService>

The UpstreamCertificateAssociationManager type exposes the following members.

Constructors
 NameDescription
Public methodUpstreamCertificateAssociationManager Upstream certificate association manager
Top
Properties
 NameDescription
Protected propertyIsUpstreamConfigured Get whether the upstream is conifgured
(Inherited from UpstreamServiceBase)
Protected propertyRestClientFactory Get the upstream client factory
(Inherited from UpstreamServiceBase)
Public propertyServiceName Gets the service name
Protected propertyUpstreamAvailabilityProvider Get the upstream availability provider
(Inherited from UpstreamServiceBase)
Protected propertyUpstreamIntegrationService Get the upstream management service
(Inherited from UpstreamServiceBase)
Protected propertyUpstreamManagementService Gets the upstream management
(Inherited from UpstreamServiceBase)
Public propertyUpstreamProvider Gets the upstream provider
Top
Methods
 NameDescription
Public methodAddIdentityMap Maps identityToBeMapped to authenticationCertificate so that calls to Authenticate(X509Certificate2) may establish security principals
Public methodAddSigningCertificate Adds a signing certificate to the identity
Public methodAuthenticate Authenticates a IPrincipal instance based on the certificate mapping for authenticationCertificate
Protected methodCreateAmiServiceClient Get client for the AMI
(Inherited from UpstreamServiceBase)
Protected methodCreateHdsiServiceClient Create an HDSI service client
(Inherited from UpstreamServiceBase)
Protected methodCreateRestClient Create a generic rest client
(Inherited from UpstreamServiceBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetCertificateIdentities Get all associated identities for the provided certificate
Public methodGetCertificateIdentity Gets an un-authenticated identity object for authenticationCertificate
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIdentityCertificates Get the X509Certificate2 which has been mapped to identityOfCertificte
Public methodGetSigningCertificates(IIdentity) Gets signing certificates associated with identity
Public methodGetSigningCertificates(Type, NameValueCollection) Get all the signing certificates that are registered for classOfIdentity
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHasUpstreamAuthContext Determine if the current auth context is appropriate for upstream communications
(Inherited from UpstreamServiceBase)
Public methodIsUpstreamAvailable Gets a value that indicates whether the upstream
(Inherited from UpstreamServiceBase)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveIdentityMap Removes the certificate mapping between identityToBeUnMapped and authenticationCertificate
Public methodRemoveSigningCertificate Removes a signing certificate from an identity
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetSigningCertificateByHash Get configured certificate by hash
Public methodTryGetSigningCertificateByThumbprint Get any configured signing certificate based on the thumbprint
Top
Events
 NameDescription
Public eventAuthenticated Fired after an authentication request has been made.
Public eventAuthenticating Fired prior to an authentication request being made.
Top
Fields
 NameDescription
Protected field_Tracer The tracer to use to log messages
(Inherited from UpstreamServiceBase)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also