#include <xmltooling/security/BasicX509Credential.h>
Inheritance diagram for xmltooling::BasicX509Credential:

Public Member Functions | |
| unsigned int | getUsage () const |
| Get credential usage types. | |
| const char * | getAlgorithm () const |
| Returns an algorithm identifier for the Credential. | |
| unsigned int | getKeySize () const |
| Returns the size of the key in bits. | |
| XSECCryptoKey * | getPrivateKey () const |
| Returns a secret or private key to use for signing or decryption operations. | |
| XSECCryptoKey * | getPublicKey () const |
| Returns a secret or public key to use for verification or encryption operations. | |
| const std::set< std::string > & | getKeyNames () const |
| Returns names representing the Credential. | |
| xmlsignature::KeyInfo * | getKeyInfo (bool compact=false) const |
| Returns a ds:KeyInfo object representing the Credential for use in communicating with other entities. | |
| const std::vector< XSECCryptoX509 * > & | getEntityCertificateChain () const |
| Gets an immutable collection of certificates in the entity's trust chain. | |
| XSECCryptoX509CRL * | getCRL () const |
| const std::vector< XSECCryptoX509CRL * > & | getCRLs () const |
| Gets an immutable collection of all CRLs associated with the credential. | |
| const char * | getSubjectName () const |
| Gets the subject name of the first certificate in the chain. | |
| const char * | getIssuerName () const |
| Gets the issuer name of the first certificate in the chain. | |
| const char * | getSerialNumber () const |
| Gets the serial number of the first certificate in the chain. | |
| void | extract () |
| Extracts properties like issuer and subject from the first certificate in the chain. | |
Protected Member Functions | |
| BasicX509Credential (bool ownCerts) | |
| Constructor. | |
| BasicX509Credential (XSECCryptoKey *key, const std::vector< XSECCryptoX509 * > &certs, XSECCryptoX509CRL *crl=0) | |
| Constructor. | |
| BasicX509Credential (XSECCryptoKey *key, const std::vector< XSECCryptoX509 * > &certs, const std::vector< XSECCryptoX509CRL * > &crls) | |
| Constructor. | |
| void | initKeyInfo (unsigned int types=0) |
| Initializes (or reinitializes) a ds:KeyInfo to represent the Credential. | |
Protected Attributes | |
| XSECCryptoKey * | m_key |
| The private/secret key/keypair. | |
| std::set< std::string > | m_keyNames |
| Key names (derived from credential, KeyInfo, or both). | |
| std::string | m_subjectName |
| Subject DN. | |
| std::string | m_issuerName |
| Issuer DN. | |
| std::string | m_serial |
| Serial number. | |
| std::vector< XSECCryptoX509 * > | m_xseccerts |
| The X.509 certificate chain. | |
| bool | m_ownCerts |
| Indicates whether to destroy certificates. | |
| std::vector< XSECCryptoX509CRL * > | m_crls |
| The X.509 CRLs. | |
| xmlsignature::KeyInfo * | m_keyInfo |
| The KeyInfo object representing the information. | |
| xmlsignature::KeyInfo * | m_compactKeyInfo |
| The KeyInfo object representing the information in compact form. | |
|
|
Constructor.
|
|
||||||||||||||||
|
Constructor.
|
|
||||||||||||||||
|
Constructor.
|
|
|
Returns an algorithm identifier for the Credential.
Implements xmltooling::Credential. |
|
|
Gets a CRL associated with the credential.
Implements xmltooling::X509Credential. |
|
|
Gets an immutable collection of all CRLs associated with the credential.
Implements xmltooling::X509Credential. |
|
|
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.
Implements xmltooling::X509Credential. |
|
|
Gets the issuer name of the first certificate in the chain.
Implements xmltooling::X509Credential. |
|
|
Returns a ds:KeyInfo object representing the Credential for use in communicating with other entities.
Implements xmltooling::Credential. |
|
|
Returns names representing the Credential. Names should be unique in the context of the comparisons against CredentialCriteria that deployments expect to see.
Implements xmltooling::Credential. |
|
|
Returns the size of the key in bits.
Implements xmltooling::Credential. |
|
|
Returns a secret or private key to use for signing or decryption operations.
Implements xmltooling::Credential. |
|
|
Returns a secret or public key to use for verification or encryption operations.
Implements xmltooling::Credential. |
|
|
Gets the serial number of the first certificate in the chain.
Implements xmltooling::X509Credential. |
|
|
Gets the subject name of the first certificate in the chain.
Implements xmltooling::X509Credential. |
|
|
Get credential usage types.
Implements xmltooling::Credential. |
|
|
Initializes (or reinitializes) a ds:KeyInfo to represent the Credential.
|
1.4.6