Click or drag to resize

IDataSigningService Interface

Contract for services which can sign data using configured digital signature algorithms

Namespace:  SanteDB.Core.Security
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public interface IDataSigningService : IServiceImplementation

The IDataSigningService type exposes the following members.

Properties
  NameDescription
Public propertyServiceName
Gets the service name
(Inherited from IServiceImplementation.)
Top
Methods
  NameDescription
Public methodAddSigningKey
Register a key with the provider
Public methodGetKeys
Get the keys identifiers registered for the signature service
Public methodGetSignatureAlgorithm
Get the siganture algorithm this service would use to sign w/the specified key
Public methodSignData
Signs the specified data using the service's configured signing key
Public methodVerify
Verifies the digital signature of the data
Top
Remarks

Implementers of this service contract are responsible for computing and validating digital signatures against arbitrary data streams. Implementers of this service are responsible for maintaining (or acquiring) a master list of keys which can be used for data signing, and validating digital signatures.

See Also