#include <xmltooling/security/X509Credential.h>
Inheritance diagram for xmltooling::X509Credential:
Public Types | |
RESOLVE_CERTS = 4 | |
RESOLVE_CRLS = 8 | |
KEYINFO_X509_CERTIFICATE = 4 | |
KEYINFO_X509_SUBJECTNAME = 8 | |
KEYINFO_X509_ISSUERSERIAL = 16 | |
enum | ResolveTypes { RESOLVE_CERTS = 4, RESOLVE_CRLS = 8 } |
Bitmask constants for limiting resolution process inside a CredentialResolver. | |
enum | KeyInfoTypes { KEYINFO_X509_CERTIFICATE = 4, KEYINFO_X509_SUBJECTNAME = 8, KEYINFO_X509_ISSUERSERIAL = 16 } |
Bitmask of supported KeyInfo content to generate. | |
Public Member Functions | |
virtual const std::vector< XSECCryptoX509 * > & | getEntityCertificateChain () const =0 |
Gets an immutable collection of certificates in the entity's trust chain. | |
virtual XSECCryptoX509CRL * | getCRL () const =0 |
virtual const std::vector< XSECCryptoX509CRL * > & | getCRLs () const =0 |
Gets an immutable collection of all CRLs associated with the credential. | |
virtual const char * | getSubjectName () const =0 |
Gets the subject name of the first certificate in the chain. | |
virtual const char * | getIssuerName () const =0 |
Gets the issuer name of the first certificate in the chain. | |
virtual const char * | getSerialNumber () const =0 |
Gets the serial number of the first certificate in the chain. | |
virtual void | extract ()=0 |
Extracts properties like issuer and subject from the first certificate in the chain. |
virtual XSECCryptoX509CRL* xmltooling::X509Credential::getCRL | ( | ) | const [pure virtual] |
Gets a CRL associated with the credential.
Implemented in xmltooling::BasicX509Credential.
virtual const std::vector<XSECCryptoX509CRL*>& xmltooling::X509Credential::getCRLs | ( | ) | const [pure virtual] |
Gets an immutable collection of all CRLs associated with the credential.
Implemented in xmltooling::BasicX509Credential.
virtual const std::vector<XSECCryptoX509*>& xmltooling::X509Credential::getEntityCertificateChain | ( | ) | const [pure virtual] |
Gets an immutable collection of certificates in the entity's trust chain.
The entity certificate is contained within this list. No specific ordering of the certificates is guaranteed.
Implemented in xmltooling::BasicX509Credential.
virtual const char* xmltooling::X509Credential::getIssuerName | ( | ) | const [pure virtual] |
Gets the issuer name of the first certificate in the chain.
Implemented in xmltooling::BasicX509Credential.
virtual const char* xmltooling::X509Credential::getSerialNumber | ( | ) | const [pure virtual] |
Gets the serial number of the first certificate in the chain.
Implemented in xmltooling::BasicX509Credential.
virtual const char* xmltooling::X509Credential::getSubjectName | ( | ) | const [pure virtual] |
Gets the subject name of the first certificate in the chain.
Implemented in xmltooling::BasicX509Credential.