| 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
)
Function SignData (
data As Byte(),
Optional keyId As String = Nothing
) As Byte()
array<unsigned char>^ SignData(
array<unsigned char>^ data,
String^ keyId = nullptr
)
abstract SignData :
data : byte[] *
?keyId : string
(* Defaults:
let _keyId = defaultArg keyId null
*)
-> byte[]
Parameters
- data
- Type: SystemByte
The data to be signed - keyId (Optional)
- Type: SystemString
The numeric identifier of the key to use
Return Value
Type:
ByteThe digital signature
See Also