PKCS7_add0_attrib_signing_time

Add a signing-time authenticated attribute, taking ownership of t.

Synopsis

Declared in <openssl/pkcs7.h>

int
PKCS7_add0_attrib_signing_time(
    PKCS7_SIGNER_INFO* si,
    ASN1_TIME* t);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
siSignerInfo to update.
tSigning time to attach, or NULL to use the current time (allocated internally).