]> git.ipfire.org Git - thirdparty/strongswan.git/blame - src/libstrongswan/credentials/certificates/pkcs10.h
Update copyright headers after acquisition by secunet
[thirdparty/strongswan.git] / src / libstrongswan / credentials / certificates / pkcs10.h
CommitLineData
f03e0e91
AS
1/*
2 * Copyright (C) 2009 Andreas Steffen
19ef2aec
TB
3 *
4 * Copyright (C) secunet Security Networks AG
f03e0e91
AS
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 */
16
17/**
18 * @defgroup req req
19 * @{ @ingroup certificates
20 */
21
22#ifndef PKCS10_H_
23#define PKCS10_H_
24
12642a68 25#include <collections/enumerator.h>
f03e0e91
AS
26#include <credentials/certificates/certificate.h>
27
28typedef struct pkcs10_t pkcs10_t;
29
30/**
31 * PKCS#10 certificate request interface.
32 *
33 * This interface adds additional methods to the certificate_t type to
34 * allow further operations on a certificate request.
35 */
36struct pkcs10_t {
37
38 /**
39 * Implements certificate_t.
40 */
41 certificate_t interface;
42
43 /**
44 * Get the challenge password
45 *
46 * @return challenge password as a chunk_t
47 */
48 chunk_t (*get_challengePassword)(pkcs10_t *this);
49
50 /**
51 * Get.
52 *
53 * @return enumerator over subjectAltNames as identification_t*
54 */
55 enumerator_t* (*create_subjectAltName_enumerator)(pkcs10_t *this);
56};
57
58#endif /** PKCS10_H_ @}*/