Click or drag to resize

IDataSigningService Interface

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

Namespace: SanteDB.Core.Security.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
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 methodGetNamedSignatureSettings Get the siganture algorithm for the system configured key
Public methodGetSignatureSettings Get the signature algorithm for the configured thumbprint
Public methodSignData(Byte, SignatureSettings) Signs the specified data using the service's configured signing key
Public methodSignData(Byte, String) Sign data with the configured system key systemKeyId
Public methodVerify(Byte, Byte, SignatureSettings) Verifies the digital signature of the data with a provided configuration
Public methodVerify(Byte, Byte, String) Verifies the digital signature of the data
Top
Extension Methods
 NameDescription
Public Extension MethodTryGetSignatureSettings Try to get signature settings
(Defined by ExtensionMethods)
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.

Implementers should also use the IDataSigningCertificateManagerService to support key identifiers which are indicated as a secure application/device identifier

See Also