CryptoSys PKI Pro Manual

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]

[PREV: Rsa.CheckKey(StringBuilder) Method...]   [Contents]   [Index]   
   [NEXT: Rsa.DecodeMsgForEncryption Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.