File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 12
12
* INCLUDE
13
13
******************************************************************************/
14
14
15
+ /* This is neededn for memmem */
15
16
#define _GNU_SOURCE
16
17
#include < string.h>
17
18
#include " ECP256Certificate.h"
Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ class ECP256Certificate {
84
84
inline byte* subjectCommonNameBytes () { return (byte*)_subjectData.commonName .begin (); }
85
85
inline int subjectCommonNameLenght () {return _subjectData.commonName .length (); }
86
86
87
+ inline const byte* authorityKeyIdentifierBytes () { return _compressedCert.slot .two .values .authorityKeyId ; }
88
+ inline const byte* signatureBytes () { return _compressedCert.slot .one .values .signature ; }
89
+
87
90
/* Build CSR */
88
91
int buildCSR ();
89
92
int signCSR (byte signature[]);
You can’t perform that action at this time.
0 commit comments