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

persistant system configuration storarage base class - do not use directly! use sc::preference More...

#include <sec_certificate.h>

Inheritance diagram for sec::certificate:
Collaboration diagram for sec::certificate:

Public Member Functions

 certificate (::CFDataRef certificate)
 certificate (::CFStringRef name, ::CFArrayRef usage=nullptr)
::CFStringRef cn () const
::CFIndex count () const noexcept
::CFArrayRef emails () const
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 (::SecCertificateRef cf_object, bool retain=true)
::CFDataRef issuers () const noexcept
 The issuer is a sequence in the format used by SecItemCopyMatching. The content returned is a DER-encoded X.509 distinguished name. For a display version of the issuer, call SecCertificateCopyValues. The caller must CFRelease the value returned.
virtual operator bool () const
 operator type<> () const noexcept
bool operator!= (::SecCertificateRef cf_object) const noexcept
 operator::CFDataRef () const noexcept
 operator::CFDictionaryRef () const noexcept
 operator::CFTypeID () const noexcept
 operator::CFTypeRef () const noexcept
 operator::SecCertificateRef () const noexcept
 operator::SecKeyRef () const noexcept
 Retrieves the public key for a given certificate.
bool operator== (::SecCertificateRef cf_object) const noexcept
::CFTypeRef operator[] (::CFArrayRef array) const noexcept
::CFTypeRef operator[] (::CFStringRef oid) const
reference & release () noexcept
const reference & retain () const noexcept
::CFDataRef serial () const noexcept
 Return the content of a DER-encoded integer (without the tag and length fields) for this certificate's serial number. The caller must CFRelease the value returned.
::CFDataRef subjects () const noexcept
 The subject is a sequence in the format used by SecItemCopyMatching. The content returned is a DER-encoded X.509 distinguished name. For a display version of the subject, call SecCertificateCopyValues. The caller must CFRelease the value returned.
::CFStringRef summary () const noexcept
::CFDateRef valid_after () const noexcept
 Returns the absolute time at which the given certificate becomes valid, or NULL if this value could not be obtained. The caller must CFRelease the value returned.
::CFDateRef valid_before () const noexcept
 Returns the absolute time at which the given certificate becomes valid, or NULL if this value could not be obtained. The caller must CFRelease the value returned.

Protected Attributes

::SecCertificateRef cf_object

Detailed Description

persistant system configuration storarage base class - do not use directly! use sc::preference

Constructor & Destructor Documentation

◆ certificate() [1/2]

sec::certificate::certificate ( ::CFDataRef certificate)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ certificate() [2/2]

sec::certificate::certificate ( ::CFStringRef name,
::CFArrayRef usage = nullptr )
inline

Member Function Documentation

◆ cn()

::CFStringRef sec::certificate::cn ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ count()

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

◆ emails()

::CFArrayRef sec::certificate::emails ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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< ::SecCertificateRef >::initialize ( ::SecCertificateRef cf_object,
bool retain = true )
inlineinherited

◆ issuers()

::CFDataRef sec::certificate::issuers ( ) const
inlinenoexcept

The issuer is a sequence in the format used by SecItemCopyMatching. The content returned is a DER-encoded X.509 distinguished name. For a display version of the issuer, call SecCertificateCopyValues. The caller must CFRelease the value returned.

Here is the call graph for this function:

◆ operator bool()

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

Reimplemented in dx::license.

◆ operator type<>()

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

◆ operator!=()

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

◆ operator::CFDataRef()

sec::certificate::operator::CFDataRef ( ) const
inlinenoexcept
Here is the caller graph for this function:

◆ operator::CFDictionaryRef()

sec::certificate::operator::CFDictionaryRef ( ) const
inlinenoexcept

◆ operator::CFTypeID()

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

◆ operator::CFTypeRef()

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

◆ operator::SecCertificateRef()

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

◆ operator::SecKeyRef()

sec::certificate::operator::SecKeyRef ( ) const
inlinenoexcept

Retrieves the public key for a given certificate.

◆ operator==()

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

◆ operator[]() [1/2]

::CFTypeRef sec::certificate::operator[] ( ::CFArrayRef array) const
inlinenoexcept
Here is the call graph for this function:

◆ operator[]() [2/2]

::CFTypeRef sec::certificate::operator[] ( ::CFStringRef oid) const
inline
Here is the call graph for this function:

◆ release()

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

◆ retain()

const reference & cf::reference< ::SecCertificateRef >::retain ( ) const
inlinenoexceptinherited

◆ serial()

::CFDataRef sec::certificate::serial ( ) const
inlinenoexcept

Return the content of a DER-encoded integer (without the tag and length fields) for this certificate's serial number. The caller must CFRelease the value returned.

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

◆ subjects()

::CFDataRef sec::certificate::subjects ( ) const
inlinenoexcept

The subject is a sequence in the format used by SecItemCopyMatching. The content returned is a DER-encoded X.509 distinguished name. For a display version of the subject, call SecCertificateCopyValues. The caller must CFRelease the value returned.

Here is the call graph for this function:

◆ summary()

::CFStringRef sec::certificate::summary ( ) const
inlinenoexcept

◆ valid_after()

::CFDateRef sec::certificate::valid_after ( ) const
inlinenoexcept

Returns the absolute time at which the given certificate becomes valid, or NULL if this value could not be obtained. The caller must CFRelease the value returned.

◆ valid_before()

::CFDateRef sec::certificate::valid_before ( ) const
inlinenoexcept

Returns the absolute time at which the given certificate becomes valid, or NULL if this value could not be obtained. The caller must CFRelease the value returned.

Member Data Documentation

◆ cf_object

::SecCertificateRef cf::reference< ::SecCertificateRef >::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.