RsaDecodeDigestForSignature Method |
Decode an encoded message for signature.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static byte[] DecodeDigestForSignature(
byte[] data,
bool getFullDigestInfo = false
)
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
ByteDecoded data or an empty array on error
RemarksOnly EMSA-PKCS1-v1_5 is supported in this function.
See Also