libdcp
|
CertificateChain class. More...
#include "certificate_chain.h"
#include "compose.hpp"
#include "dcp_assert.h"
#include "exceptions.h"
#include "util.h"
#include "warnings.h"
#include <asdcp/KM_util.h>
#include <libcxml/cxml.h>
#include <libxml++/libxml++.h>
#include <xmlsec/xmldsig.h>
#include <xmlsec/dl.h>
#include <xmlsec/app.h>
#include <xmlsec/crypto.h>
#include <openssl/sha.h>
#include <openssl/bio.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/rsa.h>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#include <fstream>
#include <iostream>
Go to the source code of this file.
Functions | |
static void | command (string cmd) |
static string | public_key_digest (boost::filesystem::path private_key, boost::filesystem::path openssl) |
CertificateChain class.
Definition in file certificate_chain.cc.
|
static |
Run a shell command.
cmd | Command to run (UTF8-encoded). |
Definition at line 77 of file certificate_chain.cc.
|
static |
Extract a public key from a private key and create a SHA1 digest of it.
private_key | Private key |
openssl | openssl binary name (or full path if openssl is not on the system path). |
Definition at line 128 of file certificate_chain.cc.