added credential factory support for BULD_NOT_BEFORE_TIME and BUILD_NOT_AFTER_TIME

This commit is contained in:
Andreas Steffen
2008-03-21 11:32:33 +00:00
parent b6377673e7
commit 6ac3a7acbb
4 changed files with 31 additions and 24 deletions
+2 -2
View File
@@ -569,8 +569,8 @@ int main(int argc, char **argv)
attr_cert = lib->creds->create(lib->creds,
CRED_CERTIFICATE, CERT_X509_AC,
BUILD_CERT, user_cert,
BUILD_NOT_BEFORE_TIME, &notBefore,
BUILD_NOT_AFTER_TIME, &notAfter,
BUILD_NOT_BEFORE_TIME, notBefore,
BUILD_NOT_AFTER_TIME, notAfter,
BUILD_SIGNING_CERT, signer_cert,
BUILD_SIGNING_KEY, signer_key,
BUILD_END);