Android-cuttlefish cvd tool
Namespaces | Classes | Functions
adb::crypto Namespace Reference

Namespaces

namespace  anonymous_namespace{x509_generator.cpp}
 

Classes

class  Key
 

Functions

std::optional< KeyCreateRSA2048Key ()
 
bool CalculatePublicKey (std::string *out, RSA *private_key)
 
bssl::UniquePtr< X509 > GenerateX509Certificate (EVP_PKEY *pkey)
 
std::string X509ToPEMString (X509 *x509)
 

Function Documentation

◆ CalculatePublicKey()

bool adb::crypto::CalculatePublicKey ( std::string *  out,
RSA *  private_key 
)

◆ CreateRSA2048Key()

std::optional< Key > adb::crypto::CreateRSA2048Key ( )

◆ GenerateX509Certificate()

bssl::UniquePtr< X509 > adb::crypto::GenerateX509Certificate ( EVP_PKEY *  pkey)

◆ X509ToPEMString()

std::string adb::crypto::X509ToPEMString ( X509 *  x509)