Back to index

lightning-sunbird  0.9+nobinonly
Functions
crmfenc.c File Reference
#include "crmf.h"
#include "crmfi.h"

Go to the source code of this file.

Functions

SECStatus CRMF_EncodeCertReqMsg (CRMFCertReqMsg *inCertReqMsg, CRMFEncoderOutputCallback fn, void *arg)
SECStatus CRMF_EncodeCertRequest (CRMFCertRequest *inCertReq, CRMFEncoderOutputCallback fn, void *arg)
SECStatus CRMF_EncodeCertReqMessages (CRMFCertReqMsg **inCertReqMsgs, CRMFEncoderOutputCallback fn, void *arg)

Function Documentation

SECStatus CRMF_EncodeCertReqMessages ( CRMFCertReqMsg **  inCertReqMsgs,
CRMFEncoderOutputCallback  fn,
void arg 
)

Definition at line 71 of file crmfenc.c.

{
    struct crmfEncoderOutput output;
    CRMFCertReqMessages msgs;
    
    output.fn        = fn;
    output.outputArg = arg;
    msgs.messages = inCertReqMsgs;
    return SEC_ASN1Encode(&msgs, CRMFCertReqMessagesTemplate,
                       crmf_encoder_out, &output);
}
SECStatus CRMF_EncodeCertReqMsg ( CRMFCertReqMsg *  inCertReqMsg,
CRMFEncoderOutputCallback  fn,
void arg 
)

Definition at line 43 of file crmfenc.c.

{
    struct crmfEncoderOutput output;

    output.fn        = fn;
    output.outputArg = arg;
    return SEC_ASN1Encode(inCertReqMsg,CRMFCertReqMsgTemplate, 
                       crmf_encoder_out, &output);
    
}
SECStatus CRMF_EncodeCertRequest ( CRMFCertRequest *  inCertReq,
CRMFEncoderOutputCallback  fn,
void arg 
)

Definition at line 58 of file crmfenc.c.