Click or drag to resize

RsaDecodeDigestForSignature Method

Decode an encoded message for signature.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static byte[] DecodeDigestForSignature(
	byte[] data,
	bool getFullDigestInfo = false
)

Parameters

data  Byte
Encoded message for signature
getFullDigestInfo  Boolean  (Optional)
(optional) If true, extract the full DigestInfo; otherwise just extract the message digest itself

Return Value

Byte
Decoded data or an empty array on error
Remarks
Only EMSA-PKCS1-v1_5 is supported in this function.
See Also