CPKIFReasonFlags Class Reference

#include <ReasonFlags.h>

Collaboration diagram for CPKIFReasonFlags:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFReasonFlags provides access to information found in a subject alternate name extension. The ASN.1 definition used by PKIF is given below:
ReasonFlags ::= BIT STRING  
{ 
    unused                (0),
    keyCompromise         (1), 
    caCompromise          (2), 
    affiliationChanged    (3), 
    superseded            (4),
    cessationOfOperation  (5),
    certificateHold       (6) 
}

For details on accessing extensions in a certificate or CRL, see the sections on CPKIFCertificate and CPKIFCRL.

TSP-enforcing: No

Definition at line 43 of file ReasonFlags.h.


Public Member Functions

 CPKIFReasonFlags ()
 ~CPKIFReasonFlags ()
bool GetUnused () const
bool GetKeyCompromise () const
bool GetCACompromise () const
bool GetAffiliationChanged () const
bool GetSuperseded () const
bool GetCessationOfOperation () const
bool GetCertificateHold () const
bool GetPrivilegeWithdrawn () const
bool GetAACompromise () const
void SetUnused ()
void SetKeyCompromise ()
void SetCACompromise ()
void SetAffiliationChanged ()
void SetSuperseded ()
void SetCessationOfOperation ()
void SetCertificateHold ()
void SetPrivilegeWithdrawn ()
void SetAACompromise ()

Constructor & Destructor Documentation

CPKIFReasonFlags::CPKIFReasonFlags (  ) 

Interface: External

The function creates an instance of CPKIFReasonFlags.

Returns:
None

Definition at line 32 of file ReasonFlags.cpp.

CPKIFReasonFlags::~CPKIFReasonFlags (  ) 

Interface: External

The function destroys an instance of CPKIFReasonFlags.

Returns:
None

Definition at line 43 of file ReasonFlags.cpp.


Member Function Documentation

bool CPKIFReasonFlags::GetUnused (  )  const

Interface: External

This function is used to get the value of the Unused bit in the ReasonFlags object.

Returns:
True if the Unused bit is set in the ReasonFlags object, false otherwise.

Definition at line 58 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

bool CPKIFReasonFlags::GetKeyCompromise (  )  const

Interface: External

This function is used to get the value of the KeyCompromise bit in the ReasonFlags object.

Returns:
True if the KeyCompromise bit is set in the ReasonFlags object, false otherwise.

Definition at line 69 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

bool CPKIFReasonFlags::GetCACompromise (  )  const

Interface: External

This function is used to get the value of the CACompromise bit in the ReasonFlags object.

Returns:
True if the CACompromise bit is set in the ReasonFlags object, false otherwise.

Definition at line 80 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

bool CPKIFReasonFlags::GetAffiliationChanged (  )  const

Interface: External

This function is used to get the value of the AffiliationChanged bit in the ReasonFlags object.

Returns:
True if the AffiliationChanged bit is set in the ReasonFlags object, false otherwise.

Definition at line 91 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

bool CPKIFReasonFlags::GetSuperseded (  )  const

Interface: External

This function is used to get the value of the Superseded bit in the ReasonFlags object.

Returns:
True if the Superseded bit is set in the ReasonFlags object, false otherwise.

Definition at line 102 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

bool CPKIFReasonFlags::GetCessationOfOperation (  )  const

Interface: External

This function is used to get the value of the CessationOfOperation bit in the ReasonFlags object.

Returns:
True if the CessationOfOperation bit is set in the ReasonFlags object, false otherwise.

Definition at line 113 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

bool CPKIFReasonFlags::GetCertificateHold (  )  const

Interface: External

This function is used to get the value of the CertificateHold bit in the ReasonFlags object.

Returns:
True if the CertificateHold bit is set in the ReasonFlags object, false otherwise.

Definition at line 124 of file ReasonFlags.cpp.

bool CPKIFReasonFlags::GetPrivilegeWithdrawn (  )  const

Interface: External

This function is used to get the value of the PrivilegeWithdrawn bit in the ReasonFlags object.

Returns:
True if the PrivilegeWithdrawn bit is set in the ReasonFlags object, false otherwise.

Definition at line 135 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

bool CPKIFReasonFlags::GetAACompromise (  )  const

Interface: External

This function is used to get the value of the AACompromise bit in the ReasonFlags object.

Returns:
True if the AACompromise bit is set in the ReasonFlags object, false otherwise.

Definition at line 146 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetUnused (  ) 

Interface: External

This function is used to set the value of the Unused bit in the ReasonFlags object.

Returns:
None

Definition at line 157 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetKeyCompromise (  ) 

Interface: External

This function is used to set the value of the KeyCompromise bit in the ReasonFlags object.

Returns:
None

Definition at line 168 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetCACompromise (  ) 

Interface: External

This function is used to set the value of the CACompromise bit in the ReasonFlags object.

Returns:
None

Definition at line 179 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetAffiliationChanged (  ) 

Interface: External

This function is used to set the value of the AffiliationChanged bit in the ReasonFlags object.

Returns:
None

Definition at line 190 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetSuperseded (  ) 

Interface: External

This function is used to set the value of the Superseded bit in the ReasonFlags object.

Returns:
None

Definition at line 201 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetCessationOfOperation (  ) 

Interface: External

This functions is used to set the value of the CessationOfOperation bit in the ReasonFlags object.

Returns:
None

Definition at line 212 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetCertificateHold (  ) 

Interface: External

This function is used to set the value of the CertificateHold bit in the ReasonFlags object.

Returns:
None

Definition at line 223 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetPrivilegeWithdrawn (  ) 

Interface: External

This function is used to set the value of the PrivilegeWithdrawn bit in the ReasonFlags object.

Returns:
None

Definition at line 234 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().

void CPKIFReasonFlags::SetAACompromise (  ) 

Interface: External

This function is used to set the value of the AACompromise bit in the ReasonFlags object.

Returns:
None

Definition at line 245 of file ReasonFlags.cpp.

Referenced by _ProcessReasonCodesOfInterest().


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

Generated on Mon Nov 15 11:20:38 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6