/*
- Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
xmlSecDSigCtxDestroy (signature_context);
}
+
+string
+CertificateChain::chain () const
+{
+ string o;
+ BOOST_FOREACH (Certificate const &i, root_to_leaf ()) {
+ o += i.certificate(true);
+ }
+
+ return o;
+}
/*
- Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
_key = k;
}
+ std::string chain () const;
+
private:
friend class ::certificates;