projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Package fixes.
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
security
/
BasicX509Credential.h
diff --git
a/xmltooling/security/BasicX509Credential.h
b/xmltooling/security/BasicX509Credential.h
index
b398133
..
e33e785
100644
(file)
--- a/
xmltooling/security/BasicX509Credential.h
+++ b/
xmltooling/security/BasicX509Credential.h
@@
-61,6
+61,15
@@
namespace xmltooling {
/** Key names (derived from credential, KeyInfo, or both). */
std::set<std::string> m_keyNames;
/** Key names (derived from credential, KeyInfo, or both). */
std::set<std::string> m_keyNames;
+ /** Subject DN. */
+ std::string m_subjectName;
+
+ /** Issuer DN. */
+ std::string m_issuerName;
+
+ /** Serial number. */
+ std::string m_serial;
+
/** The X.509 certificate chain. */
std::vector<XSECCryptoX509*> m_xseccerts;
/** The X.509 certificate chain. */
std::vector<XSECCryptoX509*> m_xseccerts;
@@
-80,7
+89,7
@@
namespace xmltooling {
* Initializes (or reinitializes) a ds:KeyInfo to represent the Credential.
*/
void initKeyInfo();
* Initializes (or reinitializes) a ds:KeyInfo to represent the Credential.
*/
void initKeyInfo();
-
+
public:
virtual ~BasicX509Credential();
public:
virtual ~BasicX509Credential();
@@
-125,6
+134,20
@@
namespace xmltooling {
XSECCryptoX509CRL* getCRL() const {
return m_crl;
}
XSECCryptoX509CRL* getCRL() const {
return m_crl;
}
+
+ const char* getSubjectName() const {
+ return m_subjectName.c_str();
+ }
+
+ const char* getIssuerName() const {
+ return m_issuerName.c_str();
+ }
+
+ const char* getSerialNumber() const {
+ return m_serial.c_str();
+ }
+
+ void extract();
};
};
};
};