CryptoSys PKI Toolkit Manual

Rsa.EncodeMsg Method

Encode a message ready for "raw" RSA encryption or signing. Deprecated.

Syntax

[C#]
public static byte[] EncodeMsg(
	int keyBytes,
	byte[] message,
	Rsa.EncodeFor method
)
[VB.NET]
Public Shared Function EncodeMsg ( _
	keyBytes As Integer, _
	message As Byte(), _
	method As Rsa.EncodeFor _
) As Byte()

Parameters

keyBytes
Size of RSA key in bytes
message
Message data
method
Type: Rsa.EncodeFor
Method to use

Return Value

Encoded message block

Remarks

Deprecated. Use EncodeMsgForEncryption or EncodeMsgForSignature or EncodeDigestForSignature

[Contents] [Index]

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

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