#include <OpenSSLCryptoKeyDSA.hpp>
Inheritance diagram for OpenSSLCryptoKeyDSA:
Public Methods | |
OpenSSLCryptoKeyDSA () | |
virtual | ~OpenSSLCryptoKeyDSA () |
virtual XSECCryptoKey::KeyType | getKeyType () |
Return the type of this key. More... | |
virtual XSECCryptoKey * | clone () |
Replicate key. More... | |
virtual void | loadPBase64BigNums (const char *b64, unsigned int len) |
Load P. More... | |
virtual void | loadQBase64BigNums (const char *b64, unsigned int len) |
Load Q. More... | |
virtual void | loadGBase64BigNums (const char *b64, unsigned int len) |
Load G. More... | |
virtual void | loadYBase64BigNums (const char *b64, unsigned int len) |
Load Y. More... | |
virtual void | loadJBase64BigNums (const char *b64, unsigned int len) |
Load J. More... | |
virtual bool | verifyBase64Signature (unsigned char *hashBuf, unsigned int hashLen, char *base64Signature, unsigned int sigLen) |
Verify a signature. More... | |
virtual unsigned int | signBase64Signature (unsigned char *hashBuf, unsigned int hashLen, char *base64SignatureBuf, unsigned int base64SignatureBufLen) |
Create a signature. More... | |
OpenSSLCryptoKeyDSA (EVP_PKEY *k) |
|
|
|
|
|
|
|
Replicate key.
Implements XSECCryptoKeyDSA. |
|
Return the type of this key.
For DSA keys, this allows people to determine whether this is a public key, private key or a key pair Reimplemented from XSECCryptoKeyDSA. |
|
Load G.
Implements XSECCryptoKeyDSA. |
|
Load J.
Implements XSECCryptoKeyDSA. |
|
Load P.
Implements XSECCryptoKeyDSA. |
|
Load Q.
Implements XSECCryptoKeyDSA. |
|
Load Y.
Implements XSECCryptoKeyDSA. |
|
Create a signature.
The library will call this function to create a signature from a pre-calculated digest. The output signature is required to be Base64 encoded such that it can be placed directly into the XML document
Implements XSECCryptoKeyDSA. |
|
Verify a signature.
The library will call this function to validate a signature
Implements XSECCryptoKeyDSA. |