DSA.GetMaxSignatureSize(DSASignatureFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.