|
Android-cuttlefish cvd tool
|
#include "adb/crypto/x509_generator.h"#include <vector>#include <android-base/logging.h>#include <crypto_utils/android_pubkey.h>#include <openssl/bn.h>#include <openssl/pem.h>#include <openssl/rsa.h>#include <string.h>
Namespaces | |
| namespace | adb |
| namespace | adb::crypto |
| namespace | adb::crypto::anonymous_namespace{x509_generator.cpp} |
Functions | |
| bool | adb::crypto::anonymous_namespace{x509_generator.cpp}::add_ext (X509 *cert, int nid, const char *value) |
| bssl::UniquePtr< X509 > | adb::crypto::GenerateX509Certificate (EVP_PKEY *pkey) |
| std::string | adb::crypto::X509ToPEMString (X509 *x509) |
Variables | |
| const char | adb::crypto::anonymous_namespace{x509_generator.cpp}::kBasicConstraints [] = "critical,CA:TRUE" |
| const char | adb::crypto::anonymous_namespace{x509_generator.cpp}::kKeyUsage [] = "critical,keyCertSign,cRLSign,digitalSignature" |
| const char | adb::crypto::anonymous_namespace{x509_generator.cpp}::kSubjectKeyIdentifier [] = "hash" |
| constexpr int | adb::crypto::anonymous_namespace{x509_generator.cpp}::kCertLifetimeSeconds = 10 * 365 * 24 * 60 * 60 |