X509_SIG
X509_SIG *
return (X509_SIG *)ASN1_item_new(&X509_SIG_it);
X509_SIG_free(X509_SIG *a)
X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg,
X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, ASN1_OCTET_STRING **pdigest)
.offset = offsetof(X509_SIG, algor),
.offset = offsetof(X509_SIG, digest),
.size = sizeof(X509_SIG),
X509_SIG *
d2i_X509_SIG(X509_SIG **a, const unsigned char **in, long len)
return (X509_SIG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
i2d_X509_SIG(X509_SIG *a, unsigned char **out)
DECLARE_PEM_rw(PKCS8, X509_SIG)
X509_SIG *p8;
X509_SIG *p8 = NULL;
X509_SIG *
PEM_read_PKCS8(FILE *fp, X509_SIG **x, pem_password_cb *cb, void *u)
PEM_write_PKCS8(FILE *fp, X509_SIG *x)
X509_SIG *
PEM_read_bio_PKCS8(BIO *bp, X509_SIG **x, pem_password_cb *cb, void *u)
PEM_write_bio_PKCS8(BIO *bp, X509_SIG *x)
X509_SIG *p8;
X509_SIG *keybag;
PKCS8_decrypt(const X509_SIG *p8, const char *pass, int passlen)
X509_SIG *
X509_SIG *p8 = NULL;
PKCS12_SAFEBAG_create0_pkcs8(X509_SIG *p8)
X509_SIG *p8;
const X509_SIG *
const X509_SIG *PKCS12_SAFEBAG_get0_pkcs8(const PKCS12_SAFEBAG *bag);
PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(const X509_SIG *p8, const char *pass,
X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
PKCS12_SAFEBAG *PKCS12_SAFEBAG_create0_pkcs8(X509_SIG *p8);
X509_SIG *dinfo;
X509_SIG *shkeybag; /* shrouded key bag */
X509_SIG sig;
X509_SIG *d2i_PKCS8_fp(FILE *fp, X509_SIG **p8);
int i2d_PKCS8_fp(FILE *fp, X509_SIG *p8);
X509_SIG *d2i_PKCS8_bio(BIO *bp, X509_SIG **p8);
int i2d_PKCS8_bio(BIO *bp, X509_SIG *p8);
X509_SIG *X509_SIG_new(void);
void X509_SIG_free(X509_SIG *a);
X509_SIG *d2i_X509_SIG(X509_SIG **a, const unsigned char **in, long len);
int i2d_X509_SIG(X509_SIG *a, unsigned char **out);
void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg,
void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg,
X509_SIG *
d2i_PKCS8_bio(BIO *bp, X509_SIG **p8)
i2d_PKCS8_bio(BIO *bp, X509_SIG *p8)
X509_SIG *
d2i_PKCS8_fp(FILE *fp, X509_SIG **p8)
i2d_PKCS8_fp(FILE *fp, X509_SIG *p8)
const X509_SIG *tp8;
X509_SIG *p8 = NULL;