libcryptosec
|
#include <CertificateRequestSPKAC.h>
Public Member Functions | |
CertificateRequestSPKAC (std::string &netscapeSPKIBase64) throw (EncodeException) | |
CertificateRequestSPKAC (X509_REQ *req, NETSCAPE_SPKI *netscapeSPKI) | |
CertificateRequestSPKAC (std::string &certificateRequestPemEncoded, std::string &netscapeSPKIBase64) throw (EncodeException) | |
virtual | ~CertificateRequestSPKAC () |
bool | verify () throw (AsymmetricKeyException, NetscapeSPKIException) |
bool | isSigned () const throw () |
![]() | |
CertificateRequest () | |
CertificateRequest (X509_REQ *req) | |
CertificateRequest (std::string &pemEncoded) throw (EncodeException) | |
CertificateRequest (ByteArray &derEncoded) throw (EncodeException) | |
CertificateRequest (const CertificateRequest &req) | |
virtual | ~CertificateRequest () |
std::string | getXmlEncoded () |
std::string | getXmlEncoded (std::string tab) |
virtual std::string | toXml (std::string tab="") |
std::string | getPemEncoded () throw (EncodeException) |
ByteArray | getDerEncoded () const throw (EncodeException) |
MessageDigest::Algorithm | getMessageDigestAlgorithm () throw (MessageDigestException) |
void | setVersion (long version) |
long | getVersion () |
void | setPublicKey (PublicKey &publicKey) |
PublicKey * | getPublicKey () throw (CertificationException, AsymmetricKeyException) |
ByteArray | getPublicKeyInfo () throw (CertificationException) |
void | setSubject (RDNSequence &name) |
RDNSequence | getSubject () |
void | addExtension (Extension &extension) |
void | addExtensions (std::vector< Extension *> &extensions) |
void | replaceExtension (Extension &extension) throw (CertificationException) |
std::vector< Extension * > | removeExtension (Extension::Name extensionName) throw (CertificationException) |
std::vector< Extension * > | removeExtension (ObjectIdentifier extOID) throw (CertificationException) |
std::vector< Extension * > | getExtension (Extension::Name extensionName) |
std::vector< Extension * > | getExtensions () |
std::vector< Extension * > | getUnknownExtensions () |
ByteArray | getFingerPrint (MessageDigest::Algorithm algorithm) const throw (CertificationException, EncodeException, MessageDigestException) |
void | sign (PrivateKey &privateKey, MessageDigest::Algorithm messageDigestAlgorithm) throw (CertificationException) |
X509_REQ * | getX509Req () const |
CertificateRequest & | operator= (const CertificateRequest &value) |
Protected Attributes | |
NetscapeSPKI * | spkac |
![]() | |
X509_REQ * | req |
CertificateRequestSPKAC::CertificateRequestSPKAC | ( | std::string & | netscapeSPKIBase64 | ) | |
throw | ( | EncodeException | |||
) |
CertificateRequestSPKAC::CertificateRequestSPKAC | ( | X509_REQ * | req, |
NETSCAPE_SPKI * | netscapeSPKI | ||
) |
CertificateRequestSPKAC::CertificateRequestSPKAC | ( | std::string & | certificateRequestPemEncoded, |
std::string & | netscapeSPKIBase64 | ||
) | |||
throw | ( | EncodeException | |
) |
|
virtual |
|
virtual |
Reimplemented from CertificateRequest.
|
virtual |
Reimplemented from CertificateRequest.
|
protected |