Home | History | Annotate | Download | only in util

Lines Matching refs:string

20 #include <string>
30 // Reads an X509 certificate from a PEM encoded string.
31 // @param pem the PEM encoded string
34 static X509* X509FromPEM(std::string pem);
36 // Converts an X509 certificate to a PEM encoded string.
38 // @return a PEM encoded string of the given certificate
39 static std::string X509ToPEM(X509* x509);
41 // Loads a private key from a PEM encoded string.
42 // @param pem the PEM encoded string
46 static EVP_PKEY* PKEYFromPEM(std::string pem,
47 std::string passphrase);
49 // Converts a private key to a PEM encoded string.
52 // @return a PEM encoded string of the given private key
53 static std::string PKEYToPEM(EVP_PKEY* pkey,
54 std::string passphrase);
66 std::string subject_name,