implemented parsing of pathLenConstraint

This commit is contained in:
Andreas Steffen
2009-11-04 00:03:10 +01:00
parent a58b1722b0
commit 00aa027503
2 changed files with 45 additions and 11 deletions
@@ -24,6 +24,8 @@
#include <utils/enumerator.h>
#include <credentials/certificates/certificate.h>
#define NO_PATH_LEN_CONSTRAINT -1
typedef struct x509_t x509_t;
typedef enum x509_flag_t x509_flag_t;
@@ -91,6 +93,13 @@ struct x509_t {
*/
chunk_t (*get_authKeyIdentifier)(x509_t *this);
/**
* Get an optional path length constraint.
*
* @return pathLenConstraint, -1 if no constraint exists
*/
int (*get_pathLenConstraint)(x509_t *this);
/**
* Create an enumerator over all subjectAltNames.
*