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. |
| Padding | SharedPtr<RSASignaturePadding> | Padding-Modus. Gibt true zurück, wenn die Signatur gültig ist, andernfalls false. |
Siehe auch
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSASignaturePadding
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++
RSACryptoServiceProvider::VerifyHash(const ByteArrayPtr&, const String&, const ByteArrayPtr&) method
Prü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 sonst.
Siehe auch
- Typedef ByteArrayPtr
- Class String
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++