Three functions encode certificate information into certificate contexts contexts but do not add these context to any store. CertCreateCertificateContext encodes certificates; CertCreateCRLContext encodes CRLs; and CertCreateCTLContext encodes CTLs. Certificates created by one of these functions must be freed using the appropriate CertFree function.