संपादित करें

इसके माध्यम से साझा किया गया


RSA.GetMaxOutputSize Method

Definition

Gets the maximum number of bytes an RSA operation can produce.

public:
 int GetMaxOutputSize();
public int GetMaxOutputSize ();
member this.GetMaxOutputSize : unit -> int
Public Function GetMaxOutputSize () As Integer

Returns

The maximum number of bytes an RSA operation can produce.

Exceptions

KeySize returned a value that is not a possible RSA key size.

Remarks

The maximum output size is defined by the RSA modulus, or key size. The key size, in bytes, is the maximum output size. If the key size is not an even number of bytes, then it is rounded up to the nearest number of whole bytes for purposes of determining the maximum output size.

Applies to