IPKIFNameAndKey Class Reference

#include <IPKIFNameAndKey.h>

Inheritance diagram for IPKIFNameAndKey:

Inheritance graph
[legend]

List of all members.


Detailed Description

This class serves as an interface to be implemented by objects that can have name and key (like none Certificate Trust Anchors and Certificates)

TSP-enforcing: No

Definition at line 27 of file IPKIFNameAndKey.h.


Public Member Functions

 IPKIFNameAndKey ()
virtual ~IPKIFNameAndKey ()
virtual CPKIFNamePtr GetIssuerName () const =0
virtual CPKIFNamePtr GetSubjectName () const =0
virtual CPKIFBufferPtr GetKey () const =0
virtual
CPKIFSubjectPublicKeyInfoPtr 
GetSubjectPublicKeyInfo () const =0
virtual bool SameDNSameKey (const IPKIFNameAndKey &rhs) const
bool operator== (const IPKIFNameAndKey &rhs) const

Constructor & Destructor Documentation

IPKIFNameAndKey::IPKIFNameAndKey (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 20 of file IPKIFNameAndKey.cpp.

IPKIFNameAndKey::~IPKIFNameAndKey (  )  [virtual]

Interface: External

Default destructor

Returns:
None

Definition at line 30 of file IPKIFNameAndKey.cpp.


Member Function Documentation

virtual CPKIFNamePtr IPKIFNameAndKey::GetIssuerName (  )  const [pure virtual]

virtual CPKIFNamePtr IPKIFNameAndKey::GetSubjectName (  )  const [pure virtual]

virtual CPKIFBufferPtr IPKIFNameAndKey::GetKey (  )  const [pure virtual]

virtual CPKIFSubjectPublicKeyInfoPtr IPKIFNameAndKey::GetSubjectPublicKeyInfo (  )  const [pure virtual]

bool IPKIFNameAndKey::SameDNSameKey ( const IPKIFNameAndKey that  )  const [virtual]

Interface: External

This function is used to compare two IPKIFNameAndKey objects. True is returned if both IPKIFNameAndKey have the same subject DN and public key.

Returns:
True if 2 certs are the same, false otherwise
Parameters:
that  [in] Reference to a CPKIFCertificate object with which to compare subject DNs and subject public keys

Definition at line 67 of file IPKIFNameAndKey.cpp.

Referenced by NodeNotInNodeListAndNotIgnoredAndIssuedBy::operator()().

bool IPKIFNameAndKey::operator== ( const IPKIFNameAndKey rhs  )  const

Interface: External

== operator that compares 2 name and key object to determine if both name and key match

Returns:
True if both name and key match, false otherwise
Parameters:
rhs  [in] A reference to IPKIFNameAndKey objetc to be compared

Definition at line 40 of file IPKIFNameAndKey.cpp.

References GetKey(), and GetSubjectName().


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

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