C# Class Spark.Engine.Auxiliary.XmlSignatureHelper

Show file Open project: raysearchlabs/spark

Public Methods

Method Description
IsSigned ( string xml ) : bool
Sign ( string xml, X509Certificate2 certificate ) : string
VerifySignature ( string xml ) : bool

Private Methods

Method Description
findSignatureElement ( XmlDocument doc ) : XmlNode

Method Details

IsSigned() public static method

public static IsSigned ( string xml ) : bool
xml string
return bool

Sign() public static method

public static Sign ( string xml, X509Certificate2 certificate ) : string
xml string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
return string

VerifySignature() public static method

public static VerifySignature ( string xml ) : bool
xml string
return bool