Rediger

Del via


ECDsa.GetMaxSignatureSize(DSASignatureFormat) Method

Definition

Gets the largest size, in bytes, for a signature produced by this key in the indicated format.

public:
 int GetMaxSignatureSize(System::Security::Cryptography::DSASignatureFormat signatureFormat);
public int GetMaxSignatureSize (System.Security.Cryptography.DSASignatureFormat signatureFormat);
member this.GetMaxSignatureSize : System.Security.Cryptography.DSASignatureFormat -> int
Public Function GetMaxSignatureSize (signatureFormat As DSASignatureFormat) As Integer

Parameters

signatureFormat
DSASignatureFormat

The encoding format for a signature.

Returns

The largest size, in bytes, for a signature produced by this key in the indicated format.

Exceptions

signatureFormat is not a known format.

Applies to