| IDataSigningServiceVerify Method |
Verifies the digital signature of the data
Namespace:
SanteDB.Core.Security
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax bool Verify(
byte[] data,
byte[] signature,
string keyId = null
)
Function Verify (
data As Byte(),
signature As Byte(),
Optional keyId As String = Nothing
) As Boolean
bool Verify(
array<unsigned char>^ data,
array<unsigned char>^ signature,
String^ keyId = nullptr
)
abstract Verify :
data : byte[] *
signature : byte[] *
?keyId : string
(* Defaults:
let _keyId = defaultArg keyId null
*)
-> bool
Parameters
- data
- Type: SystemByte
[Missing <param name="data"/> documentation for "M:SanteDB.Core.Security.IDataSigningService.Verify(System.Byte[],System.Byte[],System.String)"]
- signature
- Type: SystemByte
The digital signature to be verified - keyId (Optional)
- Type: SystemString
The identifier of the key to use for verification
Return Value
Type:
BooleanTrue if the signature is valid
See Also