TS_REQ_to_TS_VERIFY_CTX

If ctx is null, it allocates and returns a new object, otherwise it returns ctx. It initialises all the members as follows: flags = TS_VFY_ALL_IMPRINT & ~(.TS_VFY_TSA_NAME | .TS_VFY_SIGNATURE) certs = null store = null policy = policy from the request or null if absent (in this case TS_VFY_POLICY is cleared from flags as well) md_alg = MD algorithm from request imprint, imprint_len = imprint from request data = null nonce, nonce_len = nonce from the request or null if absent (in this case TS_VFY_NONCE is cleared from flags as well) tsa_name = null Important: after calling this method TS_VFY_SIGNATURE should be added!

extern (C) nothrow @nogc
TS_REQ_to_TS_VERIFY_CTX

Meta