Click or drag to resize

AdoCertificateIdentityProviderAuthenticate Method

Authenticates a IPrincipal instance based on the certificate mapping for authenticationCertificate

Namespace: SanteDB.Persistence.Data.Services
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public IPrincipal Authenticate(
	X509Certificate2 authenticationCertificate
)

Parameters

authenticationCertificate  X509Certificate2
The public key which is used to authenticate the principal

Return Value

IPrincipal
The authenticated prinicpal

Implements

ICertificateIdentityProviderAuthenticate(X509Certificate2)
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen an expected argument is not provided
SecurityExceptionWhen a general security constraint is violated
AuthenticationExceptionWhen authentication fails
Remarks
Implementations of this interface should validate that the certificate is authenticate and that it is not revoked.
See Also