#include <stdio.h>
#include <OpenSOAP/Envelope.h>
Go to the source code of this file.
Defines | |
#define | OPENSOAP_HA_MD2 (1) /* MD2 */ |
Hash Algorithm Definition For MD2. | |
#define | OPENSOAP_HA_MD4 (2) /* MD4 */ |
Hash Algorithm Definition For MD4. | |
#define | OPENSOAP_HA_MD5 (3) /* MD5 */ |
Hash Algorithm Definition For MD5. | |
#define | OPENSOAP_HA_MDC2 (4) /* MDC2 */ |
Hash Algorithm Definition For MDC2. | |
#define | OPENSOAP_HA_RIPEMD (5) /* RIPEMD */ |
Hash Algorithm Definition For RIPEMD. | |
#define | OPENSOAP_HA_SHA (6) /* SHA */ |
Hash Algorithm Definition For SHA. | |
#define | OPENSOAP_CA_OWNER_LEN (1024) |
Max Owner Length in CA Database. | |
#define | OPENSOAP_CERT_DATE_LEN (14) |
Data Length in Certificate. | |
Typedefs | |
typedef tagOpenSOAPSecCert | OpenSOAPSecCert |
OpenSOAPSecCert Structure Type Definition. | |
typedef OpenSOAPSecCert * | OpenSOAPSecCertPtr |
OpenSOAPSecCert Pointer Type Definition. | |
typedef tagOpenSOAPCARec | OpenSOAPCARec |
OpenSOAPCARec Structure Type Definition. | |
typedef OpenSOAPCARec * | OpenSOAPCARecPtr |
OpenSOAPCARec Pointer Type Definition. | |
Functions | |
int | OpenSOAPSecGenerateRSAKeys (const unsigned char *szSeedPhrase, FILE *fpPrivKey, FILE *fpPubKey) |
Generate RSA Keys To Stream. | |
int | OpenSOAPSecGenerateRSAKeysToFile (const unsigned char *szSeedPhrase, const char *szPrivKeyFileName, const char *szPubKeyFileName) |
Generate RSA Keys To File. | |
int | OpenSOAPSecEncWithStream (OpenSOAPEnvelopePtr env, FILE *fpPubKey) |
Encrypt Envelope Using Public Key File Stream. | |
int | OpenSOAPSecEncWithFile (OpenSOAPEnvelopePtr env, const char *szPubKName) |
Encrypt Envelope Using Public Key File. | |
int | OpenSOAPSecDecWithStream (OpenSOAPEnvelopePtr env, FILE *fpPrivKey) |
Decrypt Envelope Using Private Key File Stream. | |
int | OpenSOAPSecDecWithFile (OpenSOAPEnvelopePtr env, const char *szPrivKName) |
Decrypt Envelope Using Private Key File. | |
int | OpenSOAPSecAddSignWithStream (OpenSOAPEnvelopePtr env, int iType, FILE *fpPrivKey, OpenSOAPStringPtr name) |
Add Signature to SOAP Message using PrivateKey File Stream. | |
int | OpenSOAPSecAddSignWithFile (OpenSOAPEnvelopePtr env, int iType, const char *szPrivKName, OpenSOAPStringPtr name) |
Add Signature to SOAP Message using PrivateKey File. | |
int | OpenSOAPSecCntSign (const OpenSOAPEnvelopePtr env, int *pnSig) |
Count Signatures. | |
int | OpenSOAPSecGetSignedByList (OpenSOAPEnvelopePtr env, int nCntMax, OpenSOAPStringPtr list[], int *pnCntPacked) |
Get "SignedBy" List of Signatures. | |
int | OpenSOAPSecVerifySignWithStream (OpenSOAPEnvelopePtr env, FILE *fpPubKey) |
Verify Signature using PublicKey File Stream. | |
int | OpenSOAPSecVerifySignWithFile (OpenSOAPEnvelopePtr env, const char *szPubKName) |
Verify Signature using PublicKey File. | |
int | OpenSOAPSecCertCreateWithStream (const char *szPublish, FILE *fpPrivKey, int iHashType, const OpenSOAPCARecPtr pRec, FILE *fpCert) |
Create Certificate from CA Record(stream). | |
int | OpenSOAPSecCertCreateWithFile (const char *szPublish, const char *szPrivKeyFile, int iHashType, const OpenSOAPCARecPtr pRec, const char *szCertName) |
Create Certificate from CA Record(file). | |
int | OpenSOAPSecCertLoadFromMem (size_t sizArea, const unsigned char *pucArea, OpenSOAPSecCertPtr *ppCert) |
Load Certificate From Memory. | |
int | OpenSOAPSecCertLoad (const char *szName, OpenSOAPSecCertPtr *ppCert) |
Load Certificate From File. | |
int | OpenSOAPSecCertFree (OpenSOAPSecCertPtr ppCert) |
Free Certificate. | |
int | OpenSOAPSecCertVerifyWithStream (FILE *fpCert, FILE *fpPubKey) |
Verify Certificate (Stream). | |
int | OpenSOAPSecCertVerifyWithFile (const char *szCertName, const char *szPubKeyName) |
Verify Certificate (File). | |
int | OpenSOAPSecCertGetPublisherName (OpenSOAPSecCertPtr pCert, char **pszName) |
Get Name Of Publisher. | |
int | OpenSOAPSecCertGetSerialNo (OpenSOAPSecCertPtr pCert, unsigned long *pulSerial) |
Get Serial Number. | |
int | OpenSOAPSecCertGetOwnerName (OpenSOAPSecCertPtr pCert, char **pszName) |
Get Name of Owner. | |
int | OpenSOAPSecCertGetEndDate (OpenSOAPSecCertPtr pCert, char **pszDate) |
Get End Date. | |
int | OpenSOAPSecCertGetPubKey (OpenSOAPSecCertPtr pCert, const char *szSaveName) |
Get Public Key. | |
int | OpenSOAPSecDecodeKeyFile (FILE *fp, unsigned long *pulLenOut, unsigned char **ppucDecode) |
Decode Key File. | |
int | OpenSOAPSecCABrowseRec (const OpenSOAPCARecPtr pRec, FILE *fpOut) |
Browse CA Record. | |
int | OpenSOAPSecCABrowse (FILE *fpOut) |
Browse CA Database. | |
int | OpenSOAPSecCARegist (const char *szNameOwner, const char *szTermDate, size_t sizPubkey, const unsigned char *szPubKey, unsigned long *pulSerialNo) |
Regist Key To CA Databse. | |
int | OpenSOAPSecCAInvalidate (const char *szNameOwner, unsigned long ulSerial) |
Invalidate CA Record. | |
int | OpenSOAPSecCASearchRecords (const char *szNameOwner, int *pnRec, long **pplIdxs) |
Search Records. | |
int | OpenSOAPSecCASearchOneRecord (const char *szNameOwner, OpenSOAPCARecPtr *ppRec) |
Search Record(Longest Period). | |
int | OpenSOAPSecCAGetRecord (long lIdx, OpenSOAPCARecPtr *ppRec) |
Get Record. | |
int | OpenSOAPSecCAFreeRecord (OpenSOAPCARecPtr pRec) |
Free Record. | |
int | OpenSOAPSecCARemoveRecord (unsigned long ulSerial) |
Remove CA Record. |
|
Max Owner Length in CA Database. (1024) |
|
Data Length in Certificate. (14) |
|
Hash Algorithm Definition For MD2. (1) |
|
Hash Algorithm Definition For MD4. (2) |
|
Hash Algorithm Definition For MD5. (3) |
|
Hash Algorithm Definition For MDC2. (4) |
|
Hash Algorithm Definition For RIPEMD. (5) |
|
Hash Algorithm Definition For SHA. (6) |
|
Add Signature to SOAP Message using PrivateKey File.
|
|
Add Signature to SOAP Message using PrivateKey File Stream.
|
|
Browse CA Database.
|
|
Browse CA Record.
|
|
Free Record.
|
|
Get Record.
|
|
Invalidate CA Record.
|
|
Regist Key To CA Databse.
|
|
Remove CA Record.
|
|
Search Record(Longest Period).
|
|
Search Records.
|
|
Create Certificate from CA Record(file).
|
|
Create Certificate from CA Record(stream).
|
|
Free Certificate.
|
|
Get End Date.
|
|
Get Name of Owner.
|
|
Get Public Key.
|
|
Get Name Of Publisher.
|
|
Get Serial Number.
|
|
Load Certificate From File.
|
|
Load Certificate From Memory.
|
|
Verify Certificate (File).
|
|
Verify Certificate (Stream).
|
|
Count Signatures.
|
|
Decode Key File.
|
|
Decrypt Envelope Using Private Key File.
|
|
Decrypt Envelope Using Private Key File Stream.
|
|
Encrypt Envelope Using Public Key File.
|
|
Encrypt Envelope Using Public Key File Stream.
|
|
Generate RSA Keys To Stream.
|
|
Generate RSA Keys To File.
|
|
Get "SignedBy" List of Signatures.
|
|
Verify Signature using PublicKey File.
|
|
Verify Signature using PublicKey File Stream.
|