SSP21-CPP
CertificateChain.h
1 //
2 // _ _ ______ _ _ _ _ _ _ _
3 // | \ | | | ____| | (_) | (_) | | | |
4 // | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | |
5 // | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | |
6 // | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
7 // |_| \_|\___/ |______\__,_|_|\__|_|_| |_|\__, (_|_|_)
8 // __/ |
9 // |___/
10 //
11 // This file is auto-generated. Do not edit manually
12 //
13 // Licensed under the terms of the BSDv3 license
14 //
15 
16 #ifndef SSP21_CERTIFICATECHAIN_H
17 #define SSP21_CERTIFICATECHAIN_H
18 
19 #include "ssp21/util/SequenceTypes.h"
20 #include "ssp21/crypto/SeqStructField.h"
21 #include "ssp21/crypto/gen/ParseError.h"
22 #include "ssp21/crypto/gen/FormatError.h"
23 #include "ssp21/crypto/IMessagePrinter.h"
24 #include "ssp21/crypto/gen/CertificateEnvelope.h"
25 
26 namespace ssp21 {
27 
28 struct CertificateChain final
29 {
31 
32 
33  size_t size() const;
34 
35  static const uint8_t min_size_bytes = 1;
36 
38 
39  ParseError read(seq32_t& input);
40  ParseError read_all(const seq32_t& input);
41  FormatError write(wseq32_t& output) const;
42  void print(const char* name, IMessagePrinter& printer) const;
43 };
44 
45 }
46 
47 #endif
SSP21-cpp main namespace.
Definition: BufferTypes.h:12
ParseError
Definition: ParseError.h:27
FormatError
Definition: FormatError.h:28