Click or drag to resize

IDataSigningServiceSignData Method

Signs the specified data using the service's configured signing key

Namespace:  SanteDB.Core.Security
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
byte[] SignData(
	byte[] data,
	string keyId = null
)

Parameters

data
Type: SystemByte
The data to be signed
keyId (Optional)
Type: SystemString
The numeric identifier of the key to use

Return Value

Type: Byte
The digital signature
See Also