diff options
author | lloyd <[email protected]> | 2011-12-28 16:40:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-28 16:40:19 +0000 |
commit | bff93678cf13da4ecca1851234578e671787a38b (patch) | |
tree | d46014fc0eaa677ea867a65fc4accb1f341bf13a /src/tls/tls_messages.h | |
parent | d1324eb8283bf9adfbe5dca05be1ecbffba8a339 (diff) |
Additional bits for SSLv3 client auth
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r-- | src/tls/tls_messages.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h index 8cfaea37e..51569fbc0 100644 --- a/src/tls/tls_messages.h +++ b/src/tls/tls_messages.h @@ -179,8 +179,17 @@ class Certificate_Verify : public HandshakeMessage public: Handshake_Type type() const { return CERTIFICATE_VERIFY; } + /** + * Check the signature on a certificate verify message + * @param cert the purported certificate + * @param hash the running handshake message hash + * @param version the version number we negotiated + * @param master_secret the session key (only used if version is SSL_V3) + */ bool verify(const X509_Certificate& cert, - TLS_Handshake_Hash& hash); + TLS_Handshake_Hash& hash, + Version_Code version, + const SecureVector<byte>& master_secret); Certificate_Verify(RandomNumberGenerator& rng, Record_Writer& writer, |