System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash Methode
Inhalt
[
Ausblenden
]RSACryptoServiceProvider::VerifyHash(ByteArrayPtr, ByteArrayPtr, const HashAlgorithmName&, SharedPtr<RSASignaturePadding>) method
Überprüft, ob die Signatur des angegebenen Hashwerts gültig ist.
bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash(ByteArrayPtr hash, ByteArrayPtr signature, const HashAlgorithmName &hash_algorithm, SharedPtr<RSASignaturePadding> padding) override
| Parameter | Typ | Beschreibung |
|---|---|---|
| Hash | ByteArrayPtr | Hashwert der signierten Daten. |
| Signatur | ByteArrayPtr | Signaturdaten. |
| hash_algorithm | const HashAlgorithmName& | Hash-Algorithmus. |
| Auffüllung | SharedPtr<RSASignaturePadding> | Auffüllmodus. Gibt true zurück, wenn die Signatur gültig ist, sonst false. |
Siehe auch
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSASignaturePadding
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++
RSACryptoServiceProvider::VerifyHash(const ByteArrayPtr&, const String&, const ByteArrayPtr&) method
Überprüft die Datensignatur.
bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash(const ByteArrayPtr &rgb_hash, const String &str, const ByteArrayPtr &rgb_signature)
| Parameter | Typ | Beschreibung |
|---|---|---|
| rgb_hash | const ByteArrayPtr\& | Hash, der für empfangene Daten berechnet wurde. |
| str | const String& | Name des verwendeten Hash-Algorithmus. |
| rgb_signature | const ByteArrayPtr\& | Signatur wie empfangen. |
ReturnValue
True, wenn die Signatur gültig ist, false andernfalls.
Siehe auch
- Typedef ByteArrayPtr
- Class String
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++