|
unsigned int | getUsage () const |
| Get credential usage types. More...
|
|
const char * | getAlgorithm () const |
| Returns an algorithm identifier for the Credential. More...
|
|
unsigned int | getKeySize () const |
| Returns the size of the key in bits. More...
|
|
const XSECCryptoKey * | getPrivateKey () const |
| Returns a secret or private key to use for signing or decryption operations. More...
|
|
const XSECCryptoKey * | getPublicKey () const |
| Returns a secret or public key to use for verification or encryption operations. More...
|
|
const std::set< std::string > & | getKeyNames () const |
| Returns names representing the Credential. More...
|
|
xmlsignature::KeyInfo * | getKeyInfo (bool compact=false) const |
| Returns a ds:KeyInfo object representing the Credential for use in communicating with other entities. More...
|
|
const std::vector< XSECCryptoX509 * > & | getEntityCertificateChain () const |
| Gets an immutable collection of certificates in the entity's trust chain. More...
|
|
const std::vector< XSECCryptoX509CRL * > & | getCRLs () const |
| Gets an immutable collection of all CRLs associated with the credential. More...
|
|
const char * | getSubjectName () const |
| Gets the subject name of the first certificate in the chain. More...
|
|
const char * | getIssuerName () const |
| Gets the issuer name of the first certificate in the chain. More...
|
|
const char * | getSerialNumber () const |
| Gets the serial number of the first certificate in the chain. More...
|
|
void | extract () |
| Extracts properties like issuer and subject from the first certificate in the chain. More...
|
|
virtual const std::vector< XSECCryptoX509 * > & | getEntityCertificateChain () const =0 |
| Gets an immutable collection of certificates in the entity's trust chain. More...
|
|
virtual const std::vector< XSECCryptoX509CRL * > & | getCRLs () const =0 |
| Gets an immutable collection of all CRLs associated with the credential. More...
|
|
virtual const char * | getSubjectName () const =0 |
| Gets the subject name of the first certificate in the chain. More...
|
|
virtual const char * | getIssuerName () const =0 |
| Gets the issuer name of the first certificate in the chain. More...
|
|
virtual const char * | getSerialNumber () const =0 |
| Gets the serial number of the first certificate in the chain. More...
|
|
virtual void | extract ()=0 |
| Extracts properties like issuer and subject from the first certificate in the chain. More...
|
|
virtual unsigned int | getUsage () const =0 |
| Get credential usage types. More...
|
|
virtual const char * | getAlgorithm () const =0 |
| Returns an algorithm identifier for the Credential. More...
|
|
virtual unsigned int | getKeySize () const =0 |
| Returns the size of the key in bits. More...
|
|
virtual const XSECCryptoKey * | getPrivateKey () const =0 |
| Returns a secret or private key to use for signing or decryption operations. More...
|
|
virtual const XSECCryptoKey * | getPublicKey () const =0 |
| Returns a secret or public key to use for verification or encryption operations. More...
|
|
virtual const std::set< std::string > & | getKeyNames () const =0 |
| Returns names representing the Credential. More...
|
|
virtual xmlsignature::KeyInfo * | getKeyInfo (bool compact=false) const =0 |
| Returns a ds:KeyInfo object representing the Credential for use in communicating with other entities. More...
|
|
virtual const CredentialContext * | getCredentialContext () const |
| Get the credential context information, which provides additional information specific to the context in which the credential was resolved. More...
|
|
|
boost::scoped_ptr< 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.
|
|
boost::scoped_ptr< xmlsignature::KeyInfo > | m_keyInfo |
| The KeyInfo object representing the information.
|
|
boost::scoped_ptr< xmlsignature::KeyInfo > | m_compactKeyInfo |
| The KeyInfo object representing the information in compact form.
|
|
|
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
, KEYINFO_X509_DIGEST = 32
} |
| Bitmask of supported KeyInfo content to generate.
|
|
enum | ResolveTypes { RESOLVE_KEYS = 1
, RESOLVE_NAMES = 2
} |
| Bitmask constants for limiting resolution process inside a CredentialResolver.
|
|
enum | UsageTypes { UNSPECIFIED_CREDENTIAL = 0
, SIGNING_CREDENTIAL = 1
, TLS_CREDENTIAL = 2
, ENCRYPTION_CREDENTIAL = 4
} |
| Bitmask of use cases for credentials.
|
|
enum | KeyInfoTypes { KEYINFO_KEY_VALUE = 1
, KEYINFO_KEY_NAME = 2
} |
| Bitmask of supported KeyInfo content to generate.
|
|
Wraps an X.509-based Credential by storing key/cert objects inside.