Back to index

lightning-sunbird  0.9+nobinonly
Functions
crmffut.h File Reference

Go to the source code of this file.

Functions

CRMFSinglePubInfo * CRMF_CreateSinglePubInfo (CRMFPublicationMethod inPubMethod, CRMFGeneralName *pubLocation)
CRMFPKIPublicationInfo * CRMF_CreatePKIPublicationInfo (CRMFPublicationAction inAction, CRMFSinglePubInfo **inPubInfoArray, int numPubInfo)
SECStatus CRMF_DestroyPKIPublicationInfo (CRMFPKIPublicationInfo *inPubInfo)
SECStatus CRMF_AddPubInfoControl (CRMFCertRequest *inCertReq, CRMFPKIPublicationInfo *inPubInfo)
CRMFCertID * CRMF_CreateCertID (CRMFGeneralName *issuer, long serialNumber)
SECStatus CRMF_DestroyCertID (CRMFCertID *certID)
SECStatus CRMF_AddCertIDControl (CRMFCertRequest *inCertReq, CRMFCertID *certID)
SECStatus CRMF_AddProtocolEncryptioKeyControl (CRMFCertRequest *inCertReq, CERTSubjectPublicKeyInfo *spki)
SECStatus CRMF_AddUTF8PairsRegInfo (CRMFCertRequest *inCertReq, SECItem *asciiPairs)
SECStatus CRMF_AddCertReqToRegInfo (CRMFCertRequest *certReqToAddTo, CRMFCertRequest *certReqBeingAdded)
CRMFPOPOSkiInputAuthChoice CRMF_GetSignKeyInputAuthChoice (CRMFPOPOSigningKeyInput *inKeyInput)
SECStatus CRMF_GetSignKeyInputPKMACValue (CRMFPOPOSigningKeyInput *inKeyInput, CRMFPKMACValue **destValue)
CERTSubjectPublicKeyInfo * CRMF_GetSignKeyInputPublicKey (CRMFPOPOSigningKeyInput *inKeyInput)
CRMFPKIPublicationInfo * CRMF_GetPKIPubInfo (CRMFControl *inControl)
CRMFPublicationAction CRMF_GetPublicationAction (CRMFPKIPublicationInfo *inPubInfo)
int CRMF_GetNumPubInfos (CRMFPKIPublicationInfo *inPubInfo)
CRMFSinglePubInfo * CRMF_GetPubInfoAtIndex (CRMFPKIPublicationInfo *inPubInfo, int index)
SECStatus CRMF_DestroySinglePubInfo (CRMFSinglePubInfo *inPubInfo)
CRMFPublicationMethod CRMF_GetPublicationMethod (CRMFSinglePubInfo *inPubInfo)
CRMFGeneralNameCRMF_GetPubLocation (CRMFSinglePubInfo *inPubInfo)
SECStatus CRMF_GetSignKeyInputSender (CRMFPOPOSigningKeyInput *keyInput, CRMFGeneralName **destName)
SECStatus CMMF_POPODecKeyChallContentSetNextChallenge (CMMFPOPODecKeyChallContent *inDecKeyChall, long inRandom, CERTGeneralName *inSender, SECKEYPublicKey *inPubKey)
int CMMF_POPODecKeyChallContentGetNumChallenges (CMMFPOPODecKeyChallContent *inKeyChallCont)
SECStatus CMMF_ChallengeGetRandomNumber (CMMFChallenge *inChallenge, long *inDest)
CERTGeneralName * CMMF_ChallengeGetSender (CMMFChallenge *inChallenge)
SECStatus CMMF_ChallengeGetAlgId (CMMFChallenge *inChallenge, SECAlgorithmID *inAlgId)
SECStatus CMMF_DestroyChallenge (CMMFChallenge *inChallenge)
SECStatus CMMF_DestroyPOPODecKeyRespContent (CMMFPOPODecKeyRespContent *inDecKeyResp)
SECStatus CMMF_ChallengeDecryptWitness (CMMFChallenge *inChallenge, SECKEYPrivateKey *inPrivKey)
PRBool CMMF_ChallengeIsDecrypted (CMMFChallenge *inChallenge)
SECStatus CMMF_DestroyPOPODecKeyChallContent (CMMFPOPODecKeyChallContent *inDecKeyCont)

Function Documentation

SECStatus CMMF_ChallengeDecryptWitness ( CMMFChallenge *  inChallenge,
SECKEYPrivateKey *  inPrivKey 
)
SECStatus CMMF_ChallengeGetAlgId ( CMMFChallenge *  inChallenge,
SECAlgorithmID *  inAlgId 
)
SECStatus CMMF_ChallengeGetRandomNumber ( CMMFChallenge *  inChallenge,
long inDest 
)
CERTGeneralName* CMMF_ChallengeGetSender ( CMMFChallenge *  inChallenge)
PRBool CMMF_ChallengeIsDecrypted ( CMMFChallenge *  inChallenge)
SECStatus CMMF_DestroyChallenge ( CMMFChallenge *  inChallenge)
SECStatus CMMF_DestroyPOPODecKeyChallContent ( CMMFPOPODecKeyChallContent *  inDecKeyCont)

