IKEv1 support for PKCS#7 wrapped certificates
This commit is contained in:
committed by
Martin Willi
parent
10eee5fcba
commit
6d3e7a64a0
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user