CryptoSys PKI Toolkit Manual

Rsa.DecodeDigestForSignature Method (Byte[], Boolean)

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
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.

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: RSA_DecodeMsg

[Contents] [Index]

[HOME]   [NEXT: Rsa.DecodeMsg Method...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.