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

an evaluation of a certificate chain; sec::trust::anchors restricts it to a given root - a license is checked against the embedded one, never against the keychain's trust settings More...

#include <sec_certificate.h>

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

Public Member Functions

trust & anchor (::SecCertificateRef anchor, bool only=true)
trust & anchors (::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
trust & date (::CFDateRef date)
 evaluate the certificate validity at the given date instead of now
::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
CFTypeID id () noexcept
reference & initialize (::SecTrustRef cf_object, bool retain=true)
virtual operator bool () const
 operator type<> () const noexcept
bool operator!= (::SecTrustRef cf_object) const noexcept
 operator::CFTypeID () const noexcept
 operator::CFTypeRef () const noexcept
 operator::SecTrustRef () const noexcept
bool operator== (::SecTrustRef cf_object) const noexcept
reference & release () noexcept
const reference & retain () const noexcept
 trust (::CFTypeRef chain, ::SecPolicyRef policy=::SecPolicyCreateBasicX509())

Protected Attributes

::SecTrustRef cf_object

Detailed Description

an evaluation of a certificate chain; sec::trust::anchors restricts it to a given root - a license is checked against the embedded one, never against the keychain's trust settings

Constructor & Destructor Documentation

◆ trust()

sec::trust::trust ( ::CFTypeRef chain,
::SecPolicyRef policy = ::SecPolicyCreateBasicX509() )
inline
Here is the call graph for this function:
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:

◆ evaluate()

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

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

◆ id() [1/23]

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

◆ id() [2/23]

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

◆ id() [3/23]

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

◆ id() [4/23]

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

◆ id() [5/23]

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

◆ id() [6/23]

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

◆ id() [7/23]

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

◆ id() [8/23]

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

◆ id() [9/23]

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

◆ id() [10/23]

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

◆ id() [11/23]

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

◆ id() [12/23]

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

◆ id() [13/23]

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

◆ id() [14/23]

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

◆ id() [15/23]

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

◆ id() [16/23]

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

◆ id() [17/23]

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

◆ id() [18/23]

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

◆ id() [19/23]

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

◆ id() [20/23]

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

◆ id() [21/23]

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

◆ id() [22/23]

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

◆ id() [23/23]

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

◆ initialize()

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

◆ operator bool()

virtual cf::reference< ::SecTrustRef >::operator bool ( ) const
inlinevirtualinherited

◆ operator type<>()

cf::reference< ::SecTrustRef >::operator type<> ( ) const
noexceptinherited

◆ operator!=()

bool cf::reference< ::SecTrustRef >::operator!= ( ::SecTrustRef cf_object) const
inlinenoexceptinherited

◆ operator::CFTypeID()

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

◆ operator::CFTypeRef()

cf::reference< ::SecTrustRef >::operator::CFTypeRef ( ) const
inlinenoexceptinherited
Here is the caller graph for this function:

◆ operator::SecTrustRef()

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

◆ operator==()

bool cf::reference< ::SecTrustRef >::operator== ( ::SecTrustRef cf_object) const
inlinenoexceptinherited

◆ release()

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

◆ retain()

const reference & cf::reference< ::SecTrustRef >::retain ( ) const
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.