#include <IPKIFNameAndKey.h>
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 |
IPKIFNameAndKey::IPKIFNameAndKey | ( | ) |
Interface: External
Default constructor
Definition at line 20 of file IPKIFNameAndKey.cpp.
IPKIFNameAndKey::~IPKIFNameAndKey | ( | ) | [virtual] |
Interface: External
Default destructor
Definition at line 30 of file IPKIFNameAndKey.cpp.
virtual CPKIFNamePtr IPKIFNameAndKey::GetIssuerName | ( | ) | const [pure virtual] |
Implemented in CPKIFTrustRoot, and CPKIFCertificate.
Referenced by NodeNotInNodeListAndNotIgnoredAndIssuedBy::operator()().
virtual CPKIFNamePtr IPKIFNameAndKey::GetSubjectName | ( | ) | const [pure virtual] |
virtual CPKIFBufferPtr IPKIFNameAndKey::GetKey | ( | ) | const [pure virtual] |
Implemented in CPKIFTrustRoot, and CPKIFCertificate.
Referenced by _HashPublicKey(), CPKIFNameAndKeyWithScore::operator==(), and operator==().
virtual CPKIFSubjectPublicKeyInfoPtr IPKIFNameAndKey::GetSubjectPublicKeyInfo | ( | ) | const [pure virtual] |
Implemented in CPKIFTrustRoot, and CPKIFCertificate.
Referenced by CPKIFPathBasicChecks2::DoChecks().
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.
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
rhs | [in] A reference to IPKIFNameAndKey objetc to be compared |
Definition at line 40 of file IPKIFNameAndKey.cpp.
References GetKey(), and GetSubjectName().