Rsa.DecodeDigestForSignature Method
Decode an encoded message for signature.
Syntax
[C#]
public static byte[] DecodeDigestForSignature(
byte[] data,
bool getFullDigestInfo
)
[VB.NET]
Public Shared Function DecodeDigestForSignature ( _
data As Byte(), _
getFullDigestInfo As Boolean _
) As Byte()
Parameters
- data
- Encoded message for signature
- getFullDigestInfo
- (optional) If true, extract the full DigestInfo; otherwise just extract the message digest itself
Return Value
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]