sss_cert_content_crypto.c revision 31a6661ff2a640fbcf97460df2415fd1bab309b5
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen/*
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen SSSD - certificate handling utils - OpenSSL version
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen The calls defined here should be useable outside of SSSD as well, e.g. in
16f816d3f3c32ae3351834253f52ddd0212bcbf3Timo Sirainen libsss_certmap.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen Copyright (C) Sumit Bose <sbose@redhat.com> 2017
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen This program is free software; you can redistribute it and/or modify
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen it under the terms of the GNU General Public License as published by
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen the Free Software Foundation; either version 3 of the License, or
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen (at your option) any later version.
8afec4d1a32b78f540257a27769b372aad753384Timo Sirainen
56561d472db25ebda35ae6afdc7f7deb75c323fcTimo Sirainen This program is distributed in the hope that it will be useful,
94a8cb0ee1d85569ad1a2acacd92d3ce22f8a1cbTimo Sirainen but WITHOUT ANY WARRANTY; without even the implied warranty of
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen GNU General Public License for more details.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen You should have received a copy of the GNU General Public License
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen along with this program. If not, see <http://www.gnu.org/licenses/>.
5a58037ad75b88356d82240fab2bc604de03107eTimo Sirainen*/
0d70a702dec63d22535684fec6a7247c5f153208Timo Sirainen
0d70a702dec63d22535684fec6a7247c5f153208Timo Sirainen#include <errno.h>
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#include "lib/certmap/sss_certmap.h"
2a6af811ea3de3cf9e2f15e446674dd21b0705f3Timo Sirainen#include "lib/certmap/sss_certmap_int.h"
94a8cb0ee1d85569ad1a2acacd92d3ce22f8a1cbTimo Sirainen
94a8cb0ee1d85569ad1a2acacd92d3ce22f8a1cbTimo Sirainenint sss_cert_get_content(TALLOC_CTX *mem_ctx,
b032dc80e358f09893f09999f172ff12f5dbbb8eTimo Sirainen const uint8_t *der_blob, size_t der_size,
94a8cb0ee1d85569ad1a2acacd92d3ce22f8a1cbTimo Sirainen struct sss_cert_content **content)
94a8cb0ee1d85569ad1a2acacd92d3ce22f8a1cbTimo Sirainen{
94a8cb0ee1d85569ad1a2acacd92d3ce22f8a1cbTimo Sirainen return EINVAL;
b032dc80e358f09893f09999f172ff12f5dbbb8eTimo Sirainen}
b032dc80e358f09893f09999f172ff12f5dbbb8eTimo Sirainen