#include <WinCAPICryptoKeyDSA.hpp>
Inheritance diagram for WinCAPICryptoKeyDSA:
Public Methods | |
WinCAPICryptoKeyDSA (WinCAPICryptoProvider *owner) | |
virtual | ~WinCAPICryptoKeyDSA () |
WinCAPICryptoKeyDSA (WinCAPICryptoProvider *owner, HCRYPTKEY k, bool havePrivate=false) | |
Dedicated WinCAPI constructor. | |
virtual XSECCryptoKey::KeyType | getKeyType () |
Return the type of this key. | |
virtual const XMLCh * | getProviderName () |
Returns a string that identifies the crypto owner of this library. | |
virtual XSECCryptoKey * | clone () |
Replicate key. | |
virtual void | loadPBase64BigNums (const char *b64, unsigned int len) |
Load P. | |
virtual void | loadQBase64BigNums (const char *b64, unsigned int len) |
Load Q. | |
virtual void | loadGBase64BigNums (const char *b64, unsigned int len) |
Load G. | |
virtual void | loadYBase64BigNums (const char *b64, unsigned int len) |
Load Y. | |
virtual void | loadJBase64BigNums (const char *b64, unsigned int len) |
Load J. | |
virtual bool | verifyBase64Signature (unsigned char *hashBuf, unsigned int hashLen, char *base64Signature, unsigned int sigLen) |
Verify a signature. | |
virtual unsigned int | signBase64Signature (unsigned char *hashBuf, unsigned int hashLen, char *base64SignatureBuf, unsigned int base64SignatureBufLen) |
Create a signature. | |
unsigned int | getPBase64BigNums (char *b64, unsigned int len) |
unsigned int | getQBase64BigNums (char *b64, unsigned int len) |
unsigned int | getGBase64BigNums (char *b64, unsigned int len) |
unsigned int | getYBase64BigNums (char *b64, unsigned int len) |
|
|
|
|
|
Dedicated WinCAPI constructor. Create a DSA key for use in XSEC from an existing HCRYPTKEY
|
|
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. |
|
|
|
Returns a string that identifies the crypto owner of this library.
Implements XSECCryptoKey. |
|
|
|
|
|
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. |