Click or drag to resize

JsonWebSignatureTryParse Method

Parse the specified webSignature and create the JsonWebSignature

Namespace: SanteDB.Core.Security.Signing
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public static JsonWebSignatureParseResult TryParse(
	string webSignature,
	IDataSigningService dataSigningService,
	out JsonWebSignature parsedWebSignature
)

Parameters

webSignature  String
The web signature to parse
dataSigningService  IDataSigningService
The signing service to use
parsedWebSignature  JsonWebSignature
The parsed web signature

Return Value

JsonWebSignatureParseResult
True if the parse was successful and the signature on the web token is valid
See Also