Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbbcsig library supports public key certificate in X509, with some refactoring in libbbcsig.c and bbclib.py. For MacOS, the filename extension of the library file is modified to "libbbcsig.dylib". * implement X509 read function * implement read_x509() in libbbcsig and import_publickey_cert_pem() in bbclib.py
- Loading branch information
Showing
9 changed files
with
904 additions
and
456 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
openssl ecparam -out private.key -name prime256v1 -genkey | ||
openssl req -config openssl.cnf \ | ||
-new \ | ||
-x509 \ | ||
-key private.key \ | ||
-sha256 \ | ||
-days 1 \ | ||
-subj "/C=JP/ST=Tokyo/O=Beyond-Blockchain/CN=bbc1" \ | ||
-extensions v3_ca \ | ||
-out self-signed.pem |
Oops, something went wrong.