dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
sec::trust Class Reference

#include <sec_certificate.h>

Inheritance diagram for sec::trust:
Collaboration diagram for sec::trust:

Public Member Functions

trustanchor (::SecCertificateRef anchor, bool only=true)
trustanchors (::CFArrayRef anchors, bool only=true)
 restrict the evaluation to the given anchors (e.g. an embedded root CA) instead of the keychain trust settings
::CFIndex count () const noexcept
trustdate (::CFDateRef date)
 evaluate the certificate validity at the given date instead of now
 dx_catchall_rethrow () const reference &retain() const noexcept
::CFErrorRef evaluate ()
 nullptr on success, otherwise the error (+1 retained)
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
referenceinitialize (::SecTrustRef cf_object, bool retain=true) try
 operator::CFTypeID () const noexcept
 operator::SecTrustRef () const noexcept
referencerelease () noexcept
 trust (::CFTypeRef chain, ::SecPolicyRef policy=::SecPolicyCreateBasicX509())

Protected Attributes

::SecTrustRef cf_object

Constructor & Destructor Documentation

◆ trust()

sec::trust::trust ( ::CFTypeRef chain,
::SecPolicyRef policy = ::SecPolicyCreateBasicX509() )
inline
Here is the caller graph for this function:

Member Function Documentation

◆ anchor()

trust & sec::trust::anchor ( ::SecCertificateRef anchor,
bool only = true )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ anchors()

trust & sec::trust::anchors ( ::CFArrayRef anchors,
bool only = true )
inline

restrict the evaluation to the given anchors (e.g. an embedded root CA) instead of the keychain trust settings

Here is the call graph for this function:
Here is the caller graph for this function:

◆ count()

::CFIndex cf::reference< ::SecTrustRef >::count ( ) const
inlinenoexceptinherited

◆ date()

trust & sec::trust::date ( ::CFDateRef date)
inline

evaluate the certificate validity at the given date instead of now

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dx_catchall_rethrow()

cf::reference< ::SecTrustRef >::dx_catchall_rethrow ( ) const &
inlinenoexceptinherited

◆ evaluate()

::CFErrorRef sec::trust::evaluate ( )
inline

nullptr on success, otherwise the error (+1 retained)

Here is the caller graph for this function:

◆ id() [1/22]

CFTypeID cf::reference<::CFMutableArrayRef >::id ( )
inlinenoexceptinherited

◆ id() [2/22]

CFTypeID cf::reference<::CFArrayRef >::id ( )
inlinenoexceptinherited

◆ id() [3/22]

CFTypeID cf::reference<::CFBundleRef >::id ( )
inlinenoexceptinherited

◆ id() [4/22]

CFTypeID cf::reference<::CFDataRef >::id ( )
inlinenoexceptinherited

◆ id() [5/22]

CFTypeID cf::reference<::CFMutableDictionaryRef >::id ( )
inlinenoexceptinherited

◆ id() [6/22]

CFTypeID cf::reference<::CFDictionaryRef >::id ( )
inlinenoexceptinherited

◆ id() [7/22]

CFTypeID cf::reference<::CFErrorRef >::id ( )
inlinenoexceptinherited

◆ id() [8/22]

CFTypeID cf::reference<::CFBooleanRef >::id ( )
inlinenoexceptinherited

◆ id() [9/22]

CFTypeID cf::reference<::CFNumberRef >::id ( )
inlinenoexceptinherited

◆ id() [10/22]

CFTypeID cf::reference<::CFRunLoopObserverRef >::id ( )
inlinenoexceptinherited

◆ id() [11/22]

CFTypeID cf::reference<::CFRunLoopSourceRef >::id ( )
inlinenoexceptinherited

◆ id() [12/22]

CFTypeID cf::reference<::CFRunLoopRef >::id ( )
inlinenoexceptinherited

◆ id() [13/22]

CFTypeID cf::reference<::CFReadStreamRef >::id ( )
inlinenoexceptinherited

◆ id() [14/22]

CFTypeID cf::reference<::CFMutableStringRef >::id ( )
inlinenoexceptinherited

◆ id() [15/22]

CFTypeID cf::reference<::CFStringRef >::id ( )
inlinenoexceptinherited

◆ id() [16/22]

CFTypeID cf::reference<::CFURLRef >::id ( )
inlinenoexceptinherited

◆ id() [17/22]

CFTypeID cf::reference<::CFUUIDRef >::id ( )
inlinenoexceptinherited

◆ id() [18/22]

CFTypeID cf::reference<::SCPreferencesRef >::id ( )
inlinenoexceptinherited

◆ id() [19/22]

CFTypeID cf::reference<::SecTrustRef >::id ( )
inlinenoexceptinherited

◆ id() [20/22]

CFTypeID cf::reference<::SecCertificateRef >::id ( )
inlinenoexceptinherited

◆ id() [21/22]

CFTypeID cf::reference<::SecStaticCodeRef >::id ( )
inlinenoexceptinherited

◆ id() [22/22]

CFTypeID cf::reference<::SecCodeRef >::id ( )
inlinenoexceptinherited

◆ initialize()

reference & cf::reference< ::SecTrustRef >::initialize ( ::SecTrustRef cf_object,
bool retain = true )
inlineinherited

◆ operator::CFTypeID()

cf::reference< ::SecTrustRef >::operator::CFTypeID ( ) const
inlineexplicitnoexceptinherited

◆ operator::SecTrustRef()

cf::reference< ::SecTrustRef >::operator ::SecTrustRef ( ) const
inlinenoexceptinherited

◆ release()

reference & cf::reference< ::SecTrustRef >::release ( )
inlinenoexceptinherited

Member Data Documentation

◆ cf_object

::SecTrustRef cf::reference< ::SecTrustRef >::cf_object
protectedinherited

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.