IKEv1 support for PKCS#7 wrapped certificates

This commit is contained in:
Volker Rümelin
2013-01-11 10:21:56 +01:00
committed by Martin Willi
parent 10eee5fcba
commit 6d3e7a64a0
3 changed files with 96 additions and 0 deletions
@@ -28,6 +28,7 @@ typedef enum cert_encoding_t cert_encoding_t;
#include <library.h>
#include <credentials/certificates/certificate.h>
#include <credentials/containers/container.h>
#include <encoding/payloads/payload.h>
/**
@@ -71,6 +72,13 @@ struct cert_payload_t {
*/
certificate_t *(*get_cert)(cert_payload_t *this);
/**
* Get the payloads certificate container.
*
* @return container copy
*/
container_t *(*get_container)(cert_payload_t *this);
/**
* Get the encoding of the certificate.
*