/*******************************************************************
 *
 * This file was generated by TIS/ASN1COMP Ver. 4.0, an ASN.1 compiler.
 * TIS/ASN1COMP is Copyright (c) 1998, TIS Labs at Network Associates, Inc.
 *
 * This file was AUTOMATICALLY GENERATED on Fri Jan 15 15:22:21 1999
 *
 ******************************************************************/

#ifndef pkcsreq_H_
#define pkcsreq_H_

#include "pkcsreq_struct.h"

/*******************************************************************
 *
 * Function declarations for internal functions
 *
 ******************************************************************/

#define PKISizeofEndEntityInfoInternal PKISizeofANYInternal
#define PKIDropInPlaceEndEntityInfo PKIDropInPlaceANY
#define PKIPackEndEntityInfoInternal PKIPackANYInternal
#define PKIUnpkInPlaceEndEntityInfo PKIUnpkInPlaceANY
#define PKIUnpackEndEntityInfoInternal PKIUnpackANYInternal

size_t PKISizeofCertRepInternal(
    PKICertRep *asnstruct,
    int outerSizeFlag,
    int expTaggedFlag);
void PKIDropInPlaceCertRep(
    PKICONTEXT *ctx,
    PKICertRep *f);
size_t PKIPackCertRepInternal(
    PKICONTEXT *ctx,
    unsigned char *buf,
    size_t buflen,
    PKICertRep *asnstruct,
    unsigned char tag,
    int *erret);
size_t PKIUnpkInPlaceCertRep (
    PKICONTEXT *ctx,
    PKICertRep *asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);
size_t PKIUnpackCertRepInternal(
    PKICONTEXT *ctx,
    PKICertRep **asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);

size_t PKISizeofGetCRLInternal(
    PKIGetCRL *asnstruct,
    int outerSizeFlag,
    int expTaggedFlag);
void PKIDropInPlaceGetCRL(
    PKICONTEXT *ctx,
    PKIGetCRL *f);
size_t PKIPackGetCRLInternal(
    PKICONTEXT *ctx,
    unsigned char *buf,
    size_t buflen,
    PKIGetCRL *asnstruct,
    unsigned char tag,
    int *erret);
size_t PKIUnpkInPlaceGetCRL (
    PKICONTEXT *ctx,
    PKIGetCRL *asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);
size_t PKIUnpackGetCRLInternal(
    PKICONTEXT *ctx,
    PKIGetCRL **asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);

size_t PKISizeofGetCertInternal(
    PKIGetCert *asnstruct,
    int outerSizeFlag,
    int expTaggedFlag);
void PKIDropInPlaceGetCert(
    PKICONTEXT *ctx,
    PKIGetCert *f);
size_t PKIPackGetCertInternal(
    PKICONTEXT *ctx,
    unsigned char *buf,
    size_t buflen,
    PKIGetCert *asnstruct,
    unsigned char tag,
    int *erret);
size_t PKIUnpkInPlaceGetCert (
    PKICONTEXT *ctx,
    PKIGetCert *asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);
size_t PKIUnpackGetCertInternal(
    PKICONTEXT *ctx,
    PKIGetCert **asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);

size_t PKISizeofIssuerAndSubjectInternal(
    PKIIssuerAndSubject *asnstruct,
    int outerSizeFlag,
    int expTaggedFlag);
void PKIDropInPlaceIssuerAndSubject(
    PKICONTEXT *ctx,
    PKIIssuerAndSubject *f);
size_t PKIPackIssuerAndSubjectInternal(
    PKICONTEXT *ctx,
    unsigned char *buf,
    size_t buflen,
    PKIIssuerAndSubject *asnstruct,
    unsigned char tag,
    int *erret);
size_t PKIUnpkInPlaceIssuerAndSubject (
    PKICONTEXT *ctx,
    PKIIssuerAndSubject *asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);
size_t PKIUnpackIssuerAndSubjectInternal(
    PKICONTEXT *ctx,
    PKIIssuerAndSubject **asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);

size_t PKISizeofPKCSReqInternal(
    PKIPKCSReq *asnstruct,
    int outerSizeFlag,
    int expTaggedFlag);
void PKIDropInPlacePKCSReq(
    PKICONTEXT *ctx,
    PKIPKCSReq *f);
size_t PKIPackPKCSReqInternal(
    PKICONTEXT *ctx,
    unsigned char *buf,
    size_t buflen,
    PKIPKCSReq *asnstruct,
    unsigned char tag,
    int *erret);
size_t PKIUnpkInPlacePKCSReq (
    PKICONTEXT *ctx,
    PKIPKCSReq *asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);
size_t PKIUnpackPKCSReqInternal(
    PKICONTEXT *ctx,
    PKIPKCSReq **asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);

size_t PKISizeofGetCertInitialInternal(
    PKIGetCertInitial *asnstruct,
    int outerSizeFlag,
    int expTaggedFlag);
void PKIDropInPlaceGetCertInitial(
    PKICONTEXT *ctx,
    PKIGetCertInitial *f);
size_t PKIPackGetCertInitialInternal(
    PKICONTEXT *ctx,
    unsigned char *buf,
    size_t buflen,
    PKIGetCertInitial *asnstruct,
    unsigned char tag,
    int *erret);
size_t PKIUnpkInPlaceGetCertInitial (
    PKICONTEXT *ctx,
    PKIGetCertInitial *asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);
size_t PKIUnpackGetCertInitialInternal(
    PKICONTEXT *ctx,
    PKIGetCertInitial **asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);


#endif /* pkcsreq_H_ */
