added credential factory support for BULD_NOT_BEFORE_TIME and BUILD_NOT_AFTER_TIME
This commit is contained in:
+2
-2
@@ -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, ¬Before,
|
||||
BUILD_NOT_AFTER_TIME, ¬After,
|
||||
BUILD_NOT_BEFORE_TIME, notBefore,
|
||||
BUILD_NOT_AFTER_TIME, notAfter,
|
||||
BUILD_SIGNING_CERT, signer_cert,
|
||||
BUILD_SIGNING_KEY, signer_key,
|
||||
BUILD_END);
|
||||
|
||||
Reference in New Issue
Block a user