dsapi_identity.h
DS_Status DS_Identity_get_trust_anchors(DS_Identity *identity, DS_AttrValList **av_list_p)
Get trust anchors identity [in] Handle av_list_p [out] certificates.
DS_Status DS_Identity_get_certificates(DS_Identity *identity, DS_AttrValList **av_list_p)
Get untrusted certificates identity [in] Handle av_list_p [out] certificates.
DS_Status DS_Identity_Copy(const DS_Identity *source_identity, DS_Identity **copy_p)
Copy a DS_Identity structure.
DS_Status DS_Identity_get_ident(DS_Identity *identity, X509_IDENTITY **id)
Get the underlying X509_IDENTITY identity [in] Handle id [out] underlying identity.
DS_Status DS_Identity_get_user_certificate(DS_Identity *identity, X509 **cert)
Extract the certificate identity [in] Handle cert [out] cert.
DS_Status DS_Identity_get_authz(DS_Identity *identity, const char **authz)
Get the authz identity [in] Handle authz [out] authz (may be NULL)
Directory API type definitions and forward declarations of private types.
DS_Status DS_Identity_get_cert_ctx(DS_Identity *identity, X509_CERT_CTX **ctx)
Get the underlying X509_CERT_CTX. This generates one if necessary (from the identity and the applicat...
DS_Status DS_Identity_New(DS_Identity **identity_p, const char *authz, const char *pkcs12_file, const char *pkcs12_pphr)
Create an identity.