Security and Communication Networks / 2019 / Article / Alg 3

Research Article

The Prediction of Serial Number in OpenSSL’s X.509 Certificate

Algorithm 3

The function of set_cert_time. set_cert_time(X509 x, const char startdate, const char enddate, int days).

Input: x, startdate, enddate, days
Output: x
If(startdate==NULL)
 X509_gmtime_adj(s,0)
else
 …
If (enddate==NULL)
 X509_time_adj_ex(s,days,0,0)
else
 ...

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at help@hindawi.com to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.