Definition at line 118 of file respcmn.c.

{
    PORT_Assert(inDecKeyCont != NULL);
    if (inDecKeyCont != NULL && inDecKeyCont->poolp) {
        PORT_FreeArena(inDecKeyCont->poolp, PR_FALSE);
    }
    return SECSuccess;
}
SECStatus CMMF_DestroyPOPODecKeyRespContent ( CMMFPOPODecKeyRespContent *  inDecKeyResp)

Definition at line 284 of file cmmfchal.c.

{
    PORT_Assert(inDecKeyResp != NULL);
    if (inDecKeyResp != NULL && inDecKeyResp->poolp != NULL) {
        PORT_FreeArena(inDecKeyResp->poolp, PR_FALSE);
    }
    return SECSuccess;
}
int CMMF_POPODecKeyChallContentGetNumChallenges ( CMMFPOPODecKeyChallContent *  inKeyChallCont)

Definition at line 82 of file challcli.c.

{
    PORT_Assert(inKeyChallCont != NULL);
    if (inKeyChallCont == NULL) {
        return 0;
    }
    return inKeyChallCont->numChallenges;
}
SECStatus CMMF_POPODecKeyChallContentSetNextChallenge ( CMMFPOPODecKeyChallContent *  inDecKeyChall,
long  inRandom,
CERTGeneralName *  inSender,
SECKEYPublicKey *  inPubKey 
)
SECStatus CRMF_AddCertIDControl ( CRMFCertRequest *  inCertReq,
CRMFCertID *  certID 
)
SECStatus CRMF_AddCertReqToRegInfo ( CRMFCertRequest *  certReqToAddTo,
CRMFCertRequest *  certReqBeingAdded 
)
SECStatus CRMF_AddProtocolEncryptioKeyControl ( CRMFCertRequest *  inCertReq,
CERTSubjectPublicKeyInfo *  spki 
)
SECStatus CRMF_AddPubInfoControl ( CRMFCertRequest *  inCertReq,
CRMFPKIPublicationInfo *  inPubInfo 
)
SECStatus CRMF_AddUTF8PairsRegInfo ( CRMFCertRequest *  inCertReq,
SECItem *  asciiPairs 
)
CRMFCertID* CRMF_CreateCertID ( CRMFGeneralName issuer,
long  serialNumber 
)
CRMFPKIPublicationInfo* CRMF_CreatePKIPublicationInfo ( CRMFPublicationAction  inAction,
CRMFSinglePubInfo **  inPubInfoArray,
int  numPubInfo 
)
CRMFSinglePubInfo* CRMF_CreateSinglePubInfo ( CRMFPublicationMethod  inPubMethod,
CRMFGeneralName pubLocation 
)
SECStatus CRMF_DestroyCertID ( CRMFCertID *  certID)
SECStatus CRMF_DestroyPKIPublicationInfo ( CRMFPKIPublicationInfo *  inPubInfo)
SECStatus CRMF_DestroySinglePubInfo ( CRMFSinglePubInfo *  inPubInfo)
int CRMF_GetNumPubInfos ( CRMFPKIPublicationInfo *  inPubInfo)
CRMFPKIPublicationInfo* CRMF_GetPKIPubInfo ( CRMFControl *  inControl)
CRMFSinglePubInfo* CRMF_GetPubInfoAtIndex ( CRMFPKIPublicationInfo *  inPubInfo,
int  index 
)
CRMFPublicationAction CRMF_GetPublicationAction ( CRMFPKIPublicationInfo *  inPubInfo)
CRMFPublicationMethod CRMF_GetPublicationMethod ( CRMFSinglePubInfo *  inPubInfo)
CRMFGeneralName* CRMF_GetPubLocation ( CRMFSinglePubInfo *  inPubInfo)
CRMFPOPOSkiInputAuthChoice CRMF_GetSignKeyInputAuthChoice ( CRMFPOPOSigningKeyInput *  inKeyInput)
SECStatus CRMF_GetSignKeyInputPKMACValue ( CRMFPOPOSigningKeyInput *  inKeyInput,
CRMFPKMACValue **  destValue 
)
CERTSubjectPublicKeyInfo* CRMF_GetSignKeyInputPublicKey ( CRMFPOPOSigningKeyInput *  inKeyInput)
SECStatus CRMF_GetSignKeyInputSender ( CRMFPOPOSigningKeyInput *  keyInput,
CRMFGeneralName **  destName 
)