-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Marek Kocik <extern.Marek.Kocik@elektrobit.com> Co-authored-by: Grzegorz Dulewicz <extern.Grzegorz.Dulewicz@elektrobit.com> Co-authored-by: Pawel Bazelewski <extern.pawel.bazelewski@elektrobit.com> Co-authored-by: Pawel Jarosz <extern.pawel.jarosz@elektrobit.com>
- Loading branch information
Showing
68 changed files
with
6,534 additions
and
3,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Certificate Request Message | ||
* (C) 2004-2006,2012 Jack Lloyd | ||
* 2021 Elektrobit Automotive GmbH | ||
* | ||
* Botan is released under the Simplified BSD License (see license.txt) | ||
*/ | ||
|
||
#include <botan/tls_messages.h> | ||
#include <botan/tls_extensions.h> | ||
#include <botan/internal/tls_reader.h> | ||
#include <botan/internal/tls_handshake_io.h> | ||
#include <botan/internal/tls_handshake_hash.h> | ||
#include <botan/internal/msg_cert_req_impl.h> | ||
#include <botan/der_enc.h> | ||
#include <botan/ber_dec.h> | ||
|
||
namespace Botan { | ||
|
||
namespace TLS { | ||
|
||
Certificate_Req_Impl::Certificate_Req_Impl() = default; | ||
|
||
Certificate_Req_Impl::~Certificate_Req_Impl() = default; | ||
|
||
Handshake_Type Certificate_Req_Impl::type() const | ||
{ | ||
return CERTIFICATE_REQUEST; | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* TLS Certificate Message interface | ||
* (C) 2004-2011,2015 Jack Lloyd | ||
* 2016 Matthias Gierlings | ||
* 2021 Elektrobit Automotive GmbH | ||
* | ||
* Botan is released under the Simplified BSD License (see license.txt) | ||
*/ | ||
|
||
#ifndef BOTAN_MSG_CERT_REQ_IMPL_H_ | ||
#define BOTAN_MSG_CERT_REQ_IMPL_H_ | ||
|
||
#include <botan/tls_handshake_msg.h> | ||
#include <botan/tls_algos.h> | ||
#include <botan/x509cert.h> | ||
|
||
#include <vector> | ||
#include <string> | ||
|
||
namespace Botan { | ||
|
||
namespace TLS { | ||
|
||
/** | ||
* Interface of pimpl for Certificate Request Message | ||
*/ | ||
class Certificate_Req_Impl : public Handshake_Message | ||
{ | ||
public: | ||
Handshake_Type type() const override; | ||
|
||
virtual const std::vector<std::string>& acceptable_cert_types() const = 0; | ||
|
||
virtual const std::vector<X509_DN>& acceptable_CAs() const = 0; | ||
|
||
virtual const std::vector<Signature_Scheme>& signature_schemes() const = 0; | ||
|
||
explicit Certificate_Req_Impl(); | ||
|
||
virtual ~Certificate_Req_Impl() = 0; | ||
}; | ||
} | ||
|
||
} | ||
|
||
#endif |
Oops, something went wrong.