chunk_t certificate;
/**
+ * X.509 certificate body over which signature is computed
+ */
+ chunk_t tbsCertificate;
+
+ /**
* Version of the X.509 certificate
*/
u_int version;
chunk_t serialNumber;
/**
+ * Signature algorithm
+ */
+ int sigAlg;
+
+ /**
* ID representing the certificate issuer
*/
identification_t *issuer;
*/
bool isCA;
+ /**
+ * Signature algorithm (must be identical to sigAlg)
+ */
+ int algorithm;
+
+ /**
+ * Signature
+ */
+ chunk_t signature;
+
u_char authority_flags;
- chunk_t tbsCertificate;
- /* signature */
- int sigAlg;
chunk_t subjectPublicKey;
bool isOcspSigner; /* ocsp */
chunk_t accessLocation; /* ocsp */
- /* signatureAlgorithm */
- int algorithm;
- chunk_t signature;
};
/**
identification_t *gn = parse_generalName(object, level+1);
if (gn != NULL)
- list->insert_last(list, gn);
+ list->insert_last(list, (void *)gn);
}
objectID++;
}