Rsa.DecodeDigestForSignature Method
Decode an encoded message for signature.
Syntax
[C#]
public static byte[] DecodeDigestForSignature(
byte[] data,
bool getFullDigestInfo = false
)
[VB]
Public Shared Function DecodeDigestForSignature (
data As Byte(),
Optional getFullDigestInfo As Boolean = false
) As Byte()
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
VB6/C equivalent: RSA_DecodeMsg
[Contents] [Index]