File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1212 * INCLUDE
1313 ******************************************************************************/
1414
15+ /* This is neededn for memmem */
1516#define _GNU_SOURCE
1617#include < string.h>
1718#include " ECP256Certificate.h"
Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ class ECP256Certificate {
8484 inline byte* subjectCommonNameBytes () { return (byte*)_subjectData.commonName .begin (); }
8585 inline int subjectCommonNameLenght () {return _subjectData.commonName .length (); }
8686
87+ inline const byte* authorityKeyIdentifierBytes () { return _compressedCert.slot .two .values .authorityKeyId ; }
88+ inline const byte* signatureBytes () { return _compressedCert.slot .one .values .signature ; }
89+
8790 /* Build CSR */
8891 int buildCSR ();
8992 int signCSR (byte signature[]);
You can’t perform that action at this time.
0 commit comments