SecurityUtilsVerifyDigitalSignature Method (Int32, String, XmlElement, String) |
Verifies the digital signature.
Namespace: PDTec.IceNet.Sdk.UtilsAssembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic static bool VerifyDigitalSignature(
int keySize,
string xmlRsaPublicKey,
XmlElement xeSubject,
string signatureBase64
)
Parameters
- keySize
- Type: SystemInt32
The RSA key size. - xmlRsaPublicKey
- Type: SystemString
The XML RSA public key. - xeSubject
- Type: System.XmlXmlElement
The subject to be verified. - signatureBase64
- Type: SystemString
The signature in base64 format.
Return Value
Type:
Booleantrue if the signature is valid, otherwise
false.
See Also