ECDsa.SignHashCore(ReadOnlySpan<Byte>, 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.
Computes the ECDSA signature for the specified hash value in the indicated format.
protected:
virtual cli::array <System::Byte> ^ SignHashCore(ReadOnlySpan<System::Byte> hash, System::Security::Cryptography::DSASignatureFormat signatureFormat);
protected virtual byte[] SignHashCore (ReadOnlySpan<byte> hash, System.Security.Cryptography.DSASignatureFormat signatureFormat);
abstract member SignHashCore : ReadOnlySpan<byte> * System.Security.Cryptography.DSASignatureFormat -> byte[]
override this.SignHashCore : ReadOnlySpan<byte> * System.Security.Cryptography.DSASignatureFormat -> byte[]
Protected Overridable Function SignHashCore (hash As ReadOnlySpan(Of Byte), signatureFormat As DSASignatureFormat) As Byte()
Parameters
- hash
- ReadOnlySpan<Byte>
The hash value to sign.
- signatureFormat
- DSASignatureFormat
The encoding format to use for the signature.
Returns
Byte[]
The ECDSA signature for the specified data.
Exceptions
An error occurred in the signing operation.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.